[PATCH 0/3] link regulator consumer with driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The goal of this patch-set is to ensure that a regulator driver is not suspended before regulator consumer. Currently this is done by implementing suspend_late() ops in the regulator driver but this is painful for an I2C controlled regulator. Instead, the proposal is to add a

[PATCH 3/3] regulator: core: Change suspend_late to suspend

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet Change suspend_late ops to suspend normal ops. The goal is to avoid requesting all the regulator drivers to be operational in suspend late phase. Signed-off-by: pascal paillet --- drivers/regulator/core.c | 26 +- include/linux/regulator/dri

[PATCH 2/3] regulator: core: Link consumer with regulator driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet Add a device link between the consumer and the driver so that the consumer is not suspended before the driver. The goal is to avoid implementing suspend_late ops in regulator drivers. Signed-off-by: pascal paillet --- drivers/regulator/core.c | 18 -- 1 fil

[PATCH v4 0/6] Add MCAN Support for dra76x

2018-07-05 Thread Faiz Abbas
The following patches add dts and sysconfig support for MCAN on TI's dra76 SOCs Changes in v4: 1. Rebased to latest kernel 2. Using ddata->cfg.syss_mask instead of ddata->cfg.quirks for checking if poll on reset status is required. Changes in v3: 1. Added reset functionality to the ti-sysc

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: > On Wed, Jul 04, 2018 at 04:28:52AM -0700, Paul E. McKenney wrote: > > On Tue, Jul 03, 2018 at 01:28:17PM -0400, Alan Stern wrote: > > > PS: Paul, is the patch which introduced rel-rf-acq-po currently present > > > in any of your branches? I couldn't find i

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 fla

[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 changed

[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 b/drivers/bus/ti-

[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 a/drivers/clk/ti/clk-

[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 ++ arch/arm/b

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 LDA

[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 --- .../devicetree/bindings/

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 > > initi

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 misconceptio

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. Regar

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 9:05

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, schedu

[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. Curr

[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 chan

[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. slim_stream

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 screw

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] 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: '[...]/perf/1.0-r9/perf-1.0/plugi

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 > --- > drivers

[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 b/drivers/parport/ieee12

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 t

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) * m

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 > > --- > Subject:

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 sched_

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 of

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 reprod

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: 6ef84a

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 rebalanci

[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 --- drivers/

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 > 7K/8K"

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, and

[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 t

[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 m

[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: '[...]/perf/1.0-r9/perf-1

[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 518c5b0..9935

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 chec

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 M

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 regar

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 ESDHC_CLO

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: the

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 le

[PATCH] ASoC: nau8824: use 64-bit arithmetic instead of 32-bit

2018-07-05 Thread Gustavo A. R. Silva
Add suffix ULL to constant 256 in order to give the compiler complete information about the proper arithmetic to use. Notice that such constant is used in a context that expects an expression of type u64 (64 bits, unsigned) and the following expression is currently being evaluated using 32-bit ari

Re: [PATCH v2 02/12] mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name

2018-07-05 Thread Frieder Schrempf
Hi Boris, On 05.07.2018 14:56, Boris Brezillon wrote: On Thu, 5 Jul 2018 13:14:58 +0200 Frieder Schrempf wrote: By calling spi_mem_get_name(), the driver of the (Q)SPI controller can set a custom name for the memory device if necessary. This is useful to keep mtdparts compatible when control

Re: [PATCH] watchdog: add module parameter "force_no_reboot" for iTCO

2018-07-05 Thread Guenter Roeck
On 07/04/2018 11:28 PM, Tian, Baofeng wrote: Hi, Roeck Yes, this patch is for add a parameter to TCO to prevent reboot happen if you don't want to reboot system and want to stay here to check some HW status, logs, etc for debug purpose. Under some android related stability test, developer want

Re: [PATCH v2 02/12] mtd: m25p80: Call spi_mem_get_name() to let controller set a custom name

2018-07-05 Thread Boris Brezillon
On Thu, 5 Jul 2018 13:14:58 +0200 Frieder Schrempf wrote: > By calling spi_mem_get_name(), the driver of the (Q)SPI controller can > set a custom name for the memory device if necessary. > This is useful to keep mtdparts compatible when controller drivers are > ported from the MTD to the SPI lay

Re: [PATCH v9 1/2] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-07-05 Thread Lee Jones
> > > > > +++ b/include/linux/mfd/bd71837.h > > > > > @@ -0,0 +1,391 @@ > > > > > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > > > > > > > > I thought these were meant to use C++ (//) comments? > > > > > > The checkpatch.pl did complain if I used // comment on SPDX line for > > > header fil

Re: [PATCH v2 01/12] spi: spi-mem: Extend the SPI mem interface to set a custom memory name

2018-07-05 Thread Frieder Schrempf
Hi Boris, On 05.07.2018 14:39, Boris Brezillon wrote: Hi Frieder, On Thu, 5 Jul 2018 13:14:57 +0200 Frieder Schrempf wrote: When porting (Q)SPI controller drivers from the MTD layer to the SPI layer, the naming scheme for the memory devices changes. To be able to keep compatibility with the

[PATCH] staging: mt7621-mmc: Fix printk() facility level

2018-07-05 Thread Sergej Perschin
The patch fixes the following issue: WARNING: printk() should include KERN_ facility level Signed-off-by: Sergej Perschin Signed-off-by: Marcel Budoj --- drivers/staging/mt7621-mmc/dbg.c | 54 1 file changed, 27 insertions(+), 27 deletions(-) diff --git

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Vinod, On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > Hi Vinod, > > On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > The commit 6ad069123f03bebe4315dea13d44845854ca6043 ("dmaengine: > > > fsl-

Re: [PATCH v9 2/2] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-07-05 Thread Lee Jones
On Thu, 05 Jul 2018, Matti Vaittinen wrote: > On Thu, Jul 05, 2018 at 11:49:19AM +0100, Lee Jones wrote: > > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > > On Thu, Jul 05, 2018 at 10:24:44AM +0100, Lee Jones wrote: > > > > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > > > > > > > > Document

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

2018-07-05 Thread Paolo Bonzini
On 05/07/2018 14:22, Raslan, KarimAllah wrote: >> They don't support atomics on double-word data. > But they support atomics on single words. Of which there are two. > We don't need atomic updates of the whole 64-bit quantity (a là  > cmpxchg). Do we strictly need this to be atomic accross the 64-b

Re: [PATCH v2 01/12] spi: spi-mem: Extend the SPI mem interface to set a custom memory name

2018-07-05 Thread Boris Brezillon
Hi Frieder, On Thu, 5 Jul 2018 13:14:57 +0200 Frieder Schrempf wrote: > When porting (Q)SPI controller drivers from the MTD layer to the SPI > layer, the naming scheme for the memory devices changes. To be able > to keep compatibility with the old drivers naming scheme, a function > is added to

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

2018-07-05 Thread Peter Zijlstra
On Thu, Jun 28, 2018 at 05:45:03PM +0200, Vincent Guittot wrote: > Vincent Guittot (11): > sched/pelt: Move pelt related code in a dedicated file > sched/rt: add rt_rq utilization tracking > cpufreq/schedutil: use rt utilization tracking > sched/dl: add dl_rq utilization tracking > cpufre

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

2018-07-05 Thread Miquel Raynal
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 7K/8K") Cc: sta...@vger.kernel.org # 4.14.x Signed-off-by: Miquel Raynal Review

Re: [PATCH v9 1/2] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-07-05 Thread Matti Vaittinen
On Thu, Jul 05, 2018 at 12:17:05PM +0100, Lee Jones wrote: > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > > Thanks for taking the time to check this =) > > > > On Thu, Jul 05, 2018 at 10:18:13AM +0100, Lee Jones wrote: > > > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > > > > > > --- a/driv

Re: [PATCH] kernel: events: use correct articles in comments

2018-07-05 Thread Mark Rutland
On Thu, Jul 05, 2018 at 01:26:08PM +0100, Mark Rutland wrote: > On Thu, Jul 05, 2018 at 01:27:56PM +0200, Tobias Tefke wrote: > > These words are pronounced (and start) with a vowel sound. > > Therefore the article we use has to be 'an' instead of 'a'. > > > > Signed-off-by: Tobias Tefke > > To

Re: [PATCH] kernel: events: use correct articles in comments

2018-07-05 Thread Mark Rutland
On Thu, Jul 05, 2018 at 01:27:56PM +0200, Tobias Tefke wrote: > These words are pronounced (and start) with a vowel sound. > Therefore the article we use has to be 'an' instead of 'a'. > > Signed-off-by: Tobias Tefke To clarify Alexander's reply, there's some guidance on writing commit messages

Re: [PATCH v11 1/2] Refactor part of the oom report in dump_header

2018-07-05 Thread Andy Shevchenko
On Thu, Jul 5, 2018 at 2:23 PM, 禹舟键 wrote: > Hi Michal and Andy > The enum oom_constraint will be added in the struct oom_control. So > I still think I should define it in oom.h. You missed the point. I'm talking about an array of string literals. Please, check what the warning I got from the

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

2018-07-05 Thread Raslan, KarimAllah
On Tue, 2018-05-22 at 17:47 +0200, Paolo Bonzini wrote: > On 22/05/2018 17:42, Raslan, KarimAllah wrote: > > > > On Mon, 2018-04-16 at 18:28 +0200, Paolo Bonzini wrote: > > > > > > On 15/04/2018 00:26, KarimAllah Ahmed wrote: > > > > > > > > > > > > Switch 'requests' to be explicitly 64-bit and

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: > OK, I'm building a 4.17.x test kernel with that revert, in OBS > home:tiwai:bsc1099930 repo. > > Thomas, could you try later the kernel in > http://download.opensuse.org/repositories/home:/tiwai:/bsc1099930/standard/ > ? It'll take an hour or so un

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

2018-07-05 Thread Stefan Agner
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 MMC_SIGNAL_VOLTAGE_330 flag in case 3.3V is signaling is n

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

2018-07-05 Thread Stefan Agner
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 ESDHC_CLOCK_MASK) while the clock is enabled! This causes a sho

Re: [PATCH v2 0/3] m68k: switch to MEMBLOCK + NO_BOOTMEM

2018-07-05 Thread Greg Ungerer
Hi Mike, On 04/07/18 16:28, Mike Rapoport wrote: These patches switch m68k boot time memory allocators from bootmem to memblock + no_bootmem. The first two patches update __ffs() and __va() definitions to be inline with other arches and asm-generic. This is required to avoid compilation warning

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

2018-07-05 Thread 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 9:05 AM, Takashi Iwai wrote: > > > > Hi, > > >

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

2018-07-05 Thread Ulf Hansson
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: > On 04/07/18 11:50, Ulf Hansson wrote: >>>

Re: [PATCH 3/3] drivers/speakup: Fix style and coding warnings

2018-07-05 Thread Dan Carpenter
On Tue, Jul 03, 2018 at 09:10:55AM +0100, Justin Skists wrote: > > @@ -787,7 +787,7 @@ static ssize_t message_store_helper(const char *buf, > > size_t count, > > continue; > > } > > > > - index = simple_strtoul(cp, &temp, 10); > > + index = sim

Re: [PATCHv2 08/11] atomics: switch to generated fallbacks

2018-07-05 Thread Mark Rutland
On Wed, Jul 04, 2018 at 06:44:52PM +0100, Will Deacon wrote: > On Wed, Jul 04, 2018 at 05:01:46PM +0100, Mark Rutland wrote: > > On Wed, Jul 04, 2018 at 04:28:47PM +0100, Will Deacon wrote: > > > On Mon, Jun 25, 2018 at 11:59:49AM +0100, Mark Rutland wrote: > > > > As a step to ensuring the atomic*

Re: [PATCH v9 2/2] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-07-05 Thread Matti Vaittinen
On Thu, Jul 05, 2018 at 11:49:19AM +0100, Lee Jones wrote: > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > On Thu, Jul 05, 2018 at 10:24:44AM +0100, Lee Jones wrote: > > > On Thu, 05 Jul 2018, Matti Vaittinen wrote: > > > > > > > Document devicetree bindings for ROHM BD71837 PMIC MFD. > > > > >

Re: [PATCH 3/3] drivers/speakup: Fix style and coding warnings

2018-07-05 Thread Dan Carpenter
On Wed, Jul 04, 2018 at 10:46:05PM +0300, Tamir Suliman wrote: > > Interesting construct...  Yeah I'm little bit rusty on my C /programming  . > I understand  proper coding style may be should end with else so I wasn't > sure .. however this resolved the warnings. :) The code you wrote was ve

Re: [PATCH] kernel: events: use correct articles in comments

2018-07-05 Thread Alexander Shishkin
Tobias Tefke writes: > These words are pronounced (and start) with a vowel sound. > Therefore the article we use has to be 'an' instead of 'a'. This, however, is not how we compose our changelog messages. Regards, -- Alex

Re: [PATCH v2 1/3] clk: tegra: refactor 7.1 div calculation

2018-07-05 Thread Peter De Schrijver
On Wed, Jul 04, 2018 at 01:17:33PM +0300, Aapo Vienamo wrote: > From: Peter De Schrijver > > Move this to a separate file so it can be used to calculate the sdmmc > clock dividers. > Series Acked-By: Peter De Schrijver > Signed-off-by: Peter De-Schrijver > Signed-off-by: Aapo Vienamo > ---

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 13:23, 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 fla

Re: [PATCH] 6lowpan: iphc: reset mac_header after decompress to fix panic

2018-07-05 Thread Jukka Rissanen
On Tue, 2018-06-19 at 16:44 -0700, Michael Scott wrote: > After decompression of 6lowpan socket data, an IPv6 header is > inserted > before the existing socket payload. After this, we reset the > network_header value of the skb to account for the difference in > payload > size from prior to decomp

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

2018-07-05 Thread Marc Zyngier
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: On 04/07/18 11:50, Ulf Hansson wrote: > + Marc > > On 4 July 2018 at 08:28, Stefan

Re: [PATCH v3 2/2] phy: bcm-sr-pcie: Add Stingray PCIe PHY driver

2018-07-05 Thread Kishon Vijay Abraham I
Hi, On Wednesday 04 July 2018 11:52 PM, Ray Jui wrote: > Add Stingray PCIe PHY driver for both PAXB and PAXC root complex > > Signed-off-by: Ray Jui > --- > drivers/phy/broadcom/Kconfig | 10 + > drivers/phy/broadcom/Makefile | 2 + > drivers/phy/broadcom/phy-bcm-sr-pcie.c

[PATCH] regmap: slimbus: add support to raw read/writes

2018-07-05 Thread Srinivas Kandagatla
SLIMbus supports upto 16 bytes in value management messages, so add support to raw read/writes upto 16 bytes. Also useful for paged register access on SLIMbus interfaced codecs. Signed-off-by: Srinivas Kandagatla --- drivers/base/regmap/regmap-slimbus.c | 23 +-- 1 file chan

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

2018-07-05 Thread Stefan Agner
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 ESDHC_CLOCK_MASK) while the clock is enabled! This causes a sho

[PATCH] ARM64: dts: meson-axg: add the audio clock controller

2018-07-05 Thread Jerome Brunet
Add the audio clock controller which is part of the audio bus This controller takes 8 input plls, and the usual clock gate, from the main clock controller. It provides for the all the devices of the audio subsystem, such as tdms, spdif, pdm, etc. Signed-off-by: Jerome Brunet --- Kevin, Please n

Re: [PATCH] Default to s2idle in all machines supporting LP S0.

2018-07-05 Thread Rafael J. Wysocki
On Friday, June 15, 2018 10:50:18 AM CEST Tristian Celestin wrote: > The Dell Venue Pro 7140 supports the Low Power S0 Idle state, but does not > support any of the _DSM functions that the current heuristic checks > for. Since suspend-to-mem can not be safely performed on this machine, > and since

Re: [PATCH] acpi/x86: enable touchscreen on Dell Venue Pro 7139

2018-07-05 Thread Rafael J. Wysocki
On Sunday, June 10, 2018 12:18:06 AM CEST Tristian Celestin wrote: > Permanently enable the SYNA7500 touchscreen device on the Dell > Venue Pro 7139. The DSDT hides the touchscreen ACPI device on > the 7139 in the same fashion as the 7130, and needs to > be enabled in the same way. > > Signed-off-

[GIT PULL] ACPI fixes for v4.18-rc4

2018-07-05 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.18-rc4 with top-most commit df958569dbaa398f525057729717e44809ac4306 Merge branches 'acpi-tables' and 'acpica' on top of commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063 Linux 4.18

[GIT PULL] Power management fixes for v4.18-rc4

2018-07-05 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.18-rc4 with top-most commit 88b96088e94ec66f6c9015eee28cb9d053be69c0 Merge branch 'pm-pci' on top of commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063 Linux 4.18-rc3 to receive power

[PATCH v3 1/1] MAINTAINERS: add subfolders for nuvoton *npcm*

2018-07-05 Thread avifishman70
From: Avi Fishman Add several subfolders to look for *npcm* files under ARM/NUVOTON NPCM ARCHITECTURE Signed-off-by: Avi Fishman --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e0ce3c5f32e5..dbe3ce376dfb 100644 --- a/MAINTA

[PATCH v3 0/1] MAINTAINERS: add subfolders for nuvoton *npcm*

2018-07-05 Thread avifishman70
From: Avi Fishman - Changes since version 2: Follow Andrew Morton, Joe Perches and Mauro Carvalho Chehab comment on the location of Documentation/devicetree/bindings - Changes since version 1: - Follow Greg KH comment to add changelog test in addition to the commit subject Add several s

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

2018-07-05 Thread Ulf Hansson
[...] >>> Btw, I still get the switching error once during boot-up: >>> mmc1: Switching to 3.3V signalling voltage failed >> >> I guess the this happens then also at system resume? >> >> The core tries first with 3.3 then if it fails, it continues with 1.8V, etc. >> >>> >>> This is due to the ca

[PATCH] kernel: events: use correct articles in comments

2018-07-05 Thread Tobias Tefke
These words are pronounced (and start) with a vowel sound. Therefore the article we use has to be 'an' instead of 'a'. Signed-off-by: Tobias Tefke --- kernel/events/core.c| 16 kernel/events/uprobes.c | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --gi

<    1   2   3   4   5   6   7   >