Re: [PATCH 05/29] x86/fpu: add might_fault() to user_insn()

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > Every user of user_insn() passes an user memory pointer to this > macro. > > Add might_fault() to user_insn() so we can spot users which are using > this macro in sections where page faulting is not allowed. Nice catch. >

Re: [PATCH 05/29] x86/fpu: add might_fault() to user_insn()

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > Every user of user_insn() passes an user memory pointer to this > macro. > > Add might_fault() to user_insn() so we can spot users which are using > this macro in sections where page faulting is not allowed. Nice catch. >

Re: [PATCH 03/29] x86/entry: Remove _TIF_ALLWORK_MASK

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > There is no user of _TIF_ALLWORK_MASK since commit 21d375b6b34ff > ("x86/entry/64: Remove the SYSCALL64 fast path"). > Remove unused define _TIF_ALLWORK_MASK. > > Reviewed-by: Borislav Petkov > Signed-off-by: Sebastian Andrzej

Re: [PATCH 04/29] x86/pkeys: Make init_pkru_value static

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The variable init_pkru_value isn't used outside of this file. > Make init_pkru_value static. > > Acked-by: Dave Hansen > Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Rik van Riel -- All Rights Reversed.

Re: [PATCH 03/29] x86/entry: Remove _TIF_ALLWORK_MASK

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > There is no user of _TIF_ALLWORK_MASK since commit 21d375b6b34ff > ("x86/entry/64: Remove the SYSCALL64 fast path"). > Remove unused define _TIF_ALLWORK_MASK. > > Reviewed-by: Borislav Petkov > Signed-off-by: Sebastian Andrzej

Re: [PATCH 04/29] x86/pkeys: Make init_pkru_value static

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The variable init_pkru_value isn't used outside of this file. > Make init_pkru_value static. > > Acked-by: Dave Hansen > Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Rik van Riel -- All Rights Reversed.

Re: [PATCH 02/29] x86/entry/32: Remove asm/math_emu.h include

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The math_emu.h header files contains the definition of struct > math_emu_info. It is not used in this file. > > Remove asm/math_emu.h include. > > Reviewed-by: Andy Lutomirski > Signed-off-by: Sebastian Andrzej Siewior

[PATCH -next] ocfs2: Use kmemdup rather than duplicating its implementation

2018-11-28 Thread YueHaibing
Use kmemdup rather than duplicating its implementation Signed-off-by: YueHaibing --- fs/ocfs2/localalloc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 308f05b..3572204 100644 --- a/fs/ocfs2/localalloc.c +++

Re: [PATCH 02/29] x86/entry/32: Remove asm/math_emu.h include

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The math_emu.h header files contains the definition of struct > math_emu_info. It is not used in this file. > > Remove asm/math_emu.h include. > > Reviewed-by: Andy Lutomirski > Signed-off-by: Sebastian Andrzej Siewior

[PATCH -next] ocfs2: Use kmemdup rather than duplicating its implementation

2018-11-28 Thread YueHaibing
Use kmemdup rather than duplicating its implementation Signed-off-by: YueHaibing --- fs/ocfs2/localalloc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 308f05b..3572204 100644 --- a/fs/ocfs2/localalloc.c +++

Re: [PATCH 01/29] x86/fpu: Use ULL for shift in xfeature_uncompacted_offset()

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The xfeature mask is 64bit so a shift from a number to its mask > should > have LL prefix or else nr > 31 will be lost. This is not a problem > now > but should XFEATURE_MASK_SUPERVISOR gain a bit >31 then this check > won't >

Re: [PATCH 01/29] x86/fpu: Use ULL for shift in xfeature_uncompacted_offset()

2018-11-28 Thread Rik van Riel
On Wed, 2018-11-28 at 23:20 +0100, Sebastian Andrzej Siewior wrote: > The xfeature mask is 64bit so a shift from a number to its mask > should > have LL prefix or else nr > 31 will be lost. This is not a problem > now > but should XFEATURE_MASK_SUPERVISOR gain a bit >31 then this check > won't >

[PATCH V4 2/4] rtc: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and secure rtc etc.. This patch adds i.MX system controller RTC driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC

[PATCH V4 3/4] defconfig: arm64: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
This patch enables CONFIG_RTC_DRV_IMX_SC as module by default. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 10fade8..9f12324 100644 ---

[PATCH V4 1/4] dt-bindings: fsl: scu: add rtc binding

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation, this patch adds binding

[PATCH V4 3/4] defconfig: arm64: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
This patch enables CONFIG_RTC_DRV_IMX_SC as module by default. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 10fade8..9f12324 100644 ---

[PATCH V4 1/4] dt-bindings: fsl: scu: add rtc binding

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation, this patch adds binding

[PATCH V4 2/4] rtc: add i.MX system controller RTC support

2018-11-28 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and secure rtc etc.. This patch adds i.MX system controller RTC driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC

[PATCH V4 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Anson Huang
Add i.MX8QXP system controller RTC support. Signed-off-by: Anson Huang --- ChangeLog: V3->V4: *move sc rtc to inside of SCU node. arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi

[PATCH V4 0/4] Add i.MX system controller RTC driver

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation. Since the RTC set time

[PATCH V4 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Anson Huang
Add i.MX8QXP system controller RTC support. Signed-off-by: Anson Huang --- ChangeLog: V3->V4: *move sc rtc to inside of SCU node. arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi

[PATCH V4 0/4] Add i.MX system controller RTC driver

2018-11-28 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation. Since the RTC set time

Re: [PATCH v7 0/4] clk: meson: add a sub EMMC clock controller support

2018-11-28 Thread Jianxin Pan
Hi Jerome, I made some modifications as you suggested, could you please take a look? On 2018/11/15 20:18, Jianxin Pan wrote: > This driver will add a MMC clock controller driver support. > The original idea about adding a clock controller is during the > discussion in the NAND driver mainline

Re: [PATCH v7 0/4] clk: meson: add a sub EMMC clock controller support

2018-11-28 Thread Jianxin Pan
Hi Jerome, I made some modifications as you suggested, could you please take a look? On 2018/11/15 20:18, Jianxin Pan wrote: > This driver will add a MMC clock controller driver support. > The original idea about adding a clock controller is during the > discussion in the NAND driver mainline

Re: [PATCH v2 6/7] zram: add bd_stat statistics

2018-11-28 Thread Minchan Kim
On Wed, Nov 28, 2018 at 03:30:21PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2018 11:07:54 +0900 Minchan Kim wrote: > > > On Mon, Nov 26, 2018 at 12:58:33PM -0800, Andrew Morton wrote: > > > On Mon, 26 Nov 2018 17:28:12 +0900 Minchan Kim wrote: > > > > > > > +File /sys/block/zram/bd_stat >

Re: [PATCH v2 6/7] zram: add bd_stat statistics

2018-11-28 Thread Minchan Kim
On Wed, Nov 28, 2018 at 03:30:21PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2018 11:07:54 +0900 Minchan Kim wrote: > > > On Mon, Nov 26, 2018 at 12:58:33PM -0800, Andrew Morton wrote: > > > On Mon, 26 Nov 2018 17:28:12 +0900 Minchan Kim wrote: > > > > > > > +File /sys/block/zram/bd_stat >

[PATCH v2] ASoC: stm32: sai: Fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-11-28 Thread Wen Yang
sizeof(mclk) is 4 or 8 as it is the size of a pointer, but we want to reserve space for the pointed data. This issue was detected by using the Coccinelle software. v2: use subject lines matching the style for the subsystem. Signed-off-by: Wen Yang CC: Mark Brown CC: Olivier Moysan CC: Arnaud

[PATCH v2] ASoC: stm32: sai: Fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-11-28 Thread Wen Yang
sizeof(mclk) is 4 or 8 as it is the size of a pointer, but we want to reserve space for the pointed data. This issue was detected by using the Coccinelle software. v2: use subject lines matching the style for the subsystem. Signed-off-by: Wen Yang CC: Mark Brown CC: Olivier Moysan CC: Arnaud

Re: [RFC PATCH 0/5] x86: dynamic indirect call promotion

2018-11-28 Thread Andy Lutomirski
On Wed, Nov 28, 2018 at 4:38 PM Josh Poimboeuf wrote: > > On Wed, Nov 28, 2018 at 07:34:52PM +, Nadav Amit wrote: > > > On Nov 28, 2018, at 8:08 AM, Josh Poimboeuf wrote: > > > > > > On Wed, Oct 17, 2018 at 05:54:15PM -0700, Nadav Amit wrote: > > >> This RFC introduces indirect call

Re: [RFC PATCH 0/5] x86: dynamic indirect call promotion

2018-11-28 Thread Andy Lutomirski
On Wed, Nov 28, 2018 at 4:38 PM Josh Poimboeuf wrote: > > On Wed, Nov 28, 2018 at 07:34:52PM +, Nadav Amit wrote: > > > On Nov 28, 2018, at 8:08 AM, Josh Poimboeuf wrote: > > > > > > On Wed, Oct 17, 2018 at 05:54:15PM -0700, Nadav Amit wrote: > > >> This RFC introduces indirect call

Re: [PATCH v3 5/7] zram: support idle/huge page writeback

2018-11-28 Thread Minchan Kim
Hi Andrew, On Wed, Nov 28, 2018 at 03:35:59PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2018 14:54:27 +0900 Minchan Kim wrote: > > > This patch supports new feature "zram idle/huge page writeback". > > On zram-swap usecase, zram has usually many idle/huge swap pages. > > It's pointless to

Re: [PATCH v3 5/7] zram: support idle/huge page writeback

2018-11-28 Thread Minchan Kim
Hi Andrew, On Wed, Nov 28, 2018 at 03:35:59PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2018 14:54:27 +0900 Minchan Kim wrote: > > > This patch supports new feature "zram idle/huge page writeback". > > On zram-swap usecase, zram has usually many idle/huge swap pages. > > It's pointless to

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Nadav Amit
> On Nov 28, 2018, at 4:49 PM, Logan Gunthorpe wrote: > > > > On 2018-11-28 5:38 p.m., Nadav Amit wrote: >> So what’s your take? Would you think this patch is still needed? Should it >> only be enabled automatically for distcc and not for distcc-pump? > > Not sure. The patch will probably

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Nadav Amit
> On Nov 28, 2018, at 4:49 PM, Logan Gunthorpe wrote: > > > > On 2018-11-28 5:38 p.m., Nadav Amit wrote: >> So what’s your take? Would you think this patch is still needed? Should it >> only be enabled automatically for distcc and not for distcc-pump? > > Not sure. The patch will probably

Re: [PATCH v3 8/8] mfd: cros_ec: add a dev_release empty method.

2018-11-28 Thread Guenter Roeck
Hi Greg, On Tue, Nov 27, 2018 at 9:52 AM Greg Kroah-Hartman wrote: > > On Tue, Nov 27, 2018 at 09:29:38AM -0800, Guenter Roeck wrote: > > Hi Enric, > > > > On Tue, Nov 27, 2018 at 4:19 AM Enric Balletbo i Serra > > wrote: > > > > > > Devices are required to provide a release method. This patch

Re: [PATCH v3 8/8] mfd: cros_ec: add a dev_release empty method.

2018-11-28 Thread Guenter Roeck
Hi Greg, On Tue, Nov 27, 2018 at 9:52 AM Greg Kroah-Hartman wrote: > > On Tue, Nov 27, 2018 at 09:29:38AM -0800, Guenter Roeck wrote: > > Hi Enric, > > > > On Tue, Nov 27, 2018 at 4:19 AM Enric Balletbo i Serra > > wrote: > > > > > > Devices are required to provide a release method. This patch

Re: [PATCH v7 09/16] tracing: Add hist trigger snapshot() action test case

2018-11-28 Thread Tom Zanussi
Hi Masami, On Wed, 2018-11-28 at 11:15 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 27 Nov 2018 16:53:45 -0600 > Tom Zanussi wrote: > > > > > +ping $LOCALHOST -c 3 > > > > +nice -n 1 ping $LOCALHOST -c 3 > > > > + > > > > +echo 0 > /sys/kernel/debug/tracing/events/sched/enable > > > >

Re: [PATCH v7 09/16] tracing: Add hist trigger snapshot() action test case

2018-11-28 Thread Tom Zanussi
Hi Masami, On Wed, 2018-11-28 at 11:15 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Tue, 27 Nov 2018 16:53:45 -0600 > Tom Zanussi wrote: > > > > > +ping $LOCALHOST -c 3 > > > > +nice -n 1 ping $LOCALHOST -c 3 > > > > + > > > > +echo 0 > /sys/kernel/debug/tracing/events/sched/enable > > > >

Re: [tip:timers/core] time: Add SPDX license identifiers

2018-11-28 Thread Joe Perches
On Fri, 2018-11-23 at 20:15 -0800, Joe Perches wrote: > On Fri, 2018-11-23 at 03:19 -0800, tip-bot for Thomas Gleixner wrote: > > The SPDX > > identifier is a legally binding shorthand, which can be used instead of the > > full boiler plate text. > > Is the "legally binding shorthand" actually

Re: [tip:timers/core] time: Add SPDX license identifiers

2018-11-28 Thread Joe Perches
On Fri, 2018-11-23 at 20:15 -0800, Joe Perches wrote: > On Fri, 2018-11-23 at 03:19 -0800, tip-bot for Thomas Gleixner wrote: > > The SPDX > > identifier is a legally binding shorthand, which can be used instead of the > > full boiler plate text. > > Is the "legally binding shorthand" actually

Re: [PATCH v3 0/3] Add Amlogic Meson GX SoC Clock Measure Driver

2018-11-28 Thread Kevin Hilman
Neil Armstrong writes: > The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal > clocks frequencies. > The precision is determined by stepping into the duration until the counter > overflows. > The debugfs shows a pretty summary and each clock can be measured >

Re: [PATCH v3 0/3] Add Amlogic Meson GX SoC Clock Measure Driver

2018-11-28 Thread Kevin Hilman
Neil Armstrong writes: > The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal > clocks frequencies. > The precision is determined by stepping into the duration until the counter > overflows. > The debugfs shows a pretty summary and each clock can be measured >

Re: [PATCH 0/2] ARM: dts: meson: add the timer interrupts and clocks

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > This is a follow-up of my series "meson6_timer: dt-bindings updates" > from [0]. > We were missing the interrupts for timer B, C and D. This is harmless > so far because the meson6_timer driver only implements timer A. Timer > E doesn't have any interrupt. > >

Re: [PATCH 0/2] ARM: dts: meson: add the timer interrupts and clocks

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > This is a follow-up of my series "meson6_timer: dt-bindings updates" > from [0]. > We were missing the interrupts for timer B, C and D. This is harmless > so far because the meson6_timer driver only implements timer A. Timer > E doesn't have any interrupt. > >

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Logan Gunthorpe
On 2018-11-28 5:38 p.m., Nadav Amit wrote: > So what’s your take? Would you think this patch is still needed? Should it > only be enabled automatically for distcc and not for distcc-pump? Not sure. The patch will probably slow things down a lot (seeing assembly is always done locally and there

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Logan Gunthorpe
On 2018-11-28 5:38 p.m., Nadav Amit wrote: > So what’s your take? Would you think this patch is still needed? Should it > only be enabled automatically for distcc and not for distcc-pump? Not sure. The patch will probably slow things down a lot (seeing assembly is always done locally and there

Re: [PATCH 12/27] net/core: Assign a name to devnet_rename_seq.dep_map

2018-11-28 Thread David Miller
From: Bart Van Assche Date: Wed, 28 Nov 2018 15:43:10 -0800 > This patch makes lockdep reports about devnet_rename_seq more informative. > > Cc: David S. Miller > Signed-off-by: Bart Van Assche Acked-by: David S. Miller

Re: [PATCH 12/27] net/core: Assign a name to devnet_rename_seq.dep_map

2018-11-28 Thread David Miller
From: Bart Van Assche Date: Wed, 28 Nov 2018 15:43:10 -0800 > This patch makes lockdep reports about devnet_rename_seq more informative. > > Cc: David S. Miller > Signed-off-by: Bart Van Assche Acked-by: David S. Miller

Re: [PATCH v2 4/4] ARM: dts: meson: consistently disable pin bias

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > On Fri, Nov 9, 2018 at 3:05 PM Jerome Brunet wrote: >> >> On Amlogic chipsets, the bias set through pinconf applies to the pad >> itself, not only the GPIO function. This means that even when we change >> the function of the pad from GPIO to anything else, the bias

Re: [PATCH v2 4/4] ARM: dts: meson: consistently disable pin bias

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > On Fri, Nov 9, 2018 at 3:05 PM Jerome Brunet wrote: >> >> On Amlogic chipsets, the bias set through pinconf applies to the pad >> itself, not only the GPIO function. This means that even when we change >> the function of the pad from GPIO to anything else, the bias

Re: [PATCH v13 0/5] Add i.MX8MQ clock driver

2018-11-28 Thread Stephen Boyd
Quoting Abel Vesa (2018-11-13 08:19:56) > Here is a link to the 12th version: > https://lkml.org/lkml/2018/11/7/642 > > Changes since v12: > * replaced the division in clk_pll_recalc_rate in clk-frac >with do_div as suggested by Stephen > > Abel Vesa (2): > clk: imx: Add imx composite

Re: [PATCH v13 0/5] Add i.MX8MQ clock driver

2018-11-28 Thread Stephen Boyd
Quoting Abel Vesa (2018-11-13 08:19:56) > Here is a link to the 12th version: > https://lkml.org/lkml/2018/11/7/642 > > Changes since v12: > * replaced the division in clk_pll_recalc_rate in clk-frac >with do_div as suggested by Stephen > > Abel Vesa (2): > clk: imx: Add imx composite

Re: [RFC PATCH 0/5] x86: dynamic indirect call promotion

2018-11-28 Thread Josh Poimboeuf
On Wed, Nov 28, 2018 at 07:34:52PM +, Nadav Amit wrote: > > On Nov 28, 2018, at 8:08 AM, Josh Poimboeuf wrote: > > > > On Wed, Oct 17, 2018 at 05:54:15PM -0700, Nadav Amit wrote: > >> This RFC introduces indirect call promotion in runtime, which for the > >> matter of simplification (and

Re: [RFC PATCH 0/5] x86: dynamic indirect call promotion

2018-11-28 Thread Josh Poimboeuf
On Wed, Nov 28, 2018 at 07:34:52PM +, Nadav Amit wrote: > > On Nov 28, 2018, at 8:08 AM, Josh Poimboeuf wrote: > > > > On Wed, Oct 17, 2018 at 05:54:15PM -0700, Nadav Amit wrote: > >> This RFC introduces indirect call promotion in runtime, which for the > >> matter of simplification (and

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Nadav Amit
> On Nov 28, 2018, at 3:09 PM, Logan Gunthorpe wrote: > > > > On 2018-11-14 6:57 p.m., Nadav Amit wrote: >> Eventually, if you get a fix into icecc, we will need to change the >> Makefile, consider the version number and act accordingly. > > I got a fix pulled into icecc[1] and it works quite

Re: [PATCH 1/2] Makefile: Fix distcc compilation with x86 macros

2018-11-28 Thread Nadav Amit
> On Nov 28, 2018, at 3:09 PM, Logan Gunthorpe wrote: > > > > On 2018-11-14 6:57 p.m., Nadav Amit wrote: >> Eventually, if you get a fix into icecc, we will need to change the >> Makefile, consider the version number and act accordingly. > > I got a fix pulled into icecc[1] and it works quite

Re: [PATCH 01/10] ARM64: dts: amlogic: Add all CPUs in cooling maps

2018-11-28 Thread Kevin Hilman
Viresh Kumar writes: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of each cluster which is used by the

Re: [PATCH 01/10] ARM64: dts: amlogic: Add all CPUs in cooling maps

2018-11-28 Thread Kevin Hilman
Viresh Kumar writes: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of each cluster which is used by the

Re: [PATCH] ARM: multi_v7_defconfig: switch CONFIG_PWM_MESON to built-in

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > Some Meson8b boards (Odroid-C1, EC-100) use a PWM regulator which is the > voltage supply of the CPU cores (this regulator is typically called > "VCCK"). > Now that we are preparing support for CPU frequency scaling on Meson8, > Meson8b and Meson8m2 we should build

Re: [PATCH] ARM: multi_v7_defconfig: switch CONFIG_PWM_MESON to built-in

2018-11-28 Thread Kevin Hilman
Martin Blumenstingl writes: > Some Meson8b boards (Odroid-C1, EC-100) use a PWM regulator which is the > voltage supply of the CPU cores (this regulator is typically called > "VCCK"). > Now that we are preparing support for CPU frequency scaling on Meson8, > Meson8b and Meson8m2 we should build

Re: [PATCH v7 1/4] dt-bindings: pps: descriptor-based gpio, capture-clear addition

2018-11-28 Thread tom burkart
Quoting Rob Herring : On Mon, Nov 26, 2018 at 9:57 PM tom burkart wrote: Quoting Rob Herring : > On Sat, Nov 17, 2018 at 6:35 PM tom burkart wrote: >> >> Quoting Rob Herring : >> >> > On Sat, Nov 17, 2018 at 4:35 AM tom burkart wrote: >> >> >> >> Quoting Rob Herring : >> >> >> >> > On

Re: [PATCH v7 1/4] dt-bindings: pps: descriptor-based gpio, capture-clear addition

2018-11-28 Thread tom burkart
Quoting Rob Herring : On Mon, Nov 26, 2018 at 9:57 PM tom burkart wrote: Quoting Rob Herring : > On Sat, Nov 17, 2018 at 6:35 PM tom burkart wrote: >> >> Quoting Rob Herring : >> >> > On Sat, Nov 17, 2018 at 4:35 AM tom burkart wrote: >> >> >> >> Quoting Rob Herring : >> >> >> >> > On

[PATCH v11 1/3] pps: descriptor-based gpio

2018-11-28 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based ABI to the descriptor based ABI. Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart --- drivers/pps/clients/pps-gpio.c | 67 +++--- include/linux/pps-gpio.h | 3 +- 2

[PATCH v11 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2018-11-28 Thread Tom Burkart
This patch implements the device tree changes required for the pps echo functionality for pps-gpio, that sysfs claims is available already. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom Burkart.

[PATCH v11 3/3] pps: pps-gpio pps-echo implementation

2018-11-28 Thread Tom Burkart
This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom

[PATCH v11 0/3] PPS: pps-gpio PPS ECHO implementation

2018-11-28 Thread Tom Burkart
Hi all, please find attached the PPS-GPIO PPS ECHO implementation patch. The driver claims to have echo functionality in the sysfs interface but this functionality is not present. This patch provides this functionality. Part 1 of the patch change the original driver from the number based GPIO

[PATCH v11 1/3] pps: descriptor-based gpio

2018-11-28 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based ABI to the descriptor based ABI. Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart --- drivers/pps/clients/pps-gpio.c | 67 +++--- include/linux/pps-gpio.h | 3 +- 2

[PATCH v11 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2018-11-28 Thread Tom Burkart
This patch implements the device tree changes required for the pps echo functionality for pps-gpio, that sysfs claims is available already. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom Burkart.

[PATCH v11 3/3] pps: pps-gpio pps-echo implementation

2018-11-28 Thread Tom Burkart
This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom

[PATCH v11 0/3] PPS: pps-gpio PPS ECHO implementation

2018-11-28 Thread Tom Burkart
Hi all, please find attached the PPS-GPIO PPS ECHO implementation patch. The driver claims to have echo functionality in the sysfs interface but this functionality is not present. This patch provides this functionality. Part 1 of the patch change the original driver from the number based GPIO

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-28 Thread Bjorn Andersson
On Wed 28 Nov 09:39 PST 2018, Lina Iyer wrote: > On Tue, Nov 27 2018 at 14:45 -0700, Stephen Boyd wrote: > > Quoting Lina Iyer (2018-11-27 10:21:23) > > > On Tue, Nov 27 2018 at 02:12 -0700, Stephen Boyd wrote: > > > > > > > >Two reasons. First, simplicity. The TLMM driver just needs to pass the

Re: [RFC v3 2/3] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2018-11-28 Thread Bjorn Andersson
On Wed 28 Nov 09:39 PST 2018, Lina Iyer wrote: > On Tue, Nov 27 2018 at 14:45 -0700, Stephen Boyd wrote: > > Quoting Lina Iyer (2018-11-27 10:21:23) > > > On Tue, Nov 27 2018 at 02:12 -0700, Stephen Boyd wrote: > > > > > > > >Two reasons. First, simplicity. The TLMM driver just needs to pass the

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2018-11-28 Thread Darren Hart
On Sat, Dec 09, 2017 at 01:32:29PM -0800, Andy Lutomirski wrote: > On Fri, Dec 8, 2017 at 7:41 PM, wrote: > >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello > >>> wrote: > >>> > >>> It's possible for the same GUID to show up on as system twice. > >>> This means using solely the GUID for

Re: [PATCH 1/2] platform/x86: wmi: prefix sysfs files in /sys/bus/wmi with the ACPI device

2018-11-28 Thread Darren Hart
On Sat, Dec 09, 2017 at 01:32:29PM -0800, Andy Lutomirski wrote: > On Fri, Dec 8, 2017 at 7:41 PM, wrote: > >>> On Dec 8, 2017, at 6:34 PM, Mario Limonciello > >>> wrote: > >>> > >>> It's possible for the same GUID to show up on as system twice. > >>> This means using solely the GUID for

Re: [PATCH RESEND v2 0/2] arm64: dts: meson: add Libretech aml-s805x-ac support

2018-11-28 Thread Kevin Hilman
Jerome Brunet writes: > This patchset adds support for the libretech aml-s805x-ac, aka 'La Frite' > > Changes since v1: [0] > * Update gpio line names to align on Neil's recent series [1] > * (really) fix typo in comment Queued for v4.21 (branch: v4.21/dt64), Thanks! Kevin

Re: [PATCH RESEND v2 0/2] arm64: dts: meson: add Libretech aml-s805x-ac support

2018-11-28 Thread Kevin Hilman
Jerome Brunet writes: > This patchset adds support for the libretech aml-s805x-ac, aka 'La Frite' > > Changes since v1: [0] > * Update gpio line names to align on Neil's recent series [1] > * (really) fix typo in comment Queued for v4.21 (branch: v4.21/dt64), Thanks! Kevin

Re: eBPF program symbols in perf top

2018-11-28 Thread Ivan Babrou
On Wed, Nov 28, 2018 at 5:04 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 27, 2018 at 11:41:19PM -0800, Ivan Babrou escreveu: > > Hey Arnaldo, > > > > Thanks for the quick response. I've tried your patch and it works as > > expected with perf top. > > Ok, I'll add the patch to my perf/core

Re: eBPF program symbols in perf top

2018-11-28 Thread Ivan Babrou
On Wed, Nov 28, 2018 at 5:04 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 27, 2018 at 11:41:19PM -0800, Ivan Babrou escreveu: > > Hey Arnaldo, > > > > Thanks for the quick response. I've tried your patch and it works as > > expected with perf top. > > Ok, I'll add the patch to my perf/core

Re: [PATCH v5 1/2] kernel/signal: Signal-based pre-coredump notification

2018-11-28 Thread Enke Chen
Hi, Dave: Thanks for your comments. You have indeed missed some of the prior reviews and discussions. But that is OK. Please see my replies inline. On 11/28/18 7:19 AM, Dave Martin wrote: > On Tue, Nov 27, 2018 at 10:54:41PM +, Enke Chen wrote: >> [Repost as a series, as suggested by Andrew

Re: [PATCH v5 1/2] kernel/signal: Signal-based pre-coredump notification

2018-11-28 Thread Enke Chen
Hi, Dave: Thanks for your comments. You have indeed missed some of the prior reviews and discussions. But that is OK. Please see my replies inline. On 11/28/18 7:19 AM, Dave Martin wrote: > On Tue, Nov 27, 2018 at 10:54:41PM +, Enke Chen wrote: >> [Repost as a series, as suggested by Andrew

Re: [PATCH] platform/x86: dell-laptop: Mark expected switch fall-throughs

2018-11-28 Thread Darren Hart
On Thu, Jul 05, 2018 at 03:38:07PM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva I've applied this patch, but not the acer or sony fall through patches due

Re: [PATCH] platform/x86: dell-laptop: Mark expected switch fall-throughs

2018-11-28 Thread Darren Hart
On Thu, Jul 05, 2018 at 03:38:07PM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva I've applied this patch, but not the acer or sony fall through patches due

Re: [PATCH v4 01/21] nvmem: Mark nvmem_type_str array with __maybe_unused

2018-11-28 Thread Joe Perches
On Wed, 2018-11-28 at 21:05 +0200, Andy Shevchenko wrote: > Since we put static variable to a header file it's copied to each module > that includes the header. But not all of them are actually using it. > > Mark nvmem_type_str array with __maybe_unused to make a compiler happy: > > In file

Re: [PATCH v4 01/21] nvmem: Mark nvmem_type_str array with __maybe_unused

2018-11-28 Thread Joe Perches
On Wed, 2018-11-28 at 21:05 +0200, Andy Shevchenko wrote: > Since we put static variable to a header file it's copied to each module > that includes the header. But not all of them are actually using it. > > Mark nvmem_type_str array with __maybe_unused to make a compiler happy: > > In file

Re: [PATCH v5 0/3] arm64: dts: meson-gxl: add support for phicomm n1

2018-11-28 Thread Kevin Hilman
He Yangxuan writes: > This patch adds support for the Phicomm N1. This device based on P230 > reference design. > The phy is RTL8211F, need to disable Energy Efficient Ethernet (EEE) to make > it stable. > And this box doesn't have cvbs, so disable related section in device tree. Thanks for

Re: [PATCH v5 0/3] arm64: dts: meson-gxl: add support for phicomm n1

2018-11-28 Thread Kevin Hilman
He Yangxuan writes: > This patch adds support for the Phicomm N1. This device based on P230 > reference design. > The phy is RTL8211F, need to disable Energy Efficient Ethernet (EEE) to make > it stable. > And this box doesn't have cvbs, so disable related section in device tree. Thanks for

[PATCH] PCI: pciehp: Report degraded links via link bandwidth notification

2018-11-28 Thread Alexandru Gagniuc
A warning is generated when a PCIe device is probed with a degraded link, but there was no similar mechanism to warn when the link becomes degraded after probing. The Link Bandwidth Notification provides this mechanism. Use the link bandwidth notification interrupt to detect bandwidth changes,

[PATCH] PCI: pciehp: Report degraded links via link bandwidth notification

2018-11-28 Thread Alexandru Gagniuc
A warning is generated when a PCIe device is probed with a degraded link, but there was no similar mechanism to warn when the link becomes degraded after probing. The Link Bandwidth Notification provides this mechanism. Use the link bandwidth notification interrupt to detect bandwidth changes,

Re: [PATCH 2/2] arm64: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
On Mon 05 Nov 13:09 PST 2018, Douglas Anderson wrote: > As per upstream discussion [1], we should have an SoC-specific > compatible string for Qualcomm's SDHCI nodes. Let's add it. > > [1] https://lkml.kernel.org/r/20181105203657.GA32282@bogus > > Signed-off-by: Douglas Anderson Acked-by:

Re: [PATCH 2/2] arm64: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
On Mon 05 Nov 13:09 PST 2018, Douglas Anderson wrote: > As per upstream discussion [1], we should have an SoC-specific > compatible string for Qualcomm's SDHCI nodes. Let's add it. > > [1] https://lkml.kernel.org/r/20181105203657.GA32282@bogus > > Signed-off-by: Douglas Anderson Acked-by:

Re: [PATCH 1/2] ARM: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
On Mon 05 Nov 13:09 PST 2018, Douglas Anderson wrote: > As per upstream discussion [1], we should have an SoC-specific > compatible string for Qualcomm's SDHCI nodes. Let's add it. > > [1] https://lkml.kernel.org/r/20181105203657.GA32282@bogus > > Signed-off-by: Douglas Anderson Acked-by:

Re: [PATCH 1/2] ARM: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes

2018-11-28 Thread Bjorn Andersson
On Mon 05 Nov 13:09 PST 2018, Douglas Anderson wrote: > As per upstream discussion [1], we should have an SoC-specific > compatible string for Qualcomm's SDHCI nodes. Let's add it. > > [1] https://lkml.kernel.org/r/20181105203657.GA32282@bogus > > Signed-off-by: Douglas Anderson Acked-by:

[PATCH] mm: remove pte_lock_deinit()

2018-11-28 Thread Yu Zhao
Pagetable page doesn't touch page->mapping or have any used field that overlaps with it. No need to clear mapping in dtor. In fact, doing so might mask problems that otherwise would be detected by bad_page(). Signed-off-by: Yu Zhao --- include/linux/mm.h | 11 ++- 1 file changed, 2

[PATCH] mm: remove pte_lock_deinit()

2018-11-28 Thread Yu Zhao
Pagetable page doesn't touch page->mapping or have any used field that overlaps with it. No need to clear mapping in dtor. In fact, doing so might mask problems that otherwise would be detected by bad_page(). Signed-off-by: Yu Zhao --- include/linux/mm.h | 11 ++- 1 file changed, 2

[PATCH v2] tty: serial: qcom_geni_serial: Fix softlock

2018-11-28 Thread Ryan Case
Transfers were being divided into device FIFO sized (64 byte max) operations which would poll for completion within a spin_lock_irqsave / spin_unlock_irqrestore block. This both made things slow by waiting for the FIFO to completely drain before adding further data and would also result in

[PATCH v2] tty: serial: qcom_geni_serial: Fix softlock

2018-11-28 Thread Ryan Case
Transfers were being divided into device FIFO sized (64 byte max) operations which would poll for completion within a spin_lock_irqsave / spin_unlock_irqrestore block. This both made things slow by waiting for the FIFO to completely drain before adding further data and would also result in

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-28 Thread Chanho Min
> > > On Mon, 26 Nov 2018 06:36:37 +0100, > > > Chanho Min wrote: > > > > > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic > > > > PCM > > > > stream") fixes deadlock for non-atomic PCM stream. But, This patch > > > causes antother stuck. > > > > If writer is RT thread

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-28 Thread Chanho Min
> > > On Mon, 26 Nov 2018 06:36:37 +0100, > > > Chanho Min wrote: > > > > > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic > > > > PCM > > > > stream") fixes deadlock for non-atomic PCM stream. But, This patch > > > causes antother stuck. > > > > If writer is RT thread

[PATCH 01/27] lockdep tests: Display compiler warning and error messages

2018-11-28 Thread Bart Van Assche
If compilation of liblockdep fails, display an error message and exit immediately. Display compiler warning and error messages that are generated while building a test. Only run a test if compilation succeeded. Signed-off-by: Bart Van Assche --- tools/lib/lockdep/run_tests.sh | 13 -

[PATCH 01/27] lockdep tests: Display compiler warning and error messages

2018-11-28 Thread Bart Van Assche
If compilation of liblockdep fails, display an error message and exit immediately. Display compiler warning and error messages that are generated while building a test. Only run a test if compilation succeeded. Signed-off-by: Bart Van Assche --- tools/lib/lockdep/run_tests.sh | 13 -

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