From: Yannik Sembritzki
Replace the use of a magic number that indicates that verify_*_signature()
should use the secondary keyring with a symbol.
Signed-off-by: Yannik Sembritzki
Signed-off-by: David Howells
cc: keyri...@vger.kernel.org
cc: linux-security-mod...@vger.kernel.org
---
certs/sy
Hi,
As Vlastimil mentioned at [1], it would be nice to have some guide about
memory allocation. This set adds such guide that summarizes the "best
practices".
The changes from the RFC include additions and corrections from Michal and
Randy. I've also added markup to cross-reference the kernel-do
Signed-off-by: Mike Rapoport
Acked-by: Michal Hocko
---
Documentation/core-api/index.rst | 1 +
Documentation/core-api/memory-allocation.rst | 124 +++
2 files changed, 125 insertions(+)
create mode 100644 Documentation/core-api/memory-allocation.rst
diff
Hi Christoph,
I love your patch! Yet something to improve:
[auto build test ERROR on tip/irq/core]
[also build test ERROR on v4.18]
[cannot apply to next-20180816]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com
From: Lanqing Liu
This patch adds the binding documentation for Spreadtrum SPI
controller device.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
Changes from v1:
- Remove the sprd,spi-interval property.
---
Documentation/devicetree/bindings/spi/spi-sprd.txt | 26
From: Lanqing Liu
This patch adds the SPI controller driver for Spreadtrum SC9860 platform.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
Changes from v1:
- Enable the auto_runtime_pm of SPI core.
- Remove the sprd_spi_setup() function.
- Move the hardware SPI hardware initializ
For some SPI controllers, after each word size (specified by bits_per_word)
transimission, the hardware need some delay to make sure the slave has enough
time to receive the whole data.
So introducing one new 'word_delay' field of struct spi_tansfer for slave
devices to set this inter word delay t
On Sat, May 26, 2018 at 05:56:57PM -0700, Dan Williams wrote:
...
>
>numa=fake=6
>available: 5 nodes (0-4)
>node 0 cpus: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38
>node 0 size: 2648 MB
>node 0 free: 2443 MB
>node 1 cpus: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
>node 1 si
On Thu, Aug 16, 2018 at 09:11:06AM +0800, Dave Young wrote:
> On 08/16/18 at 12:07am, Yannik Sembritzki wrote:
> > Signed-off-by: Yannik Sembritzki
> > ---
> > arch/x86/kernel/kexec-bzimage64.c | 2 +-
> > certs/system_keyring.c | 3 ++-
> > crypto/asymmetric_keys/pkcs7_key
On Thu, Aug 16, 2018 at 12:06:25PM +0200, David Hildenbrand wrote:
> onlining/offlining code works on whole sections, so let's enforce that.
> Existing code only allows to add memory in memory block size. And only
> whole memory blocks can be onlined/offlined. Memory blocks are always
> aligned to
My pleasure to notify of reaching you earlier but was unsuccessful
which made me to initiate this email conversation again hoping that
you will respond. Kindly get back to me in reply if you will allow me
to trust you as my foundation manager.
contact me via email for more details:
yelenanikolo
On Thu, Aug 16, 2018 at 03:04:13PM +0530, Srikanth K H wrote:
> If the make directory for "sys" interface fail's then its
> dereferenced without even checking for its validity which
> will lead to crash, hence added preventive code to check
> for NULL and accordingly dereference.
> --- a/fs/proc/p
Vivek Goyal wrote:
> Now this patch changed it to trusting builtin_trusted_keys by default,
> and all the other keys go to secondary_trusted_keys kerying. And that
> probably explains why it broke.
>
> So checking for keys in both the keyrings makes sense to me.
>
> I am wondering why did we h
On 16.08.2018 13:44, Stephen Rothwell wrote:
> Hi David,
>
> On Thu, 16 Aug 2018 12:06:24 +0200 David Hildenbrand wrote:
>>
>> -static int __ref __offline_pages(unsigned long start_pfn,
>> - unsigned long end_pfn)
>> +/* Must be protected by mem_hotplug_begin() or a device_lock */
>>
Meelis Roos writes:
> After upgrading my distro compiler to gcc-8.2, Linux fails to compile on
> 32-bit powerpc (tested with 4.17, 4.18 and v4.18-7873-gf91e654474d4).
Yeah I noticed this just yesterday.
> CC arch/powerpc/kernel/ptrace.o
> In file included from ./include/linux/bitmap.h:9,
On 27/07/2018 10:03:22-0700, Stephen Boyd wrote:
> Quoting Alexandre Belloni (2018-07-17 15:27:41)
> > This is the promised rework of the at91 PMC clocks driver. It is mainly
> > necessary to remove the DTC warnings but it also complies with the CCF
> > rule that there should be one node per contro
Hi David,
On Thu, 16 Aug 2018 12:06:24 +0200 David Hildenbrand wrote:
>
> -static int __ref __offline_pages(unsigned long start_pfn,
> - unsigned long end_pfn)
> +/* Must be protected by mem_hotplug_begin() or a device_lock */
> +int offline_pages(unsigned long start_pfn, unsigned l
This code should check the return value of seq_open(); if it failed,
file->private_data is NULL. But in that case we then need to dispose of
objbuf to prevent a resource leak.
Signed-off-by: Rasmus Villemoes
---
arch/ia64/sn/kernel/sn2/sn_hwperf.c | 8 ++--
1 file changed, 6 insertions(+), 2
Hi Rob,
Thanks for the review.
> -Original Message-
> From: Rob Herring
> Sent: Tuesday, August 14, 2018 9:43 PM
> To: Radhey Shyam Pandey
> Cc: vk...@kernel.org; mark.rutl...@arm.com; Michal Simek
> ; dan.j.willi...@intel.com; Appana Durga Kedareswara
> Rao ; l...@metafoo.de; dmaeng..
ocfs2_duplicate_clusters_by_page may crash if an extent's page is dirty.
When a page has not been written back, it is still in dirty state. If at
that moment, ocfs2_duplicate_clusters_by_page is called against this
page, the crash happens.
To fix this bug, we can just unlock the page and wait the
The patch
ASoC: max98373: Added speaker FS gain cotnrol register to volatile.
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next
On 16.08.2018 12:47, Oscar Salvador wrote:
> On Thu, Aug 16, 2018 at 12:06:26PM +0200, David Hildenbrand wrote:
>
>> +
>> +/* check if all mem sections are offline */
>> +bool mem_sections_offline(unsigned long pfn, unsigned long end_pfn)
>> +{
>> +for (; pfn < end_pfn; pfn += PAGES_PER_SECTIO
From: Rafael J. Wysocki
Commit 26112ddc254c (PCI / ACPI / PM: Resume bridges w/o drivers on
suspend-to-RAM) attempted to fix a functional regression resulting
from commit c62ec4610c40 (PM / core: Fix direct_complete handling
for devices with no callbacks) by resuming PCI bridges without
drivers (
On 08/16/2018 11:45 AM, Alexandre Belloni wrote:
Hello,
Because the designware IP was not able to handle the SDA hold time before
version 1.11a, MSCC has its own implementation. Add support for it and then add
i2c on ocelot boards.
I would expect patches 1 to 5 to go through the i2c tree and 6-
From: Rafael J. Wysocki
The comment to explain why the menu governor uses idle state 1
instead of idle state 0 as the first one sometimes is stale (among
other things it mentions a user setting not present any more),
so update it.
Signed-off-by: Rafael J. Wysocki
---
drivers/cpuidle/governors/
On Wed, Aug 15, 2018 at 07:48:47PM +0100, Jon Hunter wrote:
> So then I made the following change to avoid scheduling the function
> calls unnecessarily (which I think should be fine) ...
> Please note that I am just using ktime_get() to log the time on entry
> and exit from dapm_power_widgets()
On Thu, Aug 16, 2018 at 12:06:26PM +0200, David Hildenbrand wrote:
> +
> +/* check if all mem sections are offline */
> +bool mem_sections_offline(unsigned long pfn, unsigned long end_pfn)
> +{
> + for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) {
> + unsigned long section_nr = pfn
On Thu, Aug 16, 2018 at 12:34:50PM +0200, Alexandre Belloni wrote:
> On 16/08/2018 12:04:13+0200, Greg Kroah-Hartman wrote:
> > On Thu, Aug 16, 2018 at 10:34:38AM +0200, Alexandre Belloni wrote:
> > > On 16/08/2018 10:01:12+0200, Greg Kroah-Hartman wrote:
> > > > On Thu, Aug 16, 2018 at 09:39:41AM
of_find_device_by_node takes a reference to the struct device when it
finds a match via get_device. but it fails to put_device in
at91_pm_config_ws, for_each_matching_node_and_match will get and put
the node properly, there is no need to call the of_put_node. Therefore,
just call put_device instead
On 16/08/2018 12:04:13+0200, Greg Kroah-Hartman wrote:
> On Thu, Aug 16, 2018 at 10:34:38AM +0200, Alexandre Belloni wrote:
> > On 16/08/2018 10:01:12+0200, Greg Kroah-Hartman wrote:
> > > On Thu, Aug 16, 2018 at 09:39:41AM +0200, Alexandre Belloni wrote:
> > > > When both uio and the uio drivers a
On 08/13/2018 05:01 PM, Patrick Bellasi wrote:
On 13-Aug 16:06, Vincent Guittot wrote:
On Mon, 13 Aug 2018 at 14:49, Patrick Bellasi wrote:
On 13-Aug 14:07, Vincent Guittot wrote:
On Mon, 13 Aug 2018 at 12:12, Patrick Bellasi wrote:
[...]
Yes I agree that the current behavior is not comp
On Sat, Aug 11, 2018 at 12:12 AM Joe Perches wrote:
>
> Consistently use the "QPLIB: " prefix for dev_ logging.
>
> Miscellanea:
>
> o Add missing newlines to avoid possible message interleaving
> o Coalesce consecutive dev_ uses that emit a message header to
> avoid < 80 column lengths and mist
Hi Tuomas, [+John]
On Thu, Aug 16, 2018 at 02:38:51AM +0300, Tuomas Tynkkynen wrote:
> Booting Linus's master of today with the usual arm64 defconfig fails for
> me on the Hikey960 board. I've bisected it down to:
>
> commit 693350a7998018391852c48f68956cf0f855b2b9 (HEAD, refs/bisect/bad)
> Autho
On 2018/8/16 17:32, Claudiu Beznea wrote:
> Hi Alexandre,
>
> On 14.08.2018 15:59, Alexandre Belloni wrote:
>> On 14/08/2018 09:54:56+0800, zhong jiang wrote:
>>> Device node iterators put the previous value of the index variable,
>>> so an explicit put causes a double put.
>>>
>> While for_each_ma
On Thu, Aug 16, 2018 at 12:05 PM Chris Chiu wrote:
>
> On Thu, Aug 16, 2018 at 4:54 PM, Rafael J. Wysocki wrote:
> > On Thu, Aug 16, 2018 at 10:18 AM Chris Chiu wrote:
> >>
> >> On Thu, Aug 16, 2018 at 3:26 PM, Rafael J. Wysocki
> >> wrote:
> >> > On Thu, Aug 16, 2018 at 4:45 AM Chris Chiu wr
I'm announcing the release of the 4.9.120 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
I'm announcing the release of the 4.4.148 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
diff --git a/Makefile b/Makefile
index ee92a12e3a4b..9b795164122e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 4
-SUBLEVEL = 147
+SUBLEVEL = 148
EXTRAVERSION =
NAME = Blurry Fish Butt
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
i
I'm announcing the release of the 4.14.63 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.14.y
and can be browsed at the normal kernel.org git web browser:
I'm announcing the release of the 4.17.15 kernel.
All users of the 4.17 kernel series must upgrade.
The updated 4.17.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.17.y
and can be browsed at the normal kernel.org git web browser:
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu
b/Documentation/ABI/testing/sysfs-devices-system-cpu
index 9c5e7732d249..73318225a368 100644
--- a/Documentation/ABI/testing/sysfs-devices-system-cpu
+++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
@@ -476,6 +476,7 @@ What:
I'm announcing the release of the 4.18.1 kernel.
All users of the 4.18 kernel series must upgrade.
The updated 4.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.18.y
and can be browsed at the normal kernel.org git web browser:
On Thu, Aug 16, 2018 at 12:39:29AM -0400, Byron Stanoszek wrote:
> On Wed, 15 Aug 2018, Greg Kroah-Hartman wrote:
>
> > On Wed, Aug 15, 2018 at 01:24:25PM -0400, Byron Stanoszek wrote:
> > > Hi Greg & Thomas,
> > >
> > > I'd like to report a regression in Linux 4.18.1 regarding the L1TF
> > > pa
On Wed, Aug 15, 2018 at 03:31:51PM -0500, Dan Rue wrote:
> On Tue, Aug 14, 2018 at 07:16:12PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 4.17.15 release.
> > There are 97 patches in this series, all will be posted as a response
> > to this one. If any
Let's try to minimze the noise.
Signed-off-by: David Hildenbrand
---
mm/memory_hotplug.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index bbbd16f9d877..6fec2dc6a73d 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -966,9 +966,
Onlining pages can only fail if a notifier reported a problem (e.g. -ENOMEM).
online_pages_range() can never fail.
Signed-off-by: David Hildenbrand
---
mm/memory_hotplug.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index
On Wed, Aug 15, 2018 at 05:55:48PM -0700, Erick Reyes wrote:
> Commit 4adb7bcbcb69 ("ALSA: core: Use seq_file for text proc file
> reads") heavily refactored ALSA procfs and fixed the overflow as
> a side-effect, so this fix only applies to kernels < 4.2 and
> there is no upstream equivalent
Thank
Let's add some more sanity checking now that onlining/offlining code
works completely on section basis. This will make sure that we will
never try to online/offline sections that are already (or partially) in
the desired state.
Signed-off-by: David Hildenbrand
---
include/linux/mmzone.h | 2 ++
While looking into onlining/offlining of subsections, I noticed that
online/offlining code can in its current form only deal with whole sections
and that onlining/offlining of sections that are already online/offline is
problematic. So let's add some additional checks (that also serve as
implicit d
Let's avoid this indirection and just call the function offline_pages().
Signed-off-by: David Hildenbrand
---
mm/memory_hotplug.c | 13 +++--
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 6a2726920ed2..090cf474de87 100644
-
onlining/offlining code works on whole sections, so let's enforce that.
Existing code only allows to add memory in memory block size. And only
whole memory blocks can be onlined/offlined. Memory blocks are always
aligned to sections, so this should not break anything.
online_pages/offline_pages wi
On Thu, Aug 16, 2018 at 4:54 PM, Rafael J. Wysocki wrote:
> On Thu, Aug 16, 2018 at 10:18 AM Chris Chiu wrote:
>>
>> On Thu, Aug 16, 2018 at 3:26 PM, Rafael J. Wysocki wrote:
>> > On Thu, Aug 16, 2018 at 4:45 AM Chris Chiu wrote:
>> >>
>> >> Hi,
>> >> We recently hit a weird problem on the
On Thu, Aug 16, 2018 at 10:34:38AM +0200, Alexandre Belloni wrote:
> On 16/08/2018 10:01:12+0200, Greg Kroah-Hartman wrote:
> > On Thu, Aug 16, 2018 at 09:39:41AM +0200, Alexandre Belloni wrote:
> > > When both uio and the uio drivers are built in the kernel, it is possible
> > > for a driver to re
Hi Shawn,
Will test it today with the change you suggested, in case if
everything is OK will send v2 asap
Thanks
On 16 August 2018 at 11:01, Shawn Guo wrote:
> On Wed, Aug 15, 2018 at 7:39 PM Igor Opaniuk wrote:
>>
>> Enable access to the RPMB on the on-board eMMC of the
>> Poplar board.
>>
>>
On Wed 15-08-18 15:16:52, Andrew Morton wrote:
[...]
> From: Vlastimil Babka
> Subject: mm, page_alloc: actually ignore mempolicies for high priority
> allocations
>
> The __alloc_pages_slowpath() function has for a long time contained code
> to ignore node restrictions from memory policies for
Hi,
Here are 2 small fixes for ftrace, one is documentation fix to
add stacktrace action and another is blktrace fix so that
user can set the current enablement parameter without an error.
Thank you,
---
Masami Hiramatsu (2):
docs: tracing: Add stacktrace filter command
tracing/blkt
From: Linus Torvalds
> Sent: 15 August 2018 21:19
...
> But if people run things on real machines, then BUG() is absolutely
> the last thing you EVER want to do for "debugging".
I'm not sure you want it on a live system either.
Live systems are where the 'hard' bugs show up.
I've just spent a cou
If the make directory for "sys" interface fail's then its
dereferenced without even checking for its validity which
will lead to crash, hence added preventive code to check
for NULL and accordingly dereference.
Signed-off-by: Srikanth K H
---
fs/proc/proc_sysctl.c | 2 ++
1 file changed, 2 inser
Two tracepoints for now:
* `phy_interrupt` Pretty self-explanatory.
* `phy_state_change` Whenever the PHY's state machine is run, trace
the old and the new state.
Signed-off-by: Tobias Waldekranz
---
drivers/net/phy/phy.c | 4 +++
include/trace/events/phy.h | 68 ++
Hi Alexandre,
On 14.08.2018 15:59, Alexandre Belloni wrote:
> On 14/08/2018 09:54:56+0800, zhong jiang wrote:
>> Device node iterators put the previous value of the index variable,
>> so an explicit put causes a double put.
>>
>
> While for_each_matching_node_and_match will get and put the node
>
On Wed, Aug 15, 2018 at 03:16:52PM -0700, Andrew Morton wrote:
> From: Vlastimil Babka
> Subject: mm, page_alloc: actually ignore mempolicies for high priority
> allocations
>
> The __alloc_pages_slowpath() function has for a long time contained code
> to ignore node restrictions from memory pol
Hi Eric! We're regularly running criu on linux-next and today
kernel get panicing.
---
[ 753.478579] BUG: unable to handle kernel NULL pointer dereference at
06a8
[ 753.479674] PGD 80011215f067 P4D 80011215f067 PUD 1134a8067 PMD 0
[ 753.480590] Oops: [#1] SMP PTI
[ 753
On Thu 16-08-18 17:17:37, Li RongQing wrote:
> The new helper returns address mapping page, which has several users
> in individual subsystem, like mem_to_page in xfs_buf.c and pgv_to_page
> in af_packet.c, after this, they can be unified
Please add users along with the new helper.
>
> Signed-of
On Thu, Aug 16, 2018 at 04:21:17PM +0800, Leizhen (ThunderTown) wrote:
> On 2018/8/15 20:26, Robin Murphy wrote:
> > On 15/08/18 11:23, Zhen Lei wrote:
> >> diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c
> >> index 1d64710..3f5c236 100644
> >> --- a/drivers/iommu/arm-smmu-v3
The new helper returns address mapping page, which has several users
in individual subsystem, like mem_to_page in xfs_buf.c and pgv_to_page
in af_packet.c, after this, they can be unified
Signed-off-by: Zhang Yu
Signed-off-by: Li RongQing
---
include/linux/mm.h | 8
1 file changed, 8 i
From: Linus Torvalds
> Sent: 15 August 2018 17:34
> To: David Laight
> Cc: Guenter Roeck; Linux Kernel Mailing List; Rik van Riel; Mike Galbraith;
> Dave Hansen; Andrew Morton
> Subject: Re: Build failures with gcc 4.5 and older
>
> On Wed, Aug 15, 2018 at 9:16 AM David Laight wrote:
> >
> > >
>
Hi John,
On Wed, Aug 15, 2018 at 04:55:15PM -0700, John Stultz wrote:
> On Tue, Aug 14, 2018 at 4:36 AM, Will Deacon wrote:
> >
> > Please pull these arm64 updates for 4.19. Details in the tag, but please be
> > aware that we've pulled in the x86/mm branch from -tip so that we can make
> > use of
On Mon, Aug 06, 2018 at 05:39:44PM +0100, Patrick Bellasi wrote:
> Clamp values cannot be tuned at the root cgroup level. Moreover, because
> of the delegation model requirements and how the parent clamps
> propagation works, if we want to enable subgroups to set a non null
> util.min, we need to b
On Tue, 07 Aug 2018, Richard Fitzgerald wrote:
> While polling for BOOT_DONE the chip could NAK a read because it is
> still booting, which would terminate the regmap_read_poll_timeout()
> with an error.
>
> Instead implement a polling loop that ignores read errors so we
> always poll until the c
On Tue, 07 Aug 2018, Richard Fitzgerald wrote:
> Add some register definitions for accessory detection, used
> by the extcon driver.
>
> Signed-off-by: Richard Fitzgerald
> ---
> include/linux/mfd/madera/registers.h | 51
>
> 1 file changed, 51 insertions(+
On Mon, Aug 06, 2018 at 05:39:41PM +0100, Patrick Bellasi wrote:
> In order to properly support hierarchical resources control, the cgroup
> delegation model requires that attribute writes from a child group never
> fail but still are (potentially) constrained based on parent's assigned
> resources
On Fri, 03 Aug 2018, Guenter Roeck wrote:
> Instantiating the sm501 OHCI subdevice results in a kernel warning.
>
> sm501-usb sm501-usb: SM501 OHCI
> sm501-usb sm501-usb: new USB bus registered, assigned bus number 1
> WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516
> ohci_init+0x194/
On Fri, 03 Aug 2018, Matti Vaittinen wrote:
> Document devicetree bindings for ROHM BD71837 PMIC MFD.
>
> Signed-off-by: Matti Vaittinen
> Reviewed-by: Rob Herring
> Acked-for-MFD-by: Lee Jones
> ---
> .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 62
> ++
> 1 file
On Fri, 03 Aug 2018, Matti Vaittinen wrote:
> ROHM BD71837 PMIC MFD driver providing interrupts and support
> for three subsystems:
> - clk
> - Regulators
> - input/power-key
>
> Signed-off-by: Matti Vaittinen
> Reviewed-by: Enric Balletbo i Serra
> ---
> drivers/mfd/Kconfig | 13
On Thu, Aug 16, 2018 at 10:18 AM Chris Chiu wrote:
>
> On Thu, Aug 16, 2018 at 3:26 PM, Rafael J. Wysocki wrote:
> > On Thu, Aug 16, 2018 at 4:45 AM Chris Chiu wrote:
> >>
> >> Hi,
> >> We recently hit a weird problem on the ASUS laptop UX433FN with
> >> latest Intel Core i7-8565U CPU on ker
On Sun 2018-07-29 17:21:19, Andy Shevchenko wrote:
> On Sat, Jul 28, 2018 at 7:39 PM, Joe Perches wrote:
> > Use %p pointer output instead of REG_FMT and cast the unsigned longs to
> > (void *) to avoid exposing kernel addresses.
> >
> > Miscellanea:
> >
> > o Convert pr_cont to printk(KERN_DEFAUL
Move the #ifdef CONFIG_OF section to the top of the file, after the ACPI
section so functions defined there can be used in dw_i2c_plat_probe.
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-designware-platdrv.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
d
Enable the i2c controller on ocelot PCB123. While there are no i2c devices
on the board itself, it can be used to control the SFP transceivers.
Signed-off-by: Alexandre Belloni
---
arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/boot/
The Microsemi Ocelot I2C controller is a designware IP. It also has a
second set of registers to allow tweaking SDA hold time and spike
filtering.
Reviewed-by: Andy Shevchenko
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-designware-core.h| 3 ++
drivers/i2c/busses/i2c-design
Switch to device_get_match_data in probe to match the device specific data
instead of using the acpi specific function.
Suggested-by: Andy Shevchenko
Acked-by: Andy Shevchenko
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-designware-platdrv.c | 7 ++-
1 file changed, 2 insert
Because some old designware IPs were not supporting setting an SDA hold
time, vendors developed their own solution. Add a way for the final driver
to provide its own SDA hold time handling.
Reviewed-by: Andy Shevchenko
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-designware-commo
Ocelot has an i2c controller, add it. There is only one possible pinmux
configuration so add it as well.
Signed-off-by: Alexandre Belloni
---
arch/mips/boot/dts/mscc/ocelot.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi
b/arch/mi
Hello,
Because the designware IP was not able to handle the SDA hold time before
version 1.11a, MSCC has its own implementation. Add support for it and then add
i2c on ocelot boards.
I would expect patches 1 to 5 to go through the i2c tree and 6-7 through
the mips tree once patch 4 has been revie
Document bindings for the Microsemi Ocelot integration of the Designware
I2C controller.
Cc: Rob Herring
Signed-off-by: Alexandre Belloni
---
Documentation/devicetree/bindings/i2c/i2c-designware.txt | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetr
From: Esben Haabendal
This fixes a race condition, where the DMAEN bit ends up being set after
I2C slave has transmitted a byte following the dummy read. When that
happens, an interrupt is generated instead, and no DMA request is generated
to kickstart the DMA read, and a timeout happens after D
From: Esben Haabendal
Gives substantial performance improvement for transfers larger than 16
bytes (DMA_THRESHOLD). Smaller transfers are unaffected.
Signed-off-by: Esben Haabendal
---
arch/arm/boot/dts/ls1021a.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/l
From: Esben Haabendal
Always update the stopped state when busy status have been checked.
This is identical to what was done before, with the exception of error
handling.
Without this change, some errors cause the stopped state to be left in
incorrect state in i2c_imx_stop(), i2c_imx_dma_read(),
The original asus-wmi queues a work which calls the ACPI/WMI methods to
update the keyboard LED brightness. Similar drivers - acer-wmi,
dell-wmi-led just call the ACPI/WMI methods directly without workqueues.
This patch simplifies the keyboard brightness updating process which
calls the kbd_led_u
Hi Rob,
On 16/08/18 00:21, Rob Herring wrote:
> On Wed, Aug 15, 2018 at 11:59:32AM +0200, Enric Balletbo i Serra wrote:
>> Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for
>> rk3399") introduces two new properties. The extcon property is used to
>> detect the cable-state, and t
On 8/16/2018 8:29 AM, Steven Rostedt wrote:
Sorry for the late reply, I actually wrote this email over a week ago,
but never hit send. And the email was pushed back behind other
windows. :-/
Thanks for the review Steven.
And no problem on late reply, I was working on Will's comment about
in
On 16/08/2018 10:01:12+0200, Greg Kroah-Hartman wrote:
> On Thu, Aug 16, 2018 at 09:39:41AM +0200, Alexandre Belloni wrote:
> > When both uio and the uio drivers are built in the kernel, it is possible
> > for a driver to register devices before the uio class is registered.
>
> How does this happe
On Thu, 2018-08-16 at 11:05 +0800, Hanjie Lin wrote:
>
> On 2018/8/14 18:41, Jerome Brunet wrote:
> > On Tue, 2018-08-14 at 02:12 -0400, Hanjie Lin wrote:
> > > From: Yue Wang
> > >
> > > The Meson-PCIE-PHY controller supports the 5-Gbps data rate
> > > of the PCI Express Gen 2 specification and
On Thu, Aug 09, 2018 at 02:32:05PM +0200, Esben Haabendal wrote:
> From: Esben Haabendal
>
> This fixes a race condition, where the DMAEN bit ends up being set after
> I2C slave has transmitted a byte following the dummy read. When that
> happens, an interrupt is generated instead, and no DMA re
On Thu, Aug 09, 2018 at 02:32:06PM +0200, Esben Haabendal wrote:
> From: Esben Haabendal
>
> Always update the stopped state when busy status have been checked.
> This is identical to what was done before, with the exception of error
> handling.
> Without this change, some errors cause the stoppe
On Thu, Aug 16, 2018 at 04:02:59PM +0800, Dave Young wrote:
> On 08/16/18 at 09:43am, Yannik Sembritzki wrote:
> > On 16.08.2018 03:11, Dave Young wrote:
> > > Instead of fix your 1st patch in 2nd patch, I would suggest to
> > > switch the patch order. In 1st patch change the common code to use
>
For version 4.10 and aboves, SDHCI_ARGUMENT2 is also used to indicate
32-bit number of blocks, so it doesn't support stuff bits in argument
of CMD23, but only block count for the following command (CMD18/25).
Signed-off-by: Chunyan Zhang
---
drivers/mmc/host/sdhci.c | 10 ++
drivers/mmc/
On Thu, Aug 16, 2018 at 3:26 PM, Rafael J. Wysocki wrote:
> On Thu, Aug 16, 2018 at 4:45 AM Chris Chiu wrote:
>>
>> Hi,
>> We recently hit a weird problem on the ASUS laptop UX433FN with
>> latest Intel Core i7-8565U CPU on kernel 4.18. The keyboard stops
>> functioning after exit s2idle. It
It's a bit overkill to use BUG when failing to add an entry to the
stats_vq in init_vqs. So remove it and just return the error to the
caller to bail out nicely.
Signed-off-by: Wei Wang
Cc: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 10 +++---
1 file changed, 7 insertions(+),
Hi David,
On Wed, Aug 15, 2018 at 10:19 PM David Bauer wrote:
> This adds the ability to define the initial state of each output line on
> device probe.
>
> Signed-off-by: David Bauer
(...)
> Optional properties:
> - enable-gpios: GPIO connected to the OE (Output Enable) pin.
> +- lines-init
On Wed, 2018-08-15 at 13:18 +0800, Ryder Lee wrote:
> Fix ram size and sort nodes in alphabetical order.
>
The size of the ram should be selective range from 512 megabytes to 2
gigabytes depending on what the specific application is being run on the
Soc and I actually thought 512 megabytes should
401 - 500 of 540 matches
Mail list logo