[PATCH v4 8/9] x86: cpufeature: use macros instead of inline assembly

2018-06-12 Thread Nadav Amit
Use assembly macros for static_cpu_has() and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. The patch slightly increases the kernel

[PATCH v4 8/9] x86: cpufeature: use macros instead of inline assembly

2018-06-12 Thread Nadav Amit
Use assembly macros for static_cpu_has() and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. The patch slightly increases the kernel

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 10:10:51AM +0530, Rajendra Nayak wrote: > The RPMh Power domain driver aggregates the corner votes from various > consumers for the ARC resources and communicates it to RPMh. > > We also add data for all power domains on sdm845 SoC as part of the patch. > The driver can be

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 10:10:51AM +0530, Rajendra Nayak wrote: > The RPMh Power domain driver aggregates the corner votes from various > consumers for the ARC resources and communicates it to RPMh. > > We also add data for all power domains on sdm845 SoC as part of the patch. > The driver can be

[PATCH v4 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-12 Thread Nadav Amit
Use assembly macros for jump-labels and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. As a result the code size is slightly increased.

[PATCH v4 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-12 Thread Nadav Amit
Use assembly macros for jump-labels and call them from inline assembly. This not only makes the code more readable, but also improves compilation decision, specifically inline decisions which GCC base on the number of new lines in inline assembly. As a result the code size is slightly increased.

Re: [patch V5 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2018-06-12 Thread Yang Li
On Thu, Dec 28, 2017 at 4:17 PM, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > > Sorry for the spam. I somehow missed to refresh the patch before generating > the mbox. Find below the correct version of that one which has ALL braces > removed which we don't need. Hi

Re: [patch V5 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2018-06-12 Thread Yang Li
On Thu, Dec 28, 2017 at 4:17 PM, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Thomas Gleixner wrote: > > Sorry for the spam. I somehow missed to refresh the patch before generating > the mbox. Find below the correct version of that one which has ALL braces > removed which we don't need. Hi

Re: [PATCH v2] ARM: dts: BCM5301X: Make usb3 phy use mdio phy driver

2018-06-12 Thread Florian Fainelli
On Mon, 9 Apr 2018 18:31:53 -0400, Vivek Unune wrote: > Currently, usb3 phy in bcm5301x.dtsi uses platform driver which > requires register range "ccb-mii" <0x18003000 0x1000>. This range > overlaps with mdio cmd and param registers (<0x18003000 0x8>). > Essentially, the platform driver partly

Re: [PATCH v2] ARM: dts: BCM5301X: Make usb3 phy use mdio phy driver

2018-06-12 Thread Florian Fainelli
On Mon, 9 Apr 2018 18:31:53 -0400, Vivek Unune wrote: > Currently, usb3 phy in bcm5301x.dtsi uses platform driver which > requires register range "ccb-mii" <0x18003000 0x1000>. This range > overlaps with mdio cmd and param registers (<0x18003000 0x8>). > Essentially, the platform driver partly

Re: [PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
On Tue, Jun 12, 2018 at 1:32 PM, Fabio Estevam wrote: > Hi Li, > > On Tue, Jun 12, 2018 at 3:28 PM, Li Yang wrote: > >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> index 7286b1e..f90c040 100644 >> ---

Re: [PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
On Tue, Jun 12, 2018 at 1:32 PM, Fabio Estevam wrote: > Hi Li, > > On Tue, Jun 12, 2018 at 3:28 PM, Li Yang wrote: > >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts >> index 7286b1e..f90c040 100644 >> ---

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 11:50:36PM +0530, Harsh Shandilya wrote: > On 12 June 2018 10:21:57 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 3.18.113 release. > >There are 21 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 11:50:36PM +0530, Harsh Shandilya wrote: > On 12 June 2018 10:21:57 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 3.18.113 release. > >There are 21 patches in this series, all will be posted as a response > >to this one. If

[PATCH] ubifs: Fix memory leak in lprobs self-check

2018-06-12 Thread Richard Weinberger
Allocate the buffer after we return early. Otherwise memory is being leaked. Cc: Fixes: 1e51764a3c2a ("UBIFS: add new flash file system") Signed-off-by: Richard Weinberger --- fs/ubifs/lprops.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ubifs/lprops.c

[PATCH] ubifs: Fix memory leak in lprobs self-check

2018-06-12 Thread Richard Weinberger
Allocate the buffer after we return early. Otherwise memory is being leaked. Cc: Fixes: 1e51764a3c2a ("UBIFS: add new flash file system") Signed-off-by: Richard Weinberger --- fs/ubifs/lprops.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ubifs/lprops.c

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 11:17:25AM -0700, Nathan Chancellor wrote: > On Tue, Jun 12, 2018 at 06:51:44PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.137 release. > > There are 24 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 11:17:25AM -0700, Nathan Chancellor wrote: > On Tue, Jun 12, 2018 at 06:51:44PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.137 release. > > There are 24 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.4 051/268] asm-generic: provide generic_pmdp_establish()

2018-06-12 Thread Greg Kroah-Hartman
On Mon, Jun 11, 2018 at 01:55:17PM +0100, Ben Hutchings wrote: > On Mon, 2018-05-28 at 12:00 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: "Kirill A. Shutemov" > > > > [ Upstream commit

Re: [PATCH 4.4 051/268] asm-generic: provide generic_pmdp_establish()

2018-06-12 Thread Greg Kroah-Hartman
On Mon, Jun 11, 2018 at 01:55:17PM +0100, Ben Hutchings wrote: > On Mon, 2018-05-28 at 12:00 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: "Kirill A. Shutemov" > > > > [ Upstream commit

Re: [PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-12 Thread Steven Rostedt
On Tue, 12 Jun 2018 10:39:13 +1000 "Tobin C. Harding" wrote: > Currently we must wait for enough entropy to become available before > hashed pointers can be printed. We can remove this wait by using the > hw RNG if available. > > Use hw RNG to get keying material. > > Cc: Steven Rostedt

Re: [PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-12 Thread Steven Rostedt
On Tue, 12 Jun 2018 10:39:13 +1000 "Tobin C. Harding" wrote: > Currently we must wait for enough entropy to become available before > hashed pointers can be printed. We can remove this wait by using the > hw RNG if available. > > Use hw RNG to get keying material. > > Cc: Steven Rostedt

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 7:03 AM Paolo Bonzini wrote: > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus Grr. Several tedious conflicts. I fixed them all up, and they all looked trivial, but since most of them were to ARM cases, I couldn't even test the end result. I suspect the

Re: [GIT PULL] KVM changes for 4.18 merge window

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 7:03 AM Paolo Bonzini wrote: > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus Grr. Several tedious conflicts. I fixed them all up, and they all looked trivial, but since most of them were to ARM cases, I couldn't even test the end result. I suspect the

[PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
Replace license text with corresponding SPDX identifiers and update the format of existing SPDX identifiers to follow the new guideline Documentation/process/license-rules.rst. Note that some of the files mentioned X11 license previously but the license text actually matches MIT license.

[PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Li Yang
Replace license text with corresponding SPDX identifiers and update the format of existing SPDX identifiers to follow the new guideline Documentation/process/license-rules.rst. Note that some of the files mentioned X11 license previously but the license text actually matches MIT license.

Re: [PATCH v4 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 10:52:19PM +0200, Stefan Agner wrote: > Add Reed-Solomon (RS) to the enumeration of ECC algorithms. > > Signed-off-by: Stefan Agner > Reviewed-by: Boris Brezillon > --- > Documentation/devicetree/bindings/mtd/nand.txt | 2 +- Acked-by: Rob Herring >

Re: [PATCH v4 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 10:52:19PM +0200, Stefan Agner wrote: > Add Reed-Solomon (RS) to the enumeration of ECC algorithms. > > Signed-off-by: Stefan Agner > Reviewed-by: Boris Brezillon > --- > Documentation/devicetree/bindings/mtd/nand.txt | 2 +- Acked-by: Rob Herring >

Re: [PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Fabio Estevam
Hi Li, On Tue, Jun 12, 2018 at 3:28 PM, Li Yang wrote: > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > index 7286b1e..f90c040 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > +++

Re: [PATCH] arm64: dts: freescale: Update to use SPDX identifiers

2018-06-12 Thread Fabio Estevam
Hi Li, On Tue, Jun 12, 2018 at 3:28 PM, Li Yang wrote: > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > index 7286b1e..f90c040 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts > +++

Re: [PATCH 14/39] ovl: stack file ops

2018-06-12 Thread Al Viro
On Tue, Jun 12, 2018 at 07:24:23PM +0100, Al Viro wrote: > On Tue, Jun 12, 2018 at 11:24:39AM +0200, Miklos Szeredi wrote: > > > > Note that anything that uses file_dentry() anywhere near ->open(), > > > ->read_iter() or ->write_iter() is an instant trouble with your scheme. > > > Such as > > >

Re: [PATCH 14/39] ovl: stack file ops

2018-06-12 Thread Al Viro
On Tue, Jun 12, 2018 at 07:24:23PM +0100, Al Viro wrote: > On Tue, Jun 12, 2018 at 11:24:39AM +0200, Miklos Szeredi wrote: > > > > Note that anything that uses file_dentry() anywhere near ->open(), > > > ->read_iter() or ->write_iter() is an instant trouble with your scheme. > > > Such as > > >

Re: [PATCH v7 2/4] random: Return nbytes filled from hw RNG

2018-06-12 Thread Steven Rostedt
On Tue, 12 Jun 2018 11:39:56 +0300 Andy Shevchenko wrote: > On Tue, Jun 12, 2018 at 3:39 AM, Tobin C. Harding wrote: > > Currently the function get_random_bytes_arch() has return value 'void'. > > If the hw RNG fails we currently fall back to using get_random_bytes(). > > This defeats the

Re: [PATCH v7 2/4] random: Return nbytes filled from hw RNG

2018-06-12 Thread Steven Rostedt
On Tue, 12 Jun 2018 11:39:56 +0300 Andy Shevchenko wrote: > On Tue, Jun 12, 2018 at 3:39 AM, Tobin C. Harding wrote: > > Currently the function get_random_bytes_arch() has return value 'void'. > > If the hw RNG fails we currently fall back to using get_random_bytes(). > > This defeats the

Re: [PATCH v7 3/5] dt-bindings: timer: add i.MX EPIT timer binding

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 05:49:59PM +0200, Clément Péron wrote: > From: Clément Peron > > Add devicetree binding document for NXP's i.MX SoC specific > EPIT timer driver. > > Signed-off-by: Clément Peron > Reviewed-by: Vladimir Zapolskiy > --- > .../devicetree/bindings/timer/fsl,imxepit.txt |

Re: [PATCH v7 3/5] dt-bindings: timer: add i.MX EPIT timer binding

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 05:49:59PM +0200, Clément Péron wrote: > From: Clément Peron > > Add devicetree binding document for NXP's i.MX SoC specific > EPIT timer driver. > > Signed-off-by: Clément Peron > Reviewed-by: Vladimir Zapolskiy > --- > .../devicetree/bindings/timer/fsl,imxepit.txt |

Re: [PATCH 14/39] ovl: stack file ops

2018-06-12 Thread Al Viro
On Tue, Jun 12, 2018 at 11:24:39AM +0200, Miklos Szeredi wrote: > > Note that anything that uses file_dentry() anywhere near ->open(), > > ->read_iter() or ->write_iter() is an instant trouble with your scheme. > > Such as > > int nfs_open(struct inode *inode, struct file *filp) > > { > >

Re: [PATCH 14/39] ovl: stack file ops

2018-06-12 Thread Al Viro
On Tue, Jun 12, 2018 at 11:24:39AM +0200, Miklos Szeredi wrote: > > Note that anything that uses file_dentry() anywhere near ->open(), > > ->read_iter() or ->write_iter() is an instant trouble with your scheme. > > Such as > > int nfs_open(struct inode *inode, struct file *filp) > > { > >

Re: [PATCH v2 2/2] dt-bindings: iio: dac: Add docs for AD5758 DAC

2018-06-12 Thread Rob Herring
On Sun, Jun 10, 2018 at 02:59:23PM +0100, Jonathan Cameron wrote: > On Thu, 7 Jun 2018 16:11:05 +0300 > Stefan Popa wrote: > > > Signed-off-by: Stefan Popa > Hmm. The first part number I've ever googled where the top hit has > been a flight number. > Rio de Janeiro to Campinas is apparently on

Re: [PATCH] ARM64: dts: rockchip: add some pins to rk3399

2018-06-12 Thread klaus . goger
Hi Randy, > On 12.06.2018, at 17:25, Randy Li wrote: > > Those pins would be used by many boards. > > Signed-off-by: Randy Li > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 97 +++- > 1 file changed, 83 insertions(+), 14 deletions(-) > > diff --git

Re: [PATCH v2 2/2] dt-bindings: iio: dac: Add docs for AD5758 DAC

2018-06-12 Thread Rob Herring
On Sun, Jun 10, 2018 at 02:59:23PM +0100, Jonathan Cameron wrote: > On Thu, 7 Jun 2018 16:11:05 +0300 > Stefan Popa wrote: > > > Signed-off-by: Stefan Popa > Hmm. The first part number I've ever googled where the top hit has > been a flight number. > Rio de Janeiro to Campinas is apparently on

Re: [PATCH] ARM64: dts: rockchip: add some pins to rk3399

2018-06-12 Thread klaus . goger
Hi Randy, > On 12.06.2018, at 17:25, Randy Li wrote: > > Those pins would be used by many boards. > > Signed-off-by: Randy Li > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 97 +++- > 1 file changed, 83 insertions(+), 14 deletions(-) > > diff --git

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Harsh Shandilya
On 12 June 2018 10:21:57 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.113 release. >There are 21 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 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Harsh Shandilya
On 12 June 2018 10:21:57 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.113 release. >There are 21 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 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Nathan Chancellor
On Tue, Jun 12, 2018 at 06:51:57PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.113 release. > There are 21 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

Re: [PATCH 3/3] riscv: fix __user annotation for __copy_user()

2018-06-12 Thread Luc Van Oostenryck
On Tue, Jun 12, 2018 at 7:12 PM, Palmer Dabbelt wrote: > On Mon, 11 Jun 2018 20:00:08 PDT (-0700), luc.vanoostenr...@gmail.com wrote: >> On Mon, Jun 11, 2018 at 12:01:37PM -0700, Palmer Dabbelt wrote: >>> >>> OK, I'll try and figure out what's going on. We've had a handful of >>> headaches

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Nathan Chancellor
On Tue, Jun 12, 2018 at 06:51:57PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.113 release. > There are 21 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

Re: [PATCH 3/3] riscv: fix __user annotation for __copy_user()

2018-06-12 Thread Luc Van Oostenryck
On Tue, Jun 12, 2018 at 7:12 PM, Palmer Dabbelt wrote: > On Mon, 11 Jun 2018 20:00:08 PDT (-0700), luc.vanoostenr...@gmail.com wrote: >> On Mon, Jun 11, 2018 at 12:01:37PM -0700, Palmer Dabbelt wrote: >>> >>> OK, I'll try and figure out what's going on. We've had a handful of >>> headaches

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-12 Thread Laura Abbott
to help improve the system] url: https://github.com/0day-ci/linux/commits/Laura-Abbott/scripts-Preprocess-module-common-lds/20180612-083632 config: i386-randconfig-a1-201823 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-12 Thread Laura Abbott
to help improve the system] url: https://github.com/0day-ci/linux/commits/Laura-Abbott/scripts-Preprocess-module-common-lds/20180612-083632 config: i386-randconfig-a1-201823 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux

Re: [PATCH v2 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 10:04:41PM +0530, Manivannan Sadhasivam wrote: > Document Mediatek X20 Development Board which is a 96Boards Consumer > Edition platform based on MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++ > 1

Re: [PATCH v2 1/2] dt-bindings: arm: mediatek: Document Mediatek X20 Development Board

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 10:04:41PM +0530, Manivannan Sadhasivam wrote: > Document Mediatek X20 Development Board which is a 96Boards Consumer > Edition platform based on MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++ > 1

Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-06-12 Thread Alan Tull
On Sun, Mar 4, 2018 at 6:14 PM, wrote: Hi Frank, I'm investigating a refcount use-after-free warning that happens after overlays are applied, removed, reapplied a few (typically three) times (see below). This is new in v4.17, didn't happen in v4.16. As I was investigating I found that

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-12 Thread Nathan Chancellor
On Tue, Jun 12, 2018 at 06:51:44PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.137 release. > There are 24 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

Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-06-12 Thread Alan Tull
On Sun, Mar 4, 2018 at 6:14 PM, wrote: Hi Frank, I'm investigating a refcount use-after-free warning that happens after overlays are applied, removed, reapplied a few (typically three) times (see below). This is new in v4.17, didn't happen in v4.16. As I was investigating I found that

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-12 Thread Nathan Chancellor
On Tue, Jun 12, 2018 at 06:51:44PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.137 release. > There are 24 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

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
Final note (for now) on this: I've merged the nfs code, but I really am obviously not happy with these crazy random ad-hoc cursor-not-cursor list games. Linus

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
Final note (for now) on this: I've merged the nfs code, but I really am obviously not happy with these crazy random ad-hoc cursor-not-cursor list games. Linus

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 10:42 AM Linus Torvalds wrote: > > So could we please have a cursor entry for RCU walking, and actually > have a agreed-upon way to do this? Maybe even using the low bit in the > "next" field to mark a cursor entry generically - the same way we > already do for the HEAD

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 10:42 AM Linus Torvalds wrote: > > So could we please have a cursor entry for RCU walking, and actually > have a agreed-upon way to do this? Maybe even using the low bit in the > "next" field to mark a cursor entry generically - the same way we > already do for the HEAD

[PATCH] mm, swap: fix swap_count comment about nonexistent SWAP_HAS_CONT

2018-06-12 Thread Daniel Jordan
570a335b8e22 ("swap_info: swap count continuations") introduces COUNT_CONTINUED but refers to it incorrectly as SWAP_HAS_CONT in a comment in swap_count. Fix it. Fixes: 570a335b8e22 ("swap_info: swap count continuations") Signed-off-by: Daniel Jordan Cc: "Huang, Ying" Cc: Hugh Dickins ---

[PATCH] mm, swap: fix swap_count comment about nonexistent SWAP_HAS_CONT

2018-06-12 Thread Daniel Jordan
570a335b8e22 ("swap_info: swap count continuations") introduces COUNT_CONTINUED but refers to it incorrectly as SWAP_HAS_CONT in a comment in swap_count. Fix it. Fixes: 570a335b8e22 ("swap_info: swap count continuations") Signed-off-by: Daniel Jordan Cc: "Huang, Ying" Cc: Hugh Dickins ---

[PATCH v3 0/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
The TCG SAPI specification [1] defines a set of functions, which allows applications to use the TPM device in either blocking or non-blocking fashion. Each command defined by the specification has a corresponding Tss2_Sys__Prepare() and Tss2_Sys__Complete() call, which together with

[PATCH v3 0/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
The TCG SAPI specification [1] defines a set of functions, which allows applications to use the TPM device in either blocking or non-blocking fashion. Each command defined by the specification has a corresponding Tss2_Sys__Prepare() and Tss2_Sys__Complete() call, which together with

[PATCH v3 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-06-12 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv to have an easy access to it in the async job without the need to allocate memory. This also allows to consolidate of the write operations for the two interfaces. Signed-off-by: Tadeusz Struk --- drivers/char/tpm/tpm-dev-common.c |8 +---

[PATCH v3 2/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
Currently the TPM driver only supports blocking calls, which doesn't allow asynchronous IO operations to the TPM hardware. This patch changes it and adds support for nonblocking write and a new poll function to enable applications, which want to take advantage of this. Signed-off-by: Tadeusz

[PATCH v3 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-06-12 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv to have an easy access to it in the async job without the need to allocate memory. This also allows to consolidate of the write operations for the two interfaces. Signed-off-by: Tadeusz Struk --- drivers/char/tpm/tpm-dev-common.c |8 +---

[PATCH v3 2/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
Currently the TPM driver only supports blocking calls, which doesn't allow asynchronous IO operations to the TPM hardware. This patch changes it and adds support for nonblocking write and a new poll function to enable applications, which want to take advantage of this. Signed-off-by: Tadeusz

[PATCH 2/5] sched: introduce per-cpu var next_cpu to track search limit

2018-06-12 Thread subhra mazumdar
Introduce a per-cpu variable to track the limit upto which idle cpu search was done in select_idle_cpu(). This will help to start the search next time from there. This is necessary for rotating the search window over entire LLC domain. Signed-off-by: subhra mazumdar --- kernel/sched/core.c | 2

[PATCH 3/5] sched: rotate the cpu search window for better spread

2018-06-12 Thread subhra mazumdar
Rotate the cpu search window for better spread of threads. This will ensure an idle cpu will quickly be found if one exists. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c

[PATCH 4/5] sched: add sched feature to disable idle core search

2018-06-12 Thread subhra mazumdar
Add a new sched feature SIS_CORE to have an option to disable idle core search (select_idle_core). Signed-off-by: subhra mazumdar --- kernel/sched/features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 85ae848..de15733 100644 ---

[PATCH 2/5] sched: introduce per-cpu var next_cpu to track search limit

2018-06-12 Thread subhra mazumdar
Introduce a per-cpu variable to track the limit upto which idle cpu search was done in select_idle_cpu(). This will help to start the search next time from there. This is necessary for rotating the search window over entire LLC domain. Signed-off-by: subhra mazumdar --- kernel/sched/core.c | 2

[PATCH 3/5] sched: rotate the cpu search window for better spread

2018-06-12 Thread subhra mazumdar
Rotate the cpu search window for better spread of threads. This will ensure an idle cpu will quickly be found if one exists. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c

[PATCH 4/5] sched: add sched feature to disable idle core search

2018-06-12 Thread subhra mazumdar
Add a new sched feature SIS_CORE to have an option to disable idle core search (select_idle_core). Signed-off-by: subhra mazumdar --- kernel/sched/features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 85ae848..de15733 100644 ---

[PATCH 1/5] sched: limit cpu search in select_idle_cpu

2018-06-12 Thread subhra mazumdar
Put upper and lower limit on cpu search of select_idle_cpu. The lower limit is amount of cpus in a core while upper limit is twice that. This ensures for any architecture we will usually search beyond a core. The upper limit also helps in keeping the search cost low and constant. Signed-off-by:

[PATCH 1/5] sched: limit cpu search in select_idle_cpu

2018-06-12 Thread subhra mazumdar
Put upper and lower limit on cpu search of select_idle_cpu. The lower limit is amount of cpus in a core while upper limit is twice that. This ensures for any architecture we will usually search beyond a core. The upper limit also helps in keeping the search cost low and constant. Signed-off-by:

[RFC/RFT V2 PATCH 0/5] Improve scheduler scalability for fast path

2018-06-12 Thread subhra mazumdar
Current select_idle_sibling first tries to find a fully idle core using select_idle_core which can potentially search all cores and if it fails it finds any idle cpu using select_idle_cpu. select_idle_cpu can potentially search all cpus in the llc domain. This doesn't scale for large llc domains

[RFC/RFT V2 PATCH 0/5] Improve scheduler scalability for fast path

2018-06-12 Thread subhra mazumdar
Current select_idle_sibling first tries to find a fully idle core using select_idle_core which can potentially search all cores and if it fails it finds any idle cpu using select_idle_cpu. select_idle_cpu can potentially search all cpus in the llc domain. This doesn't scale for large llc domains

[PATCH 5/5] sched: SIS_CORE to disable idle core search

2018-06-12 Thread subhra mazumdar
Use SIS_CORE to disable idle core search. For some workloads select_idle_core becomes a scalability bottleneck, removing it improves throughput. Also there are workloads where disabling it can hurt latency, so need to have an option. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 8

[PATCH 5/5] sched: SIS_CORE to disable idle core search

2018-06-12 Thread subhra mazumdar
Use SIS_CORE to disable idle core search. For some workloads select_idle_core becomes a scalability bottleneck, removing it improves throughput. Also there are workloads where disabling it can hurt latency, so need to have an option. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 8

Re: [PATCH 4.9 00/31] 4.9.108-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 10:10:35AM -0700, Nathan Chancellor wrote: > On Tue, Jun 12, 2018 at 06:46:03PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.108 release. > > There are 31 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.9 00/31] 4.9.108-stable review

2018-06-12 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 10:10:35AM -0700, Nathan Chancellor wrote: > On Tue, Jun 12, 2018 at 06:46:03PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.108 release. > > There are 31 patches in this series, all will be posted as a response > > to this

Re: [intel-sgx-kernel-dev] [PATCH v11 13/13] intel_sgx: in-kernel launch enclave

2018-06-12 Thread Neil Horman
On Mon, Jun 11, 2018 at 09:55:29PM -0700, Andy Lutomirski wrote: > On Mon, Jun 11, 2018 at 4:52 AM Neil Horman wrote: > > > > On Sun, Jun 10, 2018 at 10:17:13PM -0700, Andy Lutomirski wrote: > > > > On Jun 9, 2018, at 10:39 PM, Andy Lutomirski wrote: > > > > > > > > On Fri, Jun 8, 2018 at 10:32

Re: [intel-sgx-kernel-dev] [PATCH v11 13/13] intel_sgx: in-kernel launch enclave

2018-06-12 Thread Neil Horman
On Mon, Jun 11, 2018 at 09:55:29PM -0700, Andy Lutomirski wrote: > On Mon, Jun 11, 2018 at 4:52 AM Neil Horman wrote: > > > > On Sun, Jun 10, 2018 at 10:17:13PM -0700, Andy Lutomirski wrote: > > > > On Jun 9, 2018, at 10:39 PM, Andy Lutomirski wrote: > > > > > > > > On Fri, Jun 8, 2018 at 10:32

Re: [PATCH v2 3/5] PCI: iproc: Disable MSI parsing in certain PAXC blocks

2018-06-12 Thread poza
On 2018-06-12 22:28, Ray Jui wrote: On 6/12/2018 1:29 AM, p...@codeaurora.org wrote: On 2018-06-12 05:51, Ray Jui wrote: The internal MSI parsing logic in certain revisions of PAXC root complexes does not work properly and can casue corruptions on the writes. They need to be disabled

[PATCH 3.18 07/21] fix io_destroy()/aio_complete() race

2018-06-12 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 4faa99965e027cc057c5145ce45fa772caa04e8d upstream. If io_destroy() gets to cancelling everything that can be cancelled and gets to kiocb_cancel() calling the function driver

Re: [PATCH v2 3/5] PCI: iproc: Disable MSI parsing in certain PAXC blocks

2018-06-12 Thread poza
On 2018-06-12 22:28, Ray Jui wrote: On 6/12/2018 1:29 AM, p...@codeaurora.org wrote: On 2018-06-12 05:51, Ray Jui wrote: The internal MSI parsing logic in certain revisions of PAXC root complexes does not work properly and can casue corruptions on the writes. They need to be disabled

[PATCH 3.18 07/21] fix io_destroy()/aio_complete() race

2018-06-12 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 4faa99965e027cc057c5145ce45fa772caa04e8d upstream. If io_destroy() gets to cancelling everything that can be cancelled and gets to kiocb_cancel() calling the function driver

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 6:39 AM Trond Myklebust wrote: > > NeilBrown (4): > rculist: add list_for_each_entry_from_rcu() Oh christ, people. Not another one of these. We need to start having a real rule in place where people DO NOT PLAY GAMES WITH RCU LISTS. Adding Paul McKenney to the

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 6:39 AM Trond Myklebust wrote: > > NeilBrown (4): > rculist: add list_for_each_entry_from_rcu() Oh christ, people. Not another one of these. We need to start having a real rule in place where people DO NOT PLAY GAMES WITH RCU LISTS. Adding Paul McKenney to the

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 6:01 PM, Benjamin Herrenschmidt wrote: > There are still quite a few cases where a device might want to get to a > different node of the device-tree, obtain the resources and map them. > > Drivers doing that currently open code the whole thing, which is error > proe. > >

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 6:01 PM, Benjamin Herrenschmidt wrote: > There are still quite a few cases where a device might want to get to a > different node of the device-tree, obtain the resources and map them. > > Drivers doing that currently open code the whole thing, which is error > proe. > >

Re: [PATCH v2 2/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
On 06/11/2018 07:53 PM, kbuild test robot wrote: > Hi Tadeusz, > # save the attached .config to linux build tree > make ARCH=i386 > > All error/warnings (new ones prefixed by >>): > >>> drivers/char//tpm/tpm-dev-common.c:223:1: warning: data definition has no >>> type or

Re: [PATCH v2 2/2] tpm: add support for nonblocking operation

2018-06-12 Thread Tadeusz Struk
On 06/11/2018 07:53 PM, kbuild test robot wrote: > Hi Tadeusz, > # save the attached .config to linux build tree > make ARCH=i386 > > All error/warnings (new ones prefixed by >>): > >>> drivers/char//tpm/tpm-dev-common.c:223:1: warning: data definition has no >>> type or

Re: [PATCH V6] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-12 Thread Peter Zijlstra
On Tue, Jun 12, 2018 at 07:02:57PM +0200, Daniel Lezcano wrote: > Mmh, it is unclear for me if the park() vs wakeup() can happen at the > same time. > > If the park() function is called, that means the hotplug is allowed. No, it means we're inside hot-un-plug, but that doesn't stop the hrtimer

Re: [PATCH V6] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-12 Thread Peter Zijlstra
On Tue, Jun 12, 2018 at 07:02:57PM +0200, Daniel Lezcano wrote: > Mmh, it is unclear for me if the park() vs wakeup() can happen at the > same time. > > If the park() function is called, that means the hotplug is allowed. No, it means we're inside hot-un-plug, but that doesn't stop the hrtimer

Re: [PATCH v6 00/29] FPGA Device Feature List (DFL) Device Drivers

2018-06-12 Thread Alan Tull
On Tue, Jun 12, 2018 at 5:10 AM, Wu Hao wrote: > Hi All, > > Here is v6 patch-series adding drivers for FPGA DFL devices. I pushed this patchset to a branch on my linux-fpga kernel.org git repo for the robots to test. Alan > > This patch series provides a common framework to support FPGA

Re: [PATCH v6 00/29] FPGA Device Feature List (DFL) Device Drivers

2018-06-12 Thread Alan Tull
On Tue, Jun 12, 2018 at 5:10 AM, Wu Hao wrote: > Hi All, > > Here is v6 patch-series adding drivers for FPGA DFL devices. I pushed this patchset to a branch on my linux-fpga kernel.org git repo for the robots to test. Alan > > This patch series provides a common framework to support FPGA

Re: [v2,4/6] ARM: drop no-thumb-interwork in EABI mode

2018-06-12 Thread Stefan Agner
On 12.06.2018 19:19, Guenter Roeck wrote: > On Sun, Mar 25, 2018 at 08:09:57PM +0200, Stefan Agner wrote: >> According to GCC documentation -m(no-)thumb-interwork is >> meaningless in AAPCS configurations. Also clang does not > > It appears that this is only correct for recent versions of gcc. >

Re: [v2,4/6] ARM: drop no-thumb-interwork in EABI mode

2018-06-12 Thread Stefan Agner
On 12.06.2018 19:19, Guenter Roeck wrote: > On Sun, Mar 25, 2018 at 08:09:57PM +0200, Stefan Agner wrote: >> According to GCC documentation -m(no-)thumb-interwork is >> meaningless in AAPCS configurations. Also clang does not > > It appears that this is only correct for recent versions of gcc. >

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