[PATCH 2/3] modpost: merge module iterations

2018-11-22 Thread Masahiro Yamada
Probably, this is just a matter of the order of error/warning messages. Merge the two for-loops. Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index

[PATCH 1/3] modpost: refactor seen flag clearing in add_depends()

2018-11-22 Thread Masahiro Yamada
You do not need to iterate over all modules for resetting ->seen flag because add_depends() is only interested in modules that export symbols referenced from the given 'mod'. This also avoids shadowing the 'modules' parameter of add_depends(). Signed-off-by: Masahiro Yamada ---

[PATCH 2/3] modpost: merge module iterations

2018-11-22 Thread Masahiro Yamada
Probably, this is just a matter of the order of error/warning messages. Merge the two for-loops. Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index

[PATCH 1/3] modpost: refactor seen flag clearing in add_depends()

2018-11-22 Thread Masahiro Yamada
You do not need to iterate over all modules for resetting ->seen flag because add_depends() is only interested in modules that export symbols referenced from the given 'mod'. This also avoids shadowing the 'modules' parameter of add_depends(). Signed-off-by: Masahiro Yamada ---

[PATCH 3/3] modpost: move unresolved symbol checks to check_exports()

2018-11-22 Thread Masahiro Yamada
This will fit better in check_exports() than add_versions(). Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 05e41eb..32e5026

[PATCH 3/3] modpost: move unresolved symbol checks to check_exports()

2018-11-22 Thread Masahiro Yamada
This will fit better in check_exports() than add_versions(). Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 05e41eb..32e5026

[PATCH V2] exportfs: do not read dentry after free

2018-11-22 Thread Pan Bian
The function dentry_connected calls dput(dentry) to drop the previously acquired reference to dentry. In this case, dentry can be released. After that, IS_ROOT(dentry) checks the condition (dentry == dentry->d_parent), which may result in a use-after-free bug. This patch directly compares dentry

[PATCH V2] exportfs: do not read dentry after free

2018-11-22 Thread Pan Bian
The function dentry_connected calls dput(dentry) to drop the previously acquired reference to dentry. In this case, dentry can be released. After that, IS_ROOT(dentry) checks the condition (dentry == dentry->d_parent), which may result in a use-after-free bug. This patch directly compares dentry

[PATCH 1/1] sched/headers: fix thread_info. is overwritten by STACK_END_MAGIC

2018-11-22 Thread Wang Dongsheng
When select ARCH_TASK_STRUCT_ON_STACK the first of thread_info variable is overwritten by STACK_END_MAGIC. In fact, the ARCH_TASK_STRUCT_ON_STACK is not a real task on stack, it's only init_task on init_stack. Commit 0500871f21b2 ("Construct init thread stack in the linker script rather than by

[PATCH 1/1] sched/headers: fix thread_info. is overwritten by STACK_END_MAGIC

2018-11-22 Thread Wang Dongsheng
When select ARCH_TASK_STRUCT_ON_STACK the first of thread_info variable is overwritten by STACK_END_MAGIC. In fact, the ARCH_TASK_STRUCT_ON_STACK is not a real task on stack, it's only init_task on init_stack. Commit 0500871f21b2 ("Construct init thread stack in the linker script rather than by

[PATCH v2] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

[PATCH v2] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

Re: Linux 4.9.139

2018-11-22 Thread Greg KH
diff --git a/.gitignore b/.gitignore index c2ed4ecb0acd..0c39aa20b6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index 3d0ae152af7c..94c752762bc2 100644 --- a/Kbuild +++ b/Kbuild @@

Re: Linux 4.9.139

2018-11-22 Thread Greg KH
diff --git a/.gitignore b/.gitignore index c2ed4ecb0acd..0c39aa20b6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index 3d0ae152af7c..94c752762bc2 100644 --- a/Kbuild +++ b/Kbuild @@

Re: Linux 4.14.83

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index cac5323bc95d..0f42814095a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 82 +SUBLEVEL = 83 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/boot/dts/r8a7791.dtsi

Re: Linux 4.14.83

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index cac5323bc95d..0f42814095a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 82 +SUBLEVEL = 83 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/boot/dts/r8a7791.dtsi

Linux 4.14.83

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.14.83 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.9.139

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.9.139 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.83

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.14.83 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.9.139

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.9.139 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.4

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index e4064fa16f11..1f3c7adeea63 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/x86/kernel/cpu/bugs.c

Re: Linux 4.19.4

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index e4064fa16f11..1f3c7adeea63 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/x86/kernel/cpu/bugs.c

Re: [PATCH v8 2/4] pps: descriptor-based gpio, capture-clear addition

2018-11-22 Thread Philipp Zabel
Hi Tom, On Sat, Nov 17, 2018 at 2:07 PM Tom Burkart wrote: > > This patch changes the GPIO access for the pps-gpio driver from the > integer based ABI to the descriptor based ABI. It also adds the > extraction of the device tree capture-clear option. Is the capture-clear property documented in

Linux 4.19.4

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.19.4 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v8 2/4] pps: descriptor-based gpio, capture-clear addition

2018-11-22 Thread Philipp Zabel
Hi Tom, On Sat, Nov 17, 2018 at 2:07 PM Tom Burkart wrote: > > This patch changes the GPIO access for the pps-gpio driver from the > integer based ABI to the descriptor based ABI. It also adds the > extraction of the device tree capture-clear option. Is the capture-clear property documented in

Linux 4.19.4

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.19.4 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 02:30:58PM -0800, Guenter Roeck wrote: > On 11/22/18 2:01 PM, Thomas Voegtle wrote: > > On Thu, 22 Nov 2018, Thomas Voegtle wrote: > > > > > > > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > > > > >   CALL    scripts/checksyscalls.sh > > >   DESCEND  objtool

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 02:30:58PM -0800, Guenter Roeck wrote: > On 11/22/18 2:01 PM, Thomas Voegtle wrote: > > On Thu, 22 Nov 2018, Thomas Voegtle wrote: > > > > > > > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > > > > >   CALL    scripts/checksyscalls.sh > > >   DESCEND  objtool

Re: [PATCH] exportfs: do not read dentry after free

2018-11-22 Thread PanBian
On Fri, Nov 23, 2018 at 07:58:15AM +0200, Amir Goldstein wrote: > On Fri, Nov 23, 2018 at 5:16 AM Pan Bian wrote: > > > > The function dentry_connected calls dput(dentry) to drop the previously > > acquired reference to dentry. In this case, dentry can be released. > > After that, IS_ROOT(dentry)

Re: [PATCH] exportfs: do not read dentry after free

2018-11-22 Thread PanBian
On Fri, Nov 23, 2018 at 07:58:15AM +0200, Amir Goldstein wrote: > On Fri, Nov 23, 2018 at 5:16 AM Pan Bian wrote: > > > > The function dentry_connected calls dput(dentry) to drop the previously > > acquired reference to dentry. In this case, dentry can be released. > > After that, IS_ROOT(dentry)

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 22 Nov 2018, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > > Had to read this twice, because the comment and the code are both correct > > but deal with the inverse case. This might have helped: > > > > /* > > * Immediately update the

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 22 Nov 2018, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > > Had to read this twice, because the comment and the code are both correct > > but deal with the inverse case. This might have helped: > > > > /* > > * Immediately update the

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Wed, 21 Nov 2018, Tim Chen wrote: > > > On Wed, Nov 21, 2018 at 09:14:50PM +0100, Thomas Gleixner wrote: > > > +static void task_update_spec_tif(struct task_struct *tsk, int tifbit, > > > bool on) > > > { > > > bool update; > > > > > > + if (on) > > >

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Wed, 21 Nov 2018, Tim Chen wrote: > > > On Wed, Nov 21, 2018 at 09:14:50PM +0100, Thomas Gleixner wrote: > > > +static void task_update_spec_tif(struct task_struct *tsk, int tifbit, > > > bool on) > > > { > > > bool update; > > > > > > + if (on) > > >

Re: [PATCH 0/4] dts/layerscape-pci: removed unsuitable compatible string

2018-11-22 Thread Shawn Guo
On Tue, Nov 20, 2018 at 12:53:14PM +, Lorenzo Pieralisi wrote: > On Mon, Oct 08, 2018 at 11:14:24AM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > Removed the compatible string "snps,dw-pcie" from FSL layerscape-pci > > compatible > > string list. > > > > Hou Zhiqiang (4): > >

Re: [PATCH 0/4] dts/layerscape-pci: removed unsuitable compatible string

2018-11-22 Thread Shawn Guo
On Tue, Nov 20, 2018 at 12:53:14PM +, Lorenzo Pieralisi wrote: > On Mon, Oct 08, 2018 at 11:14:24AM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > Removed the compatible string "snps,dw-pcie" from FSL layerscape-pci > > compatible > > string list. > > > > Hou Zhiqiang (4): > >

[tip:perf/urgent] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread tip-bot for Andrea Parri
Commit-ID: 09d3f015d1e1b4fee7e9bbdcf54201d239393391 Gitweb: https://git.kernel.org/tip/09d3f015d1e1b4fee7e9bbdcf54201d239393391 Author: Andrea Parri AuthorDate: Thu, 22 Nov 2018 17:10:31 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 08:31:19 +0100 uprobes: Fix

[tip:perf/urgent] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread tip-bot for Andrea Parri
Commit-ID: 09d3f015d1e1b4fee7e9bbdcf54201d239393391 Gitweb: https://git.kernel.org/tip/09d3f015d1e1b4fee7e9bbdcf54201d239393391 Author: Andrea Parri AuthorDate: Thu, 22 Nov 2018 17:10:31 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 08:31:19 +0100 uprobes: Fix

Re: [PATCH] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 11/22, Oleg Nesterov wrote: > > On 11/22, Andrea Parri wrote: > > > > > > Commit 142b18ddc8143 ("uprobes: Fix handle_swbp() vs unregister() + > > > register() race") added the UPROBE_COPY_INSN flag, and corresponding > > > smp_wmb() and smp_rmb() memory barriers, to

Re: [PATCH] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 11/22, Oleg Nesterov wrote: > > On 11/22, Andrea Parri wrote: > > > > > > Commit 142b18ddc8143 ("uprobes: Fix handle_swbp() vs unregister() + > > > register() race") added the UPROBE_COPY_INSN flag, and corresponding > > > smp_wmb() and smp_rmb() memory barriers, to

[PATCH] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

[PATCH] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 12:46:51PM +0530, Naresh Kamboju wrote: > On Thu, 22 Nov 2018 at 00:40, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.9.139 release. > > There are 59 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 12:46:51PM +0530, Naresh Kamboju wrote: > On Thu, 22 Nov 2018 at 00:40, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.9.139 release. > > There are 59 patches in this series, all will be posted as a response > > to this one. If

[PATCH RESEND V2] Documentation: can: flexcan: add stop mode property

2018-11-22 Thread Joakim Zhang
From: Dong Aisheng The FlexCAN controller can parse the stop mode property to enable CAN self wakeup feature. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- ChangeLog: V1->V2: *add a vendor prefix in property (stop-mode -> fsl,stop-mode). ---

[PATCH RESEND V2] Documentation: can: flexcan: add stop mode property

2018-11-22 Thread Joakim Zhang
From: Dong Aisheng The FlexCAN controller can parse the stop mode property to enable CAN self wakeup feature. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- ChangeLog: V1->V2: *add a vendor prefix in property (stop-mode -> fsl,stop-mode). ---

[GIT PULL] MMC fixes for v4.20-rc4

2018-11-22 Thread Ulf Hansson
Hi Linus, Here's a PR with two MMC fixes intended for v4.20-rc4. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31

RE: [patch 8/9] posix-clocks: Remove license boiler plate

2018-11-22 Thread Manfred Rudigier
Acked-by: Manfred Rudigier Regards, Manfred > -Original Message- > From: Richard Cochran > Sent: Thursday, November 1, 2018 3:12 AM > To: Thomas Gleixner > Cc: LKML ; Cristian Marinescu > ; Manfred Rudigier > > Subject: Re: [patch 8/9] posix-clocks: Remove license boiler plate > >

[GIT PULL] MMC fixes for v4.20-rc4

2018-11-22 Thread Ulf Hansson
Hi Linus, Here's a PR with two MMC fixes intended for v4.20-rc4. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31

RE: [patch 8/9] posix-clocks: Remove license boiler plate

2018-11-22 Thread Manfred Rudigier
Acked-by: Manfred Rudigier Regards, Manfred > -Original Message- > From: Richard Cochran > Sent: Thursday, November 1, 2018 3:12 AM > To: Thomas Gleixner > Cc: LKML ; Cristian Marinescu > ; Manfred Rudigier > > Subject: Re: [patch 8/9] posix-clocks: Remove license boiler plate > >

[PATCH V5] can: flexcan: add self wakeup support

2018-11-22 Thread Joakim Zhang
From: Aisheng Dong If wakeup is enabled, enter stop mode, else enter disabled mode. Self wake can only work on stop mode. Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. Signed-off-by: Aisheng Dong Signed-off-by:

[PATCH V5] can: flexcan: add self wakeup support

2018-11-22 Thread Joakim Zhang
From: Aisheng Dong If wakeup is enabled, enter stop mode, else enter disabled mode. Self wake can only work on stop mode. Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. Signed-off-by: Aisheng Dong Signed-off-by:

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Naresh Kamboju
On Thu, 22 Nov 2018 at 00:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.139 release. > There are 59 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. > >

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Naresh Kamboju
On Thu, 22 Nov 2018 at 00:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.139 release. > There are 59 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. > >

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 08:36:12AM -0800, Guenter Roeck wrote: > On 11/21/18 11:05 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.4 release. > > There are 42 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 11:49:55AM -0800, Guenter Roeck wrote: > On 11/22/18 10:07 AM, Murilo Fossa Vicentini wrote: > > On 22/11/18 14:33, Guenter Roeck wrote: > > > drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_xmit': > > > drivers/net/ethernet/ibm/ibmvnic.c:789:40: error: implicit

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 08:36:12AM -0800, Guenter Roeck wrote: > On 11/21/18 11:05 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.4 release. > > There are 42 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 11:49:55AM -0800, Guenter Roeck wrote: > On 11/22/18 10:07 AM, Murilo Fossa Vicentini wrote: > > On 22/11/18 14:33, Guenter Roeck wrote: > > > drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_xmit': > > > drivers/net/ethernet/ibm/ibmvnic.c:789:40: error: implicit

[PATCH 1/2] i3c: fix an error code in i3c_master_add_i3c_dev_locked()

2018-11-22 Thread Dan Carpenter
We should return "ret" as-is. The "newdev" variable is a valid pointer. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter --- drivers/i3c/master.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i3c/master.c

[PATCH 2/2] ic3: master: off by one in mode_show()

2018-11-22 Thread Dan Carpenter
This should be >= ARRAY_SIZE() to avoid reading one element beyond the end of the array. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter --- drivers/i3c/master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i3c/master.c

[PATCH 1/2] i3c: fix an error code in i3c_master_add_i3c_dev_locked()

2018-11-22 Thread Dan Carpenter
We should return "ret" as-is. The "newdev" variable is a valid pointer. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter --- drivers/i3c/master.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i3c/master.c

[PATCH 2/2] ic3: master: off by one in mode_show()

2018-11-22 Thread Dan Carpenter
This should be >= ARRAY_SIZE() to avoid reading one element beyond the end of the array. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter --- drivers/i3c/master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i3c/master.c

Re: [PATCH 4.14 00/21] 4.14.83-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 09:52:07AM +0530, Naresh Kamboju wrote: > On Thu, 22 Nov 2018 at 00:39, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.14.83 release. > > There are 21 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.14 00/21] 4.14.83-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 09:52:07AM +0530, Naresh Kamboju wrote: > On Thu, 22 Nov 2018 at 00:39, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.14.83 release. > > There are 21 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Anshuman Khandual
On 11/22/2018 11:38 PM, Dan Williams wrote: > On Thu, Nov 22, 2018 at 3:52 AM Anshuman Khandual > wrote: >> >> >> >> On 11/19/2018 11:07 PM, Dave Hansen wrote: >>> On 11/18/18 9:44 PM, Anshuman Khandual wrote: IIUC NUMA re-work in principle involves these functional changes 1.

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Anshuman Khandual
On 11/22/2018 11:38 PM, Dan Williams wrote: > On Thu, Nov 22, 2018 at 3:52 AM Anshuman Khandual > wrote: >> >> >> >> On 11/19/2018 11:07 PM, Dave Hansen wrote: >>> On 11/18/18 9:44 PM, Anshuman Khandual wrote: IIUC NUMA re-work in principle involves these functional changes 1.

[tip:x86/cleanups] x86/process: Avoid unnecessary NULL check in get_wchan()

2018-11-22 Thread tip-bot for Yafang Shao
Commit-ID: 6e662ae7bce6db602f79e57791f5fb887fb7d371 Gitweb: https://git.kernel.org/tip/6e662ae7bce6db602f79e57791f5fb887fb7d371 Author: Yafang Shao AuthorDate: Wed, 21 Nov 2018 19:12:14 +0800 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 07:58:23 +0100 x86/process: Avoid

[tip:x86/cleanups] x86/process: Avoid unnecessary NULL check in get_wchan()

2018-11-22 Thread tip-bot for Yafang Shao
Commit-ID: 6e662ae7bce6db602f79e57791f5fb887fb7d371 Gitweb: https://git.kernel.org/tip/6e662ae7bce6db602f79e57791f5fb887fb7d371 Author: Yafang Shao AuthorDate: Wed, 21 Nov 2018 19:12:14 +0800 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 07:58:23 +0100 x86/process: Avoid

[tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning

2018-11-22 Thread tip-bot for Yi Wang
Commit-ID: 89f579ce99f7e028e81885d3965f973c0f787611 Gitweb: https://git.kernel.org/tip/89f579ce99f7e028e81885d3965f973c0f787611 Author: Yi Wang AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 07:59:59 +0100 x86/headers: Fix

Re: [v5, PATCH 1/2] net:stmmac: dwmac-mediatek: add support for mt2712

2018-11-22 Thread Sean Wang
< ... > > > > + /* select phy interface in top control domain */ > > > + switch (plat->phy_mode) { > > > + case PHY_INTERFACE_MODE_MII: > > > + intf_val |= PHY_INTF_MII_GMII; > > > + break; > > > + case PHY_INTERFACE_MODE_RMII: > > > +

[tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning

2018-11-22 Thread tip-bot for Yi Wang
Commit-ID: 89f579ce99f7e028e81885d3965f973c0f787611 Gitweb: https://git.kernel.org/tip/89f579ce99f7e028e81885d3965f973c0f787611 Author: Yi Wang AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 07:59:59 +0100 x86/headers: Fix

Re: [v5, PATCH 1/2] net:stmmac: dwmac-mediatek: add support for mt2712

2018-11-22 Thread Sean Wang
< ... > > > > + /* select phy interface in top control domain */ > > > + switch (plat->phy_mode) { > > > + case PHY_INTERFACE_MODE_MII: > > > + intf_val |= PHY_INTF_MII_GMII; > > > + break; > > > + case PHY_INTERFACE_MODE_RMII: > > > +

Re: [PATCH 2/2] mm: ksm: do not block on page lock when searching stable tree

2018-11-22 Thread Kirill Tkhai
On 07.11.2018 22:16, Yang Shi wrote: > ksmd need search stable tree to look for the suitable KSM page, but the > KSM page might be locked for long time due to i.e. KSM page rmap walk. > > It sounds not worth waiting for the lock, the page can be skip, then try > to merge it in the next scan to

Re: [PATCH 2/2] mm: ksm: do not block on page lock when searching stable tree

2018-11-22 Thread Kirill Tkhai
On 07.11.2018 22:16, Yang Shi wrote: > ksmd need search stable tree to look for the suitable KSM page, but the > KSM page might be locked for long time due to i.e. KSM page rmap walk. > > It sounds not worth waiting for the lock, the page can be skip, then try > to merge it in the next scan to

Re: [tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning

2018-11-22 Thread Ingo Molnar
* tip-bot for Yi Wang wrote: > Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Gitweb: > https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Author: Yi Wang > AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 > Committer: Ingo Molnar > CommitDate: Thu, 22 Nov

Re: [tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning

2018-11-22 Thread Ingo Molnar
* tip-bot for Yi Wang wrote: > Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Gitweb: > https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5 > Author: Yi Wang > AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 > Committer: Ingo Molnar > CommitDate: Thu, 22 Nov

Re: [PATCH] s390: Remove obsolete bust_spinlock() implementation

2018-11-22 Thread Heiko Carstens
On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote: > On (11/22/18 15:15), Petr Mladek wrote: > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept > > the s390-specific implementation because of the absence of CONFIG_VT. > > In fact, the only difference was calling

Re: [PATCH] s390: Remove obsolete bust_spinlock() implementation

2018-11-22 Thread Heiko Carstens
On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote: > On (11/22/18 15:15), Petr Mladek wrote: > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept > > the s390-specific implementation because of the absence of CONFIG_VT. > > In fact, the only difference was calling

Re: [PATCH v7 05/16] tracing: Generalize hist trigger onmax and save action

2018-11-22 Thread Namhyung Kim
On Wed, Nov 14, 2018 at 02:18:02PM -0600, Tom Zanussi wrote: > From: Tom Zanussi > > The action refactor code allowed actions and handlers to be separated, > but the existing onmax handler and save action code is still not > flexible enough to handle arbitrary coupling. This change generalizes

Re: [PATCH v7 05/16] tracing: Generalize hist trigger onmax and save action

2018-11-22 Thread Namhyung Kim
On Wed, Nov 14, 2018 at 02:18:02PM -0600, Tom Zanussi wrote: > From: Tom Zanussi > > The action refactor code allowed actions and handlers to be separated, > but the existing onmax handler and save action code is still not > flexible enough to handle arbitrary coupling. This change generalizes

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 02:30:58PM -0800, Guenter Roeck wrote: > On 11/22/18 2:01 PM, Thomas Voegtle wrote: > > On Thu, 22 Nov 2018, Thomas Voegtle wrote: > > > > > > > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > > > > >   CALL    scripts/checksyscalls.sh > > >   DESCEND  objtool

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 02:30:58PM -0800, Guenter Roeck wrote: > On 11/22/18 2:01 PM, Thomas Voegtle wrote: > > On Thu, 22 Nov 2018, Thomas Voegtle wrote: > > > > > > > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > > > > >   CALL    scripts/checksyscalls.sh > > >   DESCEND  objtool

Re: [PATCH v2 1/3] thermal: tegra: continue if sensor register fails

2018-11-22 Thread Daniel Lezcano
Hi wei, On 23/11/2018 07:15, Wei Ni wrote: > > > On 22/11/2018 9:07 PM, Daniel Lezcano wrote: >> On 22/11/2018 08:10, Wei Ni wrote: >>> >>> >>> On 21/11/2018 8:51 PM, Daniel Lezcano wrote: On 21/11/2018 11:23, Wei Ni wrote: > > > On 21/11/2018 4:55 PM, Daniel Lezcano wrote:

Re: [PATCH v2 1/3] thermal: tegra: continue if sensor register fails

2018-11-22 Thread Daniel Lezcano
Hi wei, On 23/11/2018 07:15, Wei Ni wrote: > > > On 22/11/2018 9:07 PM, Daniel Lezcano wrote: >> On 22/11/2018 08:10, Wei Ni wrote: >>> >>> >>> On 21/11/2018 8:51 PM, Daniel Lezcano wrote: On 21/11/2018 11:23, Wei Ni wrote: > > > On 21/11/2018 4:55 PM, Daniel Lezcano wrote:

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 09:53:35PM +0100, Thomas Voegtle wrote: > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > CALLscripts/checksyscalls.sh > DESCEND objtool > CHK include/generated/compile.h > CC [M] drivers/gpu/drm/i915/i915_gem_gtt.o >

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 09:53:35PM +0100, Thomas Voegtle wrote: > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > CALLscripts/checksyscalls.sh > DESCEND objtool > CHK include/generated/compile.h > CC [M] drivers/gpu/drm/i915/i915_gem_gtt.o >

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Anshuman Khandual
On 11/22/2018 11:31 PM, Dave Hansen wrote: > On 11/22/18 3:52 AM, Anshuman Khandual wrote: >>> >>> It sounds like the subset that's being exposed is insufficient for yo >>> We did that because we think doing anything but a subset in sysfs will >>> just blow up sysfs: MAX_NUMNODES is as high as

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-22 Thread Anshuman Khandual
On 11/22/2018 11:31 PM, Dave Hansen wrote: > On 11/22/18 3:52 AM, Anshuman Khandual wrote: >>> >>> It sounds like the subset that's being exposed is insufficient for yo >>> We did that because we think doing anything but a subset in sysfs will >>> just blow up sysfs: MAX_NUMNODES is as high as

[ANNOUNCE] 4.4.164-rt176

2018-11-22 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.164-rt176 stable release. This release is just an update to the new stable 4.4.164 version and no RT specific changes have been made. The previously reported cache line starvation bug has been resolved via the stable tree (see

[ANNOUNCE] 4.4.164-rt176

2018-11-22 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.164-rt176 stable release. This release is just an update to the new stable 4.4.164 version and no RT specific changes have been made. The previously reported cache line starvation bug has been resolved via the stable tree (see

[PATCH] [PATCH for v3.18] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH] [PATCH for v3.18] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH] [PATCH for v4.4] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH] [PATCH for v4.4] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH for 4.9] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH for 4.9] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH for v4.14] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

[PATCH for v4.14] zram: close udev startup race condition as default groups

2018-11-22 Thread Minchan Kim
commit fef912bf860e upstream. commit 98af4d4df889 upstream. I got a report from Howard Chen that he saw zram and sysfs race(ie, zram block device file is created but sysfs for it isn't yet) when he tried to create new zram devices via hotadd knob. v4.20 kernel fixes it by [1, 2] but it's too

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-22 Thread Minchan Kim
On Thu, Nov 22, 2018 at 03:59:26PM +0900, Sergey Senozhatsky wrote: > On (11/22/18 15:31), Minchan Kim wrote: > > > > > > I got what you mean now. Let's call it as "incompressible page wrieback" > > > to prevent confusing. > > > > > > "incompressible page writeback" would be orthgonal feature.

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-22 Thread Minchan Kim
On Thu, Nov 22, 2018 at 03:59:26PM +0900, Sergey Senozhatsky wrote: > On (11/22/18 15:31), Minchan Kim wrote: > > > > > > I got what you mean now. Let's call it as "incompressible page wrieback" > > > to prevent confusing. > > > > > > "incompressible page writeback" would be orthgonal feature.

  1   2   3   4   5   6   7   8   9   10   >