Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-04 Thread Guenter Roeck
On 06/03/2018 11:58 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.16.14 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.16 00/47] 4.16.14-stable review

2018-06-04 Thread Guenter Roeck
On 06/03/2018 11:58 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.16.14 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 00/52] 4.14.48-stable review

2018-06-04 Thread Guenter Roeck
On 06/03/2018 11:57 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.48 release. There are 52 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 00/52] 4.14.48-stable review

2018-06-04 Thread Guenter Roeck
On 06/03/2018 11:57 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.48 release. There are 52 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-04 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 7 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 146 ++ 3 files changed, 154 insertions(+) create mode 100644

[PATCH v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[PATCH v5 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

[PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-04 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 7 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 146 ++ 3 files changed, 154 insertions(+) create mode 100644

[PATCH v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[PATCH v5 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

Re: [PATCH 1/2] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-06-04 Thread Benjamin Tissoires
On Fri, Jun 1, 2018 at 8:43 PM, Dmitry Torokhov wrote: > On Fri, Jun 01, 2018 at 04:16:09PM +0200, Benjamin Tissoires wrote: >> On Fri, Aug 11, 2017 at 2:44 AM, Dmitry Torokhov >> wrote: >> > According to Microsoft specification [1] for Precision Touchpads (and >> > Touchscreens) the devices use

[PATCH v5 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 223 ++

[PATCH v5 0/4] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-06-04 Thread Matti Vaittinen
Patch series adding support for ROHM BD71837 PMIC. BD71837 is a programmable Power Management IC for powering single-core, dual-core, and quad-core SoC’s such as NXP-i.MX 8M. It is optimized for low BOM cost and compact solution footprint. It integrates 8 buck regulators and 7 LDO’s to provide

Re: [PATCH 1/2] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-06-04 Thread Benjamin Tissoires
On Fri, Jun 1, 2018 at 8:43 PM, Dmitry Torokhov wrote: > On Fri, Jun 01, 2018 at 04:16:09PM +0200, Benjamin Tissoires wrote: >> On Fri, Aug 11, 2017 at 2:44 AM, Dmitry Torokhov >> wrote: >> > According to Microsoft specification [1] for Precision Touchpads (and >> > Touchscreens) the devices use

[PATCH v5 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 223 ++

[PATCH v5 0/4] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-06-04 Thread Matti Vaittinen
Patch series adding support for ROHM BD71837 PMIC. BD71837 is a programmable Power Management IC for powering single-core, dual-core, and quad-core SoC’s such as NXP-i.MX 8M. It is optimized for low BOM cost and compact solution footprint. It integrates 8 buck regulators and 7 LDO’s to provide

Re: [PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-04 Thread Josh Poimboeuf
On Mon, Jun 04, 2018 at 03:01:31PM +0200, Jessica Yu wrote: > +++ Jessica Yu [04/06/18 11:54 +0200]: > > +++ Jessica Yu [04/06/18 10:05 +0200]: > > > +++ Josh Poimboeuf [02/06/18 12:32 -0500]: > > > > Hi Jessica, > > > > > > > > I found a bug: > > > > > > > > [root@f25 ~]# modprobe

Re: [PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-04 Thread Josh Poimboeuf
On Mon, Jun 04, 2018 at 03:01:31PM +0200, Jessica Yu wrote: > +++ Jessica Yu [04/06/18 11:54 +0200]: > > +++ Jessica Yu [04/06/18 10:05 +0200]: > > > +++ Josh Poimboeuf [02/06/18 12:32 -0500]: > > > > Hi Jessica, > > > > > > > > I found a bug: > > > > > > > > [root@f25 ~]# modprobe

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-06-04 Thread Michal Hocko
On Thu 31-05-18 11:10:22, Michal Hocko wrote: > On Thu 31-05-18 10:55:32, Michal Hocko wrote: > > On Thu 31-05-18 04:35:31, Eric Dumazet wrote: > [...] > > > I merely copied/pasted from alloc_skb_with_frags() :/ > > > > I will have a look at it. Thanks! > > OK, so this is an example of an

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-06-04 Thread Michal Hocko
On Thu 31-05-18 11:10:22, Michal Hocko wrote: > On Thu 31-05-18 10:55:32, Michal Hocko wrote: > > On Thu 31-05-18 04:35:31, Eric Dumazet wrote: > [...] > > > I merely copied/pasted from alloc_skb_with_frags() :/ > > > > I will have a look at it. Thanks! > > OK, so this is an example of an

Re: [PATCH 05/19] sched/numa: Use task faults only if numa_group is not yet setup

2018-06-04 Thread Srikar Dronamraju
> > Testcase Time: Min Max Avg StdDev > > %Change > > numa01.sh Real: 478.45 565.90 515.11 30.87 > > 16.29% > > numa01.sh Sys: 207.79 271.04 232.94 21.33 > > -15.8% > > numa01.sh

Re: [PATCH 05/19] sched/numa: Use task faults only if numa_group is not yet setup

2018-06-04 Thread Srikar Dronamraju
> > Testcase Time: Min Max Avg StdDev > > %Change > > numa01.sh Real: 478.45 565.90 515.11 30.87 > > 16.29% > > numa01.sh Sys: 207.79 271.04 232.94 21.33 > > -15.8% > > numa01.sh

Re: [PATCH 32/32] [RFC] fsinfo: Add a system call to allow querying of filesystem information [ver #8]

2018-06-04 Thread Arnd Bergmann
On Fri, May 25, 2018 at 2:08 AM, David Howells wrote: > + > +static int fsinfo_generic_timestamp_info(struct dentry *dentry, > +struct fsinfo_timestamp_info *ts) > +{ > + struct super_block *sb = dentry->d_sb; > + > + /* If unset, assume 1s

Re: [PATCH 32/32] [RFC] fsinfo: Add a system call to allow querying of filesystem information [ver #8]

2018-06-04 Thread Arnd Bergmann
On Fri, May 25, 2018 at 2:08 AM, David Howells wrote: > + > +static int fsinfo_generic_timestamp_info(struct dentry *dentry, > +struct fsinfo_timestamp_info *ts) > +{ > + struct super_block *sb = dentry->d_sb; > + > + /* If unset, assume 1s

Re: [PATCH v6 6/9] dt-bindings: counter: Document stm32 quadrature encoder

2018-06-04 Thread Benjamin Gaignard
2018-05-18 18:28 GMT+02:00 Rob Herring : > On Thu, May 17, 2018 at 08:59:40PM +0200, Benjamin Gaignard wrote: >> 2018-05-17 18:23 GMT+02:00 Rob Herring : >> > On Wed, May 16, 2018 at 12:51 PM, William Breathitt Gray >> > wrote: >> >> From: Benjamin Gaignard >> > >> > v6? Where's v1-v5? >> > >>

Re: [PATCH v6 6/9] dt-bindings: counter: Document stm32 quadrature encoder

2018-06-04 Thread Benjamin Gaignard
2018-05-18 18:28 GMT+02:00 Rob Herring : > On Thu, May 17, 2018 at 08:59:40PM +0200, Benjamin Gaignard wrote: >> 2018-05-17 18:23 GMT+02:00 Rob Herring : >> > On Wed, May 16, 2018 at 12:51 PM, William Breathitt Gray >> > wrote: >> >> From: Benjamin Gaignard >> > >> > v6? Where's v1-v5? >> > >>

Re: [RFC][PATCH 1/2] memcg: Ensure every task that uses an mm is in the same memory cgroup

2018-06-04 Thread Michal Hocko
[dropping Kirill Tkhai from the CC because I get rejection from the mail server] On Fri 01-06-18 12:16:52, Tejun Heo wrote: > Hello, > > On Fri, Jun 01, 2018 at 01:11:59PM -0500, Eric W. Biederman wrote: > > Widening the definition of a process sounds good. The memory control > > group code

Re: [RFC][PATCH 1/2] memcg: Ensure every task that uses an mm is in the same memory cgroup

2018-06-04 Thread Michal Hocko
[dropping Kirill Tkhai from the CC because I get rejection from the mail server] On Fri 01-06-18 12:16:52, Tejun Heo wrote: > Hello, > > On Fri, Jun 01, 2018 at 01:11:59PM -0500, Eric W. Biederman wrote: > > Widening the definition of a process sounds good. The memory control > > group code

[PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-04 Thread Jessica Yu
+++ Jessica Yu [04/06/18 11:54 +0200]: +++ Jessica Yu [04/06/18 10:05 +0200]: +++ Josh Poimboeuf [02/06/18 12:32 -0500]: Hi Jessica, I found a bug: [root@f25 ~]# modprobe livepatch-sample [root@f25 ~]# grep ' u ' /proc/kallsyms 81161080 u klp_enable_patch [livepatch_sample]

[PATCH] module: exclude SHN_UNDEF symbols from kallsyms api

2018-06-04 Thread Jessica Yu
+++ Jessica Yu [04/06/18 11:54 +0200]: +++ Jessica Yu [04/06/18 10:05 +0200]: +++ Josh Poimboeuf [02/06/18 12:32 -0500]: Hi Jessica, I found a bug: [root@f25 ~]# modprobe livepatch-sample [root@f25 ~]# grep ' u ' /proc/kallsyms 81161080 u klp_enable_patch [livepatch_sample]

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Srikar Dronamraju
* Peter Zijlstra [2018-06-04 14:23:36]: > OK, the above matches the description, but I'm puzzled by the remainder: > > > > > - if (ng->active_nodes > 1 && numa_is_active_node(env.dst_nid, > > ng)) > > - sched_setnuma(p, env.dst_nid); > > + if (nid !=

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Srikar Dronamraju
* Peter Zijlstra [2018-06-04 14:23:36]: > OK, the above matches the description, but I'm puzzled by the remainder: > > > > > - if (ng->active_nodes > 1 && numa_is_active_node(env.dst_nid, > > ng)) > > - sched_setnuma(p, env.dst_nid); > > + if (nid !=

Re: [PATCH v2 3/5] venus: add check to make scm calls

2018-06-04 Thread Tomasz Figa
Hi Vikash, On Sat, Jun 2, 2018 at 5:27 AM Vikash Garodia wrote: [snip] > +int venus_boot(struct venus_core *core) > +{ > + phys_addr_t mem_phys; > + size_t mem_size; > + int ret; > + struct device *dev; > + > + if (!IS_ENABLED(CONFIG_QCOM_MDT_LOADER)) > +

[PATCH 1/2] perf tests kmod-path: Add tests for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Add tests for vdso32 and vdsox32. This will cause the overall test to fail because __kmod_path__parse() does not handle vdso32 or vdsox32. Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly") Signed-off-by: Adrian Hunter --- tools/perf/tests/kmod-path.c | 16

Re: [PATCH v2 3/5] venus: add check to make scm calls

2018-06-04 Thread Tomasz Figa
Hi Vikash, On Sat, Jun 2, 2018 at 5:27 AM Vikash Garodia wrote: [snip] > +int venus_boot(struct venus_core *core) > +{ > + phys_addr_t mem_phys; > + size_t mem_size; > + int ret; > + struct device *dev; > + > + if (!IS_ENABLED(CONFIG_QCOM_MDT_LOADER)) > +

[PATCH 1/2] perf tests kmod-path: Add tests for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Add tests for vdso32 and vdsox32. This will cause the overall test to fail because __kmod_path__parse() does not handle vdso32 or vdsox32. Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly") Signed-off-by: Adrian Hunter --- tools/perf/tests/kmod-path.c | 16

[PATCH 0/2] perf tools: Fix symbol and object code resolution for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Hi Here are a couple of small fixes for tracing 32-bit binaries on a 64-bit kernel. Adrian Hunter (2): perf tests kmod-path: Add tests for vdso32 and vdsox32 perf tools: Fix symbol and object code resolution for vdso32 and vdsox32 tools/perf/tests/kmod-path.c | 16

[PATCH 0/2] perf tools: Fix symbol and object code resolution for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Hi Here are a couple of small fixes for tracing 32-bit binaries on a 64-bit kernel. Adrian Hunter (2): perf tests kmod-path: Add tests for vdso32 and vdsox32 perf tools: Fix symbol and object code resolution for vdso32 and vdsox32 tools/perf/tests/kmod-path.c | 16

[PATCH 2/2] perf tools: Fix symbol and object code resolution for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Fix __kmod_path__parse() so that perf tools does not treat vdso32 and vdsox32 as kernel modules and fail to find the object. Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly") Cc: sta...@vger.kernel.org Signed-off-by: Adrian Hunter --- tools/perf/util/dso.c | 2

[PATCH 2/2] perf tools: Fix symbol and object code resolution for vdso32 and vdsox32

2018-06-04 Thread Adrian Hunter
Fix __kmod_path__parse() so that perf tools does not treat vdso32 and vdsox32 as kernel modules and fail to find the object. Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly") Cc: sta...@vger.kernel.org Signed-off-by: Adrian Hunter --- tools/perf/util/dso.c | 2

Re: [PATCH 1/2] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-06-04 Thread Benjamin Tissoires
On Fri, Jun 1, 2018 at 9:03 PM, Henrik Rydberg wrote: > >>> However, I interpret a firmware that send (confidence 1, tip switch 1) >>> and then (confidence 0, tip switch 0) a simple release, and the >>> confidence bit should not be relayed. >> >> This unfortunately leads to false clicks: you

Re: [PATCH 1/2] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-06-04 Thread Benjamin Tissoires
On Fri, Jun 1, 2018 at 9:03 PM, Henrik Rydberg wrote: > >>> However, I interpret a firmware that send (confidence 1, tip switch 1) >>> and then (confidence 0, tip switch 0) a simple release, and the >>> confidence bit should not be relayed. >> >> This unfortunately leads to false clicks: you

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Srikar Dronamraju
* Peter Zijlstra [2018-06-04 14:18:00]: > On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index ea32a66..94091e6 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -1725,8 +1725,9 @@ static

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Srikar Dronamraju
* Peter Zijlstra [2018-06-04 14:18:00]: > On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index ea32a66..94091e6 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -1725,8 +1725,9 @@ static

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-04 Thread Johannes Thumshirn
On Mon, Jun 04, 2018 at 02:46:47PM +0300, Sagi Grimberg wrote: > I agree with Christoph that changing personality on the fly is going to > be painful. This opt-in will need to be one-host at connect time. For > that, we will probably need to also expose an argument in nvme-cli too. > Changing the

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-06-04 Thread Johannes Thumshirn
On Mon, Jun 04, 2018 at 02:46:47PM +0300, Sagi Grimberg wrote: > I agree with Christoph that changing personality on the fly is going to > be painful. This opt-in will need to be one-host at connect time. For > that, we will probably need to also expose an argument in nvme-cli too. > Changing the

Re: [PATCH v7 00/17] Improve shrink_slab() scalability (old complexity was O(n^2), new is O(n))

2018-06-04 Thread Kirill Tkhai
Hi, Andrew! This patchset is reviewed by Vladimir Davydov. I see, there is minor change in current linux-next.git, which makes the second patch to apply not completely clean. Could you tell what should I do with this? Is this OK or should I rebase it on top of linux.next or do something else?

Re: [PATCH v7 00/17] Improve shrink_slab() scalability (old complexity was O(n^2), new is O(n))

2018-06-04 Thread Kirill Tkhai
Hi, Andrew! This patchset is reviewed by Vladimir Davydov. I see, there is minor change in current linux-next.git, which makes the second patch to apply not completely clean. Could you tell what should I do with this? Is this OK or should I rebase it on top of linux.next or do something else?

[PATCH] ath10k: use dma_zalloc_coherent instead of allocator/memset

2018-06-04 Thread YueHaibing
Use dma_zalloc_coherent instead of dma_alloc_coherent followed by memset 0. Signed-off-by: YueHaibing --- drivers/net/wireless/ath/ath10k/wmi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c

[PATCH] ath10k: use dma_zalloc_coherent instead of allocator/memset

2018-06-04 Thread YueHaibing
Use dma_zalloc_coherent instead of dma_alloc_coherent followed by memset 0. Signed-off-by: YueHaibing --- drivers/net/wireless/ath/ath10k/wmi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-06-04 Thread Vincent Guittot
On 4 June 2018 at 12:12, Juri Lelli wrote: > On 04/06/18 09:14, Vincent Guittot wrote: >> On 4 June 2018 at 09:04, Juri Lelli wrote: >> > Hi Vincent, >> > >> > On 04/06/18 08:41, Vincent Guittot wrote: >> >> On 1 June 2018 at 19:45, Joel Fernandes wrote: >> >> > On Fri, Jun 01, 2018 at

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-06-04 Thread Vincent Guittot
On 4 June 2018 at 12:12, Juri Lelli wrote: > On 04/06/18 09:14, Vincent Guittot wrote: >> On 4 June 2018 at 09:04, Juri Lelli wrote: >> > Hi Vincent, >> > >> > On 04/06/18 08:41, Vincent Guittot wrote: >> >> On 1 June 2018 at 19:45, Joel Fernandes wrote: >> >> > On Fri, Jun 01, 2018 at

[PATCH 2/2] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-06-04 Thread Chris Chiu
Some ASUS laptops like UX550GE has hotkey (Fn+F7) for keyboard backlight toggle which would emit the scan code 0xc7 each keypress. On the UX550GE, the max keyboard brightness level is 3 so the toggle would not be simply on/off the led but need to be cyclic. Per ASUS spec, it should increment the

[PATCH 2/2] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-06-04 Thread Chris Chiu
Some ASUS laptops like UX550GE has hotkey (Fn+F7) for keyboard backlight toggle which would emit the scan code 0xc7 each keypress. On the UX550GE, the max keyboard brightness level is 3 so the toggle would not be simply on/off the led but need to be cyclic. Per ASUS spec, it should increment the

[PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-04 Thread Chris Chiu
Make asus-wmi notify on hotkey kbd brightness changes, listen for brightness events and update the brightness directly in the driver. For this purpose, bound check on brightness in kbd_led_set must be based on the same data type to prevent illegal value been set. Update the brightness by

[PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-04 Thread Chris Chiu
Make asus-wmi notify on hotkey kbd brightness changes, listen for brightness events and update the brightness directly in the driver. For this purpose, bound check on brightness in kbd_led_set must be based on the same data type to prevent illegal value been set. Update the brightness by

Re: [PATCH] rtc: sunxi: fix possible race condition

2018-06-04 Thread Maxime Ripard
On Mon, Jun 04, 2018 at 02:05:40PM +0200, Alexandre Belloni wrote: > The IRQ is requested before the struct rtc is allocated and registered, but > this struct is used in the IRQ handler. This may lead to a NULL pointer > dereference. > > Switch to devm_rtc_allocate_device/rtc_register_device to

Re: [PATCH] rtc: sunxi: fix possible race condition

2018-06-04 Thread Maxime Ripard
On Mon, Jun 04, 2018 at 02:05:40PM +0200, Alexandre Belloni wrote: > The IRQ is requested before the struct rtc is allocated and registered, but > this struct is used in the IRQ handler. This may lead to a NULL pointer > dereference. > > Switch to devm_rtc_allocate_device/rtc_register_device to

Re: [PATCH 2/2] mm: don't skip memory guarantee calculations

2018-06-04 Thread Michal Hocko
On Tue 22-05-18 14:25:28, Roman Gushchin wrote: > There are two cases when effective memory guarantee calculation > is mistakenly skipped: > > 1) If memcg is a child of the root cgroup, and the root > cgroup is not root_mem_cgroup (in other words, if the reclaim > is targeted). Top-level memory

Re: [PATCH 2/2] mm: don't skip memory guarantee calculations

2018-06-04 Thread Michal Hocko
On Tue 22-05-18 14:25:28, Roman Gushchin wrote: > There are two cases when effective memory guarantee calculation > is mistakenly skipped: > > 1) If memcg is a child of the root cgroup, and the root > cgroup is not root_mem_cgroup (in other words, if the reclaim > is targeted). Top-level memory

Re: [PATCH 4/8] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-04 Thread Andy Shevchenko
On Mon, 2018-06-04 at 13:50 +0200, Giulio Benetti wrote: > Hi, > > Il 04/06/2018 13:38, Andy Shevchenko ha scritto: > > On Mon, 2018-06-04 at 12:50 +0200, Giulio Benetti wrote: > > > Hi, > > > > > > Il 04/06/2018 12:17, Andy Shevchenko ha scritto: > > > > On Fri, 2018-06-01 at 14:40 +0200,

Re: [PATCH 4/8] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-04 Thread Andy Shevchenko
On Mon, 2018-06-04 at 13:50 +0200, Giulio Benetti wrote: > Hi, > > Il 04/06/2018 13:38, Andy Shevchenko ha scritto: > > On Mon, 2018-06-04 at 12:50 +0200, Giulio Benetti wrote: > > > Hi, > > > > > > Il 04/06/2018 12:17, Andy Shevchenko ha scritto: > > > > On Fri, 2018-06-01 at 14:40 +0200,

Re: [PATCH 1/2] mm: propagate memory effective protection on setting memory.min/low

2018-06-04 Thread Michal Hocko
On Tue 22-05-18 14:25:27, Roman Gushchin wrote: > Explicitly propagate effective memory min/low values down by the tree. > > If there is the global memory pressure, it's not really necessary. > Effective memory guarantees will be propagated automatically > as we traverse memory cgroup tree in the

Re: [PATCH 1/2] mm: propagate memory effective protection on setting memory.min/low

2018-06-04 Thread Michal Hocko
On Tue 22-05-18 14:25:27, Roman Gushchin wrote: > Explicitly propagate effective memory min/low values down by the tree. > > If there is the global memory pressure, it's not really necessary. > Effective memory guarantees will be propagated automatically > as we traverse memory cgroup tree in the

Re: [PATCH 05/19] sched/numa: Use task faults only if numa_group is not yet setup

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:14PM +0530, Srikar Dronamraju wrote: > When numa_group faults are available, task_numa_placement only uses > numa_group faults to evaluate preferred node. However it still accounts > task faults and even evaluates the preferred node just based on task > faults just to

Re: [PATCH 05/19] sched/numa: Use task faults only if numa_group is not yet setup

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:14PM +0530, Srikar Dronamraju wrote: > When numa_group faults are available, task_numa_placement only uses > numa_group faults to evaluate preferred node. However it still accounts > task faults and even evaluates the preferred node just based on task > faults just to

Re: [PATCH] sched/fair: Fix util_avg of new tasks for asymmetric systems

2018-06-04 Thread Vincent Guittot
On 4 June 2018 at 13:58, Quentin Perret wrote: > When a new task wakes-up for the first time, its initial utilization > is set to half of the spare capacity of its CPU. The current > implementation of post_init_entity_util_avg() uses SCHED_CAPACITY_SCALE > directly as a capacity reference. As a

Re: [PATCH] sched/fair: Fix util_avg of new tasks for asymmetric systems

2018-06-04 Thread Vincent Guittot
On 4 June 2018 at 13:58, Quentin Perret wrote: > When a new task wakes-up for the first time, its initial utilization > is set to half of the spare capacity of its CPU. The current > implementation of post_init_entity_util_avg() uses SCHED_CAPACITY_SCALE > directly as a capacity reference. As a

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > @@ -1785,15 +1786,13 @@ static int task_numa_migrate(struct task_struct *p) >* trying for a better one later. Do not set the preferred node here. >*/ > if (p->numa_group) { > - struct numa_group

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > @@ -1785,15 +1786,13 @@ static int task_numa_migrate(struct task_struct *p) >* trying for a better one later. Do not set the preferred node here. >*/ > if (p->numa_group) { > - struct numa_group

Re: [PATCH 4.9 00/29] 4.9.106-stable review

2018-06-04 Thread Greg Kroah-Hartman
On Mon, Jun 04, 2018 at 01:27:06PM +0200, Greg Kroah-Hartman wrote: > On Mon, Jun 04, 2018 at 03:15:23AM -0700, Guenter Roeck wrote: > > On 06/03/2018 11:57 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.106 release. > > > There are 29 patches in this

Re: [PATCH 4.9 00/29] 4.9.106-stable review

2018-06-04 Thread Greg Kroah-Hartman
On Mon, Jun 04, 2018 at 01:27:06PM +0200, Greg Kroah-Hartman wrote: > On Mon, Jun 04, 2018 at 03:15:23AM -0700, Guenter Roeck wrote: > > On 06/03/2018 11:57 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.106 release. > > > There are 29 patches in this

[GIT PULL] x86/asm changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: 6469a0ee0a06b2ea1f5afbb1d5a3feed017d4c7a x86/io: Define readq()/writeq() to use 64-bit type Two smaller changes: - better support

[GIT PULL] x86/asm changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: 6469a0ee0a06b2ea1f5afbb1d5a3feed017d4c7a x86/io: Define readq()/writeq() to use 64-bit type Two smaller changes: - better support

[GIT PULL] x86/boot changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest x86-boot-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus # HEAD: e4e961e36f063484c48bed919013c106d178995d x86/mm: Mark __pgtable_l5_enabled __initdata The main changes in this cycle were: - Centaur CPU

[GIT PULL] x86/boot changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest x86-boot-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus # HEAD: e4e961e36f063484c48bed919013c106d178995d x86/mm: Mark __pgtable_l5_enabled __initdata The main changes in this cycle were: - Centaur CPU

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index ea32a66..94091e6 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -1725,8 +1725,9 @@ static int task_numa_migrate(struct task_struct *p) >*

Re: [PATCH 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-04 Thread Peter Zijlstra
On Mon, Jun 04, 2018 at 03:30:13PM +0530, Srikar Dronamraju wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index ea32a66..94091e6 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -1725,8 +1725,9 @@ static int task_numa_migrate(struct task_struct *p) >*

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-04 Thread Michal Hocko
On Mon 04-06-18 20:13:44, 禹舟键 wrote: > Hi Michal > I will add the missing information in the cover-letter. I do not really think the cover letter needs much improvements. It is the patch description that should be as specific as possible. Cover letter should contain a highlevel description

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-04 Thread Michal Hocko
On Mon 04-06-18 20:13:44, 禹舟键 wrote: > Hi Michal > I will add the missing information in the cover-letter. I do not really think the cover letter needs much improvements. It is the patch description that should be as specific as possible. Cover letter should contain a highlevel description

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-04 Thread 禹舟键
Hi Michal I will add the missing information in the cover-letter. > That being said, I am ready to ack a patch which adds the memcg of the > oom victim. I will not ack (nor nack) the patch which turns it into a > single print because I am not sure the benefit is really worth it. Maybe > others

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-04 Thread 禹舟键
Hi Michal I will add the missing information in the cover-letter. > That being said, I am ready to ack a patch which adds the memcg of the > oom victim. I will not ack (nor nack) the patch which turns it into a > single print because I am not sure the benefit is really worth it. Maybe > others

Re: [PATCH v12 5/5] arm64: Allow huge io mappings again

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:18PM +0530, Chintan Pandya wrote: > Huge mappings have had stability issues due to stale > TLB entry and memory leak issues. Since, those are > addressed in this series of patches, it is now safe > to allow huge mappings. > > Signed-off-by: Chintan Pandya > --- >

Re: [PATCH v12 5/5] arm64: Allow huge io mappings again

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:18PM +0530, Chintan Pandya wrote: > Huge mappings have had stability issues due to stale > TLB entry and memory leak issues. Since, those are > addressed in this series of patches, it is now safe > to allow huge mappings. > > Signed-off-by: Chintan Pandya > --- >

Re: [PATCH v12 3/5] arm64: pgtable: Add p*d_page_vaddr helper macros

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:16PM +0530, Chintan Pandya wrote: > Add helper macros to give virtual references to page > tables. These will be used while freeing dangling > page tables. > > Signed-off-by: Chintan Pandya > --- > arch/arm64/include/asm/pgtable.h | 3 +++ > 1 file changed, 3

Re: [PATCH v12 4/5] arm64: Implement page table free interfaces

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:17PM +0530, Chintan Pandya wrote: > Implement pud_free_pmd_page() and pmd_free_pte_page(). > > Implementation requires, > 1) Clearing off the current pud/pmd entry > 2) Invalidate TLB which could have previously > valid but not stale entry > 3) Freeing of the

Re: [PATCH v12 3/5] arm64: pgtable: Add p*d_page_vaddr helper macros

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:16PM +0530, Chintan Pandya wrote: > Add helper macros to give virtual references to page > tables. These will be used while freeing dangling > page tables. > > Signed-off-by: Chintan Pandya > --- > arch/arm64/include/asm/pgtable.h | 3 +++ > 1 file changed, 3

Re: [PATCH v12 4/5] arm64: Implement page table free interfaces

2018-06-04 Thread Will Deacon
On Fri, Jun 01, 2018 at 06:09:17PM +0530, Chintan Pandya wrote: > Implement pud_free_pmd_page() and pmd_free_pte_page(). > > Implementation requires, > 1) Clearing off the current pud/pmd entry > 2) Invalidate TLB which could have previously > valid but not stale entry > 3) Freeing of the

[GIT PULL] scheduler changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: 2539fc82aa9b07d968cf9ba1ffeec3e0416ac721 sched/fair: Update util_est before updating schedutil The main changes in this cycle were:

[GIT PULL] scheduler changes for v4.18

2018-06-04 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: 2539fc82aa9b07d968cf9ba1ffeec3e0416ac721 sched/fair: Update util_est before updating schedutil The main changes in this cycle were:

[PATCH] rtc: mrst: switch to devm_rtc_allocate_device

2018-06-04 Thread Alexandre Belloni
Switch to devm_rtc_allocate_device/rtc_device_unregister to allow for further improvements. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mrst.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-mrst.c b/drivers/rtc/rtc-mrst.c

[PATCH] rtc: mrst: switch to devm_rtc_allocate_device

2018-06-04 Thread Alexandre Belloni
Switch to devm_rtc_allocate_device/rtc_device_unregister to allow for further improvements. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mrst.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-mrst.c b/drivers/rtc/rtc-mrst.c

[PATCH] rtc: sunxi: fix possible race condition

2018-06-04 Thread Alexandre Belloni
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc before requesting the IRQ. Signed-off-by: Alexandre Belloni

[PATCH] rtc: sunxi: fix possible race condition

2018-06-04 Thread Alexandre Belloni
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc before requesting the IRQ. Signed-off-by: Alexandre Belloni

Re: [PATCH v2] nvme: trace: add disk name to tracepoints

2018-06-04 Thread Christoph Hellwig
On Mon, Jun 04, 2018 at 02:48:57PM +0300, Sagi Grimberg wrote: > >> Add disk name to tracepoints so we can better destinguish between >> individual disks in the trace output. >> >> Signed-off-by: Johannes Thumshirn >> Reviewed-by: Sagi Grimberg > > Nit: s/destinguish/distinguish/g > > Christoph,

Re: [PATCH v2] nvme: trace: add disk name to tracepoints

2018-06-04 Thread Christoph Hellwig
On Mon, Jun 04, 2018 at 02:48:57PM +0300, Sagi Grimberg wrote: > >> Add disk name to tracepoints so we can better destinguish between >> individual disks in the trace output. >> >> Signed-off-by: Johannes Thumshirn >> Reviewed-by: Sagi Grimberg > > Nit: s/destinguish/distinguish/g > > Christoph,

Re: WARNING and PANIC in irq_matrix_free

2018-06-04 Thread Dou Liyang
Hi Thomas, At 06/04/2018 07:17 PM, Thomas Gleixner wrote: On Mon, 4 Jun 2018, Dou Liyang wrote: Here, why didn't we avoid this cleanup by diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c index a75de0792942..0cc59646755f 100644 --- a/arch/x86/kernel/apic/vector.c +++

Re: WARNING and PANIC in irq_matrix_free

2018-06-04 Thread Dou Liyang
Hi Thomas, At 06/04/2018 07:17 PM, Thomas Gleixner wrote: On Mon, 4 Jun 2018, Dou Liyang wrote: Here, why didn't we avoid this cleanup by diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c index a75de0792942..0cc59646755f 100644 --- a/arch/x86/kernel/apic/vector.c +++

linux-next: Tree for Jun 4

2018-06-04 Thread Stephen Rothwell
Hi all, Changes since 20180601: The overlayfs tree gained a conflict against Linus' tree. The net-next tree still had its build failure for which I disabled BPFILTER. The drm tree gained a conflict against Linus' tree. The drm-msm tree gained a build failure for which I reverted a commit.

linux-next: Tree for Jun 4

2018-06-04 Thread Stephen Rothwell
Hi all, Changes since 20180601: The overlayfs tree gained a conflict against Linus' tree. The net-next tree still had its build failure for which I disabled BPFILTER. The drm tree gained a conflict against Linus' tree. The drm-msm tree gained a build failure for which I reverted a commit.

<    5   6   7   8   9   10   11   12   13   14   >