Re: [PATCH v2] mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states

2018-07-05 Thread Stefan Agner
On 05.07.2018 15:10, Ulf Hansson wrote: > On 4 July 2018 at 17:07, Stefan Agner wrote: >> If pinctrl nodes for 100/200MHz are missing, the controller should >> not select any mode which need signal frequencies 100MHz or higher. >> To prevent such speed modes the driver currently uses the quirk

Re: [PATCH v2] mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states

2018-07-05 Thread Stefan Agner
On 05.07.2018 15:10, Ulf Hansson wrote: > On 4 July 2018 at 17:07, Stefan Agner wrote: >> If pinctrl nodes for 100/200MHz are missing, the controller should >> not select any mode which need signal frequencies 100MHz or higher. >> To prevent such speed modes the driver currently uses the quirk

[PATCH v4 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-07-05 Thread Faiz Abbas
The ti-sysc driver provides support for manipulating the idle modes and interconnect level resets. Add the generic interconnect target module node for MCAN to support the same. CC: Tony Lindgren Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 18 ++ 1 file

[PATCH v4 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-07-05 Thread Faiz Abbas
The ti-sysc driver provides support for manipulating the idle modes and interconnect level resets. Add the generic interconnect target module node for MCAN to support the same. CC: Tony Lindgren Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 18 ++ 1 file

[PATCH v4 4/6] bus: ti-sysc: Add support for software reset

2018-07-05 Thread Faiz Abbas
Add support for the software reset of a target interconnect module using its sysconfig and sysstatus registers. Signed-off-by: Faiz Abbas --- drivers/bus/ti-sysc.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/bus/ti-sysc.c

[PATCH v4 4/6] bus: ti-sysc: Add support for software reset

2018-07-05 Thread Faiz Abbas
Add support for the software reset of a target interconnect module using its sysconfig and sysstatus registers. Signed-off-by: Faiz Abbas --- drivers/bus/ti-sysc.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/bus/ti-sysc.c

[PATCH v4 2/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-07-05 Thread Faiz Abbas
Add clkctrl data for the m_can clocks and register it within the clkctrl driver Acked-by: Rob Herring CC: Tero Kristo Signed-off-by: Faiz Abbas --- drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/clock/dra7.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH v4 6/6] ARM: dts: dra76x: Add MCAN node

2018-07-05 Thread Faiz Abbas
From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76-evm.dts | 6 ++

[PATCH v4 2/6] clk: ti: dra7: Add clkctrl clock data for the mcan clocks

2018-07-05 Thread Faiz Abbas
Add clkctrl data for the m_can clocks and register it within the clkctrl driver Acked-by: Rob Herring CC: Tero Kristo Signed-off-by: Faiz Abbas --- drivers/clk/ti/clk-7xx.c | 1 + include/dt-bindings/clock/dra7.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH v4 6/6] ARM: dts: dra76x: Add MCAN node

2018-07-05 Thread Faiz Abbas
From: Franklin S Cooper Jr Add support for the MCAN peripheral which supports both classic CAN messages along with the new CAN-FD message. Add MCAN node to evm and enable it with a maximum datarate of 5 mbps Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76-evm.dts | 6 ++

[PATCH v4 3/6] bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

2018-07-05 Thread Faiz Abbas
The dra76x MCAN generic interconnect module has a its own format for the bits in the control registers. Therefore add a new module type, new regbits and new capabilities specific to the MCAN module. Acked-by: Rob Herring CC: Tony Lindgren Signed-off-by: Faiz Abbas ---

Re: [PATCH 2/2] tools/memory-model: Add write ordering by release-acquire and by locks

2018-07-05 Thread Alan Stern
On Wed, 4 Jul 2018, Will Deacon wrote: > Hi Alan, > > On Tue, Jul 03, 2018 at 01:28:17PM -0400, Alan Stern wrote: > > On Mon, 25 Jun 2018, Andrea Parri wrote: > > > > > On Fri, Jun 22, 2018 at 07:30:08PM +0100, Will Deacon wrote: > > > > > > I think the second example would preclude us using

[PATCH v4 1/6] ARM: dts: dra762: Add MCAN clock support

2018-07-05 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

Re: [PATCH 2/2] tools/memory-model: Add write ordering by release-acquire and by locks

2018-07-05 Thread Alan Stern
On Wed, 4 Jul 2018, Will Deacon wrote: > Hi Alan, > > On Tue, Jul 03, 2018 at 01:28:17PM -0400, Alan Stern wrote: > > On Mon, 25 Jun 2018, Andrea Parri wrote: > > > > > On Fri, Jun 22, 2018 at 07:30:08PM +0100, Will Deacon wrote: > > > > > > I think the second example would preclude us using

[PATCH v4 1/6] ARM: dts: dra762: Add MCAN clock support

2018-07-05 Thread Faiz Abbas
From: Lokesh Vutla MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other DPLL dividers this DPLL_GMAC H14 divider is controlled by control module. Adding support for these clocks. Signed-off-by: Lokesh Vutla Signed-off-by: Faiz Abbas --- arch/arm/boot/dts/dra76x.dtsi | 33

[PATCH v4 3/6] bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

2018-07-05 Thread Faiz Abbas
The dra76x MCAN generic interconnect module has a its own format for the bits in the control registers. Therefore add a new module type, new regbits and new capabilities specific to the MCAN module. Acked-by: Rob Herring CC: Tony Lindgren Signed-off-by: Faiz Abbas ---

Re: [PATCH 06/19] mmc: mmci: add variant properties to define cpsm & cmdresp bits

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds command variant properties to define > cpsm enable bit and responses. > Needed to support the STM32 variant (shift of cpsm bit, > specific definition of commands response). > > Signed-off-by: Ludovic Barre

Re: [PATCH 06/19] mmc: mmci: add variant properties to define cpsm & cmdresp bits

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds command variant properties to define > cpsm enable bit and responses. > Needed to support the STM32 variant (shift of cpsm bit, > specific definition of commands response). > > Signed-off-by: Ludovic Barre

Re: [PATCH] c6x: switch to NO_BOOTMEM

2018-07-05 Thread Mark Salter
On Wed, 2018-07-04 at 16:25 +0300, Mike Rapoport wrote: > Any comments on this? > > On Wed, Jun 27, 2018 at 03:09:20PM +0300, Mike Rapoport wrote: > > The c6x is already using memblock and does most of early memory > > reservations with it, so it was only a matter of removing the bootmem > >

Re: [PATCH] c6x: switch to NO_BOOTMEM

2018-07-05 Thread Mark Salter
On Wed, 2018-07-04 at 16:25 +0300, Mike Rapoport wrote: > Any comments on this? > > On Wed, Jun 27, 2018 at 03:09:20PM +0300, Mike Rapoport wrote: > > The c6x is already using memblock and does most of early memory > > reservations with it, so it was only a matter of removing the bootmem > >

Re: [PATCH v2 5/6] mm: track gup pages with page->dma_pinned_* fields

2018-07-05 Thread Christopher Lameter
On Wed, 4 Jul 2018, Jan Kara wrote: > > So this seems unsolvable without having the caller specify that it knows the > > page type, and that it is therefore safe to decrement > > page->dma_pinned_count. > > I was hoping I'd found a way, but clearly I haven't. :) > > Well, I think the

Re: [PATCH v2 5/6] mm: track gup pages with page->dma_pinned_* fields

2018-07-05 Thread Christopher Lameter
On Wed, 4 Jul 2018, Jan Kara wrote: > > So this seems unsolvable without having the caller specify that it knows the > > page type, and that it is therefore safe to decrement > > page->dma_pinned_count. > > I was hoping I'd found a way, but clearly I haven't. :) > > Well, I think the

Re: [PATCHv4 11/12] sched/core: Disable SD_ASYM_CPUCAPACITY for root_domains without asymmetry

2018-07-05 Thread Morten Rasmussen
On Thu, Jul 05, 2018 at 02:31:43PM +0100, Quentin Perret wrote: > Hi Morten, > > On Wednesday 04 Jul 2018 at 11:17:49 (+0100), Morten Rasmussen wrote: > > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > > index 71330e0e41db..29c186961345 100644 > > --- a/kernel/sched/topology.c >

Re: [PATCHv4 11/12] sched/core: Disable SD_ASYM_CPUCAPACITY for root_domains without asymmetry

2018-07-05 Thread Morten Rasmussen
On Thu, Jul 05, 2018 at 02:31:43PM +0100, Quentin Perret wrote: > Hi Morten, > > On Wednesday 04 Jul 2018 at 11:17:49 (+0100), Morten Rasmussen wrote: > > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > > index 71330e0e41db..29c186961345 100644 > > --- a/kernel/sched/topology.c >

RE: Weird SysRq's during reboot

2018-07-05 Thread Alan
Panic over. It seems that my OnApp control server, when it loses contact with a compute node, sends an snmptrap command to force a reboot of that node. The trap script on the server uses sysrq-trigger, first "s", then "u", then "b". Please accept my apologies if you wasted any time on this.

RE: Weird SysRq's during reboot

2018-07-05 Thread Alan
Panic over. It seems that my OnApp control server, when it loses contact with a compute node, sends an snmptrap command to force a reboot of that node. The trap script on the server uses sysrq-trigger, first "s", then "u", then "b". Please accept my apologies if you wasted any time on this.

Re: [PATCH 2/2] tools/memory-model: Add write ordering by release-acquire and by locks

2018-07-05 Thread Andrea Parri
On Wed, Jul 04, 2018 at 01:11:04PM +0100, Will Deacon wrote: > Hi Alan, > > On Tue, Jul 03, 2018 at 01:28:17PM -0400, Alan Stern wrote: > > On Mon, 25 Jun 2018, Andrea Parri wrote: > > > > > On Fri, Jun 22, 2018 at 07:30:08PM +0100, Will Deacon wrote: > > > > > > I think the second example would

Re: [PATCH 2/2] tools/memory-model: Add write ordering by release-acquire and by locks

2018-07-05 Thread Andrea Parri
On Wed, Jul 04, 2018 at 01:11:04PM +0100, Will Deacon wrote: > Hi Alan, > > On Tue, Jul 03, 2018 at 01:28:17PM -0400, Alan Stern wrote: > > On Mon, 25 Jun 2018, Andrea Parri wrote: > > > > > On Fri, Jun 22, 2018 at 07:30:08PM +0100, Will Deacon wrote: > > > > > > I think the second example would

Re: [REGRESSION 4.17] Spurious wakeup / reboot with power button

2018-07-05 Thread Thomas Hänig
Am 05.07.2018 um 14:12 schrieb Takashi Iwai: > On Thu, 05 Jul 2018 12:41:03 +0200, > Rafael J. Wysocki wrote: >> >> On Thursday, July 5, 2018 11:50:11 AM CEST Takashi Iwai wrote: >>> On Thu, 05 Jul 2018 11:34:59 +0200, >>> Rafael J. Wysocki wrote: Hi, On Thu, Jul 5, 2018 at

Re: [REGRESSION 4.17] Spurious wakeup / reboot with power button

2018-07-05 Thread Thomas Hänig
Am 05.07.2018 um 14:12 schrieb Takashi Iwai: > On Thu, 05 Jul 2018 12:41:03 +0200, > Rafael J. Wysocki wrote: >> >> On Thursday, July 5, 2018 11:50:11 AM CEST Takashi Iwai wrote: >>> On Thu, 05 Jul 2018 11:34:59 +0200, >>> Rafael J. Wysocki wrote: Hi, On Thu, Jul 5, 2018 at

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread xunlei
On 7/5/18 9:42 PM, Peter Zijlstra wrote: > On Thu, Jul 05, 2018 at 09:21:15PM +0800, Xunlei Pang wrote: >> On 7/5/18 6:46 PM, Peter Zijlstra wrote: >>> On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: tick-based whole utime is utime_0, tick-based whole stime is stime_0,

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread xunlei
On 7/5/18 9:42 PM, Peter Zijlstra wrote: > On Thu, Jul 05, 2018 at 09:21:15PM +0800, Xunlei Pang wrote: >> On 7/5/18 6:46 PM, Peter Zijlstra wrote: >>> On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: tick-based whole utime is utime_0, tick-based whole stime is stime_0,

[PATCH v2 1/2] slimbus: stream: add stream support

2018-07-05 Thread Srinivas Kandagatla
This patch adds support to SLIMbus stream apis for slimbus device. SLIMbus streaming involves adding support to Data Channel Management and channel Reconfiguration Messages to slim core plus few stream apis. >From slim device side the apis are very simple mostly inline with other stream apis.

[PATCH v2 2/2] slimbus: ngd: add stream support

2018-07-05 Thread Srinivas Kandagatla
This patch adds support to stream support, this involve implementing user specific implementation of Data channel management and channel management SLIMbus messages. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 149 +++- 1 file

[PATCH v2 1/2] slimbus: stream: add stream support

2018-07-05 Thread Srinivas Kandagatla
This patch adds support to SLIMbus stream apis for slimbus device. SLIMbus streaming involves adding support to Data Channel Management and channel Reconfiguration Messages to slim core plus few stream apis. >From slim device side the apis are very simple mostly inline with other stream apis.

[PATCH v2 2/2] slimbus: ngd: add stream support

2018-07-05 Thread Srinivas Kandagatla
This patch adds support to stream support, this involve implementing user specific implementation of Data channel management and channel management SLIMbus messages. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 149 +++- 1 file

[PATCH v2 0/2] slimbus: Add Stream Support

2018-07-05 Thread Srinivas Kandagatla
Thanks to Vinod and Stephen for reviewing v1 patchset This v2 patchset adds basic stream support for SLIMbus devices and controllers. Mostly inspired by soundwire stream patches. But slimbus stream is much simpler compared to soundwire >From slim_device side, we have below 6 new apis.

[PATCH v2 0/2] slimbus: Add Stream Support

2018-07-05 Thread Srinivas Kandagatla
Thanks to Vinod and Stephen for reviewing v1 patchset This v2 patchset adds basic stream support for SLIMbus devices and controllers. Mostly inspired by soundwire stream patches. But slimbus stream is much simpler compared to soundwire >From slim_device side, we have below 6 new apis.

Re: [PATCH v2 1/1] mmc: sunxi: Disable irq during pm_suspend

2018-07-05 Thread Marc Zyngier
On 05/07/18 13:07, Ulf Hansson wrote: > On 5 July 2018 at 13:40, Marc Zyngier wrote: >> On 05/07/18 12:12, Ulf Hansson wrote: >>> On 4 July 2018 at 22:29, Marc Zyngier wrote: On Wed, 4 Jul 2018 15:34:36 +0200 Ulf Hansson wrote: > On 4 July 2018 at 13:34, Marc Zyngier wrote:

Re: [PATCH v2 1/1] mmc: sunxi: Disable irq during pm_suspend

2018-07-05 Thread Marc Zyngier
On 05/07/18 13:07, Ulf Hansson wrote: > On 5 July 2018 at 13:40, Marc Zyngier wrote: >> On 05/07/18 12:12, Ulf Hansson wrote: >>> On 4 July 2018 at 22:29, Marc Zyngier wrote: On Wed, 4 Jul 2018 15:34:36 +0200 Ulf Hansson wrote: > On 4 July 2018 at 13:34, Marc Zyngier wrote:

Re: [PATCHv3 0/5] pinctrl fixes for generic functions and groups

2018-07-05 Thread Andy Shevchenko
On Thu, Jul 5, 2018 at 12:10 PM, Tony Lindgren wrote: > Here is a resend of fixes for a race issues for generic group and > functions reported by H. Nikolaus Schaller . > Reviewed-by: Andy Shevchenko I think for ACPI case we would use generic helpers, so this change is quite useful to not

Re: [PATCH 10/19] mmc: mmci: add variant property to allow remain data

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds a boolean property to read remaining data. > Needed to support the STM32 sdmmc variant. MMCIDATACNT > register should be read only after the data transfer is complete. > When reading after an error event the

Re: [PATCHv3 0/5] pinctrl fixes for generic functions and groups

2018-07-05 Thread Andy Shevchenko
On Thu, Jul 5, 2018 at 12:10 PM, Tony Lindgren wrote: > Here is a resend of fixes for a race issues for generic group and > functions reported by H. Nikolaus Schaller . > Reviewed-by: Andy Shevchenko I think for ACPI case we would use generic helpers, so this change is quite useful to not

Re: [PATCH 10/19] mmc: mmci: add variant property to allow remain data

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds a boolean property to read remaining data. > Needed to support the STM32 sdmmc variant. MMCIDATACNT > register should be read only after the data transfer is complete. > When reading after an error event the

Re: [PATCH] KVM: Switch 'requests' to be 64-bit (explicitly)

2018-07-05 Thread Mark Rutland
On Sun, Apr 15, 2018 at 12:26:44AM +0200, KarimAllah Ahmed wrote: > Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to > use the size of "requests" instead of the hard-coded '32'. > > That gives us a bit more room again for arch-specific requests as we > already ran out of

Re: [PATCH] KVM: Switch 'requests' to be 64-bit (explicitly)

2018-07-05 Thread Mark Rutland
On Sun, Apr 15, 2018 at 12:26:44AM +0200, KarimAllah Ahmed wrote: > Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to > use the size of "requests" instead of the hard-coded '32'. > > That gives us a bit more room again for arch-specific requests as we > already ran out of

Re: [PATCH] perf: disable parallelism for 'make clean'

2018-07-05 Thread Jiri Olsa
On Thu, Jul 05, 2018 at 03:15:27PM +0200, Rasmus Villemoes wrote: > The Yocto build system does a 'make clean' when rebuilding due to > changed dependencies, and that consistently fails for me (causing the > whole BSP build to fail) with errors such as > > | find:

Re: [PATCH] perf: disable parallelism for 'make clean'

2018-07-05 Thread Jiri Olsa
On Thu, Jul 05, 2018 at 03:15:27PM +0200, Rasmus Villemoes wrote: > The Yocto build system does a 'make clean' when rebuilding due to > changed dependencies, and that consistently fails for me (causing the > whole BSP build to fail) with errors such as > > | find:

Re: [PATCH 05/19] mmc: mmci: allow to overwrite clock/power procedure to specific variant

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > A specific variant could have different power or clock procedures. > This patch allows to overwrite the default mmci_set_clkreg and > mmci_set_pwrreg for a specific variant. > > Signed-off-by: Ludovic Barre > --- >

Re: [PATCH 05/19] mmc: mmci: allow to overwrite clock/power procedure to specific variant

2018-07-05 Thread Ulf Hansson
On 12 June 2018 at 15:14, Ludovic Barre wrote: > From: Ludovic Barre > > A specific variant could have different power or clock procedures. > This patch allows to overwrite the default mmci_set_clkreg and > mmci_set_pwrreg for a specific variant. > > Signed-off-by: Ludovic Barre > --- >

[PATCH] parport: ieee1284: mark expected switch fall-throughs

2018-07-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/parport/ieee1284.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/parport/ieee1284.c

[PATCH] parport: ieee1284: mark expected switch fall-throughs

2018-07-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/parport/ieee1284.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/parport/ieee1284.c

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread Peter Zijlstra
On Thu, Jul 05, 2018 at 09:21:15PM +0800, Xunlei Pang wrote: > On 7/5/18 6:46 PM, Peter Zijlstra wrote: > > On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: > >> tick-based whole utime is utime_0, tick-based whole stime > >> is stime_0, scheduler time is rtime_0. > > > >> For a long

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread Peter Zijlstra
On Thu, Jul 05, 2018 at 09:21:15PM +0800, Xunlei Pang wrote: > On 7/5/18 6:46 PM, Peter Zijlstra wrote: > > On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: > >> tick-based whole utime is utime_0, tick-based whole stime > >> is stime_0, scheduler time is rtime_0. > > > >> For a long

Re: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit

2018-07-05 Thread Zong Li
Palmer Dabbelt 於 2018年7月5日 週四 上午4:58寫道: > > On Fri, 29 Jun 2018 09:53:49 PDT (-0700), zong...@gmail.com wrote: > > Christoph Hellwig 於 2018年6月29日 週五 下午3:12寫道: > >> > >> On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote: > >> > Use generic marco to get the index and type of symbol. > >> >

Re: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit

2018-07-05 Thread Zong Li
Palmer Dabbelt 於 2018年7月5日 週四 上午4:58寫道: > > On Fri, 29 Jun 2018 09:53:49 PDT (-0700), zong...@gmail.com wrote: > > Christoph Hellwig 於 2018年6月29日 週五 下午3:12寫道: > >> > >> On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote: > >> > Use generic marco to get the index and type of symbol. > >> >

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-05 Thread Dave Hansen
On 07/02/2018 01:29 PM, Pavel Tatashin wrote: > On Mon, Jul 2, 2018 at 4:00 PM Dave Hansen wrote: >>> + unsigned long size = sizeof(struct page) * PAGES_PER_SECTION; >>> + unsigned long pnum, map_index = 0; >>> + void *vmemmap_buf_start; >>> + >>> + size = ALIGN(size, PMD_SIZE) *

Re: [PATCH v3 1/2] mm/sparse: add sparse_init_nid()

2018-07-05 Thread Dave Hansen
On 07/02/2018 01:29 PM, Pavel Tatashin wrote: > On Mon, Jul 2, 2018 at 4:00 PM Dave Hansen wrote: >>> + unsigned long size = sizeof(struct page) * PAGES_PER_SECTION; >>> + unsigned long pnum, map_index = 0; >>> + void *vmemmap_buf_start; >>> + >>> + size = ALIGN(size, PMD_SIZE) *

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Vincent Guittot
Hi Peter On Thu, 5 Jul 2018 at 14:36, Peter Zijlstra wrote: > > > OK, this looks good I suppose. Rafael, are you OK with me taking these? > > I have the below on top because I once again forgot how it all worked; > does this work for you Vincent? Yes looks good to me Thanks > > --- >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Vincent Guittot
Hi Peter On Thu, 5 Jul 2018 at 14:36, Peter Zijlstra wrote: > > > OK, this looks good I suppose. Rafael, are you OK with me taking these? > > I have the below on top because I once again forgot how it all worked; > does this work for you Vincent? Yes looks good to me Thanks > > --- >

Re: [PATCHv4 11/12] sched/core: Disable SD_ASYM_CPUCAPACITY for root_domains without asymmetry

2018-07-05 Thread Quentin Perret
Hi Morten, On Wednesday 04 Jul 2018 at 11:17:49 (+0100), Morten Rasmussen wrote: > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > index 71330e0e41db..29c186961345 100644 > --- a/kernel/sched/topology.c > +++ b/kernel/sched/topology.c > @@ -1160,6 +1160,26 @@ sd_init(struct

Re: [PATCHv4 11/12] sched/core: Disable SD_ASYM_CPUCAPACITY for root_domains without asymmetry

2018-07-05 Thread Quentin Perret
Hi Morten, On Wednesday 04 Jul 2018 at 11:17:49 (+0100), Morten Rasmussen wrote: > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > index 71330e0e41db..29c186961345 100644 > --- a/kernel/sched/topology.c > +++ b/kernel/sched/topology.c > @@ -1160,6 +1160,26 @@ sd_init(struct

Re: [PATCH v6 21/21] s390: doc: detailed specifications for AP virtualization

2018-07-05 Thread Tony Krowiak
On 07/04/2018 12:31 PM, Boris Fiuczynski wrote: On 07/03/2018 06:36 PM, Tony Krowiak wrote: On 07/02/2018 07:10 PM, Halil Pasic wrote: On 06/29/2018 11:11 PM, Tony Krowiak wrote: This patch provides documentation describing the AP architecture and design concepts behind the virtualization

Re: [PATCH v6 21/21] s390: doc: detailed specifications for AP virtualization

2018-07-05 Thread Tony Krowiak
On 07/04/2018 12:31 PM, Boris Fiuczynski wrote: On 07/03/2018 06:36 PM, Tony Krowiak wrote: On 07/02/2018 07:10 PM, Halil Pasic wrote: On 06/29/2018 11:11 PM, Tony Krowiak wrote: This patch provides documentation describing the AP architecture and design concepts behind the virtualization

Re: [PATCHv3 0/5] pinctrl fixes for generic functions and groups

2018-07-05 Thread H. Nikolaus Schaller
Hi Tony and Linus, > Am 05.07.2018 um 11:10 schrieb Tony Lindgren : > > Here is a resend of fixes for a race issues for generic group and > functions reported by H. Nikolaus Schaller . Thanks for adding me. I have tested these patches on our OMAP3 based device where the problem was quite

Re: [PATCHv3 0/5] pinctrl fixes for generic functions and groups

2018-07-05 Thread H. Nikolaus Schaller
Hi Tony and Linus, > Am 05.07.2018 um 11:10 schrieb Tony Lindgren : > > Here is a resend of fixes for a race issues for generic group and > functions reported by H. Nikolaus Schaller . Thanks for adding me. I have tested these patches on our OMAP3 based device where the problem was quite

Re: [PATCH] arm64: dts: marvell: fix CP110 ICU node size

2018-07-05 Thread Gregory CLEMENT
Hi, On jeu., juil. 05 2018, Gregory CLEMENT wrote: > Hi Miquel, > > On jeu., juil. 05 2018, Miquel Raynal wrote: > >> commit 2f872ddcdb1e8e2186162616cea4581b8403849d upstream. >> >> ICU size in CP110 is not 0x10 but at least 0x440 bytes long (from the >> specification). >> >> Fixes:

Re: [PATCH] arm64: dts: marvell: fix CP110 ICU node size

2018-07-05 Thread Gregory CLEMENT
Hi, On jeu., juil. 05 2018, Gregory CLEMENT wrote: > Hi Miquel, > > On jeu., juil. 05 2018, Miquel Raynal wrote: > >> commit 2f872ddcdb1e8e2186162616cea4581b8403849d upstream. >> >> ICU size in CP110 is not 0x10 but at least 0x440 bytes long (from the >> specification). >> >> Fixes:

Re: [PATCH] sched/fair: Avoid divide by zero when rebalancing domains

2018-07-05 Thread Matt Fleming
On Thu, 05 Jul, at 11:10:42AM, Valentin Schneider wrote: > Hi, > > On 04/07/18 15:24, Matt Fleming wrote: > > It's possible that the CPU doing nohz idle balance hasn't had its own > > load updated for many seconds. This can lead to huge deltas between > > rq->avg_stamp and rq->clock when

Re: [PATCH] sched/fair: Avoid divide by zero when rebalancing domains

2018-07-05 Thread Matt Fleming
On Thu, 05 Jul, at 11:10:42AM, Valentin Schneider wrote: > Hi, > > On 04/07/18 15:24, Matt Fleming wrote: > > It's possible that the CPU doing nohz idle balance hasn't had its own > > load updated for many seconds. This can lead to huge deltas between > > rq->avg_stamp and rq->clock when

[PATCH] Input: i8042 - add Lenovo LaVie Z to the i8042 reset list

2018-07-05 Thread Chen-Yu Tsai
The Lenovo LaVie Z laptop requires i8042 to be reset in order to consistently detect its Elantech touchpad. The nomux and kbdreset quirks are not sufficient. It's possible the other LaVie Z models from NEC require this as well. Cc: sta...@vger.kernel.org Signed-off-by: Chen-Yu Tsai ---

[PATCH] Input: i8042 - add Lenovo LaVie Z to the i8042 reset list

2018-07-05 Thread Chen-Yu Tsai
The Lenovo LaVie Z laptop requires i8042 to be reset in order to consistently detect its Elantech touchpad. The nomux and kbdreset quirks are not sufficient. It's possible the other LaVie Z models from NEC require this as well. Cc: sta...@vger.kernel.org Signed-off-by: Chen-Yu Tsai ---

Re: [PATCH] arm64: dts: marvell: fix CP110 ICU node size

2018-07-05 Thread Gregory CLEMENT
Hi Miquel, On jeu., juil. 05 2018, Miquel Raynal wrote: > commit 2f872ddcdb1e8e2186162616cea4581b8403849d upstream. > > ICU size in CP110 is not 0x10 but at least 0x440 bytes long (from the > specification). > > Fixes: 6ef84a827c37 ("arm64: dts: marvell: enable GICP and ICU on Armada >

Re: [PATCH] arm64: dts: marvell: fix CP110 ICU node size

2018-07-05 Thread Gregory CLEMENT
Hi Miquel, On jeu., juil. 05 2018, Miquel Raynal wrote: > commit 2f872ddcdb1e8e2186162616cea4581b8403849d upstream. > > ICU size in CP110 is not 0x10 but at least 0x440 bytes long (from the > specification). > > Fixes: 6ef84a827c37 ("arm64: dts: marvell: enable GICP and ICU on Armada >

Re: [lkp-robot] [sched/fair] fbd5188493: WARNING:inconsistent_lock_state

2018-07-05 Thread Matt Fleming
On Thu, 05 Jul, at 11:52:21AM, Dietmar Eggemann wrote: > > Moving the code from _nohz_idle_balance to nohz_idle_balance let it disappear: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 02be51c9dcc1..070924f07c68 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c >

Re: [lkp-robot] [sched/fair] fbd5188493: WARNING:inconsistent_lock_state

2018-07-05 Thread Matt Fleming
On Thu, 05 Jul, at 11:52:21AM, Dietmar Eggemann wrote: > > Moving the code from _nohz_idle_balance to nohz_idle_balance let it disappear: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 02be51c9dcc1..070924f07c68 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c >

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread Xunlei Pang
On 7/5/18 6:46 PM, Peter Zijlstra wrote: > On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: >> tick-based whole utime is utime_0, tick-based whole stime >> is stime_0, scheduler time is rtime_0. > >> For a long time, the process runs mainly in userspace with >> run-sleep patterns,

Re: [PATCH] sched/cputime: Ensure correct utime and stime proportion

2018-07-05 Thread Xunlei Pang
On 7/5/18 6:46 PM, Peter Zijlstra wrote: > On Wed, Jun 27, 2018 at 08:22:42PM +0800, Xunlei Pang wrote: >> tick-based whole utime is utime_0, tick-based whole stime >> is stime_0, scheduler time is rtime_0. > >> For a long time, the process runs mainly in userspace with >> run-sleep patterns,

[PATCH v12 2/2] Add the missing information for the oom report

2018-07-05 Thread ufo19890607
From: yuzhoujian The current oom report doesn't display victim's memcg context during the global OOM situation. While this information is not strictly needed, it can be really helpful for containerized environments to locate which container has lost a process. Now that we have a single line for

[PATCH v12 1/2] Reorganize the oom report in dump_header

2018-07-05 Thread ufo19890607
From: yuzhoujian OOM report contains several sections. The first one is the allocation context that has triggered the OOM. Then we have cpuset context followed by the stack trace of the OOM path. Followed by the oom eligible tasks and the information about the chosen oom victim. One thing that

[PATCH v12 2/2] Add the missing information for the oom report

2018-07-05 Thread ufo19890607
From: yuzhoujian The current oom report doesn't display victim's memcg context during the global OOM situation. While this information is not strictly needed, it can be really helpful for containerized environments to locate which container has lost a process. Now that we have a single line for

[PATCH v12 1/2] Reorganize the oom report in dump_header

2018-07-05 Thread ufo19890607
From: yuzhoujian OOM report contains several sections. The first one is the allocation context that has triggered the OOM. Then we have cpuset context followed by the stack trace of the OOM path. Followed by the oom eligible tasks and the information about the chosen oom victim. One thing that

[PATCH] perf: disable parallelism for 'make clean'

2018-07-05 Thread Rasmus Villemoes
The Yocto build system does a 'make clean' when rebuilding due to changed dependencies, and that consistently fails for me (causing the whole BSP build to fail) with errors such as | find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory | find:

[PATCH] perf: disable parallelism for 'make clean'

2018-07-05 Thread Rasmus Villemoes
The Yocto build system does a 'make clean' when rebuilding due to changed dependencies, and that consistently fails for me (causing the whole BSP build to fail) with errors such as | find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory | find:

[PATCH] nvme-rdma: mark expected switch fall-through

2018-07-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/nvme/host/rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index

[PATCH] nvme-rdma: mark expected switch fall-through

2018-07-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/nvme/host/rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index

Re: [PATCH] mmc: sdhci-of-dwcmshc: add SDHCI OF Synopsys DWC MSHC dirver

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 11:45, Jisheng Zhang wrote: > Add a driver for SDHCI OF Synopsys DesignWare Cores Mobile Storage > Host Controller. > > Signed-off-by: Jisheng Zhang > --- > .../bindings/mmc/sdhci-of-dwcmshc.txt | 20 +++ Please split DT docs into separate patches. Ehh, just make

Re: [PATCH] mmc: sdhci-of-dwcmshc: add SDHCI OF Synopsys DWC MSHC dirver

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 11:45, Jisheng Zhang wrote: > Add a driver for SDHCI OF Synopsys DesignWare Cores Mobile Storage > Host Controller. > > Signed-off-by: Jisheng Zhang > --- > .../bindings/mmc/sdhci-of-dwcmshc.txt | 20 +++ Please split DT docs into separate patches. Ehh, just make

Re: [PATCH] mmc: sdhci: do not try to use 3.3V signaling if not supported

2018-07-05 Thread Ulf Hansson
On 5 July 2018 at 14:18, Stefan Agner wrote: > For eMMC devices it is valid to only support 1.8V signaling. When > vqmmc is set to a fixed 1.8V regulator the stack tries to set 3.3V > initially and prints the following warning: >mmc1: Switching to 3.3V signalling voltage failed > > Clear the

Re: [PATCH] mmc: sdhci: do not try to use 3.3V signaling if not supported

2018-07-05 Thread Ulf Hansson
On 5 July 2018 at 14:18, Stefan Agner wrote: > For eMMC devices it is valid to only support 1.8V signaling. When > vqmmc is set to a fixed 1.8V regulator the stack tries to set 3.3V > initially and prints the following warning: >mmc1: Switching to 3.3V signalling voltage failed > > Clear the

Re: [PATCH v2] mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 17:07, Stefan Agner wrote: > If pinctrl nodes for 100/200MHz are missing, the controller should > not select any mode which need signal frequencies 100MHz or higher. > To prevent such speed modes the driver currently uses the quirk flag > SDHCI_QUIRK2_NO_1_8_V. This works nicely

Re: [PATCH v2] mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 17:07, Stefan Agner wrote: > If pinctrl nodes for 100/200MHz are missing, the controller should > not select any mode which need signal frequencies 100MHz or higher. > To prevent such speed modes the driver currently uses the quirk flag > SDHCI_QUIRK2_NO_1_8_V. This works nicely

Re: [PATCH] mmc: sdhci-xenon: mark expected switch fall-through

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 00:56, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Warning level 2 was used: -Wimplicit-fallthrough=2 > > Signed-off-by: Gustavo A. R. Silva Thanks, applied for next! Kind

Re: [PATCH] mmc: sdhci-esdhc-imx: disable clocks before changing frequency

2018-07-05 Thread Ulf Hansson
On 5 July 2018 at 14:15, Stefan Agner wrote: > In the uSDHC case (e.g. i.MX 6) clocks only get disabled if frequency > is set to 0. However, it could be that the stack asks for a frequency > change while clocks are on. In that case the function clears the > divider registers (by clearing

Re: [PATCH v2] mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 13:34, Laurentiu Tudor wrote: > SDHCI controller in ls1043a and ls1046a generate 40-bit wide addresses > when doing DMA. Make sure that the corresponding dma mask is correctly > configured. > > Context: when enabling smmu on these chips the following problem is > encountered:

Re: [PATCH] mmc: sdhci-xenon: mark expected switch fall-through

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 00:56, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Warning level 2 was used: -Wimplicit-fallthrough=2 > > Signed-off-by: Gustavo A. R. Silva Thanks, applied for next! Kind

Re: [PATCH] mmc: sdhci-esdhc-imx: disable clocks before changing frequency

2018-07-05 Thread Ulf Hansson
On 5 July 2018 at 14:15, Stefan Agner wrote: > In the uSDHC case (e.g. i.MX 6) clocks only get disabled if frequency > is set to 0. However, it could be that the stack asks for a frequency > change while clocks are on. In that case the function clears the > divider registers (by clearing

Re: [PATCH v2] mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips

2018-07-05 Thread Ulf Hansson
On 4 July 2018 at 13:34, Laurentiu Tudor wrote: > SDHCI controller in ls1043a and ls1046a generate 40-bit wide addresses > when doing DMA. Make sure that the corresponding dma mask is correctly > configured. > > Context: when enabling smmu on these chips the following problem is > encountered:

Re: [PATCH] USB: serial: cp210x: Implement GPIO support for CP2102N

2018-07-05 Thread Johan Hovold
On Fri, Jun 22, 2018 at 04:10:21PM +0100, Martyn Welch wrote: > On Wed, 2018-06-20 at 19:41 +, Karoly Pados wrote: > > Here I argue the following multiple ways. First, I say that claiming > > that a pin which is used as an input is actually an output is not > > only confusing, but also much

Re: [PATCH] USB: serial: cp210x: Implement GPIO support for CP2102N

2018-07-05 Thread Johan Hovold
On Fri, Jun 22, 2018 at 04:10:21PM +0100, Martyn Welch wrote: > On Wed, 2018-06-20 at 19:41 +, Karoly Pados wrote: > > Here I argue the following multiple ways. First, I say that claiming > > that a pin which is used as an input is actually an output is not > > only confusing, but also much

<    5   6   7   8   9   10   11   12   13   14   >