Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-05 Thread Rob Herring
On Sun, Nov 04, 2018 at 10:54:56AM -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > Add a driver for the Arcx anybus bridge. > > This chip embeds up to two Anybus-S application connectors > (slots), and connects to the SoC via a parallel memory bus. > There is also a CAN power

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-05 Thread Rob Herring
On Sun, Nov 04, 2018 at 10:54:56AM -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > Add a driver for the Arcx anybus bridge. > > This chip embeds up to two Anybus-S application connectors > (slots), and connects to the SoC via a parallel memory bus. > There is also a CAN power

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-05 Thread Randy Dunlap
On 11/5/18 8:55 AM, Daniel Jordan wrote: > Motivates and explains the ktask API for kernel clients. > > Signed-off-by: Daniel Jordan > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/ktask.rst | 213 +++ > 2 files changed, 214 insertions(+) >

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-05 Thread Randy Dunlap
On 11/5/18 8:55 AM, Daniel Jordan wrote: > Motivates and explains the ktask API for kernel clients. > > Signed-off-by: Daniel Jordan > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/ktask.rst | 213 +++ > 2 files changed, 214 insertions(+) >

Re: [PATCH v1] watchdog: npcm: Modify npcm watchdog kconfig arch parameter

2018-11-05 Thread Guenter Roeck
On Mon, Nov 05, 2018 at 06:11:52PM +0200, Tomer Maimon wrote: > Modify Nuvoton watchdog Kconfig default supported architecture > name to ARCH_NPCM7XX because ARCH_NPCM750 architecture name > is not supported. > > Signed-off-by: Tomer Maimon Reviewed-by: Guenter Roeck > --- >

[mm PATCH v5 3/7] mm: Implement new zone specific memblock iterator

2018-11-05 Thread Alexander Duyck
This patch introduces a new iterator for_each_free_mem_pfn_range_in_zone. This iterator will take care of making sure a given memory range provided is in fact contained within a zone. It takes are of all the bounds checking we were doing in deferred_grow_zone, and deferred_init_memmap. In

Re: [PATCH v1] watchdog: npcm: Modify npcm watchdog kconfig arch parameter

2018-11-05 Thread Guenter Roeck
On Mon, Nov 05, 2018 at 06:11:52PM +0200, Tomer Maimon wrote: > Modify Nuvoton watchdog Kconfig default supported architecture > name to ARCH_NPCM7XX because ARCH_NPCM750 architecture name > is not supported. > > Signed-off-by: Tomer Maimon Reviewed-by: Guenter Roeck > --- >

[mm PATCH v5 3/7] mm: Implement new zone specific memblock iterator

2018-11-05 Thread Alexander Duyck
This patch introduces a new iterator for_each_free_mem_pfn_range_in_zone. This iterator will take care of making sure a given memory range provided is in fact contained within a zone. It takes are of all the bounds checking we were doing in deferred_grow_zone, and deferred_init_memmap. In

Re: [PATCH 19/28] perf beauty: Wire up the mmap flags table generator to the Makefile

2018-11-05 Thread Guenter Roeck
On Mon, Nov 05, 2018 at 04:13:56PM -0300, Arnaldo Carvalho de Melo wrote: > > I did the tests and it seems to work, its the same method used by the > kernel sources, so I have this in place now: > > commit e2c39f36c354a06c6e9d32d4fdf8660b41803d82 > Author: Arnaldo Carvalho de Melo > Date: Mon

Re: [PATCH 19/28] perf beauty: Wire up the mmap flags table generator to the Makefile

2018-11-05 Thread Guenter Roeck
On Mon, Nov 05, 2018 at 04:13:56PM -0300, Arnaldo Carvalho de Melo wrote: > > I did the tests and it seems to work, its the same method used by the > kernel sources, so I have this in place now: > > commit e2c39f36c354a06c6e9d32d4fdf8660b41803d82 > Author: Arnaldo Carvalho de Melo > Date: Mon

Re: [alsa-devel] [PATCH] ASoC: skl: always select SND_SOC_HDAC_HDA

2018-11-05 Thread Arnd Bergmann
On 11/5/18, Andy Shevchenko wrote: > On Mon, Nov 5, 2018 at 7:19 PM Pierre-Louis Bossart > wrote: >> >> >> >>> We have this ("strange") lines over the drivers: >> >>> >> >>> config BAR >> >>> depends on FOO || FOO=n >> >>> >> >>> which guarantees that FOO will be not module when BAR is built-in.

Re: [alsa-devel] [PATCH] ASoC: skl: always select SND_SOC_HDAC_HDA

2018-11-05 Thread Arnd Bergmann
On 11/5/18, Andy Shevchenko wrote: > On Mon, Nov 5, 2018 at 7:19 PM Pierre-Louis Bossart > wrote: >> >> >> >>> We have this ("strange") lines over the drivers: >> >>> >> >>> config BAR >> >>> depends on FOO || FOO=n >> >>> >> >>> which guarantees that FOO will be not module when BAR is built-in.

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Matthew Wilcox
On Mon, Nov 05, 2018 at 12:18:33PM -0800, Andrew Morton wrote: > > +++ b/mm/mmu_notifier.c > > But as it has no callers, why retain it? ... and this patch missed the declaration of mmu_notifier_synchronize in include/linux/mmu_notifier.h (whether we delete it or rename it, that mention of it

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Matthew Wilcox
On Mon, Nov 05, 2018 at 12:18:33PM -0800, Andrew Morton wrote: > > +++ b/mm/mmu_notifier.c > > But as it has no callers, why retain it? ... and this patch missed the declaration of mmu_notifier_synchronize in include/linux/mmu_notifier.h (whether we delete it or rename it, that mention of it

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-05 Thread Andrew Morton
On Mon, 5 Nov 2018 12:40:00 -0800 Bart Van Assche wrote: > This patch suppresses the following sparse warning: > > ./include/linux/slab.h:332:43: warning: dubious: x & !y > > ... > > --- a/include/linux/slab.h > +++ b/include/linux/slab.h > @@ -329,7 +329,7 @@ static __always_inline enum

Re: [PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-05 Thread Andrew Morton
On Mon, 5 Nov 2018 12:40:00 -0800 Bart Van Assche wrote: > This patch suppresses the following sparse warning: > > ./include/linux/slab.h:332:43: warning: dubious: x & !y > > ... > > --- a/include/linux/slab.h > +++ b/include/linux/slab.h > @@ -329,7 +329,7 @@ static __always_inline enum

[driver-core PATCH v5 3/9] device core: Consolidate locking and unlocking of parent and device

2018-11-05 Thread Alexander Duyck
This patch is meant to try and consolidate all of the locking and unlocking of both the parent and device when attaching or removing a driver from a given device. To do that I first consolidated the lock pattern into two functions __device_driver_lock and __device_driver_unlock. After doing that

[driver-core PATCH v5 4/9] driver core: Move async_synchronize_full call

2018-11-05 Thread Alexander Duyck
This patch moves the async_synchronize_full call out of __device_release_driver and into driver_detach. The idea behind this is that the async_synchronize_full call will only guarantee that any existing async operations are flushed. This doesn't do anything to guarantee that a hotplug event that

[driver-core PATCH v5 3/9] device core: Consolidate locking and unlocking of parent and device

2018-11-05 Thread Alexander Duyck
This patch is meant to try and consolidate all of the locking and unlocking of both the parent and device when attaching or removing a driver from a given device. To do that I first consolidated the lock pattern into two functions __device_driver_lock and __device_driver_unlock. After doing that

[driver-core PATCH v5 4/9] driver core: Move async_synchronize_full call

2018-11-05 Thread Alexander Duyck
This patch moves the async_synchronize_full call out of __device_release_driver and into driver_detach. The idea behind this is that the async_synchronize_full call will only guarantee that any existing async operations are flushed. This doesn't do anything to guarantee that a hotplug event that

Re: [PATCH V3 1/2] dt-bindings: mmc: sdhci-msm: Add new compatible string for SDM845 SOC

2018-11-05 Thread Doug Anderson
Hi, On Mon, Nov 5, 2018 at 12:37 PM Rob Herring wrote: > > On Thu, Nov 01, 2018 at 01:29:54PM -0700, Doug Anderson wrote: > > Hi, > > > > On Thu, Nov 1, 2018 at 5:07 AM Veerabhadrarao Badiganti > > wrote: > > > > > > For SDM845 SOC, new compatible string "qcom,sdm845-sdhci" is added. > > > > >

[driver-core PATCH v5 2/9] async: Add support for queueing on specific NUMA node

2018-11-05 Thread Alexander Duyck
This patch introduces four new variants of the async_schedule_ functions that allow scheduling on a specific NUMA node. The first two functions are async_schedule_near and async_schedule_near_domain which end up mapping to async_schedule and async_schedule_domain but provide NUMA node specific

Re: [PATCH V3 1/2] dt-bindings: mmc: sdhci-msm: Add new compatible string for SDM845 SOC

2018-11-05 Thread Doug Anderson
Hi, On Mon, Nov 5, 2018 at 12:37 PM Rob Herring wrote: > > On Thu, Nov 01, 2018 at 01:29:54PM -0700, Doug Anderson wrote: > > Hi, > > > > On Thu, Nov 1, 2018 at 5:07 AM Veerabhadrarao Badiganti > > wrote: > > > > > > For SDM845 SOC, new compatible string "qcom,sdm845-sdhci" is added. > > > > >

[driver-core PATCH v5 2/9] async: Add support for queueing on specific NUMA node

2018-11-05 Thread Alexander Duyck
This patch introduces four new variants of the async_schedule_ functions that allow scheduling on a specific NUMA node. The first two functions are async_schedule_near and async_schedule_near_domain which end up mapping to async_schedule and async_schedule_domain but provide NUMA node specific

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

2018-11-05 Thread Douglas Anderson
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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--

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

2018-11-05 Thread Douglas Anderson
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 --- arch/arm/boot/dts/qcom-apq8084.dtsi | 4 ++--

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

2018-11-05 Thread Douglas Anderson
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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--

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

2018-11-05 Thread Douglas Anderson
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 --- arch/arm/boot/dts/qcom-apq8084.dtsi | 4 ++--

Re: [PATCH v3 3/3] platform/x86: intel_pmc_core: Decode Snoop / Non Snoop LTR

2018-11-05 Thread Bhardwaj, Rajneesh
On 03-Nov-18 12:02 AM, Andy Shevchenko wrote: On Fri, Nov 2, 2018 at 12:37 PM Rajneesh Bhardwaj wrote: The LTR values follow PCIE LTR encoding format and can be decoded as per https://pcisig.com/sites/default/files/specification_documents/ECN_LatencyTolnReporting_14Aug08.pdf This adds

Re: [PATCH v3 4/6] arm64: Utilize phys_initrd_start/phys_initrd_size

2018-11-05 Thread Ard Biesheuvel
On 5 November 2018 at 21:51, Florian Fainelli wrote: > On 11/5/18 12:44 PM, Ard Biesheuvel wrote: >> On 5 November 2018 at 21:41, Florian Fainelli wrote: >>> On 11/5/18 12:39 PM, Ard Biesheuvel wrote: Hi Florian, On 31 October 2018 at 20:28, Florian Fainelli wrote: > ARM64 is

Re: [PATCH v3 3/3] platform/x86: intel_pmc_core: Decode Snoop / Non Snoop LTR

2018-11-05 Thread Bhardwaj, Rajneesh
On 03-Nov-18 12:02 AM, Andy Shevchenko wrote: On Fri, Nov 2, 2018 at 12:37 PM Rajneesh Bhardwaj wrote: The LTR values follow PCIE LTR encoding format and can be decoded as per https://pcisig.com/sites/default/files/specification_documents/ECN_LatencyTolnReporting_14Aug08.pdf This adds

Re: [PATCH v3 4/6] arm64: Utilize phys_initrd_start/phys_initrd_size

2018-11-05 Thread Ard Biesheuvel
On 5 November 2018 at 21:51, Florian Fainelli wrote: > On 11/5/18 12:44 PM, Ard Biesheuvel wrote: >> On 5 November 2018 at 21:41, Florian Fainelli wrote: >>> On 11/5/18 12:39 PM, Ard Biesheuvel wrote: Hi Florian, On 31 October 2018 at 20:28, Florian Fainelli wrote: > ARM64 is

Re: [PATCH v3 1/3] platform/x86: intel_pmc_core: Show Latency Tolerance info

2018-11-05 Thread Bhardwaj, Rajneesh
Thanks again for your time. My response inline. On 02-Nov-18 11:57 PM, Andy Shevchenko wrote: On Fri, Nov 2, 2018 at 12:29 PM Rajneesh Bhardwaj wrote: This adds support to show the Latency Tolerance Reporting for the IPs on the PCH as reported by the PMC. The format shown here is raw LTR

Re: [PATCH v3 1/3] platform/x86: intel_pmc_core: Show Latency Tolerance info

2018-11-05 Thread Bhardwaj, Rajneesh
Thanks again for your time. My response inline. On 02-Nov-18 11:57 PM, Andy Shevchenko wrote: On Fri, Nov 2, 2018 at 12:29 PM Rajneesh Bhardwaj wrote: This adds support to show the Latency Tolerance Reporting for the IPs on the PCH as reported by the PMC. The format shown here is raw LTR

Re: [PATCH] riscv: add asm/unistd.h UAPI header

2018-11-05 Thread Arnd Bergmann
On 11/5/18, David Abdurachmanov wrote: > Marcin Juszkiewicz reported issues while generating syscall table for riscv > using 4.20-rc1. The patch refactors our unistd.h files to match some other > architectures. > > - Add asm/unistd.h UAPI header, which has __ARCH_WANT_NEW_STAT > - Remove

Re: [PATCH] riscv: add asm/unistd.h UAPI header

2018-11-05 Thread Arnd Bergmann
On 11/5/18, David Abdurachmanov wrote: > Marcin Juszkiewicz reported issues while generating syscall table for riscv > using 4.20-rc1. The patch refactors our unistd.h files to match some other > architectures. > > - Add asm/unistd.h UAPI header, which has __ARCH_WANT_NEW_STAT > - Remove

Re: [RFC PATCH v4 02/13] ktask: multithread CPU-intensive kernel work

2018-11-05 Thread Randy Dunlap
On 11/5/18 8:55 AM, Daniel Jordan wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 41583f468cb4..ed82f76ed0b7 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -346,6 +346,17 @@ config AUDIT_TREE > depends on AUDITSYSCALL > select FSNOTIFY > > +config KTASK > + bool

Re: [RFC PATCH v4 02/13] ktask: multithread CPU-intensive kernel work

2018-11-05 Thread Randy Dunlap
On 11/5/18 8:55 AM, Daniel Jordan wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 41583f468cb4..ed82f76ed0b7 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -346,6 +346,17 @@ config AUDIT_TREE > depends on AUDITSYSCALL > select FSNOTIFY > > +config KTASK > + bool

Re: PEBS level 2/3 breaks dwarf unwinding! [WAS: Re: Broken dwarf unwinding - wrong stack pointer register value?]

2018-11-05 Thread Jiri Olsa
On Fri, Nov 02, 2018 at 06:56:50PM +0100, Milian Wolff wrote: SNIP > > > > > > Note how precise levels 0 and 1 do not produce any samples where unwinding > > > fails. But precise level 2 produces some, and precise level 3 increases > > > the > > > amount (by ca. ~2x). > > > > > > I can

Re: PEBS level 2/3 breaks dwarf unwinding! [WAS: Re: Broken dwarf unwinding - wrong stack pointer register value?]

2018-11-05 Thread Jiri Olsa
On Fri, Nov 02, 2018 at 06:56:50PM +0100, Milian Wolff wrote: SNIP > > > > > > Note how precise levels 0 and 1 do not produce any samples where unwinding > > > fails. But precise level 2 produces some, and precise level 3 increases > > > the > > > amount (by ca. ~2x). > > > > > > I can

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Sean Christopherson
On Mon, Nov 05, 2018 at 12:18:33PM -0800, Andrew Morton wrote: > On Mon, 5 Nov 2018 11:29:55 -0800 Sean Christopherson > wrote: > > > ...and update its comment to explicitly reference its association with > > mmu_notifier_call_srcu(). > > > > Contrary to its name, mmu_notifier_synchronize()

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Sean Christopherson
On Mon, Nov 05, 2018 at 12:18:33PM -0800, Andrew Morton wrote: > On Mon, 5 Nov 2018 11:29:55 -0800 Sean Christopherson > wrote: > > > ...and update its comment to explicitly reference its association with > > mmu_notifier_call_srcu(). > > > > Contrary to its name, mmu_notifier_synchronize()

Re: [alsa-devel] [PATCH] ASoC: skl: always select SND_SOC_HDAC_HDA

2018-11-05 Thread Andy Shevchenko
On Mon, Nov 5, 2018 at 7:19 PM Pierre-Louis Bossart wrote: > > > >>> We have this ("strange") lines over the drivers: > >>> > >>> config BAR > >>> depends on FOO || FOO=n > >>> > >>> which guarantees that FOO will be not module when BAR is built-in. > >> That's what I normally use, but I could

Re: [alsa-devel] [PATCH] ASoC: skl: always select SND_SOC_HDAC_HDA

2018-11-05 Thread Andy Shevchenko
On Mon, Nov 5, 2018 at 7:19 PM Pierre-Louis Bossart wrote: > > > >>> We have this ("strange") lines over the drivers: > >>> > >>> config BAR > >>> depends on FOO || FOO=n > >>> > >>> which guarantees that FOO will be not module when BAR is built-in. > >> That's what I normally use, but I could

Re: [PATCH anybus v3 3/6] dt-bindings: anybus-bridge: document devicetree binding

2018-11-05 Thread Rob Herring
On Sun, 4 Nov 2018 10:54:58 -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > This patch adds devicetree binding documentation for the > Arcx anybus bridge. > > Signed-off-by: Sven Van Asbroeck > --- > .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ > 1

Re: [PATCH anybus v3 3/6] dt-bindings: anybus-bridge: document devicetree binding

2018-11-05 Thread Rob Herring
On Sun, 4 Nov 2018 10:54:58 -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > This patch adds devicetree binding documentation for the > Arcx anybus bridge. > > Signed-off-by: Sven Van Asbroeck > --- > .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ > 1

Re: [PATCH v3 4/6] arm64: Utilize phys_initrd_start/phys_initrd_size

2018-11-05 Thread Ard Biesheuvel
On 5 November 2018 at 21:41, Florian Fainelli wrote: > On 11/5/18 12:39 PM, Ard Biesheuvel wrote: >> Hi Florian, >> >> On 31 October 2018 at 20:28, Florian Fainelli wrote: >>> ARM64 is the only architecture that re-defines >>> __early_init_dt_declare_initrd() in order for that function to

Re: [PATCH v3 4/6] arm64: Utilize phys_initrd_start/phys_initrd_size

2018-11-05 Thread Ard Biesheuvel
On 5 November 2018 at 21:41, Florian Fainelli wrote: > On 11/5/18 12:39 PM, Ard Biesheuvel wrote: >> Hi Florian, >> >> On 31 October 2018 at 20:28, Florian Fainelli wrote: >>> ARM64 is the only architecture that re-defines >>> __early_init_dt_declare_initrd() in order for that function to

Re: [PATCH anybus v3 2/6] dt-bindings: Add vendor prefix for arcx / Archronix

2018-11-05 Thread Rob Herring
On Sun, 4 Nov 2018 10:54:57 -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > arcx Inc. is an engineering company which provides advanced > embedded systems and consulting services. > > Archronix is a technology design and product engineering firm > specializing in hardware

Re: [PATCH anybus v3 2/6] dt-bindings: Add vendor prefix for arcx / Archronix

2018-11-05 Thread Rob Herring
On Sun, 4 Nov 2018 10:54:57 -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > arcx Inc. is an engineering company which provides advanced > embedded systems and consulting services. > > Archronix is a technology design and product engineering firm > specializing in hardware

Re: [PATCH v10 5/6] arm64: zynqmp: Add DDRC node

2018-11-05 Thread Borislav Petkov
On Mon, Nov 05, 2018 at 12:38:05PM -0800, Olof Johansson wrote: > Yeah, that's the way we've been trying to do for various subsystems > and it's been working pretty well. Of course, if there's need to > coordinate more closely for something in the future we'll be happy to > do so. Goodie. Let's

Re: [PATCH v10 5/6] arm64: zynqmp: Add DDRC node

2018-11-05 Thread Borislav Petkov
On Mon, Nov 05, 2018 at 12:38:05PM -0800, Olof Johansson wrote: > Yeah, that's the way we've been trying to do for various subsystems > and it's been working pretty well. Of course, if there's need to > coordinate more closely for something in the future we'll be happy to > do so. Goodie. Let's

Re: [PATCH] docs: Extend trusted keys documentation for TPM 2.0

2018-11-05 Thread Jerry Snitselaar
On Fri Oct 19 18, Stefan Berger wrote: Extend the documentation for trusted keys with documentation for how to set up a key for a TPM 2.0 so it can be used with a TPM 2.0 as well. Signed-off-by: Stefan Berger Reviewed-by: Mimi Zohar --- .../security/keys/trusted-encrypted.rst | 31

Re: [PATCH] docs: Extend trusted keys documentation for TPM 2.0

2018-11-05 Thread Jerry Snitselaar
On Fri Oct 19 18, Stefan Berger wrote: Extend the documentation for trusted keys with documentation for how to set up a key for a TPM 2.0 so it can be used with a TPM 2.0 as well. Signed-off-by: Stefan Berger Reviewed-by: Mimi Zohar --- .../security/keys/trusted-encrypted.rst | 31

Re: [PATCH v15 15/23] x86/sgx: Add wrappers for ENCLS leaf functions

2018-11-05 Thread Andy Shevchenko
On Mon, Nov 5, 2018 at 7:30 PM Jarkko Sakkinen wrote: > > On Sat, Nov 03, 2018 at 03:17:35PM +0200, Andy Shevchenko wrote: > > On Sat, Nov 3, 2018 at 1:18 AM Jarkko Sakkinen > > wrote: > > > > > > ENCLS is an umbrella instruction for a variety of cpl0 SGX functions. > > > The ENCLS function that

Re: [PATCH v15 15/23] x86/sgx: Add wrappers for ENCLS leaf functions

2018-11-05 Thread Andy Shevchenko
On Mon, Nov 5, 2018 at 7:30 PM Jarkko Sakkinen wrote: > > On Sat, Nov 03, 2018 at 03:17:35PM +0200, Andy Shevchenko wrote: > > On Sat, Nov 3, 2018 at 1:18 AM Jarkko Sakkinen > > wrote: > > > > > > ENCLS is an umbrella instruction for a variety of cpl0 SGX functions. > > > The ENCLS function that

[PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-05 Thread Bart Van Assche
This patch suppresses the following sparse warning: ./include/linux/slab.h:332:43: warning: dubious: x & !y Fixes: 1291523f2c1d ("mm, slab/slub: introduce kmalloc-reclaimable caches") Cc: Vlastimil Babka Cc: Mel Gorman Cc: Christoph Lameter Cc: Roman Gushchin Signed-off-by: Bart Van Assche

[PATCH] slab.h: Avoid using & for logical and of booleans

2018-11-05 Thread Bart Van Assche
This patch suppresses the following sparse warning: ./include/linux/slab.h:332:43: warning: dubious: x & !y Fixes: 1291523f2c1d ("mm, slab/slub: introduce kmalloc-reclaimable caches") Cc: Vlastimil Babka Cc: Mel Gorman Cc: Christoph Lameter Cc: Roman Gushchin Signed-off-by: Bart Van Assche

[PATCH] ARM: dts: socfpga: use tabs for indentation

2018-11-05 Thread Simon Goldschmidt
In two of the gen5 socfpga devicetree files, there are some lines indented using spaces instead of tabs. Fix this by correctly indenting them with tabs. Signed-off-by: Simon Goldschmidt --- arch/arm/boot/dts/socfpga.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_sodia.dts | 4

[PATCH] ARM: dts: socfpga: use tabs for indentation

2018-11-05 Thread Simon Goldschmidt
In two of the gen5 socfpga devicetree files, there are some lines indented using spaces instead of tabs. Fix this by correctly indenting them with tabs. Signed-off-by: Simon Goldschmidt --- arch/arm/boot/dts/socfpga.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_sodia.dts | 4

Re: [PATCH] ARM: dts: NSP: Move aliases to bcm-nsp.dtsi

2018-11-05 Thread Florian Fainelli
On Mon, 29 Oct 2018 09:55:23 -0700, Florian Fainelli wrote: > All boards replicate the aliases node, move the aliases node to > bcm-nsp.dtsi and add all the serial and ethernet ports such that a boot > program like u-boot can populate MAC addresses accordingly. > > Signed-off-by: Florian

Re: [PATCH v10 5/6] arm64: zynqmp: Add DDRC node

2018-11-05 Thread Olof Johansson
On Mon, Nov 5, 2018 at 11:47 AM Borislav Petkov wrote: > > Hi Olof, > > On Mon, Nov 05, 2018 at 06:51:26AM -0800, Olof Johansson wrote: > > In general, for new functionality where needing both the driver change > > and a DT change to enable it (or a driver change and a config change > > to enable

Re: [PATCH] ARM: dts: NSP: Move aliases to bcm-nsp.dtsi

2018-11-05 Thread Florian Fainelli
On Mon, 29 Oct 2018 09:55:23 -0700, Florian Fainelli wrote: > All boards replicate the aliases node, move the aliases node to > bcm-nsp.dtsi and add all the serial and ethernet ports such that a boot > program like u-boot can populate MAC addresses accordingly. > > Signed-off-by: Florian

Re: [PATCH v10 5/6] arm64: zynqmp: Add DDRC node

2018-11-05 Thread Olof Johansson
On Mon, Nov 5, 2018 at 11:47 AM Borislav Petkov wrote: > > Hi Olof, > > On Mon, Nov 05, 2018 at 06:51:26AM -0800, Olof Johansson wrote: > > In general, for new functionality where needing both the driver change > > and a DT change to enable it (or a driver change and a config change > > to enable

Re: [PATCH V3 1/2] dt-bindings: mmc: sdhci-msm: Add new compatible string for SDM845 SOC

2018-11-05 Thread Rob Herring
On Thu, Nov 01, 2018 at 01:29:54PM -0700, Doug Anderson wrote: > Hi, > > On Thu, Nov 1, 2018 at 5:07 AM Veerabhadrarao Badiganti > wrote: > > > > For SDM845 SOC, new compatible string "qcom,sdm845-sdhci" is added. > > > > Signed-off-by: Veerabhadrarao Badiganti > > --- > >

Re: [PATCH V3 1/2] dt-bindings: mmc: sdhci-msm: Add new compatible string for SDM845 SOC

2018-11-05 Thread Rob Herring
On Thu, Nov 01, 2018 at 01:29:54PM -0700, Doug Anderson wrote: > Hi, > > On Thu, Nov 1, 2018 at 5:07 AM Veerabhadrarao Badiganti > wrote: > > > > For SDM845 SOC, new compatible string "qcom,sdm845-sdhci" is added. > > > > Signed-off-by: Veerabhadrarao Badiganti > > --- > >

Re: [PATCH RFC] hist lookups

2018-11-05 Thread Jiri Olsa
On Sun, Nov 04, 2018 at 04:50:39PM -0800, David Miller wrote: > From: Jiri Olsa > Date: Sun, 4 Nov 2018 21:18:21 +0100 > > > do you have some code I could check on? > > All I have is this patch which parallelizes the mmap readers in perf > top. I put something together.. still testing, but

Re: [PATCH RFC] hist lookups

2018-11-05 Thread Jiri Olsa
On Sun, Nov 04, 2018 at 04:50:39PM -0800, David Miller wrote: > From: Jiri Olsa > Date: Sun, 4 Nov 2018 21:18:21 +0100 > > > do you have some code I could check on? > > All I have is this patch which parallelizes the mmap readers in perf > top. I put something together.. still testing, but

Re: [PATCH 1/5] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-05 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 05, 2018 at 07:53:17PM +, Hunter, Adrian escreveu: > > -Original Message- > > From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > Sent: Monday, November 5, 2018 9:36 PM > > To: Hunter, Adrian > > Cc: Jiri Olsa ; Andi Kleen ; linux- > > ker...@vger.kernel.org;

Re: [PATCH 1/5] perf tools: Add fallback functions for cases where cpumode is insufficient

2018-11-05 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 05, 2018 at 07:53:17PM +, Hunter, Adrian escreveu: > > -Original Message- > > From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > Sent: Monday, November 5, 2018 9:36 PM > > To: Hunter, Adrian > > Cc: Jiri Olsa ; Andi Kleen ; linux- > > ker...@vger.kernel.org;

Re: [PATCH RESEND] arm: dts: socfpga*.dts*: use SPDX-License-Identifier

2018-11-05 Thread Dinh Nguyen
On 11/5/18 2:27 PM, Simon Goldschmidt wrote: > Follow the recent trend for the license description. > > This is also in an effort to fully sync the devicetrees with U-Boot. > > Signed-off-by: Simon Goldschmidt > --- > Resending this as requested by Dinh. It still applies on top of > 4.20-rc1

Re: [PATCH RESEND] arm: dts: socfpga*.dts*: use SPDX-License-Identifier

2018-11-05 Thread Dinh Nguyen
On 11/5/18 2:27 PM, Simon Goldschmidt wrote: > Follow the recent trend for the license description. > > This is also in an effort to fully sync the devicetrees with U-Boot. > > Signed-off-by: Simon Goldschmidt > --- > Resending this as requested by Dinh. It still applies on top of > 4.20-rc1

Re: [PATCH v3 2/7] x86/jump_label: Use text_poke_early() during early_init

2018-11-05 Thread Thomas Gleixner
On Mon, 5 Nov 2018, Andy Lutomirski wrote: > On Mon, Nov 5, 2018 at 11:25 AM Nadav Amit wrote: > Linus, hpa, or Dave, a question for you: suppose I map some page > writably, write to it, then upgrade permissions to allow execute. > Must I force all CPUs that might execute from it without first >

Re: [PATCH v3 2/7] x86/jump_label: Use text_poke_early() during early_init

2018-11-05 Thread Thomas Gleixner
On Mon, 5 Nov 2018, Andy Lutomirski wrote: > On Mon, Nov 5, 2018 at 11:25 AM Nadav Amit wrote: > Linus, hpa, or Dave, a question for you: suppose I map some page > writably, write to it, then upgrade permissions to allow execute. > Must I force all CPUs that might execute from it without first >

[PATCH RESEND] arm: dts: socfpga*.dts*: use SPDX-License-Identifier

2018-11-05 Thread Simon Goldschmidt
Follow the recent trend for the license description. This is also in an effort to fully sync the devicetrees with U-Boot. Signed-off-by: Simon Goldschmidt --- Resending this as requested by Dinh. It still applies on top of 4.20-rc1 as it only touches the file headers and nothing has changed

[PATCH RESEND] arm: dts: socfpga*.dts*: use SPDX-License-Identifier

2018-11-05 Thread Simon Goldschmidt
Follow the recent trend for the license description. This is also in an effort to fully sync the devicetrees with U-Boot. Signed-off-by: Simon Goldschmidt --- Resending this as requested by Dinh. It still applies on top of 4.20-rc1 as it only touches the file headers and nothing has changed

[tip:x86/cleanups] x86/gart: Rewrite early_gart_iommu_check() comment

2018-11-05 Thread tip-bot for Borislav Petkov
Commit-ID: 63ecd3b13d5cf07959a2315ec62a7c62e20df114 Gitweb: https://git.kernel.org/tip/63ecd3b13d5cf07959a2315ec62a7c62e20df114 Author: Borislav Petkov AuthorDate: Thu, 1 Nov 2018 16:24:43 +0100 Committer: Borislav Petkov CommitDate: Mon, 5 Nov 2018 21:18:31 +0100 x86/gart: Rewrite

[tip:x86/cleanups] x86/gart: Rewrite early_gart_iommu_check() comment

2018-11-05 Thread tip-bot for Borislav Petkov
Commit-ID: 63ecd3b13d5cf07959a2315ec62a7c62e20df114 Gitweb: https://git.kernel.org/tip/63ecd3b13d5cf07959a2315ec62a7c62e20df114 Author: Borislav Petkov AuthorDate: Thu, 1 Nov 2018 16:24:43 +0100 Committer: Borislav Petkov CommitDate: Mon, 5 Nov 2018 21:18:31 +0100 x86/gart: Rewrite

Re: [PATCH] x86/gart: Rewrite early_gart_iommu_check() comment

2018-11-05 Thread Borislav Petkov
On Mon, Nov 05, 2018 at 04:35:40PM +0100, Ingo Molnar wrote: > s/shutdown > /shut down Fixed. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH] x86/gart: Rewrite early_gart_iommu_check() comment

2018-11-05 Thread Borislav Petkov
On Mon, Nov 05, 2018 at 04:35:40PM +0100, Ingo Molnar wrote: > s/shutdown > /shut down Fixed. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

[tip:x86/cpu] x86/cpufeatures: Remove get_scattered_cpuid_leaf()

2018-11-05 Thread tip-bot for Sean Christopherson
Commit-ID: 43500e6f294d175602606c77bfb0d8cd4ea88b4f Gitweb: https://git.kernel.org/tip/43500e6f294d175602606c77bfb0d8cd4ea88b4f Author: Sean Christopherson AuthorDate: Mon, 5 Nov 2018 10:57:25 -0800 Committer: Borislav Petkov CommitDate: Mon, 5 Nov 2018 20:54:20 +0100 x86/cpufeatures:

[tip:x86/cpu] x86/cpufeatures: Remove get_scattered_cpuid_leaf()

2018-11-05 Thread tip-bot for Sean Christopherson
Commit-ID: 43500e6f294d175602606c77bfb0d8cd4ea88b4f Gitweb: https://git.kernel.org/tip/43500e6f294d175602606c77bfb0d8cd4ea88b4f Author: Sean Christopherson AuthorDate: Mon, 5 Nov 2018 10:57:25 -0800 Committer: Borislav Petkov CommitDate: Mon, 5 Nov 2018 20:54:20 +0100 x86/cpufeatures:

[PATCH v2 10/10] sched/fair: Provide idle search schedstats

2018-11-05 Thread Steve Sistare
Add schedstats to measure the effectiveness of searching for idle CPUs and stealing tasks. This is a temporary patch intended for use during development only. SCHEDSTAT_VERSION is bumped to 16, and the following fields are added to the per-CPU statistics of /proc/schedstat: field 10: # of times

Re: [LKP] [mm] 9bc8039e71: will-it-scale.per_thread_ops -64.1% regression

2018-11-05 Thread Yang Shi
On 11/5/18 10:35 AM, Linus Torvalds wrote: On Mon, Nov 5, 2018 at 10:28 AM Yang Shi wrote: Actually, the commit is mainly for optimizing the long stall time caused by holding mmap_sem by write when unmapping or shrinking large mapping. It downgrades write mmap_sem to read when zapping

[PATCH v2 10/10] sched/fair: Provide idle search schedstats

2018-11-05 Thread Steve Sistare
Add schedstats to measure the effectiveness of searching for idle CPUs and stealing tasks. This is a temporary patch intended for use during development only. SCHEDSTAT_VERSION is bumped to 16, and the following fields are added to the per-CPU statistics of /proc/schedstat: field 10: # of times

Re: [LKP] [mm] 9bc8039e71: will-it-scale.per_thread_ops -64.1% regression

2018-11-05 Thread Yang Shi
On 11/5/18 10:35 AM, Linus Torvalds wrote: On Mon, Nov 5, 2018 at 10:28 AM Yang Shi wrote: Actually, the commit is mainly for optimizing the long stall time caused by holding mmap_sem by write when unmapping or shrinking large mapping. It downgrades write mmap_sem to read when zapping

[PATCH v2 01/10] sched: Provide sparsemask, a reduced contention bitmap

2018-11-05 Thread Steve Sistare
From: Steve Sistare Provide struct sparsemask and functions to manipulate it. A sparsemask is a sparse bitmap. It reduces cache contention vs the usual bitmap when many threads concurrently set, clear, and visit elements, by reducing the number of significant bits per cacheline. For each 64

[PATCH v2 09/10] sched/fair: disable stealing if too many NUMA nodes

2018-11-05 Thread Steve Sistare
The STEAL feature causes regressions on hackbench on larger NUMA systems, so disable it on systems with more than sched_steal_node_limit nodes (default 2). Note that the feature remains enabled as seen in features.h and /sys/kernel/debug/sched_features, but stealing is only performed if nodes <=

[PATCH v2 06/10] sched/fair: Generalize the detach_task interface

2018-11-05 Thread Steve Sistare
The detach_task function takes a struct lb_env argument, but only needs a few of its members. Pass the rq and cpu arguments explicitly so the function may be called from code that is not based on lb_env. No functional change. Signed-off-by: Steve Sistare --- kernel/sched/fair.c | 14

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Andrew Morton
On Mon, 5 Nov 2018 11:29:55 -0800 Sean Christopherson wrote: > ...and update its comment to explicitly reference its association with > mmu_notifier_call_srcu(). > > Contrary to its name, mmu_notifier_synchronize() does not synchronize > the notifier's SRCU instance, but rather waits for RCU

[PATCH v2 01/10] sched: Provide sparsemask, a reduced contention bitmap

2018-11-05 Thread Steve Sistare
From: Steve Sistare Provide struct sparsemask and functions to manipulate it. A sparsemask is a sparse bitmap. It reduces cache contention vs the usual bitmap when many threads concurrently set, clear, and visit elements, by reducing the number of significant bits per cacheline. For each 64

[PATCH v2 09/10] sched/fair: disable stealing if too many NUMA nodes

2018-11-05 Thread Steve Sistare
The STEAL feature causes regressions on hackbench on larger NUMA systems, so disable it on systems with more than sched_steal_node_limit nodes (default 2). Note that the feature remains enabled as seen in features.h and /sys/kernel/debug/sched_features, but stealing is only performed if nodes <=

[PATCH v2 06/10] sched/fair: Generalize the detach_task interface

2018-11-05 Thread Steve Sistare
The detach_task function takes a struct lb_env argument, but only needs a few of its members. Pass the rq and cpu arguments explicitly so the function may be called from code that is not based on lb_env. No functional change. Signed-off-by: Steve Sistare --- kernel/sched/fair.c | 14

Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

2018-11-05 Thread Andrew Morton
On Mon, 5 Nov 2018 11:29:55 -0800 Sean Christopherson wrote: > ...and update its comment to explicitly reference its association with > mmu_notifier_call_srcu(). > > Contrary to its name, mmu_notifier_synchronize() does not synchronize > the notifier's SRCU instance, but rather waits for RCU

[PATCH v2 03/10] sched/topology: Provide cfs_overload_cpus bitmap

2018-11-05 Thread Steve Sistare
From: Steve Sistare Define and initialize a sparse bitmap of overloaded CPUs, per last-level-cache scheduling domain, for use by the CFS scheduling class. Save a pointer to cfs_overload_cpus in the rq for efficient access. Signed-off-by: Steve Sistare --- include/linux/sched/topology.h | 1 +

[PATCH v2 03/10] sched/topology: Provide cfs_overload_cpus bitmap

2018-11-05 Thread Steve Sistare
From: Steve Sistare Define and initialize a sparse bitmap of overloaded CPUs, per last-level-cache scheduling domain, for use by the CFS scheduling class. Save a pointer to cfs_overload_cpus in the rq for efficient access. Signed-off-by: Steve Sistare --- include/linux/sched/topology.h | 1 +

[PATCH v2 04/10] sched/fair: Dynamically update cfs_overload_cpus

2018-11-05 Thread Steve Sistare
An overloaded CPU has more than 1 runnable task. When a CFS task wakes on a CPU, if h_nr_running transitions from 1 to more, then set the CPU in the cfs_overload_cpus bitmap. When a CFS task sleeps, if h_nr_running transitions from 2 to less, then clear the CPU in cfs_overload_cpus.

[PATCH v2 08/10] sched/fair: Steal work from an overloaded CPU when CPU goes idle

2018-11-05 Thread Steve Sistare
When a CPU has no more CFS tasks to run, and idle_balance() fails to find a task, then attempt to steal a task from an overloaded CPU in the same LLC, using the cfs_overload_cpus bitmap to efficiently identify candidates. To minimize search time, steal the first migratable task that is found when

[PATCH v2 04/10] sched/fair: Dynamically update cfs_overload_cpus

2018-11-05 Thread Steve Sistare
An overloaded CPU has more than 1 runnable task. When a CFS task wakes on a CPU, if h_nr_running transitions from 1 to more, then set the CPU in the cfs_overload_cpus bitmap. When a CFS task sleeps, if h_nr_running transitions from 2 to less, then clear the CPU in cfs_overload_cpus.

[PATCH v2 08/10] sched/fair: Steal work from an overloaded CPU when CPU goes idle

2018-11-05 Thread Steve Sistare
When a CPU has no more CFS tasks to run, and idle_balance() fails to find a task, then attempt to steal a task from an overloaded CPU in the same LLC, using the cfs_overload_cpus bitmap to efficiently identify candidates. To minimize search time, steal the first migratable task that is found when

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