[PATCH v4 6/7] mfd: ti-lmu: Remove support for LM3633

2018-10-23 Thread Dan Murphy
Remove support for the LM3633 from the ti-lmu driver in favor of a dedicated LED driver. Signed-off-by: Dan Murphy --- drivers/mfd/Kconfig | 2 +- drivers/mfd/ti-lmu.c | 21 - 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/mfd/Kconfig

[PATCH v4 1/7] leds: add TI LMU backlight driver

2018-10-23 Thread Dan Murphy
From: Pavel Machek This adds backlight support for the following TI LMU chips: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. It controls LEDs on Droid 4 smartphone, including keyboard and screen backlights. Signed-off-by: Milo Kim [add LED subsystem support for keyboard backlight and

[PATCH v4 6/7] mfd: ti-lmu: Remove support for LM3633

2018-10-23 Thread Dan Murphy
Remove support for the LM3633 from the ti-lmu driver in favor of a dedicated LED driver. Signed-off-by: Dan Murphy --- drivers/mfd/Kconfig | 2 +- drivers/mfd/ti-lmu.c | 21 - 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/drivers/mfd/Kconfig

[PATCH v4 1/7] leds: add TI LMU backlight driver

2018-10-23 Thread Dan Murphy
From: Pavel Machek This adds backlight support for the following TI LMU chips: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. It controls LEDs on Droid 4 smartphone, including keyboard and screen backlights. Signed-off-by: Milo Kim [add LED subsystem support for keyboard backlight and

[PATCH v4 7/7] leds: lm3633: Introduce the lm3633 driver

2018-10-23 Thread Dan Murphy
Introduce the LED LM3633 driver. This LED driver has 9 total LED outputs with runtime internal ramp configurations. Data sheet: http://www.ti.com/lit/ds/symlink/lm3633.pdf Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 +

[PATCH v4 7/7] leds: lm3633: Introduce the lm3633 driver

2018-10-23 Thread Dan Murphy
Introduce the LED LM3633 driver. This LED driver has 9 total LED outputs with runtime internal ramp configurations. Data sheet: http://www.ti.com/lit/ds/symlink/lm3633.pdf Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 +

[PATCH v4 4/7] leds: lm3697: Introduce the lm3697 driver

2018-10-23 Thread Dan Murphy
Introduce the lm3697 LED driver for backlighting and display. Datasheet location: http://www.ti.com/lit/ds/symlink/lm3697.pdf Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 8 +- drivers/leds/Makefile | 1 + drivers/leds/leds-lm3697.c | 381

[PATCH v4 4/7] leds: lm3697: Introduce the lm3697 driver

2018-10-23 Thread Dan Murphy
Introduce the lm3697 LED driver for backlighting and display. Datasheet location: http://www.ti.com/lit/ds/symlink/lm3697.pdf Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 8 +- drivers/leds/Makefile | 1 + drivers/leds/leds-lm3697.c | 381

Re: [PATCH v4 04/17] remoteproc: add name in rproc_mem_entry struct

2018-10-23 Thread Suman Anna
On 7/27/18 8:14 AM, Loic Pallardy wrote: > Add name field in struct rproc_mem_entry. > This new field will be used to match memory area > requested in resource table with pre-registered carveout. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson Acked-by: Suman Anna > --- >

Re: [PATCH v4 04/17] remoteproc: add name in rproc_mem_entry struct

2018-10-23 Thread Suman Anna
On 7/27/18 8:14 AM, Loic Pallardy wrote: > Add name field in struct rproc_mem_entry. > This new field will be used to match memory area > requested in resource table with pre-registered carveout. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson Acked-by: Suman Anna > --- >

Re: [PATCH v4 06/17] remoteproc: introduce rproc_add_carveout function

2018-10-23 Thread Suman Anna
Hi Bjorn, Loic, On 7/27/18 8:14 AM, Loic Pallardy wrote: > This patch introduces a new API to allow platform driver to register > platform specific carveout regions. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson Hmm, I do not prefer that this function be exported. It adds no

Re: [PATCH v4 06/17] remoteproc: introduce rproc_add_carveout function

2018-10-23 Thread Suman Anna
Hi Bjorn, Loic, On 7/27/18 8:14 AM, Loic Pallardy wrote: > This patch introduces a new API to allow platform driver to register > platform specific carveout regions. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson Hmm, I do not prefer that this function be exported. It adds no

Re: [PATCH v2 1/2] dt-bindings: serial: add documentation for the SiFive UART driver

2018-10-23 Thread Paul Walmsley
On 10/20/18 7:21 AM, Rob Herring wrote: On Fri, Oct 19, 2018 at 5:06 PM Paul Walmsley wrote: On 10/19/18 1:45 PM, Rob Herring wrote: On Fri, Oct 19, 2018 at 1:48 PM Paul Walmsley wrote: Add DT binding documentation for the Linux driver for the SiFive asynchronous serial IP block. Nothing

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Michal Hocko
On Tue 23-10-18 08:26:40, Matthew Wilcox wrote: > On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: [...] > > The way it can be handled is by adding a test module under lib. test_kmod, > > test_sysctl, test_user_copy etc. > > The problem is that said module can only invoke functions

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Michal Hocko
On Tue 23-10-18 08:26:40, Matthew Wilcox wrote: > On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: [...] > > The way it can be handled is by adding a test module under lib. test_kmod, > > test_sysctl, test_user_copy etc. > > The problem is that said module can only invoke functions

Re: [PATCH v2 1/2] dt-bindings: serial: add documentation for the SiFive UART driver

2018-10-23 Thread Paul Walmsley
On 10/20/18 7:21 AM, Rob Herring wrote: On Fri, Oct 19, 2018 at 5:06 PM Paul Walmsley wrote: On 10/19/18 1:45 PM, Rob Herring wrote: On Fri, Oct 19, 2018 at 1:48 PM Paul Walmsley wrote: Add DT binding documentation for the Linux driver for the SiFive asynchronous serial IP block. Nothing

Re: [PATCH 0/15] Add support for OLPC XO 1.75 Embedded Controller

2018-10-23 Thread Lubomir Rintel
On Fri, 2018-10-19 at 16:57 +0300, Andy Shevchenko wrote: > On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > Hi. > > > > This patchset adds support for the Embedded Controller on an OLPC XO > > 1.75 machine. OLPC XO 1.75 is a MMP2 based ARM laptop. It plugs into > > the existing OLPC

Re: [PATCH 0/15] Add support for OLPC XO 1.75 Embedded Controller

2018-10-23 Thread Lubomir Rintel
On Fri, 2018-10-19 at 16:57 +0300, Andy Shevchenko wrote: > On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote: > > Hi. > > > > This patchset adds support for the Embedded Controller on an OLPC XO > > 1.75 machine. OLPC XO 1.75 is a MMP2 based ARM laptop. It plugs into > > the existing OLPC

Re: [PATCH v7 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-10-23 Thread Michal Hocko
On Wed 17-10-18 09:30:58, Dan Williams wrote: > On Wed, Oct 17, 2018 at 1:18 AM Michal Hocko wrote: [...] > > > Again, devm_memremap_pagex() exposes and relies upon core kernel > > > internal assumptions and will continue to evolve along with 'struct > > > page', memory hotplug, and support for

Re: [PATCH v7 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-10-23 Thread Michal Hocko
On Wed 17-10-18 09:30:58, Dan Williams wrote: > On Wed, Oct 17, 2018 at 1:18 AM Michal Hocko wrote: [...] > > > Again, devm_memremap_pagex() exposes and relies upon core kernel > > > internal assumptions and will continue to evolve along with 'struct > > > page', memory hotplug, and support for

Re: [PATCH 00/10] tools: Various build flags fixes

2018-10-23 Thread Shuah Khan
On 10/23/2018 09:17 AM, Shuah Khan wrote: > On 10/22/2018 02:51 AM, Jiri Olsa wrote: >> On Wed, Oct 17, 2018 at 09:28:16AM -0600, Shuah Khan wrote: >>> On 10/17/2018 07:23 AM, Thomas Renninger wrote: On Tuesday, October 16, 2018 5:06:05 PM CEST Jiri Olsa wrote: > hi, > while hardening

Re: [PATCH 00/10] tools: Various build flags fixes

2018-10-23 Thread Shuah Khan
On 10/23/2018 09:17 AM, Shuah Khan wrote: > On 10/22/2018 02:51 AM, Jiri Olsa wrote: >> On Wed, Oct 17, 2018 at 09:28:16AM -0600, Shuah Khan wrote: >>> On 10/17/2018 07:23 AM, Thomas Renninger wrote: On Tuesday, October 16, 2018 5:06:05 PM CEST Jiri Olsa wrote: > hi, > while hardening

Re: [PATCH v4 03/17] remoteproc: add release ops in rproc_mem_entry struct

2018-10-23 Thread Suman Anna
On 7/27/18 8:14 AM, Loic Pallardy wrote: > Memory entry could be allocated in different ways (ioremap, > dma_alloc_coherent, internal RAM allocator...). > This patch introduces a release ops in rproc_mem_entry structure > to associate dedicated release mechanism to each memory entry descriptor >

Re: [PATCH v4 03/17] remoteproc: add release ops in rproc_mem_entry struct

2018-10-23 Thread Suman Anna
On 7/27/18 8:14 AM, Loic Pallardy wrote: > Memory entry could be allocated in different ways (ioremap, > dma_alloc_coherent, internal RAM allocator...). > This patch introduces a release ops in rproc_mem_entry structure > to associate dedicated release mechanism to each memory entry descriptor >

Re: [PATCH v4 02/17] remoteproc: add rproc_va_to_pa function

2018-10-23 Thread Suman Anna
Hi Loic, Bjorn, On 7/27/18 8:14 AM, Loic Pallardy wrote: > This new function translates CPU virtual address in > CPU physical one according to virtual address location. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson > --- > drivers/remoteproc/remoteproc_core.c | 18

Re: [PATCH v4 02/17] remoteproc: add rproc_va_to_pa function

2018-10-23 Thread Suman Anna
Hi Loic, Bjorn, On 7/27/18 8:14 AM, Loic Pallardy wrote: > This new function translates CPU virtual address in > CPU physical one according to virtual address location. > > Signed-off-by: Loic Pallardy > Acked-by: Bjorn Andersson > --- > drivers/remoteproc/remoteproc_core.c | 18

Re: [PATCH] sched: Make sched_feat(x) boolean for !CONFIG_SCHED_DEBUG

2018-10-23 Thread Nick Desaulniers
On Mon, Oct 22, 2018 at 5:41 PM Matthias Kaehlcke wrote: > > If scheduler debugging is disabled sched_feat() resolves to a constant > value that can be non-boolean. clang raises a warning when it detects > that a non-boolean constant is used as operand in logical expressions: > >

Re: [PATCH] sched: Make sched_feat(x) boolean for !CONFIG_SCHED_DEBUG

2018-10-23 Thread Nick Desaulniers
On Mon, Oct 22, 2018 at 5:41 PM Matthias Kaehlcke wrote: > > If scheduler debugging is disabled sched_feat() resolves to a constant > value that can be non-boolean. clang raises a warning when it detects > that a non-boolean constant is used as operand in logical expressions: > >

[RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-23 Thread Roman Gushchin
Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs with a relatively small number of objects") leads to a regression on his setup: periodically the majority of the pagecache is evicted without an obvious reason, while before the change the amount of free memory was balancing

[RFC PATCH] mm: don't reclaim inodes with many attached pages

2018-10-23 Thread Roman Gushchin
Spock reported that the commit 172b06c32b94 ("mm: slowly shrink slabs with a relatively small number of objects") leads to a regression on his setup: periodically the majority of the pagecache is evicted without an obvious reason, while before the change the amount of free memory was balancing

Re: [PATCH v4 00/17] remoteproc: add fixed memory region support

2018-10-23 Thread Suman Anna
Hi Bjorn, On 7/27/18 8:14 AM, Loic Pallardy wrote: > The aim of the series is to implement carveout memory management as > discussed during OpenAMP weekly call and defined in proposed document [1] > > This first series focus only on adding support of the different types of > carveout memories

Re: [PATCH v4 00/17] remoteproc: add fixed memory region support

2018-10-23 Thread Suman Anna
Hi Bjorn, On 7/27/18 8:14 AM, Loic Pallardy wrote: > The aim of the series is to implement carveout memory management as > discussed during OpenAMP weekly call and defined in proposed document [1] > > This first series focus only on adding support of the different types of > carveout memories

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-23 Thread Josh Poimboeuf
On Mon, Oct 22, 2018 at 03:25:10PM +0200, Petr Mladek wrote: > On Fri 2018-10-19 09:36:04, Josh Poimboeuf wrote: > > On Fri, Oct 19, 2018 at 02:16:19PM +0200, Miroslav Benes wrote: > > > On Thu, 18 Oct 2018, Josh Poimboeuf wrote: > > > > > > > On Thu, Oct 18, 2018 at 04:54:56PM +0200, Petr Mladek

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-23 Thread Josh Poimboeuf
On Mon, Oct 22, 2018 at 03:25:10PM +0200, Petr Mladek wrote: > On Fri 2018-10-19 09:36:04, Josh Poimboeuf wrote: > > On Fri, Oct 19, 2018 at 02:16:19PM +0200, Miroslav Benes wrote: > > > On Thu, 18 Oct 2018, Josh Poimboeuf wrote: > > > > > > > On Thu, Oct 18, 2018 at 04:54:56PM +0200, Petr Mladek

[PATCH 0/2] Fix couple of issues with LDT remap for PTI

2018-10-23 Thread Kirill A. Shutemov
The patchset fixes issues with LDT remap for PTI: - Layout collision due to KASLR with 5-level paging; - Information leak via Meltdown-like attack; Please review and consider applying. Kirill A. Shutemov (2): x86/mm: Move LDT remap out of KASLR region on 5-level paging x86/ldt: Unmap

[PATCH 0/2] Fix couple of issues with LDT remap for PTI

2018-10-23 Thread Kirill A. Shutemov
The patchset fixes issues with LDT remap for PTI: - Layout collision due to KASLR with 5-level paging; - Information leak via Meltdown-like attack; Please review and consider applying. Kirill A. Shutemov (2): x86/mm: Move LDT remap out of KASLR region on 5-level paging x86/ldt: Unmap

[PATCH 1/2] x86/mm: Move LDT remap out of KASLR region on 5-level paging

2018-10-23 Thread Kirill A. Shutemov
On 5-level paging LDT remap area is placed in the middle of KASLR randomization region and it can overlap with direct mapping, vmalloc or vmap area. Let's move LDT just before direct mapping which makes it safe for KASLR. This also allows us to unify layout between 4- and 5-level paging. We

[PATCH 2/2] x86/ldt: Unmap PTEs for the slow before freeing LDT

2018-10-23 Thread Kirill A. Shutemov
modify_ldt(2) leaves old LDT mapped after we switch over to the new one. Memory for the old LDT gets freed and the pages can be re-used. Leaving the mapping in place can have security implications. The mapping is present in userspace copy of page tables and Meltdown-like attack can read these

[PATCH 1/2] x86/mm: Move LDT remap out of KASLR region on 5-level paging

2018-10-23 Thread Kirill A. Shutemov
On 5-level paging LDT remap area is placed in the middle of KASLR randomization region and it can overlap with direct mapping, vmalloc or vmap area. Let's move LDT just before direct mapping which makes it safe for KASLR. This also allows us to unify layout between 4- and 5-level paging. We

[PATCH 2/2] x86/ldt: Unmap PTEs for the slow before freeing LDT

2018-10-23 Thread Kirill A. Shutemov
modify_ldt(2) leaves old LDT mapped after we switch over to the new one. Memory for the old LDT gets freed and the pages can be re-used. Leaving the mapping in place can have security implications. The mapping is present in userspace copy of page tables and Meltdown-like attack can read these

Re: [PATCH v2 1/5] dt-bindings: phy-qcom-qmp: Fix register underspecification

2018-10-23 Thread Evan Green
On Mon, Oct 22, 2018 at 5:29 PM Rob Herring wrote: > > On Thu, Oct 18, 2018 at 02:09:29PM -0700, Evan Green wrote: > > This change adds register regions for the second lane of dual-lane nodes. > > This additional specification is needed so that the driver can stop > > reaching beyond the tx and

Re: [PATCH v2 1/5] dt-bindings: phy-qcom-qmp: Fix register underspecification

2018-10-23 Thread Evan Green
On Mon, Oct 22, 2018 at 5:29 PM Rob Herring wrote: > > On Thu, Oct 18, 2018 at 02:09:29PM -0700, Evan Green wrote: > > This change adds register regions for the second lane of dual-lane nodes. > > This additional specification is needed so that the driver can stop > > reaching beyond the tx and

Re: [PATCH] fpga: altera_cvp: restrict registration to CvP enabled devices

2018-10-23 Thread Anatolij Gustschin
Hi Andreas, On Mon, 22 Oct 2018 13:15:34 + Andreas Puhm p...@oregano.at wrote: ... >Full description: >The altera_cvp probe function only checks, >if the Altera/Intel PCI device configuration space contains a vendor >specific entry (VSEC Capability Header 0x000b) at offset 0x200. > But the

Re: [PATCH] fpga: altera_cvp: restrict registration to CvP enabled devices

2018-10-23 Thread Anatolij Gustschin
Hi Andreas, On Mon, 22 Oct 2018 13:15:34 + Andreas Puhm p...@oregano.at wrote: ... >Full description: >The altera_cvp probe function only checks, >if the Altera/Intel PCI device configuration space contains a vendor >specific entry (VSEC Capability Header 0x000b) at offset 0x200. > But the

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-23 Thread Al Viro
On Tue, Oct 23, 2018 at 12:19:35PM +0100, Alan Jenkins wrote: > I think there's another small hole. It is possible to move a sub-mount from > a detached tree (instead of moving the root of the tree). Then > do_move_mount() calls attach_recursive_mnt() with a non-NULL parent_path. > > This

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-23 Thread Al Viro
On Tue, Oct 23, 2018 at 12:19:35PM +0100, Alan Jenkins wrote: > I think there's another small hole. It is possible to move a sub-mount from > a detached tree (instead of moving the root of the tree). Then > do_move_mount() calls attach_recursive_mnt() with a non-NULL parent_path. > > This

Re: [PATCH 2/3] staging: greybus: loopback.c: do insertion in O(n) instead of O(n lg n)

2018-10-23 Thread Rasmus Villemoes
On 2018-10-11 01:03, Bryan O'Donoghue wrote: > On 05/10/2018 15:28, Rasmus Villemoes wrote: >> Signed-off-by: Rasmus Villemoes >> --- >> I have no idea if the performance matters (it probably doesn't). Feel >> free to ignore this and the followup cleanup. > > What's the problem you're fixing here

Re: [PATCH 2/3] staging: greybus: loopback.c: do insertion in O(n) instead of O(n lg n)

2018-10-23 Thread Rasmus Villemoes
On 2018-10-11 01:03, Bryan O'Donoghue wrote: > On 05/10/2018 15:28, Rasmus Villemoes wrote: >> Signed-off-by: Rasmus Villemoes >> --- >> I have no idea if the performance matters (it probably doesn't). Feel >> free to ignore this and the followup cleanup. > > What's the problem you're fixing here

[v4] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-10-23 Thread Elie Morisse
This contains two drivers: * i2c-amd-plat-mp2: platform driver managing an i2c adapter (one of the two busses of the MP2) and routing any i2c read write call or command to the PCI driver. * i2c-amd-pci-mp2: PCI driver communicating through the C2P/P2C mailbox registers, or through DMA for more

[v4] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-10-23 Thread Elie Morisse
This contains two drivers: * i2c-amd-plat-mp2: platform driver managing an i2c adapter (one of the two busses of the MP2) and routing any i2c read write call or command to the PCI driver. * i2c-amd-pci-mp2: PCI driver communicating through the C2P/P2C mailbox registers, or through DMA for more

RE: [PATCH] rdmacg: fix a typo in rdmacg documentation

2018-10-23 Thread Parav Pandit
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Rami Rosen > Sent: Tuesday, October 23, 2018 8:31 PM > To: pandit.pa...@gmail.com > Cc: t...@kernel.org; linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org; >

RE: [PATCH] rdmacg: fix a typo in rdmacg documentation

2018-10-23 Thread Parav Pandit
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Rami Rosen > Sent: Tuesday, October 23, 2018 8:31 PM > To: pandit.pa...@gmail.com > Cc: t...@kernel.org; linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: Cgroup v2 thread mode oddity: "domain invalid" cgroup with threaded controller enabled

2018-10-23 Thread Michael Kerrisk (man-pages)
Hi Tejun On Wed, 17 Oct 2018 at 18:20, Tejun Heo wrote: > > Hello, Michael. > > Sorry about the delay. > > On Thu, Oct 04, 2018 at 09:40:57PM +0200, Michael Kerrisk (man-pages) wrote: > > This seems odd. x/y is now of "domain invalid" type with a controller > > enabled! This feels like a

Re: Cgroup v2 thread mode oddity: "domain invalid" cgroup with threaded controller enabled

2018-10-23 Thread Michael Kerrisk (man-pages)
Hi Tejun On Wed, 17 Oct 2018 at 18:20, Tejun Heo wrote: > > Hello, Michael. > > Sorry about the delay. > > On Thu, Oct 04, 2018 at 09:40:57PM +0200, Michael Kerrisk (man-pages) wrote: > > This seems odd. x/y is now of "domain invalid" type with a controller > > enabled! This feels like a

Re: [PATCH stable v2 1/2] termios, tty/tty_baudrate.c: fix buffer overrun

2018-10-23 Thread hpa
On October 23, 2018 7:53:51 AM PDT, Greg Kroah-Hartman wrote: >On Mon, Oct 22, 2018 at 09:19:04AM -0700, H. Peter Anvin (Intel) wrote: >> From: "H. Peter Anvin" >> >> On architectures with CBAUDEX == 0 (Alpha and PowerPC), the code in >tty_baudrate.c does >> not do any limit checking on the

Re: [PATCH stable v2 1/2] termios, tty/tty_baudrate.c: fix buffer overrun

2018-10-23 Thread hpa
On October 23, 2018 7:53:51 AM PDT, Greg Kroah-Hartman wrote: >On Mon, Oct 22, 2018 at 09:19:04AM -0700, H. Peter Anvin (Intel) wrote: >> From: "H. Peter Anvin" >> >> On architectures with CBAUDEX == 0 (Alpha and PowerPC), the code in >tty_baudrate.c does >> not do any limit checking on the

[PATCH] pinctrl: meson: fix pinconf bias disable

2018-10-23 Thread Jerome Brunet
If a bias is enabled on a pin of an Amlogic SoC, calling .pin_config_set() with PIN_CONFIG_BIAS_DISABLE will not disable the bias. Instead it will force a pull-down bias on the pin. Instead of the pull type register bank, the driver should access the pull enable register bank. Fixes:

[PATCH] pinctrl: meson: fix pinconf bias disable

2018-10-23 Thread Jerome Brunet
If a bias is enabled on a pin of an Amlogic SoC, calling .pin_config_set() with PIN_CONFIG_BIAS_DISABLE will not disable the bias. Instead it will force a pull-down bias on the pin. Instead of the pull type register bank, the driver should access the pull enable register bank. Fixes:

Re: [PATCH AUTOSEL 4.18 08/27] Input: evdev - add a schedule point in evdev_write()

2018-10-23 Thread Sasha Levin
On Mon, Oct 22, 2018 at 10:02:44AM -0700, Dmitry Torokhov wrote: Hi Sasha, On Mon, Oct 22, 2018 at 06:19:05AM -0400, Sasha Levin wrote: From: Dmitry Torokhov [ Upstream commit 36d2582ff235b4e01ad64a734c877a52dc762d9c ] Large writes to evdev interface may cause rcu stalls. Let's add

Re: [PATCH AUTOSEL 4.18 08/27] Input: evdev - add a schedule point in evdev_write()

2018-10-23 Thread Sasha Levin
On Mon, Oct 22, 2018 at 10:02:44AM -0700, Dmitry Torokhov wrote: Hi Sasha, On Mon, Oct 22, 2018 at 06:19:05AM -0400, Sasha Levin wrote: From: Dmitry Torokhov [ Upstream commit 36d2582ff235b4e01ad64a734c877a52dc762d9c ] Large writes to evdev interface may cause rcu stalls. Let's add

Re: [PATCH AUTOSEL 4.18 04/27] Input: i8042 - enable keyboard wakeups by default when s2idle is used

2018-10-23 Thread Sasha Levin
On Mon, Oct 22, 2018 at 09:58:21AM -0700, Dmitry Torokhov wrote: Hi Sasha, On Mon, Oct 22, 2018 at 06:19:01AM -0400, Sasha Levin wrote: From: Daniel Drake [ Upstream commit 684bec1092b6991ff2a7751e8a763898576eb5c2 ] Previously, on typical consumer laptops, pressing a key on the keyboard

Re: [PATCH AUTOSEL 4.18 04/27] Input: i8042 - enable keyboard wakeups by default when s2idle is used

2018-10-23 Thread Sasha Levin
On Mon, Oct 22, 2018 at 09:58:21AM -0700, Dmitry Torokhov wrote: Hi Sasha, On Mon, Oct 22, 2018 at 06:19:01AM -0400, Sasha Levin wrote: From: Daniel Drake [ Upstream commit 684bec1092b6991ff2a7751e8a763898576eb5c2 ] Previously, on typical consumer laptops, pressing a key on the keyboard

Re: [PATCH] vt: fix broken display when running aptitude

2018-10-23 Thread Nicolas Pitre
On Tue, 23 Oct 2018, Mikulas Patocka wrote: > If you run aptitude on framebuffer console, the display is corrupted. The > corruption is caused by the commit d8ae7242. The patch adds "offset" to > "start" when calling scr_memsetw, but it forgets to do the same addition > on a subsequent call to

Re: [PATCH] vt: fix broken display when running aptitude

2018-10-23 Thread Nicolas Pitre
On Tue, 23 Oct 2018, Mikulas Patocka wrote: > If you run aptitude on framebuffer console, the display is corrupted. The > corruption is caused by the commit d8ae7242. The patch adds "offset" to > "start" when calling scr_memsetw, but it forgets to do the same addition > on a subsequent call to

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-23 Thread Theodore Y. Ts'o
On Tue, Oct 23, 2018 at 04:22:54PM +0200, Rainer Fiebig wrote: > > And whether that CoC does come with a political agenda or is just being > *perceived* so, is irrelevant: the perception *is* the reality. And by > embracing this CoC, Linux is now being perceived as also supporting the > agenda

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-23 Thread Theodore Y. Ts'o
On Tue, Oct 23, 2018 at 04:22:54PM +0200, Rainer Fiebig wrote: > > And whether that CoC does come with a political agenda or is just being > *perceived* so, is irrelevant: the perception *is* the reality. And by > embracing this CoC, Linux is now being perceived as also supporting the > agenda

Re: [PATCH v3 1/5] dt-bindings: phy-qcom-qmp: Fix register underspecification

2018-10-23 Thread Rob Herring
On Mon, Oct 22, 2018 at 01:50:58PM -0700, Evan Green wrote: > Add register regions for the second lane of dual-lane nodes. > This additional specification is needed so that the driver can stop > reaching beyond the tx and rx register allocations to get at the > second lane registers in a dual-lane

Re: [PATCH v3 1/5] dt-bindings: phy-qcom-qmp: Fix register underspecification

2018-10-23 Thread Rob Herring
On Mon, Oct 22, 2018 at 01:50:58PM -0700, Evan Green wrote: > Add register regions for the second lane of dual-lane nodes. > This additional specification is needed so that the driver can stop > reaching beyond the tx and rx register allocations to get at the > second lane registers in a dual-lane

[PATCH] vt: fix broken display when running aptitude

2018-10-23 Thread Mikulas Patocka
If you run aptitude on framebuffer console, the display is corrupted. The corruption is caused by the commit d8ae7242. The patch adds "offset" to "start" when calling scr_memsetw, but it forgets to do the same addition on a subsequent call to do_update_region. Signed-off-by: Mikulas Patocka

[PATCH] vt: fix broken display when running aptitude

2018-10-23 Thread Mikulas Patocka
If you run aptitude on framebuffer console, the display is corrupted. The corruption is caused by the commit d8ae7242. The patch adds "offset" to "start" when calling scr_memsetw, but it forgets to do the same addition on a subsequent call to do_update_region. Signed-off-by: Mikulas Patocka

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Matthew Wilcox
On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: > Hi Michal, > > On 10/23/2018 01:23 AM, Michal Hocko wrote: > > Hi Shuah, > > > > On Mon 22-10-18 18:52:53, Uladzislau Rezki wrote: > >> On Mon, Oct 22, 2018 at 02:51:42PM +0200, Michal Hocko wrote: > >>> Hi, > >>> I haven't read

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Matthew Wilcox
On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: > Hi Michal, > > On 10/23/2018 01:23 AM, Michal Hocko wrote: > > Hi Shuah, > > > > On Mon 22-10-18 18:52:53, Uladzislau Rezki wrote: > >> On Mon, Oct 22, 2018 at 02:51:42PM +0200, Michal Hocko wrote: > >>> Hi, > >>> I haven't read

Re: [PATCH 00/10] tools: Various build flags fixes

2018-10-23 Thread Shuah Khan
On 10/22/2018 02:51 AM, Jiri Olsa wrote: > On Wed, Oct 17, 2018 at 09:28:16AM -0600, Shuah Khan wrote: >> On 10/17/2018 07:23 AM, Thomas Renninger wrote: >>> On Tuesday, October 16, 2018 5:06:05 PM CEST Jiri Olsa wrote: hi, while hardening some of the tools rpm, we noticed we can't

Re: [PATCH 00/10] tools: Various build flags fixes

2018-10-23 Thread Shuah Khan
On 10/22/2018 02:51 AM, Jiri Olsa wrote: > On Wed, Oct 17, 2018 at 09:28:16AM -0600, Shuah Khan wrote: >> On 10/17/2018 07:23 AM, Thomas Renninger wrote: >>> On Tuesday, October 16, 2018 5:06:05 PM CEST Jiri Olsa wrote: hi, while hardening some of the tools rpm, we noticed we can't

[PATCH] perf/stat: Handle different PMU names with common prefix

2018-10-23 Thread Thomas Richter
On s390 the CPU Measurement Facility for counters now supports 2 PMUs named cpum_cf (CPU Measurement Facility for counters) and cpum_cf_diag (CPU Measurement Facility for diagnostic counters) for one and the same CPU. Running command [root@s35lp76 perf]# ./perf stat -e tx_c_tend \ --

[PATCH] perf/stat: Handle different PMU names with common prefix

2018-10-23 Thread Thomas Richter
On s390 the CPU Measurement Facility for counters now supports 2 PMUs named cpum_cf (CPU Measurement Facility for counters) and cpum_cf_diag (CPU Measurement Facility for diagnostic counters) for one and the same CPU. Running command [root@s35lp76 perf]# ./perf stat -e tx_c_tend \ --

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-23 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > > > > >

Re: [PATCH] rcu: Benefit from expedited grace period in __wait_rcu_gp

2018-10-23 Thread Raslan, KarimAllah
On Fri, 2018-10-19 at 13:21 -0700, Paul E. McKenney wrote: > On Fri, Oct 19, 2018 at 07:45:51PM +, Raslan, KarimAllah wrote: > > > > On Fri, 2018-10-19 at 05:31 -0700, Paul E. McKenney wrote: > > > > > > On Fri, Oct 19, 2018 at 02:49:05AM +0200, KarimAllah Ahmed wrote: > > > > > > > > > >

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Shuah Khan
Hi Michal, On 10/23/2018 01:23 AM, Michal Hocko wrote: > Hi Shuah, > > On Mon 22-10-18 18:52:53, Uladzislau Rezki wrote: >> On Mon, Oct 22, 2018 at 02:51:42PM +0200, Michal Hocko wrote: >>> Hi, >>> I haven't read through the implementation yet but I have say that I >>> really love this cover

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Shuah Khan
Hi Michal, On 10/23/2018 01:23 AM, Michal Hocko wrote: > Hi Shuah, > > On Mon 22-10-18 18:52:53, Uladzislau Rezki wrote: >> On Mon, Oct 22, 2018 at 02:51:42PM +0200, Michal Hocko wrote: >>> Hi, >>> I haven't read through the implementation yet but I have say that I >>> really love this cover

Re: [PATCH v6 10/15] tracing: Add hist trigger snapshot() action test case

2018-10-23 Thread Masami Hiramatsu
On Thu, 11 Oct 2018 16:02:07 -0500 Tom Zanussi wrote: > From: Tom Zanussi > > Add a test case verifying the basic functionality of the > hist:snapshot() action. > I think this is OK for current tracing tree, but for next kernel version you may need to update it (against the kselftest tree)

Re: [PATCH v6 10/15] tracing: Add hist trigger snapshot() action test case

2018-10-23 Thread Masami Hiramatsu
On Thu, 11 Oct 2018 16:02:07 -0500 Tom Zanussi wrote: > From: Tom Zanussi > > Add a test case verifying the basic functionality of the > hist:snapshot() action. > I think this is OK for current tracing tree, but for next kernel version you may need to update it (against the kselftest tree)

[PATCH] rdmacg: fix a typo in rdmacg documentation

2018-10-23 Thread Rami Rosen
This patch fixes a typo in RDMA cgroup documentation. Signed-off-by: Rami Rosen --- Documentation/cgroup-v1/rdma.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/cgroup-v1/rdma.txt b/Documentation/cgroup-v1/rdma.txt index af618171e0eb..9bdb7fd03f83 100644

[PATCH] rdmacg: fix a typo in rdmacg documentation

2018-10-23 Thread Rami Rosen
This patch fixes a typo in RDMA cgroup documentation. Signed-off-by: Rami Rosen --- Documentation/cgroup-v1/rdma.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/cgroup-v1/rdma.txt b/Documentation/cgroup-v1/rdma.txt index af618171e0eb..9bdb7fd03f83 100644

[GIT PULL] parisc architecture updates for kernel v4.20

2018-10-23 Thread Helge Deller
Hi Linus, please pull the parisc architecture patches and fixes for 4.20-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.20-1 Lots of small fixes and enhancements, most noteably: - Many TLB and cache flush optimizations (Dave) - Fixed HPMC/crash

[GIT PULL] parisc architecture updates for kernel v4.20

2018-10-23 Thread Helge Deller
Hi Linus, please pull the parisc architecture patches and fixes for 4.20-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.20-1 Lots of small fixes and enhancements, most noteably: - Many TLB and cache flush optimizations (Dave) - Fixed HPMC/crash

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-23 Thread Mathieu Desnoyers
- On Oct 12, 2018, at 10:59 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 20:42, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 11/10/18 17:37, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 12:20

Re: [RFC PATCH for 4.21 01/16] rseq/selftests: Add reference counter to coexist with glibc

2018-10-23 Thread Mathieu Desnoyers
- On Oct 12, 2018, at 10:59 AM, Szabolcs Nagy szabolcs.n...@arm.com wrote: > On 11/10/18 20:42, Mathieu Desnoyers wrote: >> - On Oct 11, 2018, at 1:04 PM, Szabolcs Nagy szabolcs.n...@arm.com wrote: >> >>> On 11/10/18 17:37, Mathieu Desnoyers wrote: - On Oct 11, 2018, at 12:20

Re: [PATCH] fpga: altera-cvp: Fix registration for CvP incapable devices

2018-10-23 Thread Alan Tull
On Tue, Oct 23, 2018 at 4:26 AM Moritz Fischer wrote: > > Hi Andreas, > > we're getting there :) It seems your mail setup is still a bit > funky though. Did you use git send-email / git format-patch? > > On Tue, Oct 23, 2018 at 09:01:39AM +, Andreas Puhm wrote: > > From

Re: [PATCH] fpga: altera-cvp: Fix registration for CvP incapable devices

2018-10-23 Thread Alan Tull
On Tue, Oct 23, 2018 at 4:26 AM Moritz Fischer wrote: > > Hi Andreas, > > we're getting there :) It seems your mail setup is still a bit > funky though. Did you use git send-email / git format-patch? > > On Tue, Oct 23, 2018 at 09:01:39AM +, Andreas Puhm wrote: > > From

Re: [PATCH] ARM: debug: enable UART1 for socfpga Cyclone5

2018-10-23 Thread Clément Péron
HI Dinh, On Tue, 23 Oct 2018 at 16:04, Dinh Nguyen wrote: > > Hi Clément, > > On 10/09/2018 06:28 AM, Clément Péron wrote: > > Cyclone5 and Arria10 doesn't have the same memory map for UART1. > > > > Split the SOCFPGA_UART1 into 2 options to allow debugging on UART1 for > > Cylone5. > > > > I'm

Re: [PATCH] ARM: debug: enable UART1 for socfpga Cyclone5

2018-10-23 Thread Clément Péron
HI Dinh, On Tue, 23 Oct 2018 at 16:04, Dinh Nguyen wrote: > > Hi Clément, > > On 10/09/2018 06:28 AM, Clément Péron wrote: > > Cyclone5 and Arria10 doesn't have the same memory map for UART1. > > > > Split the SOCFPGA_UART1 into 2 options to allow debugging on UART1 for > > Cylone5. > > > > I'm

Re: [PATCH v6 07/15] tracing: Move hist trigger key printing into a separate function

2018-10-23 Thread Masami Hiramatsu
Hi Tom, On Thu, 11 Oct 2018 16:02:04 -0500 Tom Zanussi wrote: > From: Tom Zanussi > > Future patches will want to print a histogram key outside a histogram > - add and use hist_trigger_print_key() for that purpose. Hmm, I think this change should be done with such user code, because without

Re: [PATCH v6 07/15] tracing: Move hist trigger key printing into a separate function

2018-10-23 Thread Masami Hiramatsu
Hi Tom, On Thu, 11 Oct 2018 16:02:04 -0500 Tom Zanussi wrote: > From: Tom Zanussi > > Future patches will want to print a histogram key outside a histogram > - add and use hist_trigger_print_key() for that purpose. Hmm, I think this change should be done with such user code, because without

Re: [PATCH v4] printk: Add line-buffered printk() API.

2018-10-23 Thread Petr Mladek
On Wed 2018-10-17 18:54:52, Tetsuo Handa wrote: > Petr Mladek wrote: > > On Sat 2018-10-13 13:39:40, Tetsuo Handa wrote: > > > +struct printk_buffer; > > > +#if defined(CONFIG_PRINTK_LINE_BUFFERED) > > > +struct printk_buffer *get_printk_buffer(void); > > > +void flush_printk_buffer(struct

Re: [PATCH v4] printk: Add line-buffered printk() API.

2018-10-23 Thread Petr Mladek
On Wed 2018-10-17 18:54:52, Tetsuo Handa wrote: > Petr Mladek wrote: > > On Sat 2018-10-13 13:39:40, Tetsuo Handa wrote: > > > +struct printk_buffer; > > > +#if defined(CONFIG_PRINTK_LINE_BUFFERED) > > > +struct printk_buffer *get_printk_buffer(void); > > > +void flush_printk_buffer(struct

Re: possible deadlock in flush_workqueue (2)

2018-10-23 Thread Theodore Y. Ts'o
On Tue, Oct 23, 2018 at 02:42:03AM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:ca9eb48fe01f Merge tag 'regulator-v5.0' of git://git.kerne.. > git tree: upstream > console output:

Re: possible deadlock in flush_workqueue (2)

2018-10-23 Thread Theodore Y. Ts'o
On Tue, Oct 23, 2018 at 02:42:03AM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:ca9eb48fe01f Merge tag 'regulator-v5.0' of git://git.kerne.. > git tree: upstream > console output:

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-23 Thread Rainer Fiebig
Am Dienstag, 23. Oktober 2018, 04:11:44 schrieb Theodore Y. Ts'o: > On Tue, Oct 23, 2018 at 03:25:08PM +1100, NeilBrown wrote: > > Yes, you could, and you can. But if it was Linus who was behaving > > inappropriately, where did you go then? This is why I think whatever > > "code" we have should

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-10-23 Thread Rainer Fiebig
Am Dienstag, 23. Oktober 2018, 04:11:44 schrieb Theodore Y. Ts'o: > On Tue, Oct 23, 2018 at 03:25:08PM +1100, NeilBrown wrote: > > Yes, you could, and you can. But if it was Linus who was behaving > > inappropriately, where did you go then? This is why I think whatever > > "code" we have should

<    2   3   4   5   6   7   8   9   10   11   >