Re: [PATCH v7 12/14] sched/fair: Select an energy-efficient CPU on task wake-up

2018-10-04 Thread Peter Zijlstra
On Wed, Sep 12, 2018 at 10:13:07AM +0100, Quentin Perret wrote: > + while (pd) { > + unsigned long cur_energy, spare_cap, max_spare_cap = 0; > + int max_spare_cap_cpu = -1; > + > + for_each_cpu_and(cpu, perf_domain_span(pd), > sched_domain_span(sd)) {

Re: [PATCH v7 12/14] sched/fair: Select an energy-efficient CPU on task wake-up

2018-10-04 Thread Peter Zijlstra
On Wed, Sep 12, 2018 at 10:13:07AM +0100, Quentin Perret wrote: > + while (pd) { > + unsigned long cur_energy, spare_cap, max_spare_cap = 0; > + int max_spare_cap_cpu = -1; > + > + for_each_cpu_and(cpu, perf_domain_span(pd), > sched_domain_span(sd)) {

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-04 Thread Michal Hocko
On Thu 04-10-18 02:15:38, David Rientjes wrote: > On Thu, 4 Oct 2018, Michal Hocko wrote: > > > > > > > So how about this? (not tested yet but it should be pretty > > > > > > straightforward) > > > > > > > > > > Umm, prctl(PR_GET_THP_DISABLE)? > > > > > > > > /me confused. I thought you want to

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-04 Thread Michal Hocko
On Thu 04-10-18 02:15:38, David Rientjes wrote: > On Thu, 4 Oct 2018, Michal Hocko wrote: > > > > > > > So how about this? (not tested yet but it should be pretty > > > > > > straightforward) > > > > > > > > > > Umm, prctl(PR_GET_THP_DISABLE)? > > > > > > > > /me confused. I thought you want to

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Boris Brezillon
On Wed, 3 Oct 2018 22:26:01 +0530 Vignesh R wrote: > Micron's mt35xu512aba flash is an Octal flash that has x8 IO lines. It > supports read/write over 8 IO lines simulatenously. Add support for > Octal read mode for Micron mt35xu512aba. > Unfortunately, this flash is only complaint to SFDP

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Boris Brezillon
On Wed, 3 Oct 2018 22:26:01 +0530 Vignesh R wrote: > Micron's mt35xu512aba flash is an Octal flash that has x8 IO lines. It > supports read/write over 8 IO lines simulatenously. Add support for > Octal read mode for Micron mt35xu512aba. > Unfortunately, this flash is only complaint to SFDP

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Quentin Perret
On Thursday 04 Oct 2018 at 11:38:48 (+0200), Peter Zijlstra wrote: > On Thu, Oct 04, 2018 at 10:10:48AM +0100, Quentin Perret wrote: > > On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > > > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > > > @@ -288,6

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Quentin Perret
On Thursday 04 Oct 2018 at 11:38:48 (+0200), Peter Zijlstra wrote: > On Thu, Oct 04, 2018 at 10:10:48AM +0100, Quentin Perret wrote: > > On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > > > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > > > @@ -288,6

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* Nadav Amit wrote: > > Another, separate question I wanted to ask: how do we ensure that the > > kernel stays fixed? > > I.e. is there some tooling we can use to actually measure whether there's > > bad inlining decisions > > done, to detect all these bad patterns that cause bad GCC code

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* Nadav Amit wrote: > > Another, separate question I wanted to ask: how do we ensure that the > > kernel stays fixed? > > I.e. is there some tooling we can use to actually measure whether there's > > bad inlining decisions > > done, to detect all these bad patterns that cause bad GCC code

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Rafael J. Wysocki
On Thursday, October 4, 2018 11:36:44 AM CEST Peter Zijlstra wrote: > On Thu, Oct 04, 2018 at 10:47:04AM +0200, Rafael J. Wysocki wrote: > > > > The comment is irrelevant as the remaining function is used for > > > statistics in addition to the perf multiplier. It does exactly what the > > >

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Rafael J. Wysocki
On Thursday, October 4, 2018 11:36:44 AM CEST Peter Zijlstra wrote: > On Thu, Oct 04, 2018 at 10:47:04AM +0200, Rafael J. Wysocki wrote: > > > > The comment is irrelevant as the remaining function is used for > > > statistics in addition to the perf multiplier. It does exactly what the > > >

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-04 Thread Nadav Amit
at 12:37 AM, Peter Zijlstra wrote: > On Wed, Oct 03, 2018 at 09:59:48PM -0700, Nadav Amit wrote: >> This patch proposes to do something different: break >> it into two. One part holds code+data that is needed for the entry >> (trampoline code, entry stack and TSS), which is mapped in the fixmap.

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-04 Thread Nadav Amit
at 12:37 AM, Peter Zijlstra wrote: > On Wed, Oct 03, 2018 at 09:59:48PM -0700, Nadav Amit wrote: >> This patch proposes to do something different: break >> it into two. One part holds code+data that is needed for the entry >> (trampoline code, entry stack and TSS), which is mapped in the fixmap.

Re: drivers binding to device node with multiple compatible strings

2018-10-04 Thread Grant Likely
On 04/10/2018 10:32, Grant Likely wrote: On Fri, Sep 28, 2018 at 10:01 PM Li Yang wrote: On Fri, Sep 28, 2018 at 3:07 PM Rob Herring wrote: On Thu, Sep 27, 2018 at 5:25 PM Li Yang wrote: Hi Rob and Grant, Various device tree specs are recommending to include all the potential

Re: drivers binding to device node with multiple compatible strings

2018-10-04 Thread Grant Likely
On 04/10/2018 10:32, Grant Likely wrote: On Fri, Sep 28, 2018 at 10:01 PM Li Yang wrote: On Fri, Sep 28, 2018 at 3:07 PM Rob Herring wrote: On Thu, Sep 27, 2018 at 5:25 PM Li Yang wrote: Hi Rob and Grant, Various device tree specs are recommending to include all the potential

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:10:48AM +0100, Quentin Perret wrote: > On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > > @@ -288,6 +321,21 @@ static void build_perf_domains(const struct cpumask > > > *cpu_map)

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:10:48AM +0100, Quentin Perret wrote: > On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > > @@ -288,6 +321,21 @@ static void build_perf_domains(const struct cpumask > > > *cpu_map)

[PATCH 2/7] staging: vc04_services: Drop 'connection' field from SERVICE_CREATION_T

2018-10-04 Thread Tuomas Tynkkynen
The connection field of SERVICE_CREATION_T is assigned to but its value is never read. Drop the field and the resulting no longer needed code from bcm2835-audio and bcm2835-camera. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 3 ---

[PATCH 2/7] staging: vc04_services: Drop 'connection' field from SERVICE_CREATION_T

2018-10-04 Thread Tuomas Tynkkynen
The connection field of SERVICE_CREATION_T is assigned to but its value is never read. Drop the field and the resulting no longer needed code from bcm2835-audio and bcm2835-camera. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 3 ---

[PATCH 7/7] staging: vc04_services: Drop no longer needed headers

2018-10-04 Thread Tuomas Tynkkynen
Previously, connection.h was only required for the definition of VCHI_CONNECTION_T, but now all usages of it are gone. Remove this unused header. After connection.h is gone, message.h and vchi_cfg_internal.h are no longer referenced by anything either. Drop them as well. Signed-off-by: Tuomas

[PATCH 5/7] staging: vc04_services: Drop VCHI_SERVICE_INIT and SERVICE_INFO_T

2018-10-04 Thread Tuomas Tynkkynen
These types are not used anywhere, remove them. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/interface/vchi/vchi.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h

[PATCH 7/7] staging: vc04_services: Drop no longer needed headers

2018-10-04 Thread Tuomas Tynkkynen
Previously, connection.h was only required for the definition of VCHI_CONNECTION_T, but now all usages of it are gone. Remove this unused header. After connection.h is gone, message.h and vchi_cfg_internal.h are no longer referenced by anything either. Drop them as well. Signed-off-by: Tuomas

[PATCH 5/7] staging: vc04_services: Drop VCHI_SERVICE_INIT and SERVICE_INFO_T

2018-10-04 Thread Tuomas Tynkkynen
These types are not used anywhere, remove them. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/interface/vchi/vchi.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h

[PATCH 3/7] staging: vc04_services: Drop trivially unused fields from SERVICE_CREATION_T

2018-10-04 Thread Tuomas Tynkkynen
These fields are only initialized with constants and never read. Drop them. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/bcm2835-audio/bcm2835-vchiq.c | 5 - .../staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 5 - drivers/staging/vc04_services/interface/vchi/vchi.h

[PATCH 0/7] staging: vc04_services: Some dead code removal

2018-10-04 Thread Tuomas Tynkkynen
Drop various pieces of dead code from here and there to get rid of the remaining users of VCHI_CONNECTION_T. After that we get to drop entire header files worth of unused code. I've tested on a Raspberry Pi Model B (bcm2835_defconfig) that snd-bcm2835 can still play analog audio just fine.

[PATCH 1/7] staging: vc04_services: Drop pointless stub functions

2018-10-04 Thread Tuomas Tynkkynen
These functions do nothing besides returning NULL and are unused. Just drop them. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/interface/vchi/vchi.h | 11 .../interface/vchiq_arm/vchiq_shim.c | 27 --- 2 files changed, 38 deletions(-) diff --git

[PATCH 0/7] staging: vc04_services: Some dead code removal

2018-10-04 Thread Tuomas Tynkkynen
Drop various pieces of dead code from here and there to get rid of the remaining users of VCHI_CONNECTION_T. After that we get to drop entire header files worth of unused code. I've tested on a Raspberry Pi Model B (bcm2835_defconfig) that snd-bcm2835 can still play analog audio just fine.

[PATCH 1/7] staging: vc04_services: Drop pointless stub functions

2018-10-04 Thread Tuomas Tynkkynen
These functions do nothing besides returning NULL and are unused. Just drop them. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/interface/vchi/vchi.h | 11 .../interface/vchiq_arm/vchiq_shim.c | 27 --- 2 files changed, 38 deletions(-) diff --git

[PATCH 3/7] staging: vc04_services: Drop trivially unused fields from SERVICE_CREATION_T

2018-10-04 Thread Tuomas Tynkkynen
These fields are only initialized with constants and never read. Drop them. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/bcm2835-audio/bcm2835-vchiq.c | 5 - .../staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 5 - drivers/staging/vc04_services/interface/vchi/vchi.h

Re: [GIT PULL] fixes for soc/fsl drivers for v4.19 take 2

2018-10-04 Thread Laurentiu Tudor
Hi Leo, On 02.10.2018 01:58, Li Yang wrote: > Hi arm-soc maintainers, > > Please merge the updated fix for the following issue. > > Regards, > Leo > > The following changes since commit 96fc74333f84cfdf8d434c6c07254e215e2aad00: > >soc: fsl: qe: Fix copy/paste bug in

[PATCH 4/7] staging: vc04_services: Drop declaration of vchi_crc_control()

2018-10-04 Thread Tuomas Tynkkynen
There is no definition for this unused function, so drop its prototype. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/interface/vchi/vchi.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h

[PATCH 6/7] staging: vc04_services: Drop unused parameters from vchi_connect()

2018-10-04 Thread Tuomas Tynkkynen
Remove two parameters which are never used and all where all callers just pass in dummy values anyway. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/bcm2835-audio/bcm2835-vchiq.c | 2 +- .../staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 2 +-

[PATCH 4/7] staging: vc04_services: Drop declaration of vchi_crc_control()

2018-10-04 Thread Tuomas Tynkkynen
There is no definition for this unused function, so drop its prototype. Signed-off-by: Tuomas Tynkkynen --- drivers/staging/vc04_services/interface/vchi/vchi.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h

[PATCH 6/7] staging: vc04_services: Drop unused parameters from vchi_connect()

2018-10-04 Thread Tuomas Tynkkynen
Remove two parameters which are never used and all where all callers just pass in dummy values anyway. Signed-off-by: Tuomas Tynkkynen --- .../vc04_services/bcm2835-audio/bcm2835-vchiq.c | 2 +- .../staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 2 +-

Re: [GIT PULL] fixes for soc/fsl drivers for v4.19 take 2

2018-10-04 Thread Laurentiu Tudor
Hi Leo, On 02.10.2018 01:58, Li Yang wrote: > Hi arm-soc maintainers, > > Please merge the updated fix for the following issue. > > Regards, > Leo > > The following changes since commit 96fc74333f84cfdf8d434c6c07254e215e2aad00: > >soc: fsl: qe: Fix copy/paste bug in

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:47:04AM +0200, Rafael J. Wysocki wrote: > > The comment is irrelevant as the remaining function is used for > > statistics in addition to the perf multiplier. It does exactly what the > > function name is. > > Which is my point. It shouldn't be dropped entirely, but

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:47:04AM +0200, Rafael J. Wysocki wrote: > > The comment is irrelevant as the remaining function is used for > > statistics in addition to the perf multiplier. It does exactly what the > > function name is. > > Which is my point. It shouldn't be dropped entirely, but

Re: [PATCH v2 3/4] x86/asm: Simplify GEN_*_RMWcc() macros

2018-10-04 Thread Peter Zijlstra
On Wed, Oct 03, 2018 at 03:03:00PM +0200, Peter Zijlstra wrote: > +#define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ > +({ \ > + __label__ cc_label; \ >

Re: [PATCH v2 3/4] x86/asm: Simplify GEN_*_RMWcc() macros

2018-10-04 Thread Peter Zijlstra
On Wed, Oct 03, 2018 at 03:03:00PM +0200, Peter Zijlstra wrote: > +#define __GEN_RMWcc(fullop, _var, cc, clobbers, ...) \ > +({ \ > + __label__ cc_label; \ >

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:12:44AM +0200, Daniel Lezcano wrote: > > Hi Peter, > > On 04/10/2018 09:57, Peter Zijlstra wrote: > > On Thu, Oct 04, 2018 at 09:42:07AM +0200, Daniel Lezcano wrote: > >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c > >> index b88a145..5605f03 100644 > >> ---

Re: [PATCH 2/2] cpuidle/drivers/menu: Remove get_loadavg in the performance multiplier

2018-10-04 Thread Peter Zijlstra
On Thu, Oct 04, 2018 at 10:12:44AM +0200, Daniel Lezcano wrote: > > Hi Peter, > > On 04/10/2018 09:57, Peter Zijlstra wrote: > > On Thu, Oct 04, 2018 at 09:42:07AM +0200, Daniel Lezcano wrote: > >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c > >> index b88a145..5605f03 100644 > >> ---

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 11:04 AM Rafael J. Wysocki wrote: > > On Thursday, October 4, 2018 10:58:53 AM CEST Ulf Hansson wrote: > > On 4 October 2018 at 10:39, Rafael J. Wysocki wrote: > > > On Wed, Oct 3, 2018 at 4:39 PM Ulf Hansson wrote: > > >> > > >> I have digested the review comments so

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Rafael J. Wysocki
On Thu, Oct 4, 2018 at 11:04 AM Rafael J. Wysocki wrote: > > On Thursday, October 4, 2018 10:58:53 AM CEST Ulf Hansson wrote: > > On 4 October 2018 at 10:39, Rafael J. Wysocki wrote: > > > On Wed, Oct 3, 2018 at 4:39 PM Ulf Hansson wrote: > > >> > > >> I have digested the review comments so

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Nadav Amit
at 2:12 AM, Ingo Molnar wrote: > > * Nadav Amit wrote: > >> I can run some tests. (@hpa: I thought you asked about the -pipe overhead; >> perhaps I misunderstood). > > Well, tests are unlikely to show the overhead of extra lines of this > magnitude, unless done very carefully, yet the added

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Nadav Amit
at 2:12 AM, Ingo Molnar wrote: > > * Nadav Amit wrote: > >> I can run some tests. (@hpa: I thought you asked about the -pipe overhead; >> perhaps I misunderstood). > > Well, tests are unlikely to show the overhead of extra lines of this > magnitude, unless done very carefully, yet the added

Re: [PATCH v2] kvm: nVMX: fix entry with pending interrupt if APICv is enabled

2018-10-04 Thread Nikita Leshenko
On Wed, 2018-10-03 at 17:26 +0200, Paolo Bonzini wrote: > Commit b5861e5cf2fcf83031ea3e26b0a69d887adf7d21 introduced a check on > the interrupt-window and NMI-window CPU execution controls in order to > inject an external interrupt vmexit before the first guest instruction > executes. However,

Re: [PATCH v2] kvm: nVMX: fix entry with pending interrupt if APICv is enabled

2018-10-04 Thread Nikita Leshenko
On Wed, 2018-10-03 at 17:26 +0200, Paolo Bonzini wrote: > Commit b5861e5cf2fcf83031ea3e26b0a69d887adf7d21 introduced a check on > the interrupt-window and NMI-window CPU execution controls in order to > inject an external interrupt vmexit before the first guest instruction > executes. However,

RE: [PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Vignesh, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Thursday, October 4, 2018 2:52 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org

RE: [PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Vignesh, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Thursday, October 4, 2018 2:52 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org

RE: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Yogesh Narayan Gaur
> -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:56 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org;

RE: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Yogesh Narayan Gaur
> -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:56 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org;

Re: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 09:24:57 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Thursday, October 4, 2018 2:48 PM > > To: Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org;

RE: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:50 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

Re: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 09:24:57 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Thursday, October 4, 2018 2:48 PM > > To: Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org;

RE: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:50 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

Re: [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache

2018-10-04 Thread Clément Péron
Hi, On Thu, 4 Oct 2018 at 11:16, Russell King - ARM Linux wrote: > > On Thu, Oct 04, 2018 at 10:54:15AM +0200, Clément Péron wrote: > > From: Dinh Nguyen > > > > Turn on these ARM and PL310 errata for SoCFPGA: > > > > ARM_ERRATA_754322 > > ARM_ERRATA_764369 > > ARM_ERRATA_775420 > > > >

Re: [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache

2018-10-04 Thread Clément Péron
Hi, On Thu, 4 Oct 2018 at 11:16, Russell King - ARM Linux wrote: > > On Thu, Oct 04, 2018 at 10:54:15AM +0200, Clément Péron wrote: > > From: Dinh Nguyen > > > > Turn on these ARM and PL310 errata for SoCFPGA: > > > > ARM_ERRATA_754322 > > ARM_ERRATA_764369 > > ARM_ERRATA_775420 > > > >

RE: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:48 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

RE: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:48 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

Re: [PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Vignesh R
Hi Yogesh, On Thursday 04 October 2018 02:18 PM, Yogesh Gaur wrote: > Add support for octal mode IO data transfer. > Micron flash, mt35xu512aba, supports octal mode data transfer and > NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). > > Patch series > * Add support for

Re: [PATCH 0/4] spi: add support for octal mode data transfer

2018-10-04 Thread Vignesh R
Hi Yogesh, On Thursday 04 October 2018 02:18 PM, Yogesh Gaur wrote: > Add support for octal mode IO data transfer. > Micron flash, mt35xu512aba, supports octal mode data transfer and > NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). > > Patch series > * Add support for

Re: [PATCH] perf tools: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus

2018-10-04 Thread John Garry
Hi Jirka, Can you please double-check your new patch, as I'm getting this now: root@localhost:~# ./perf_debug record -e armv8_pmuv3_0/br_mis_pred/ sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.001 MB perf.data (6 samples) ] root@localhost:~#

Re: [PATCH] perf tools: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus

2018-10-04 Thread John Garry
Hi Jirka, Can you please double-check your new patch, as I'm getting this now: root@localhost:~# ./perf_debug record -e armv8_pmuv3_0/br_mis_pred/ sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.001 MB perf.data (6 samples) ] root@localhost:~#

Re: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 09:14:36 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Thursday, October 4, 2018 2:35 PM > > To: Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org;

Re: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 09:14:36 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Thursday, October 4, 2018 2:35 PM > > To: Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org;

Re: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 14:18:40 +0530 Yogesh Gaur wrote: > Flash mt35xu512aba connected to FlexSPI controller supports > 1-1-8 protocol. > Added flag spi-rx-bus-width and spi-tx-bus-width with values as > 8 and 1 respectively for both flashes connected at CS0 and CS1. > > Signed-off-by: Yogesh

Re: [PATCH 4/4] arm64: dts: lx2160a: update fspi node

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 14:18:40 +0530 Yogesh Gaur wrote: > Flash mt35xu512aba connected to FlexSPI controller supports > 1-1-8 protocol. > Added flag spi-rx-bus-width and spi-tx-bus-width with values as > 8 and 1 respectively for both flashes connected at CS0 and CS1. > > Signed-off-by: Yogesh

Re: [BUG] sound: pci: trident: a possible data race

2018-10-04 Thread Jia-Ju Bai
On 2018/10/4 13:24, Takashi Iwai wrote: On Thu, 04 Oct 2018 05:08:45 +0200, Jia-Ju Bai wrote: Thanks for the reply :) On 2018/10/3 23:54, Takashi Iwai wrote: On Wed, 03 Oct 2018 14:50:25 +0200, Jia-Ju Bai wrote: CPU0: snd_trident_hw_free snd_trident_free_voice line

Re: [BUG] sound: pci: trident: a possible data race

2018-10-04 Thread Jia-Ju Bai
On 2018/10/4 13:24, Takashi Iwai wrote: On Thu, 04 Oct 2018 05:08:45 +0200, Jia-Ju Bai wrote: Thanks for the reply :) On 2018/10/3 23:54, Takashi Iwai wrote: On Wed, 03 Oct 2018 14:50:25 +0200, Jia-Ju Bai wrote: CPU0: snd_trident_hw_free snd_trident_free_voice line

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread hpa
On October 4, 2018 2:12:22 AM PDT, Ingo Molnar wrote: > >* Nadav Amit wrote: > >> I can run some tests. (@hpa: I thought you asked about the -pipe >overhead; >> perhaps I misunderstood). > >Well, tests are unlikely to show the overhead of extra lines of this >magnitude, unless done very

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread hpa
On October 4, 2018 2:12:22 AM PDT, Ingo Molnar wrote: > >* Nadav Amit wrote: > >> I can run some tests. (@hpa: I thought you asked about the -pipe >overhead; >> perhaps I misunderstood). > >Well, tests are unlikely to show the overhead of extra lines of this >magnitude, unless done very

Re: [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache

2018-10-04 Thread Russell King - ARM Linux
On Thu, Oct 04, 2018 at 10:54:15AM +0200, Clément Péron wrote: > From: Dinh Nguyen > > Turn on these ARM and PL310 errata for SoCFPGA: > > ARM_ERRATA_754322 > ARM_ERRATA_764369 > ARM_ERRATA_775420 > > PL310_ERRATA_588369 > PL310_ERRATA_727915 > PL310_ERRATA_753970 > PL310_ERRATA_769419 > >

Re: [PATCH 3/3] ARM: socfpga: Turn on ARM errata for L2 cache

2018-10-04 Thread Russell King - ARM Linux
On Thu, Oct 04, 2018 at 10:54:15AM +0200, Clément Péron wrote: > From: Dinh Nguyen > > Turn on these ARM and PL310 errata for SoCFPGA: > > ARM_ERRATA_754322 > ARM_ERRATA_764369 > ARM_ERRATA_775420 > > PL310_ERRATA_588369 > PL310_ERRATA_727915 > PL310_ERRATA_753970 > PL310_ERRATA_769419 > >

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* h...@zytor.com wrote: > Ingo: I wasn't talking necessarily about the specifics of each bit, but > rather the general > concept about being able to use macros in inlines... Ok, agreed about that part - and some of the patches did improve readability. Also, the 275 lines macros.s is a lot

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* h...@zytor.com wrote: > Ingo: I wasn't talking necessarily about the specifics of each bit, but > rather the general > concept about being able to use macros in inlines... Ok, agreed about that part - and some of the patches did improve readability. Also, the 275 lines macros.s is a lot

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-04 Thread David Rientjes
On Thu, 4 Oct 2018, Michal Hocko wrote: > > > > > So how about this? (not tested yet but it should be pretty > > > > > straightforward) > > > > > > > > Umm, prctl(PR_GET_THP_DISABLE)? > > > > > > /me confused. I thought you want to query for the flag on a > > > _different_ process. > > > >

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-04 Thread David Rientjes
On Thu, 4 Oct 2018, Michal Hocko wrote: > > > > > So how about this? (not tested yet but it should be pretty > > > > > straightforward) > > > > > > > > Umm, prctl(PR_GET_THP_DISABLE)? > > > > > > /me confused. I thought you want to query for the flag on a > > > _different_ process. > > > >

Re: [PATCH 2/4] mtd: spi-nor: add support for octal mode data transfer

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 14:18:38 +0530 Yogesh Gaur wrote: > Add support for octal mode data transfer for Micron mt35xu512aba. > > Unfortunately, this flash is only complaint to SFDP JESD216B and does > not seem to support newer JESD216C standard that provides auto detection > of Octal mode

Re: [PATCH 2/4] mtd: spi-nor: add support for octal mode data transfer

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 14:18:38 +0530 Yogesh Gaur wrote: > Add support for octal mode data transfer for Micron mt35xu512aba. > > Unfortunately, this flash is only complaint to SFDP JESD216B and does > not seem to support newer JESD216C standard that provides auto detection > of Octal mode

Re: [PATCH] mips: delete duplication of BUILTIN_DTB selection

2018-10-04 Thread Geert Uytterhoeven
On Thu, Oct 4, 2018 at 10:38 AM Sergei Shtylyov wrote: > On 10/3/2018 8:23 PM, Maksym Kokhan wrote: > > CONFIG_BUILTIN_DTB selection is duplicated in menu > > "Machine selection" under MIPS_MALTA. > > > > Fixes: e81a8c7dabac ("MIPS: Malta: Setup RAM regions via DT") > > Signed-off-by: Maksym

RE: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:35 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

RE: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, October 4, 2018 2:35 PM > To: Yogesh Narayan Gaur > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; vigne...@ti.com; > linux-...@vger.kernel.org;

Re: [PATCH] mips: delete duplication of BUILTIN_DTB selection

2018-10-04 Thread Geert Uytterhoeven
On Thu, Oct 4, 2018 at 10:38 AM Sergei Shtylyov wrote: > On 10/3/2018 8:23 PM, Maksym Kokhan wrote: > > CONFIG_BUILTIN_DTB selection is duplicated in menu > > "Machine selection" under MIPS_MALTA. > > > > Fixes: e81a8c7dabac ("MIPS: Malta: Setup RAM regions via DT") > > Signed-off-by: Maksym

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* Nadav Amit wrote: > I can run some tests. (@hpa: I thought you asked about the -pipe overhead; > perhaps I misunderstood). Well, tests are unlikely to show the overhead of extra lines of this magnitude, unless done very carefully, yet the added bloat exists and is not even mentioned by the

Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions

2018-10-04 Thread Ingo Molnar
* Nadav Amit wrote: > I can run some tests. (@hpa: I thought you asked about the -pipe overhead; > perhaps I misunderstood). Well, tests are unlikely to show the overhead of extra lines of this magnitude, unless done very carefully, yet the added bloat exists and is not even mentioned by the

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 08:47:33 + Yogesh Narayan Gaur wrote: > > > > Yogesh, you already sent "spi: add flags for octal I/O data > > transfer" [3] which is only adding the new OCTAL flags but is not > > patching spi.c and spi-mem.c to take those new flags into account. > > Here is my version of

Re: [PATCH 1/3] mtd: spi-nor: Add Octal mode support for mt35xu512aba

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 08:47:33 + Yogesh Narayan Gaur wrote: > > > > Yogesh, you already sent "spi: add flags for octal I/O data > > transfer" [3] which is only adding the new OCTAL flags but is not > > patching spi.c and spi-mem.c to take those new flags into account. > > Here is my version of

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Quentin Perret
On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > @@ -288,6 +321,21 @@ static void build_perf_domains(const struct cpumask > > *cpu_map) > > goto free; > > tmp->next = pd; > >

[PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If __device_suspend() returns early on an error or pending wakeup and the power.direct_complete flag has been set for the device already, the subsequent device_resume() will be confused by it and it will call pm_runtime_enable() incorrectly, as runtime PM has not been

[PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If __device_suspend() returns early on an error or pending wakeup and the power.direct_complete flag has been set for the device already, the subsequent device_resume() will be confused by it and it will call pm_runtime_enable() incorrectly, as runtime PM has not been

Re: [PATCH v7 08/14] sched/topology: Disable EAS on inappropriate platforms

2018-10-04 Thread Quentin Perret
On Wednesday 03 Oct 2018 at 18:27:19 (+0200), Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 10:13:03AM +0100, Quentin Perret wrote: > > @@ -288,6 +321,21 @@ static void build_perf_domains(const struct cpumask > > *cpu_map) > > goto free; > > tmp->next = pd; > >

[PATCH] sched: core: Fix comment regarding nr_iowait_cpu() and get_iowait_load()

2018-10-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The comment related to nr_iowait_cpu() and get_iowait_load() confuses cpufreq with cpuidle and is not very useful for this reason, so fix it. Fixes: e33a9bba85a8 "sched/core: move IO scheduling accounting from io_schedule_timeout() into scheduler" Signed-off-by: Rafael

[PATCH] sched: core: Fix comment regarding nr_iowait_cpu() and get_iowait_load()

2018-10-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The comment related to nr_iowait_cpu() and get_iowait_load() confuses cpufreq with cpuidle and is not very useful for this reason, so fix it. Fixes: e33a9bba85a8 "sched/core: move IO scheduling accounting from io_schedule_timeout() into scheduler" Signed-off-by: Rafael

[PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-04 Thread Linus Walleij
The fixed regulator uses "gpio" (singularis) for the GPIO line but the standard GPIO bindings recommend "gpios" (pluralis). We have augmented the Linux kernel to handle both, so recommend the best practice and deprecate the singularis variant. Cc: devicet...@vger.kernel.org Cc: Leonard Crestez

[PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-04 Thread Linus Walleij
The fixed regulator uses "gpio" (singularis) for the GPIO line but the standard GPIO bindings recommend "gpios" (pluralis). We have augmented the Linux kernel to handle both, so recommend the best practice and deprecate the singularis variant. Cc: devicet...@vger.kernel.org Cc: Leonard Crestez

Re: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Boris Brezillon
Hi Yogesh, On Thu, 4 Oct 2018 14:18:37 +0530 Yogesh Gaur wrote: > Add flags for Octal I/O data transfer > Required for the SPI controller which can do the data transfer (TX/RX) > on 8 data lines e.g. NXP FlexSPI controller. > SPI_TX_OCTAL: transmit with 8 wires > SPI_RX_OCTAL: receive with 8

Re: [PATCH 1/4] spi: add support for octal I/O data transfer

2018-10-04 Thread Boris Brezillon
Hi Yogesh, On Thu, 4 Oct 2018 14:18:37 +0530 Yogesh Gaur wrote: > Add flags for Octal I/O data transfer > Required for the SPI controller which can do the data transfer (TX/RX) > on 8 data lines e.g. NXP FlexSPI controller. > SPI_TX_OCTAL: transmit with 8 wires > SPI_RX_OCTAL: receive with 8

Re: [PATCH v9 00/11] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM) (a subset)

2018-10-04 Thread Rafael J. Wysocki
On Thursday, October 4, 2018 10:58:53 AM CEST Ulf Hansson wrote: > On 4 October 2018 at 10:39, Rafael J. Wysocki wrote: > > On Wed, Oct 3, 2018 at 4:39 PM Ulf Hansson wrote: > >> > >> I have digested the review comments so far, including a recent offlist chat > >> with with Lorenzo Pieralisi

Re: [PATCH v5 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-10-04 Thread Juri Lelli
On 03/10/18 15:42, Steven Rostedt wrote: > On Mon, 3 Sep 2018 16:28:00 +0200 > Juri Lelli wrote: > > > > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > > index 5b43f482fa0f..8dc26005bb1e 100644 > > --- a/kernel/cgroup/cpuset.c > > +++ b/kernel/cgroup/cpuset.c > > @@ -2410,6

<    6   7   8   9   10   11   12   13   14   >