Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-08-29 Thread Ard Biesheuvel
On 29 August 2018 at 20:59, Scott Branden wrote: > Hi Olof, > > > On 18-08-29 11:44 AM, Olof Johansson wrote: >> >> Hi, >> >> On Wed, Aug 29, 2018 at 10:21 AM, Scott Branden >> wrote: >>> >>> Enable EFI_ARMSTUB_DTB_LOADER to add support for the dtb= command line >>> parameter to function with

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-08-29 Thread Ard Biesheuvel
On 29 August 2018 at 20:59, Scott Branden wrote: > Hi Olof, > > > On 18-08-29 11:44 AM, Olof Johansson wrote: >> >> Hi, >> >> On Wed, Aug 29, 2018 at 10:21 AM, Scott Branden >> wrote: >>> >>> Enable EFI_ARMSTUB_DTB_LOADER to add support for the dtb= command line >>> parameter to function with

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-29 Thread Florian Eckert
On 2018-08-24 12:56, Piotr Król wrote: On 08/03/2018 09:08 PM, Andy Shevchenko wrote: Hi Andy, (...) +#define APU_FCH_ACPI_MMIO_BASE 0xFED8 +#define APU_FCH_GPIO_BASE (APU_FCH_ACPI_MMIO_BASE + 0x1500) Wow! Can we see ACPI tables for these boards? Care to share (via some file share

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-29 Thread Florian Eckert
On 2018-08-24 12:56, Piotr Król wrote: On 08/03/2018 09:08 PM, Andy Shevchenko wrote: Hi Andy, (...) +#define APU_FCH_ACPI_MMIO_BASE 0xFED8 +#define APU_FCH_GPIO_BASE (APU_FCH_ACPI_MMIO_BASE + 0x1500) Wow! Can we see ACPI tables for these boards? Care to share (via some file share

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Benjamin Herrenschmidt
On Wed, 2018-08-29 at 13:34 +0900, Sergey Senozhatsky wrote: > Hi, > > Cc-ing Benjamin on this. > > On (08/29/18 03:23), Dmitry Safonov wrote: > > BUG: unable to handle kernel paging request at 2260 > > IP: [..] n_tty_receive_buf_common+0x5f/0x86d > > Workqueue: events_unbound

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Benjamin Herrenschmidt
On Wed, 2018-08-29 at 13:34 +0900, Sergey Senozhatsky wrote: > Hi, > > Cc-ing Benjamin on this. > > On (08/29/18 03:23), Dmitry Safonov wrote: > > BUG: unable to handle kernel paging request at 2260 > > IP: [..] n_tty_receive_buf_common+0x5f/0x86d > > Workqueue: events_unbound

Re: [PATCH v1] arm64: dts: sdm845: enable tsens thermal zones

2018-08-29 Thread Amit Kucheria
On Wed, Aug 29, 2018 at 3:09 PM Daniel Lezcano wrote: > > On 18/07/2018 09:49, Amit Kucheria wrote: > > One thermal zone per cpu is defined > > The thermal zones are very close, especially when the CPUs belong to the > same 'cluster'. Very likely the temperature will propagate from one core > to

Re: [PATCH v1] arm64: dts: sdm845: enable tsens thermal zones

2018-08-29 Thread Amit Kucheria
On Wed, Aug 29, 2018 at 3:09 PM Daniel Lezcano wrote: > > On 18/07/2018 09:49, Amit Kucheria wrote: > > One thermal zone per cpu is defined > > The thermal zones are very close, especially when the CPUs belong to the > same 'cluster'. Very likely the temperature will propagate from one core > to

[PATCH] ARM: dts: imx6ull: update iomux header

2018-08-29 Thread Anson Huang
Update i.MX6ULL iomux header according to latest reference manual Rev.1, 11/2017. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6ull-pinfunc.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-pinfunc.h

[PATCH] ARM: dts: imx6ull: update iomux header

2018-08-29 Thread Anson Huang
Update i.MX6ULL iomux header according to latest reference manual Rev.1, 11/2017. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6ull-pinfunc.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-pinfunc.h

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Nadav Amit
at 7:26 PM, Masami Hiramatsu wrote: > On Wed, 29 Aug 2018 14:00:06 -0700 > Sean Christopherson wrote: > >> On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: >>> at 1:13 PM, Sean Christopherson wrote: >>> On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > at

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Nadav Amit
at 7:26 PM, Masami Hiramatsu wrote: > On Wed, 29 Aug 2018 14:00:06 -0700 > Sean Christopherson wrote: > >> On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: >>> at 1:13 PM, Sean Christopherson wrote: >>> On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > at

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Stephane Eranian
On Wed, Aug 29, 2018 at 5:33 PM Namhyung Kim wrote: > > Hi, > > On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > > Hi, >

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Stephane Eranian
On Wed, Aug 29, 2018 at 5:33 PM Namhyung Kim wrote: > > Hi, > > On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > > Hi, >

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Josh Triplett
On Wed, Aug 29, 2018 at 09:10:17PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 15:38:30 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > Hello!

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Josh Triplett
On Wed, Aug 29, 2018 at 09:10:17PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 15:38:30 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > Hello!

[PATCH 0/3] ARM: dts: am335x: add support for Moxa UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series open computing platform is designed for industrial embedded data acquisition and processing applications. In order to fulfill various industrial applications, there're many boards with different peripheral devices and wireless modules in this series. The features of UC-2100

[PATCH 1/3] ARM: dts: am335x: add common file for UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series consists many boards with different peripheral devices and wireless modules, hence we fetch common items and create a common dtsi file to increase reusability. All boards in UC-2100 series will include this common dtsi file. Signed-off-by: Wes Huang (黃淵河) Signed-off-by: Fero

[PATCH 0/3] ARM: dts: am335x: add support for Moxa UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series open computing platform is designed for industrial embedded data acquisition and processing applications. In order to fulfill various industrial applications, there're many boards with different peripheral devices and wireless modules in this series. The features of UC-2100

[PATCH 1/3] ARM: dts: am335x: add common file for UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series consists many boards with different peripheral devices and wireless modules, hence we fetch common items and create a common dtsi file to increase reusability. All boards in UC-2100 series will include this common dtsi file. Signed-off-by: Wes Huang (黃淵河) Signed-off-by: Fero

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 15:38:30 -0700 > > "Paul E. McKenney" wrote: > > > > > Hello! > > > > > > This commit does RCU-consolidation cleanups that get rid of

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 15:38:30 -0700 > > "Paul E. McKenney" wrote: > > > > > Hello! > > > > > > This commit does RCU-consolidation cleanups that get rid of

[PATCH 2/3] ARM: dts: am335x: add support for Moxa UC-2101 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2101 open platform The UC-2101 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2101 are: * eMMC * SPI flash * 1x LAN * 1x RS-232/422/485 ports, software-selectable * EEPROM * TPM 2.0 * Watchdog * RTC

[PATCH 3/3] ARM: dts: am335x: add support for Moxa UC-2102 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2102 open platform The UC-2102 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2102 are: * eMMC * SPI flash * 2x LAN * EEPROM * TPM 2.0 * Watchdog * RTC * User gpio-keys * User LEDs * User button

[PATCH 2/3] ARM: dts: am335x: add support for Moxa UC-2101 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2101 open platform The UC-2101 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2101 are: * eMMC * SPI flash * 1x LAN * 1x RS-232/422/485 ports, software-selectable * EEPROM * TPM 2.0 * Watchdog * RTC

[PATCH 3/3] ARM: dts: am335x: add support for Moxa UC-2102 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2102 open platform The UC-2102 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2102 are: * eMMC * SPI flash * 2x LAN * EEPROM * TPM 2.0 * Watchdog * RTC * User gpio-keys * User LEDs * User button

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16662cb640 kernel config:

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16662cb640 kernel config:

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-29 Thread Baolin Wang
Hi Jacek, On 30 August 2018 at 03:15, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/29/2018 11:48 AM, Baolin Wang wrote: >> Hi Jacek, >> >> On 29 August 2018 at 04:25, Jacek Anaszewski >> wrote: >>> On 08/25/2018 09:51 AM, Baolin Wang wrote: On 25 August 2018 at 04:44, Jacek Anaszewski

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-29 Thread Baolin Wang
Hi Jacek, On 30 August 2018 at 03:15, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/29/2018 11:48 AM, Baolin Wang wrote: >> Hi Jacek, >> >> On 29 August 2018 at 04:25, Jacek Anaszewski >> wrote: >>> On 08/25/2018 09:51 AM, Baolin Wang wrote: On 25 August 2018 at 04:44, Jacek Anaszewski

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:46:09PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 19:07:01 -0700 > "Paul E. McKenney" wrote: > > > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 14:23:13 -0700 > > > "Paul E. McKenney" wrote: > > > > > > >

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:46:09PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 19:07:01 -0700 > "Paul E. McKenney" wrote: > > > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 14:23:13 -0700 > > > "Paul E. McKenney" wrote: > > > > > > >

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 15:38:30 -0700 > "Paul E. McKenney" wrote: > > > Hello! > > > > This commit does RCU-consolidation cleanups that get rid of pointers to > > the sole remaining rcu_state structure: > > > > 1-40: Remove

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 15:38:30 -0700 > "Paul E. McKenney" wrote: > > > Hello! > > > > This commit does RCU-consolidation cleanups that get rid of pointers to > > the sole remaining rcu_state structure: > > > > 1-40: Remove

Re: [PATCH v3 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 03:21:04PM +0530, Manivannan Sadhasivam wrote: > This patchset adds Reset Controller (RMU) support for Actions Semi > Owl SoCs, S900 and S700. For the Owl SoCs, RMU has been integrated into > the clock subsystem in hardware. Hence, in software we integrate RMU > support

Re: [PATCH v3 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 03:21:04PM +0530, Manivannan Sadhasivam wrote: > This patchset adds Reset Controller (RMU) support for Actions Semi > Owl SoCs, S900 and S700. For the Owl SoCs, RMU has been integrated into > the clock subsystem in hardware. Hence, in software we integrate RMU > support

Re: [PATCH 0/4] Add HiSilicon Hi3670 SoC and HiKey970 board

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 11:23:35PM +0530, Manivannan Sadhasivam wrote: > This patchset adds support for Hi3670 SoC and HiKey970 board. Hi3670 SoC > is very similar to the Hi3660 SoC with additional NPU support. For now, > only UART6 has been enabled which is configured by the bootloader for >

Re: [PATCH 0/4] Add HiSilicon Hi3670 SoC and HiKey970 board

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 11:23:35PM +0530, Manivannan Sadhasivam wrote: > This patchset adds support for Hi3670 SoC and HiKey970 board. Hi3670 SoC > is very similar to the Hi3660 SoC with additional NPU support. For now, > only UART6 has been enabled which is configured by the bootloader for >

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:36, Krzysztof Kozlowski wrote: > I'll try one more time... but without HTML from Gmail. Previous mail > bounced from lists. > > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the SC2731 PMIC switch charger support. >> >>

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:36, Krzysztof Kozlowski wrote: > I'll try one more time... but without HTML from Gmail. Previous mail > bounced from lists. > > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the SC2731 PMIC switch charger support. >> >>

Re: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC2731 charger documentation

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:08, Krzysztof Kozlowski wrote: > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the binding documentation for Spreadtrum SC2731 charger >> device. >> >> Signed-off-by: Baolin Wang >> --- >>

Re: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC2731 charger documentation

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:08, Krzysztof Kozlowski wrote: > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the binding documentation for Spreadtrum SC2731 charger >> device. >> >> Signed-off-by: Baolin Wang >> --- >>

ASSIST ME TO GET THIS MONEY PLEASE

2018-08-29 Thread Dr Bartholomew Caleb
Good day my dear friend, Let me start by introducing myself. I am Bartholomew Caleb, an accounts officer with Bank of Africa here in Burkina Faso West Africa. I am writing you this letter based on the latest development at my bank whichI will like to bring to your personal edification.

ASSIST ME TO GET THIS MONEY PLEASE

2018-08-29 Thread Dr Bartholomew Caleb
Good day my dear friend, Let me start by introducing myself. I am Bartholomew Caleb, an accounts officer with Bank of Africa here in Burkina Faso West Africa. I am writing you this letter based on the latest development at my bank whichI will like to bring to your personal edification.

linux-next: Tree for Aug 30

2018-08-29 Thread Stephen Rothwell
Hi all, Changes since 20180829: New trees: soundwire and soundwire-fixes Dropped trees: xarray, ida (temporarily) The spi tree lost its build failure. Non-merge commits (relative to Linus' tree): 1087 1284 files changed, 44936 insertions(+), 12978 deletions

linux-next: Tree for Aug 30

2018-08-29 Thread Stephen Rothwell
Hi all, Changes since 20180829: New trees: soundwire and soundwire-fixes Dropped trees: xarray, ida (temporarily) The spi tree lost its build failure. Non-merge commits (relative to Linus' tree): 1087 1284 files changed, 44936 insertions(+), 12978 deletions

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 19:07:01 -0700 "Paul E. McKenney" wrote: > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 14:23:13 -0700 > > "Paul E. McKenney" wrote: > > > > > Allocating a list_head structure that is almost never used, and, when > > > used, is

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 19:07:01 -0700 "Paul E. McKenney" wrote: > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 14:23:13 -0700 > > "Paul E. McKenney" wrote: > > > > > Allocating a list_head structure that is almost never used, and, when > > > used, is

[BUG] [Resend] Possible sleep-in-atomic-context bugs involving regmap_lock_mutex()

2018-08-29 Thread Jia-Ju Bai
Hello, My static tool DSAC reports many sleep-in-atomic-context bugs involving regmap_lock_mutex(), so I wonder whether this function is possible to be executed in atomic context. Here are some example bugs and their call paths in Linux-4.16 (from bottom to top, and [FUNC_PTR] means that

[BUG] [Resend] Possible sleep-in-atomic-context bugs involving regmap_lock_mutex()

2018-08-29 Thread Jia-Ju Bai
Hello, My static tool DSAC reports many sleep-in-atomic-context bugs involving regmap_lock_mutex(), so I wonder whether this function is possible to be executed in atomic context. Here are some example bugs and their call paths in Linux-4.16 (from bottom to top, and [FUNC_PTR] means that

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 14:00:06 -0700 Sean Christopherson wrote: > On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: > > at 1:13 PM, Sean Christopherson wrote: > > > > > On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > > >> at 10:11 AM, Nadav Amit wrote: > > >> > > >>> at

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 14:00:06 -0700 Sean Christopherson wrote: > On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: > > at 1:13 PM, Sean Christopherson wrote: > > > > > On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > > >> at 10:11 AM, Nadav Amit wrote: > > >> > > >>> at

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread Dmitry Vyukov
On Wed, Aug 29, 2018 at 7:17 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 > kernel config:

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread Dmitry Vyukov
On Wed, Aug 29, 2018 at 7:17 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 > kernel config:

[PATCH] perf event-parse: Use fixed size string for comms

2018-08-29 Thread cphlipot0
From: Chris Phlipot Some implementations of libc do not support the 'm' width modifier as part of the scanf string format specifier. This can cause the parsing to fail. Since the parser never checks if the scanf parsing was successesful, this can result in a crash. Change the comm string to be

[PATCH] perf event-parse: Use fixed size string for comms

2018-08-29 Thread cphlipot0
From: Chris Phlipot Some implementations of libc do not support the 'm' width modifier as part of the scanf string format specifier. This can cause the parsing to fail. Since the parser never checks if the scanf parsing was successesful, this can result in a crash. Change the comm string to be

[PATCH] thermal: qoriq: add i.mx8mq support

2018-08-29 Thread Anson Huang
Add i.mx8mq specific compatible string. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 6 +++--- drivers/thermal/qoriq_thermal.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] thermal: qoriq: add i.mx8mq support

2018-08-29 Thread Anson Huang
Add i.mx8mq specific compatible string. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 6 +++--- drivers/thermal/qoriq_thermal.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 kernel config: https://syzkaller.appspot.com/x/.config?x=531a917630d2a492 dashboard

WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 kernel config: https://syzkaller.appspot.com/x/.config?x=531a917630d2a492 dashboard

Re: [PATCH] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
On Wed, 29 Aug 2018 at 23:42, Radim Krcmar wrote: > > 2018-08-29 13:29+0300, Dan Carpenter: > > On Wed, Aug 29, 2018 at 06:23:08PM +0800, Wanpeng Li wrote: > > > On Wed, 29 Aug 2018 at 18:18, Dan Carpenter > > > wrote: > > > > > > > > On Wed, Aug 29, 2018 at 01:12:05PM +0300, Dan Carpenter

Re: [PATCH] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
On Wed, 29 Aug 2018 at 23:42, Radim Krcmar wrote: > > 2018-08-29 13:29+0300, Dan Carpenter: > > On Wed, Aug 29, 2018 at 06:23:08PM +0800, Wanpeng Li wrote: > > > On Wed, 29 Aug 2018 at 18:18, Dan Carpenter > > > wrote: > > > > > > > > On Wed, Aug 29, 2018 at 01:12:05PM +0300, Dan Carpenter

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 14:23:13 -0700 > "Paul E. McKenney" wrote: > > > Allocating a list_head structure that is almost never used, and, when > > used, is used only during early boot (rcu_init() and earlier), is a bit > > wasteful.

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 14:23:13 -0700 > "Paul E. McKenney" wrote: > > > Allocating a list_head structure that is almost never used, and, when > > used, is used only during early boot (rcu_init() and earlier), is a bit > > wasteful.

[PATCH v2] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
From: Wanpeng Li Dan Carpenter reported that the untrusted data returns from kvm_register_read() results in the following static checker warning: arch/x86/kvm/lapic.c:576 kvm_pv_send_ipi() error: buffer underflow 'map->phys_map' 's32min-s32max' KVM guest can easily trigger this by executing

[PATCH v2] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
From: Wanpeng Li Dan Carpenter reported that the untrusted data returns from kvm_register_read() results in the following static checker warning: arch/x86/kvm/lapic.c:576 kvm_pv_send_ipi() error: buffer underflow 'map->phys_map' 's32min-s32max' KVM guest can easily trigger this by executing

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 15:38:30 -0700 "Paul E. McKenney" wrote: > Hello! > > This commit does RCU-consolidation cleanups that get rid of pointers to > the sole remaining rcu_state structure: > > 1-40: Remove the "rsp" parameter from numerous functions, given that > the corresponding

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 15:38:30 -0700 "Paul E. McKenney" wrote: > Hello! > > This commit does RCU-consolidation cleanups that get rid of pointers to > the sole remaining rcu_state structure: > > 1-40: Remove the "rsp" parameter from numerous functions, given that > the corresponding

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Andy Lutomirski
> On Aug 29, 2018, at 6:38 PM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 08:41:00 -0700 > Andy Lutomirski wrote: > >>> On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu >>> wrote: >>> On Wed, 29 Aug 2018 01:11:43 -0700 >>> Nadav Amit wrote: >>> From: Andy Lutomirski

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Andy Lutomirski
> On Aug 29, 2018, at 6:38 PM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 08:41:00 -0700 > Andy Lutomirski wrote: > >>> On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu >>> wrote: >>> On Wed, 29 Aug 2018 01:11:43 -0700 >>> Nadav Amit wrote: >>> From: Andy Lutomirski

Re: [4.14.66-rt40] [report][cpuhotplug] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 16:28:50 -0500 Grygorii Strashko wrote: > On 08/29/2018 09:08 AM, Sebastian Andrzej Siewior wrote: > > On 2018-08-28 18:28:42 [-0500], Grygorii Strashko wrote: > > [...] > > >> [0.912275] [] alloc_pages_current+0xcc/0xe0 > >> [0.912287] []

Re: [4.14.66-rt40] [report][cpuhotplug] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 16:28:50 -0500 Grygorii Strashko wrote: > On 08/29/2018 09:08 AM, Sebastian Andrzej Siewior wrote: > > On 2018-08-28 18:28:42 [-0500], Grygorii Strashko wrote: > > [...] > > >> [0.912275] [] alloc_pages_current+0xcc/0xe0 > >> [0.912287] []

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 14:23:13 -0700 "Paul E. McKenney" wrote: > Allocating a list_head structure that is almost never used, and, when > used, is used only during early boot (rcu_init() and earlier), is a bit > wasteful. This commit therefore eliminates that list_head in favor of > the one in the

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 14:23:13 -0700 "Paul E. McKenney" wrote: > Allocating a list_head structure that is almost never used, and, when > used, is used only during early boot (rcu_init() and earlier), is a bit > wasteful. This commit therefore eliminates that list_head in favor of > the one in the

Re: [PATCH] mm/page_alloc: Clean up check_for_memory

2018-08-29 Thread Pasha Tatashin
On 8/28/18 5:01 PM, Oscar Salvador wrote: > From: Oscar Salvador > > check_for_memory looks a bit confusing. > First of all, we have this: > > if (N_MEMORY == N_NORMAL_MEMORY) > return; > > Checking the ENUM declaration, looks like N_MEMORY canot be equal to > N_NORMAL_MEMORY. > I

Re: [PATCH] mm/page_alloc: Clean up check_for_memory

2018-08-29 Thread Pasha Tatashin
On 8/28/18 5:01 PM, Oscar Salvador wrote: > From: Oscar Salvador > > check_for_memory looks a bit confusing. > First of all, we have this: > > if (N_MEMORY == N_NORMAL_MEMORY) > return; > > Checking the ENUM declaration, looks like N_MEMORY canot be equal to > N_NORMAL_MEMORY. > I

RE: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-29 Thread Huang, Kai
> > > > > Some kind of counter is required to keep track of the power cycle. > > > > > When going to sleep the sgx_pm_cnt is increased. sgx_einit() > > > > > compares the current value of the global count to the value in > > > > > the cache entry to see whether we are in a new power cycle. > > > >

RE: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-29 Thread Huang, Kai
> > > > > Some kind of counter is required to keep track of the power cycle. > > > > > When going to sleep the sgx_pm_cnt is increased. sgx_einit() > > > > > compares the current value of the global count to the value in > > > > > the cache entry to see whether we are in a new power cycle. > > > >

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 08:41:00 -0700 Andy Lutomirski wrote: > On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 01:11:43 -0700 > > Nadav Amit wrote: > > > >> From: Andy Lutomirski > >> > >> Sometimes we want to set a temporary page-table entries (PTEs) in one of >

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 08:41:00 -0700 Andy Lutomirski wrote: > On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 01:11:43 -0700 > > Nadav Amit wrote: > > > >> From: Andy Lutomirski > >> > >> Sometimes we want to set a temporary page-table entries (PTEs) in one of >

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Jia He
On 8/30/2018 7:22 AM, Andrew Morton Wrote: > On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > >> Hi Andrew >> FYI,I watched a lockdep warning based on your mmotm master branch[1] > > Thanks. We'll need help from ARM peeps on this please. > >> [6.692731] [ cut here

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Jia He
On 8/30/2018 7:22 AM, Andrew Morton Wrote: > On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > >> Hi Andrew >> FYI,I watched a lockdep warning based on your mmotm master branch[1] > > Thanks. We'll need help from ARM peeps on this please. > >> [6.692731] [ cut here

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-29 Thread Mike Kravetz
On 08/29/2018 02:11 PM, Jerome Glisse wrote: > On Wed, Aug 29, 2018 at 08:39:06PM +0200, Michal Hocko wrote: >> On Wed 29-08-18 14:14:25, Jerome Glisse wrote: >>> On Wed, Aug 29, 2018 at 10:24:44AM -0700, Mike Kravetz wrote: >> [...] What would be the best mmu notifier interface to use where

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-29 Thread Mike Kravetz
On 08/29/2018 02:11 PM, Jerome Glisse wrote: > On Wed, Aug 29, 2018 at 08:39:06PM +0200, Michal Hocko wrote: >> On Wed 29-08-18 14:14:25, Jerome Glisse wrote: >>> On Wed, Aug 29, 2018 at 10:24:44AM -0700, Mike Kravetz wrote: >> [...] What would be the best mmu notifier interface to use where

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Namhyung Kim
Hi, On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > Hi, > > > > > > I am doing the following simple collection with callchain

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Namhyung Kim
Hi, On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > Hi, > > > > > > I am doing the following simple collection with callchain

[GIT PULL] RISC-V Fixes and Cleanups for 4.19-rc2

2018-08-29 Thread Palmer Dabbelt
The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.19-rc2 for you to fetch changes up to

[GIT PULL] RISC-V Fixes and Cleanups for 4.19-rc2

2018-08-29 Thread Palmer Dabbelt
The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.19-rc2 for you to fetch changes up to

Re: [PATCH V3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-29 Thread Rob Herring
On Wed, Aug 29, 2018 at 6:19 AM wrote: > > On 2018-08-29 05:55, Rob Herring wrote: > > On Fri, Aug 24, 2018 at 04:12:15PM +0530, Dilip Kota wrote: > >> From: Girish Mahadevan > >> > >> This driver supports GENI based SPI Controller in the Qualcomm SOCs. > >> The > >> Qualcomm Generic Interface

Re: [PATCH V3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-29 Thread Rob Herring
On Wed, Aug 29, 2018 at 6:19 AM wrote: > > On 2018-08-29 05:55, Rob Herring wrote: > > On Fri, Aug 24, 2018 at 04:12:15PM +0530, Dilip Kota wrote: > >> From: Girish Mahadevan > >> > >> This driver supports GENI based SPI Controller in the Qualcomm SOCs. > >> The > >> Qualcomm Generic Interface

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-29 Thread Vineet Gupta
On 08/27/2018 04:00 AM, Peter Zijlstra wrote: > > The one obvious thing SH and ARM want is a sensible default for > tlb_start_vma(). (also: https://lkml.org/lkml/2004/1/15/6 ) > > The below make tlb_start_vma() default to flush_cache_range(), which > should be right and sufficient. The only

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-29 Thread Vineet Gupta
On 08/27/2018 04:00 AM, Peter Zijlstra wrote: > > The one obvious thing SH and ARM want is a sensible default for > tlb_start_vma(). (also: https://lkml.org/lkml/2004/1/15/6 ) > > The below make tlb_start_vma() default to flush_cache_range(), which > should be right and sufficient. The only

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread kbuild test robot
Hi Codrin, Thank you for the patch! Yet something to improve: [auto build test ERROR on at91/at91-next] [also build test ERROR on v4.19-rc1 next-20180829] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread kbuild test robot
Hi Codrin, Thank you for the patch! Yet something to improve: [auto build test ERROR on at91/at91-next] [also build test ERROR on v4.19-rc1 next-20180829] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 11/13] proc: readdir /proc/*/task

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 22:35:02 +0300 Alexey Dobriyan wrote: > > Are we really in a super hot path to justify all that? > > /proc is very slow, try profiling just about anything involving /proc. So how much does this patchset help? Some timing measurements would really help things along, if they

Re: [PATCH 11/13] proc: readdir /proc/*/task

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 22:35:02 +0300 Alexey Dobriyan wrote: > > Are we really in a super hot path to justify all that? > > /proc is very slow, try profiling just about anything involving /proc. So how much does this patchset help? Some timing measurements would really help things along, if they

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > Hi Andrew > FYI,I watched a lockdep warning based on your mmotm master branch[1] Thanks. We'll need help from ARM peeps on this please. > [6.692731] [ cut here ] > [6.696391]

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > Hi Andrew > FYI,I watched a lockdep warning based on your mmotm master branch[1] Thanks. We'll need help from ARM peeps on this please. > [6.692731] [ cut here ] > [6.696391]

[PATCH 2/3] firmware: qcom: scm: Refactor clock handling

2018-08-29 Thread Bjorn Andersson
At one point in time all "future" platforms required three clocks, so the binding and driver was written to treat this as the default case. But new platforms has no clock requirements, which currently makes them all a special case, causing the need for a patch in the binding and driver for each

[PATCH 1/3] dt-bindings: firmware: scm: Refactor compatibles and clocks

2018-08-29 Thread Bjorn Andersson
When the binding was written all "future" platforms required three clocks, so the default compatible (qcom,scm) was defined to require this. But as history shows all "future" platforms actually lack required clocks. Given how the binding is written these compatibles have to be added as an

  1   2   3   4   5   6   7   8   9   10   >