Re: [RFC][PATCH 0/6] Use printk_safe context for TTY and UART port locks

2018-06-22 Thread Sergey Senozhatsky
On (06/22/18 17:21), Alan Cox wrote: > On Wed, 20 Jun 2018 11:44:13 +0900 > Linus Torvalds wrote: > > > On Wed, Jun 20, 2018 at 11:34 AM Steven Rostedt wrote: > > > > > > Perhaps we should do an audit of the console drivers and remove all > > > printk, pr_* , WARN*, BUG* from them. > > > >

Re: [RFC][PATCH 0/6] Use printk_safe context for TTY and UART port locks

2018-06-22 Thread Sergey Senozhatsky
On (06/22/18 17:21), Alan Cox wrote: > On Wed, 20 Jun 2018 11:44:13 +0900 > Linus Torvalds wrote: > > > On Wed, Jun 20, 2018 at 11:34 AM Steven Rostedt wrote: > > > > > > Perhaps we should do an audit of the console drivers and remove all > > > printk, pr_* , WARN*, BUG* from them. > > > >

[PATCH v2 3/3] pinctrl: actions: Add interrupt support for OWL S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
Add interrupt support for Actions Semi OWL S900 SoC. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/actions/Kconfig| 1 + drivers/pinctrl/actions/pinctrl-owl.c | 271 - drivers/pinctrl/actions/pinctrl-owl.h | 22 +-

[PATCH v2 3/3] pinctrl: actions: Add interrupt support for OWL S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
Add interrupt support for Actions Semi OWL S900 SoC. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/actions/Kconfig| 1 + drivers/pinctrl/actions/pinctrl-owl.c | 271 - drivers/pinctrl/actions/pinctrl-owl.h | 22 +-

[PATCH v2 2/3] arm64: dts: actions: Add interrupt properties to pinctrl node for S900

2018-06-22 Thread Manivannan Sadhasivam
Add interrupt properties to pinctrl node for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index

[PATCH v2 0/3] Add gpio interrupt support for Actions Semi S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
This patchset adds interrupt support for Actions Semi S900 GPIO's. Each port has individual register sets for configuring the below interrupt types: 1. Rising Edge Interrupt 2. Falling Edge Interrupt 3. Software Emulation of both Edges 4. High Level Interrupt 5. Low Level Interrupt Thanks, Mani

[PATCH v2 2/3] arm64: dts: actions: Add interrupt properties to pinctrl node for S900

2018-06-22 Thread Manivannan Sadhasivam
Add interrupt properties to pinctrl node for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index

[PATCH v2 0/3] Add gpio interrupt support for Actions Semi S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
This patchset adds interrupt support for Actions Semi S900 GPIO's. Each port has individual register sets for configuring the below interrupt types: 1. Rising Edge Interrupt 2. Falling Edge Interrupt 3. Software Emulation of both Edges 4. High Level Interrupt 5. Low Level Interrupt Thanks, Mani

[PATCH v2 1/3] dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
Add gpio interrupt bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../bindings/pinctrl/actions,s900-pinctrl.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v2 1/3] dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC

2018-06-22 Thread Manivannan Sadhasivam
Add gpio interrupt bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../bindings/pinctrl/actions,s900-pinctrl.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Fenghua Yu
On Fri, Jun 22, 2018 at 12:49:00PM +0200, Thomas Gleixner wrote: > On Sun, 27 May 2018, Fenghua Yu wrote: > > +static void wait_for_reexecution(void) > > +{ > > + while (time_before(jiffies, disable_split_lock_jiffies + > > + reenable_split_lock_delay)) > > +

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Fenghua Yu
On Fri, Jun 22, 2018 at 12:49:00PM +0200, Thomas Gleixner wrote: > On Sun, 27 May 2018, Fenghua Yu wrote: > > +static void wait_for_reexecution(void) > > +{ > > + while (time_before(jiffies, disable_split_lock_jiffies + > > + reenable_split_lock_delay)) > > +

Re: [PATCH 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-22 Thread Masahiro Yamada
2018-06-19 13:11 GMT+09:00 Katsuhiro Suzuki : > This patch adds GPIO for headphone detection on LD20 global board. > > Signed-off-by: Katsuhiro Suzuki > --- > arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-22 Thread Masahiro Yamada
2018-06-19 13:11 GMT+09:00 Katsuhiro Suzuki : > This patch adds GPIO for headphone detection on LD20 global board. > > Signed-off-by: Katsuhiro Suzuki > --- > arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards

2018-06-22 Thread Masahiro Yamada
2018-06-19 13:12 GMT+09:00 Katsuhiro Suzuki : > This patch fixes wrong name of headphone widget for receiving events > of insert/remove headphone plug from simple-card or audio-graph-card. > > If we use wrong widget name then we get warning messages such as > "asoc-audio-graph-card sound: ASoC:

Re: [PATCH] arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards

2018-06-22 Thread Masahiro Yamada
2018-06-19 13:12 GMT+09:00 Katsuhiro Suzuki : > This patch fixes wrong name of headphone widget for receiving events > of insert/remove headphone plug from simple-card or audio-graph-card. > > If we use wrong widget name then we get warning messages such as > "asoc-audio-graph-card sound: ASoC:

[PATCH] kconfig: document Kconfig source file comments

2018-06-22 Thread Randy Dunlap
From: Randy Dunlap I saw this type of Kconfig construct on LKML: config SYMBOOL #bool "prompt string" default y and wondered what it does. Then I wondered if '#' comments are even documented. They aren't, so add a little doc for that. Ah, good. kconfig says:

[PATCH] kconfig: document Kconfig source file comments

2018-06-22 Thread Randy Dunlap
From: Randy Dunlap I saw this type of Kconfig construct on LKML: config SYMBOOL #bool "prompt string" default y and wondered what it does. Then I wondered if '#' comments are even documented. They aren't, so add a little doc for that. Ah, good. kconfig says:

Re: [PATCH] staging: rtl8723bs: do not use assignment in if condition

2018-06-22 Thread Joe Perches
On Fri, 2018-06-22 at 21:11 +0200, Michael Straube wrote: > On 06/22/18 19:28, Joe Perches wrote: > > Although the last memcpy of a fixed mac address could > > probably use eth_random_addr to reduce the likelihood > > of mac address collision so maybe > > eth_random_addr(mac_addr); >

Re: [PATCH] staging: rtl8723bs: do not use assignment in if condition

2018-06-22 Thread Joe Perches
On Fri, 2018-06-22 at 21:11 +0200, Michael Straube wrote: > On 06/22/18 19:28, Joe Perches wrote: > > Although the last memcpy of a fixed mac address could > > probably use eth_random_addr to reduce the likelihood > > of mac address collision so maybe > > eth_random_addr(mac_addr); >

Re: [PATCH v4 10/12] misc: throttler: Add core support for non-thermal throttling

2018-06-22 Thread Matthias Kaehlcke
On Thu, Jun 21, 2018 at 07:04:33PM -0700, Brian Norris wrote: > Hi, > > A few more things I noticed; probably my last thoughts on this > particular patch; and I think I reviewed the rest: > > On Wed, Jun 20, 2018 at 06:52:35PM -0700, Matthias Kaehlcke wrote: > > The purpose of the throttler is

Re: [PATCH v4 10/12] misc: throttler: Add core support for non-thermal throttling

2018-06-22 Thread Matthias Kaehlcke
On Thu, Jun 21, 2018 at 07:04:33PM -0700, Brian Norris wrote: > Hi, > > A few more things I noticed; probably my last thoughts on this > particular patch; and I think I reviewed the rest: > > On Wed, Jun 20, 2018 at 06:52:35PM -0700, Matthias Kaehlcke wrote: > > The purpose of the throttler is

[PATCH 3/5] tracing: Use swap macro in update_max_tr

2018-06-22 Thread Steven Rostedt
From: "Gustavo A. R. Silva" Make use of the swap macro and remove unnecessary variable _buf_. This makes the code easier to read and maintain. Also, reduces the stack usage. This code was detected with the help of Coccinelle. Link: http://lkml.kernel.org/r/20180209175316.GA18720@embeddedgus

[PATCH 3/5] tracing: Use swap macro in update_max_tr

2018-06-22 Thread Steven Rostedt
From: "Gustavo A. R. Silva" Make use of the swap macro and remove unnecessary variable _buf_. This makes the code easier to read and maintain. Also, reduces the stack usage. This code was detected with the help of Coccinelle. Link: http://lkml.kernel.org/r/20180209175316.GA18720@embeddedgus

[PATCH 5/5] tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount

2018-06-22 Thread Steven Rostedt
From: Greg Thelen Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and SKIP_STACK_VALIDATION=1 fail. Example output: /bin/sh: init/.tmp_main.o: Permission denied commit 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace"), added a mismatched endif. This causes cmd_objtool to get

[PATCH 4/5] tracing: Fix some errors in histogram documentation

2018-06-22 Thread Steven Rostedt
From: "Joel Fernandes (Google)" Fix typos, inconsistencies in using quotes, incorrect section number, etc. in the trace histogram documentation. Link: http://lkml.kernel.org/r/20180614224859.55864-1-j...@joelfernandes.org Reviewed-by: Masami Hiramatsu Acked-by: Tom Zanussi Signed-off-by:

[PATCH 0/5] [GIT PULL] tracing: A few fixes and a clean up

2018-06-22 Thread Steven Rostedt
Linus, This contains a few fixes and a clean up. - A bad merge caused an "endif" to go in the wrong place in scripts/Makefile.build - Softirq tracing fix for tracing that corrupts lockdep and causes a false splat - Histogram documentation typo fixes - Fix a bad memory reference

[PATCH 5/5] tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount

2018-06-22 Thread Steven Rostedt
From: Greg Thelen Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and SKIP_STACK_VALIDATION=1 fail. Example output: /bin/sh: init/.tmp_main.o: Permission denied commit 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace"), added a mismatched endif. This causes cmd_objtool to get

[PATCH 4/5] tracing: Fix some errors in histogram documentation

2018-06-22 Thread Steven Rostedt
From: "Joel Fernandes (Google)" Fix typos, inconsistencies in using quotes, incorrect section number, etc. in the trace histogram documentation. Link: http://lkml.kernel.org/r/20180614224859.55864-1-j...@joelfernandes.org Reviewed-by: Masami Hiramatsu Acked-by: Tom Zanussi Signed-off-by:

[PATCH 0/5] [GIT PULL] tracing: A few fixes and a clean up

2018-06-22 Thread Steven Rostedt
Linus, This contains a few fixes and a clean up. - A bad merge caused an "endif" to go in the wrong place in scripts/Makefile.build - Softirq tracing fix for tracing that corrupts lockdep and causes a false splat - Histogram documentation typo fixes - Fix a bad memory reference

[PATCH 1/5] tracing: Check for no filter when processing event filters

2018-06-22 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The syzkaller detected a out-of-bounds issue with the events filter code, specifically here: prog[N].pred = NULL;/* #13 */ prog[N].target = 1; /* TRUE */ prog[N+1].pred = NULL;

[PATCH 1/5] tracing: Check for no filter when processing event filters

2018-06-22 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The syzkaller detected a out-of-bounds issue with the events filter code, specifically here: prog[N].pred = NULL;/* #13 */ prog[N].target = 1; /* TRUE */ prog[N+1].pred = NULL;

[PATCH 2/5] softirq: Reorder trace_softirqs_on to prevent lockdep splat

2018-06-22 Thread Steven Rostedt
From: "Joel Fernandes (Google)" I'm able to reproduce a lockdep splat with config options: CONFIG_PROVE_LOCKING=y, CONFIG_DEBUG_LOCK_ALLOC=y and CONFIG_PREEMPTIRQ_EVENTS=y $ echo 1 > /d/tracing/events/preemptirq/preempt_enable/enable [ 26.112609]

[PATCH 2/5] softirq: Reorder trace_softirqs_on to prevent lockdep splat

2018-06-22 Thread Steven Rostedt
From: "Joel Fernandes (Google)" I'm able to reproduce a lockdep splat with config options: CONFIG_PROVE_LOCKING=y, CONFIG_DEBUG_LOCK_ALLOC=y and CONFIG_PREEMPTIRQ_EVENTS=y $ echo 1 > /d/tracing/events/preemptirq/preempt_enable/enable [ 26.112609]

Re: [PATCH] MAINTAINERS: Add Daniel Lustig as a LKMM reviewer

2018-06-22 Thread Andrea Parri
> > Thanks. Unless anyone has any opposition I'll submit the fixed > > patch as part of my next pull request. > > Works for me, especially if this means that Daniel is RISC-V's official > representative. ;-) I'd rather the "fixed patch" go through the LKMM's tree. If not for other, we tend to

Re: [PATCH] MAINTAINERS: Add Daniel Lustig as a LKMM reviewer

2018-06-22 Thread Andrea Parri
> > Thanks. Unless anyone has any opposition I'll submit the fixed > > patch as part of my next pull request. > > Works for me, especially if this means that Daniel is RISC-V's official > representative. ;-) I'd rather the "fixed patch" go through the LKMM's tree. If not for other, we tend to

Re: [RFC v2 PATCH 2/2] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-22 Thread Yang Shi
Yes, this is true but I guess what Yang Shi meant was that an userspace access racing with munmap is not well defined. You never know whether you get your data, #PTF or SEGV because it depends on timing. The user visible change might be that you lose content and get zero page instead if you hit

Re: [RFC v2 PATCH 2/2] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-22 Thread Yang Shi
Yes, this is true but I guess what Yang Shi meant was that an userspace access racing with munmap is not well defined. You never know whether you get your data, #PTF or SEGV because it depends on timing. The user visible change might be that you lose content and get zero page instead if you hit

Re: [PATCH 7/7] x86,idle: do not leave mm in idle state

2018-06-22 Thread Rik van Riel
On Fri, 2018-06-22 at 15:05 -0700, Andy Lutomirski wrote: > I think the right solution if you want that last little bit of > performance is to get rid of the code in intel_idle and to add it in > the core idle code. We have fancy scheduler code to estimate the > idle > time, and we should use it

Re: [PATCH 7/7] x86,idle: do not leave mm in idle state

2018-06-22 Thread Rik van Riel
On Fri, 2018-06-22 at 15:05 -0700, Andy Lutomirski wrote: > I think the right solution if you want that last little bit of > performance is to get rid of the code in intel_idle and to add it in > the core idle code. We have fancy scheduler code to estimate the > idle > time, and we should use it

Re: [PATCH 1/2] firmware: add more flexible request_firmware_async function

2018-06-22 Thread kbuild test robot
Hi Rafał, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc1 next-20180622] [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/linux/commits

Re: [PATCH 1/2] firmware: add more flexible request_firmware_async function

2018-06-22 Thread kbuild test robot
Hi Rafał, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc1 next-20180622] [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/linux/commits

Re: [PATCH 1/2] mm: revert mem_cgroup_put() introduction

2018-06-22 Thread kbuild test robot
Hi Roman, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20180622] [cannot apply to linus/master v4.18-rc1 v4.17 v4.17-rc7 v4.18-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH v8 0/2] regulator: add QCOM RPMh regulator driver

2018-06-22 Thread David Collins
This patch series adds a driver and device tree binding documentation for PMIC regulator control via Resource Power Manager-hardened (RPMh) on some Qualcomm Technologies, Inc. SoCs such as SDM845. RPMh is a hardware block which contains several accelerators which are used to manage various

Re: [PATCH 1/2] mm: revert mem_cgroup_put() introduction

2018-06-22 Thread kbuild test robot
Hi Roman, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20180622] [cannot apply to linus/master v4.18-rc1 v4.17 v4.17-rc7 v4.18-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH v8 0/2] regulator: add QCOM RPMh regulator driver

2018-06-22 Thread David Collins
This patch series adds a driver and device tree binding documentation for PMIC regulator control via Resource Power Manager-hardened (RPMh) on some Qualcomm Technologies, Inc. SoCs such as SDM845. RPMh is a hardware block which contains several accelerators which are used to manage various

[PATCH v8 2/2] regulator: add QCOM RPMh regulator driver

2018-06-22 Thread David Collins
Add the QCOM RPMh regulator driver to manage PMIC regulators which are controlled via RPMh on some Qualcomm Technologies, Inc. SoCs. RPMh is a hardware block which contains several accelerators which are used to manage various hardware resources that are shared between the processors of the SoC.

[PATCH v8 2/2] regulator: add QCOM RPMh regulator driver

2018-06-22 Thread David Collins
Add the QCOM RPMh regulator driver to manage PMIC regulators which are controlled via RPMh on some Qualcomm Technologies, Inc. SoCs. RPMh is a hardware block which contains several accelerators which are used to manage various hardware resources that are shared between the processors of the SoC.

[PATCH v8 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-06-22 Thread David Collins
Introduce bindings for RPMh regulator devices found on some Qualcomm Technlogies, Inc. SoCs. These devices allow a given processor within the SoC to make PMIC regulator requests which are aggregated within the RPMh hardware block along with requests from other processors in the SoC to determine

[PATCH v8 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-06-22 Thread David Collins
Introduce bindings for RPMh regulator devices found on some Qualcomm Technlogies, Inc. SoCs. These devices allow a given processor within the SoC to make PMIC regulator requests which are aggregated within the RPMh hardware block along with requests from other processors in the SoC to determine

Re: [PATCH v5 2/8] reset: qcom: AOSS (always on subsystem) reset controller

2018-06-22 Thread Bjorn Andersson
On Mon 21 May 10:27 PDT 2018, Sibi Sankar wrote: > Add reset controller driver for Qualcomm SDM845 SoC to > control reset signals provided by AOSS for Modem, Venus > ADSP, GPU, Camera, Wireless, Display subsystem > > Signed-off-by: Sibi Sankar With the adaptions discussed in the DT binding

Re: [PATCH v5 2/8] reset: qcom: AOSS (always on subsystem) reset controller

2018-06-22 Thread Bjorn Andersson
On Mon 21 May 10:27 PDT 2018, Sibi Sankar wrote: > Add reset controller driver for Qualcomm SDM845 SoC to > control reset signals provided by AOSS for Modem, Venus > ADSP, GPU, Camera, Wireless, Display subsystem > > Signed-off-by: Sibi Sankar With the adaptions discussed in the DT binding

Re: [PATCH v5 1/8] dt-bindings: reset: Add AOSS reset bindings for SDM845 SoCs

2018-06-22 Thread Bjorn Andersson
On Mon 21 May 10:27 PDT 2018, Sibi Sankar wrote: > Add SDM845 AOSS (always on subsystem) reset controller binding > I think it would be better if you made the binding represent the entire clock controller, rather than only the reset-related portion of it. As I can't find anything in the

Re: [PATCH v5 1/8] dt-bindings: reset: Add AOSS reset bindings for SDM845 SoCs

2018-06-22 Thread Bjorn Andersson
On Mon 21 May 10:27 PDT 2018, Sibi Sankar wrote: > Add SDM845 AOSS (always on subsystem) reset controller binding > I think it would be better if you made the binding represent the entire clock controller, rather than only the reset-related portion of it. As I can't find anything in the

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-22 Thread Reinette Chatre
Hi David, On 6/22/2018 4:45 PM, David Howells wrote: > Do you have a public git branch with these patches on it somewhere? I just added them to branch cache-pseudo-locking/v7 of https://github.com/rchatre/linux.git Reinette

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-22 Thread Reinette Chatre
Hi David, On 6/22/2018 4:45 PM, David Howells wrote: > Do you have a public git branch with these patches on it somewhere? I just added them to branch cache-pseudo-locking/v7 of https://github.com/rchatre/linux.git Reinette

Re: [PATCH] platform/x86: dell-smbios: make a function and a pointer static

2018-06-22 Thread Darren Hart
On Thu, Jun 21, 2018 at 07:15:24PM +0100, Colin King wrote: > From: Colin Ian King > > The function dell_smbios_smm_call and pointer platform_device are > local to the source and do not need to be in global scope, so make > them static. > > Cleans up sparse warnings: > warning: symbol

Re: [PATCH] platform/x86: dell-smbios: make a function and a pointer static

2018-06-22 Thread Darren Hart
On Thu, Jun 21, 2018 at 07:15:24PM +0100, Colin King wrote: > From: Colin Ian King > > The function dell_smbios_smm_call and pointer platform_device are > local to the source and do not need to be in global scope, so make > them static. > > Cleans up sparse warnings: > warning: symbol

Re: [PATCH] MAINTAINERS: Add Daniel Lustig as a LKMM reviewer

2018-06-22 Thread Paul E. McKenney
On Fri, Jun 22, 2018 at 03:36:02PM -0700, Palmer Dabbelt wrote: > On Fri, 22 Jun 2018 14:48:56 PDT (-0700), Daniel Lustig wrote: > >On 6/22/2018 2:17 PM, Palmer Dabbelt wrote: > >>Dan runs the RISC-V memory model working group. I've been forwarding > >>him LKMM emails that end up in my inbox, but

Re: [PATCH] MAINTAINERS: Add Daniel Lustig as a LKMM reviewer

2018-06-22 Thread Paul E. McKenney
On Fri, Jun 22, 2018 at 03:36:02PM -0700, Palmer Dabbelt wrote: > On Fri, 22 Jun 2018 14:48:56 PDT (-0700), Daniel Lustig wrote: > >On 6/22/2018 2:17 PM, Palmer Dabbelt wrote: > >>Dan runs the RISC-V memory model working group. I've been forwarding > >>him LKMM emails that end up in my inbox, but

Re: [PATCH 2/2] mm: introduce mem_cgroup_put() helper

2018-06-22 Thread Shakeel Butt
On Fri, Jun 22, 2018 at 5:06 PM Roman Gushchin wrote: > > Introduce the mem_cgroup_put() helper, which helps to eliminate > guarding memcg css release with "#ifdef CONFIG_MEMCG" in multiple > places. > > Signed-off-by: Roman Gushchin Reviewed-by: Shakeel Butt > Cc: Shakeel Butt > Cc:

Re: [PATCH 2/2] mm: introduce mem_cgroup_put() helper

2018-06-22 Thread Shakeel Butt
On Fri, Jun 22, 2018 at 5:06 PM Roman Gushchin wrote: > > Introduce the mem_cgroup_put() helper, which helps to eliminate > guarding memcg css release with "#ifdef CONFIG_MEMCG" in multiple > places. > > Signed-off-by: Roman Gushchin Reviewed-by: Shakeel Butt > Cc: Shakeel Butt > Cc:

Re: [PATCH 3/3] irqchip: RISC-V Local Interrupt Controller Driver

2018-06-22 Thread Randy Dunlap
On 06/22/2018 04:20 PM, Palmer Dabbelt wrote: > From: Palmer Dabbelt > > This patch adds a driver that manages the local interrupts on each > RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. > The local interrupt controller manages software interrupts, timer > interrupts, and

Re: [PATCH 3/3] irqchip: RISC-V Local Interrupt Controller Driver

2018-06-22 Thread Randy Dunlap
On 06/22/2018 04:20 PM, Palmer Dabbelt wrote: > From: Palmer Dabbelt > > This patch adds a driver that manages the local interrupts on each > RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. > The local interrupt controller manages software interrupts, timer > interrupts, and

[PATCH 1/2] mm: revert mem_cgroup_put() introduction

2018-06-22 Thread Roman Gushchin
This patch should be folded into "mm, oom: cgroup-aware OOM killer". Signed-off-by: Roman Gushchin --- include/linux/memcontrol.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 3607913032be..cf1c3555328f 100644 ---

[PATCH 1/2] mm: revert mem_cgroup_put() introduction

2018-06-22 Thread Roman Gushchin
This patch should be folded into "mm, oom: cgroup-aware OOM killer". Signed-off-by: Roman Gushchin --- include/linux/memcontrol.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 3607913032be..cf1c3555328f 100644 ---

[PATCH 2/2] mm: introduce mem_cgroup_put() helper

2018-06-22 Thread Roman Gushchin
Introduce the mem_cgroup_put() helper, which helps to eliminate guarding memcg css release with "#ifdef CONFIG_MEMCG" in multiple places. Signed-off-by: Roman Gushchin Cc: Shakeel Butt Cc: Johannes Weiner Cc: Michal Hocko Cc: Andrew Morton --- include/linux/memcontrol.h | 9 + 1

[PATCH 2/2] mm: introduce mem_cgroup_put() helper

2018-06-22 Thread Roman Gushchin
Introduce the mem_cgroup_put() helper, which helps to eliminate guarding memcg css release with "#ifdef CONFIG_MEMCG" in multiple places. Signed-off-by: Roman Gushchin Cc: Shakeel Butt Cc: Johannes Weiner Cc: Michal Hocko Cc: Andrew Morton --- include/linux/memcontrol.h | 9 + 1

Re: [PATCH] platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too

2018-06-22 Thread Darren Hart
On Fri, Jun 22, 2018 at 10:59:17AM +0200, Takashi Iwai wrote: > The commit 5d9f40b56630 ("platform/x86: ideapad-laptop: Add > Y520-15IKBN to no_hw_rfkill") added the entry for Y20-15IKBN, and it > turned out that another variant, Y20-15IKBM, also requires the > no_hw_rfkill. > > Trim the last

Re: [PATCH] platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too

2018-06-22 Thread Darren Hart
On Fri, Jun 22, 2018 at 10:59:17AM +0200, Takashi Iwai wrote: > The commit 5d9f40b56630 ("platform/x86: ideapad-laptop: Add > Y520-15IKBN to no_hw_rfkill") added the entry for Y20-15IKBN, and it > turned out that another variant, Y20-15IKBM, also requires the > no_hw_rfkill. > > Trim the last

Re: [PATCH] platform/x86: dell-smbios-base: Support systems without tokens

2018-06-22 Thread Darren Hart
On Fri, Jun 15, 2018 at 12:12:51PM -0500, Mario Limonciello wrote: > Some Dell servers can use dell-smbios but they don't support the > token interface. Make it optional. > > Signed-off-by: Mario Limonciello Thanks Mario, queued. -- Darren Hart VMware Open Source Technology Center

Re: [PATCH] platform/x86: dell-smbios-base: Support systems without tokens

2018-06-22 Thread Darren Hart
On Fri, Jun 15, 2018 at 12:12:51PM -0500, Mario Limonciello wrote: > Some Dell servers can use dell-smbios but they don't support the > token interface. Make it optional. > > Signed-off-by: Mario Limonciello Thanks Mario, queued. -- Darren Hart VMware Open Source Technology Center

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-22 Thread David Howells
Do you have a public git branch with these patches on it somewhere? Thanks, David

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-22 Thread David Howells
Do you have a public git branch with these patches on it somewhere? Thanks, David

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-22 Thread Shakeel Butt
On Tue, Jun 19, 2018 at 12:55 PM Roman Gushchin wrote: > > On Tue, Jun 19, 2018 at 12:51:15PM -0700, Shakeel Butt wrote: > > On Tue, Jun 19, 2018 at 10:41 AM Roman Gushchin wrote: > > > > > > On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > > > > On Mon, Jun 18, 2018 at

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-22 Thread Shakeel Butt
On Tue, Jun 19, 2018 at 12:55 PM Roman Gushchin wrote: > > On Tue, Jun 19, 2018 at 12:51:15PM -0700, Shakeel Butt wrote: > > On Tue, Jun 19, 2018 at 10:41 AM Roman Gushchin wrote: > > > > > > On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > > > > On Mon, Jun 18, 2018 at

Re: [PATCH] platform/x86: wmi: Do not mix pages and kmalloc

2018-06-22 Thread Darren Hart
On Thu, Jun 21, 2018 at 01:24:34AM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Darren Hart [mailto:dvh...@infradead.org] > > Sent: Wednesday, June 20, 2018 7:17 PM > > To: Kees Cook > > Cc: LKML; Andy Shevchenko; Platform Driver; Mihai Donțu; Limonciello,

Re: [PATCH] platform/x86: wmi: Do not mix pages and kmalloc

2018-06-22 Thread Darren Hart
On Thu, Jun 21, 2018 at 01:24:34AM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Darren Hart [mailto:dvh...@infradead.org] > > Sent: Wednesday, June 20, 2018 7:17 PM > > To: Kees Cook > > Cc: LKML; Andy Shevchenko; Platform Driver; Mihai Donțu; Limonciello,

Re: [PATCH] arch/x86/entry/vsyscall/vsyscall_gtod.c: remove __read_mostly from vclocks_used

2018-06-22 Thread Andy Lutomirski
On Fri, Jun 22, 2018 at 3:47 PM Thomas Gleixner wrote: > > Michael, > > On Mon, 4 Jun 2018, Michael Rodin wrote: > > > The variable "vclocks_used" doesn't appear to be "read mostly". > > Measurements of the access frequency with perf stat [1] and > > perf report show, that approximately half of

Re: [PATCH] arch/x86/entry/vsyscall/vsyscall_gtod.c: remove __read_mostly from vclocks_used

2018-06-22 Thread Andy Lutomirski
On Fri, Jun 22, 2018 at 3:47 PM Thomas Gleixner wrote: > > Michael, > > On Mon, 4 Jun 2018, Michael Rodin wrote: > > > The variable "vclocks_used" doesn't appear to be "read mostly". > > Measurements of the access frequency with perf stat [1] and > > perf report show, that approximately half of

[PATCH 1/3] RISC-V: Don't include irq-riscv-intc.h

2018-06-22 Thread Palmer Dabbelt
This file has never existed in the upstream kernel, but it's guarded by an #ifdef that's also never existed in the upstream kernel. As a part of our interrupt controller refactoring this header is no longer necessary, but this reference managed to sneak in anyway. Signed-off-by: Palmer Dabbelt

Driver for the RISC-V Interrupt Controller

2018-06-22 Thread Palmer Dabbelt
The RISC-V ISA mandantes the presence of a simple, per-hart (hardware thread) interrupt controller availiable to supervisor mode. This patch set adds a driver for this interrupt controller. The patch set itself has been around in various flavors for a while, but as far as I remember it's never

[PATCH 1/3] RISC-V: Don't include irq-riscv-intc.h

2018-06-22 Thread Palmer Dabbelt
This file has never existed in the upstream kernel, but it's guarded by an #ifdef that's also never existed in the upstream kernel. As a part of our interrupt controller refactoring this header is no longer necessary, but this reference managed to sneak in anyway. Signed-off-by: Palmer Dabbelt

Driver for the RISC-V Interrupt Controller

2018-06-22 Thread Palmer Dabbelt
The RISC-V ISA mandantes the presence of a simple, per-hart (hardware thread) interrupt controller availiable to supervisor mode. This patch set adds a driver for this interrupt controller. The patch set itself has been around in various flavors for a while, but as far as I remember it's never

[PATCH 2/3] dt-bindings: interrupt-controller: RISC-V local interrupt controller docs

2018-06-22 Thread Palmer Dabbelt
From: Palmer Dabbelt This patch adds documentation on the RISC-V local interrupt controller, which is a per-hart interrupt controller that manages all interrupts entering a RISC-V hart. This interrupt controller is present on all RISC-V systems. Signed-off-by: Palmer Dabbelt ---

[PATCH 2/3] dt-bindings: interrupt-controller: RISC-V local interrupt controller docs

2018-06-22 Thread Palmer Dabbelt
From: Palmer Dabbelt This patch adds documentation on the RISC-V local interrupt controller, which is a per-hart interrupt controller that manages all interrupts entering a RISC-V hart. This interrupt controller is present on all RISC-V systems. Signed-off-by: Palmer Dabbelt ---

[PATCH 3/3] irqchip: RISC-V Local Interrupt Controller Driver

2018-06-22 Thread Palmer Dabbelt
From: Palmer Dabbelt This patch adds a driver that manages the local interrupts on each RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. The local interrupt controller manages software interrupts, timer interrupts, and hardware interrupts (which are routed via the platform

[PATCH 3/3] irqchip: RISC-V Local Interrupt Controller Driver

2018-06-22 Thread Palmer Dabbelt
From: Palmer Dabbelt This patch adds a driver that manages the local interrupts on each RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. The local interrupt controller manages software interrupts, timer interrupts, and hardware interrupts (which are routed via the platform

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Fenghua Yu
On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Thomas Gleixner wrote: > > The whole thing is simply: > > > > handle_ac() > > { > > if (user_mode(regs)) { > > do_trap(AC, SIGBUS, ...); > > } else { > >

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Fenghua Yu
On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Thomas Gleixner wrote: > > The whole thing is simply: > > > > handle_ac() > > { > > if (user_mode(regs)) { > > do_trap(AC, SIGBUS, ...); > > } else { > >

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-06-22 Thread Randy Dunlap
Hi, On 04/26/2018 07:23 PM, Sujeev Dias wrote: > diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig > index d1c0b60..e15d56d 100644 > --- a/drivers/bus/Kconfig > +++ b/drivers/bus/Kconfig > @@ -171,6 +171,23 @@ config DA8XX_MSTPRI > configuration. Allows to adjust the priorities of

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-06-22 Thread Randy Dunlap
Hi, On 04/26/2018 07:23 PM, Sujeev Dias wrote: > diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig > index d1c0b60..e15d56d 100644 > --- a/drivers/bus/Kconfig > +++ b/drivers/bus/Kconfig > @@ -171,6 +171,23 @@ config DA8XX_MSTPRI > configuration. Allows to adjust the priorities of

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Thomas Gleixner
On Sat, 23 Jun 2018, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Fenghua Yu wrote: > > On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > > > Aside of that the spec says: > > > > > > 31 Disable LOCK# assertion for split locked access. > > > > > > Can you pretty please make

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Thomas Gleixner
On Sat, 23 Jun 2018, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Fenghua Yu wrote: > > On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > > > Aside of that the spec says: > > > > > > 31 Disable LOCK# assertion for split locked access. > > > > > > Can you pretty please make

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Thomas Gleixner
On Fri, 22 Jun 2018, Fenghua Yu wrote: > On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > > Aside of that the spec says: > > > > 31 Disable LOCK# assertion for split locked access. > > > > Can you pretty please make sure that this bit enforces #AC enable? If 31 is > > ever

Re: [RFC PATCH 02/16] x86/split_lock: Handle #AC exception for split lock in kernel mode

2018-06-22 Thread Thomas Gleixner
On Fri, 22 Jun 2018, Fenghua Yu wrote: > On Fri, Jun 22, 2018 at 01:59:44PM +0200, Thomas Gleixner wrote: > > Aside of that the spec says: > > > > 31 Disable LOCK# assertion for split locked access. > > > > Can you pretty please make sure that this bit enforces #AC enable? If 31 is > > ever

[PATCH V7 02/41] x86/intel_rdt: Document new mode, size, and bit_usage

2018-06-22 Thread Reinette Chatre
By default resource groups allow sharing of their cache allocations. There is nothing that prevents a resource group from configuring a cache allocation that overlaps with that of an existing resource group. To enable resource groups to specify that their cache allocations cannot be shared a

[PATCH V7 19/41] x86/intel_rdt: Add utility to test if tasks assigned to resource group

2018-06-22 Thread Reinette Chatre
In considering changes to a resource group it becomes necessary to know whether tasks have been assigned to the resource group in question. Introduce a new utility that can be used to check if any tasks have been assigned to a particular resource group. Signed-off-by: Reinette Chatre

[PATCH V7 02/41] x86/intel_rdt: Document new mode, size, and bit_usage

2018-06-22 Thread Reinette Chatre
By default resource groups allow sharing of their cache allocations. There is nothing that prevents a resource group from configuring a cache allocation that overlaps with that of an existing resource group. To enable resource groups to specify that their cache allocations cannot be shared a

[PATCH V7 19/41] x86/intel_rdt: Add utility to test if tasks assigned to resource group

2018-06-22 Thread Reinette Chatre
In considering changes to a resource group it becomes necessary to know whether tasks have been assigned to the resource group in question. Introduce a new utility that can be used to check if any tasks have been assigned to a particular resource group. Signed-off-by: Reinette Chatre

  1   2   3   4   5   6   7   8   9   10   >