[PATCH v6 6/8] power: supply: add AC power supply driver for AXP813

2018-11-20 Thread Oskari Lemmela
AXP813 and AXP803 PMICs can control input current and minimum voltage. Both of these values are configurable. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Acked-by: Lee Jones --- drivers/power/supply/axp20x_ac_power.c | 94 ++

[PATCH v6 6/8] power: supply: add AC power supply driver for AXP813

2018-11-20 Thread Oskari Lemmela
AXP813 and AXP803 PMICs can control input current and minimum voltage. Both of these values are configurable. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Acked-by: Lee Jones --- drivers/power/supply/axp20x_ac_power.c | 94 ++

[PATCH v6 7/8] mfd: axp20x: Add AC power supply cell for AXP813

2018-11-20 Thread Oskari Lemmela
As axp20x-ac-power-supply now supports AXP813, add a cell for it. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick --- drivers/mfd/axp20x.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/axp20x.c

[PATCH v6 7/8] mfd: axp20x: Add AC power supply cell for AXP813

2018-11-20 Thread Oskari Lemmela
As axp20x-ac-power-supply now supports AXP813, add a cell for it. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick --- drivers/mfd/axp20x.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/axp20x.c

[PATCH v6 4/8] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies

2018-11-20 Thread Oskari Lemmela
AXP803 ACIN pins are routed from SOM to the DC jack on the baseboard. AXP803 charger pins BATSENSE, LOADSENSE, N_BATDRV, LX_CHG, VIN_CHG and IPSOUT are connected via PMOS driver to SOM VBAT pins. VBAT and AXP803 TS pins are routed to the baseboard 3-pin battery connector. Signed-off-by: Oskari

[PATCH v4 5/5] cgroup: Document bypass mode

2018-11-20 Thread Waiman Long
The cgroup-v2.rst file is updated to document the new bypass mode. Signed-off-by: Waiman Long --- Documentation/admin-guide/cgroup-v2.rst | 66 - 1 file changed, 48 insertions(+), 18 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v2.rst

[PATCH v6 8/8] mfd: axp20x: Add supported cells for AXP803

2018-11-20 Thread Oskari Lemmela
Parts of the AXP803 are compatible with their counterparts on the AXP813. These include the GPIO, ADC, AC and battery power supplies. Signed-off-by: Oskari Lemmela Reviewed-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick --- drivers/mfd/axp20x.c | 15 +++ 1 file changed, 15

[PATCH v6 4/8] arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies

2018-11-20 Thread Oskari Lemmela
AXP803 ACIN pins are routed from SOM to the DC jack on the baseboard. AXP803 charger pins BATSENSE, LOADSENSE, N_BATDRV, LX_CHG, VIN_CHG and IPSOUT are connected via PMOS driver to SOM VBAT pins. VBAT and AXP803 TS pins are routed to the baseboard 3-pin battery connector. Signed-off-by: Oskari

[PATCH v4 5/5] cgroup: Document bypass mode

2018-11-20 Thread Waiman Long
The cgroup-v2.rst file is updated to document the new bypass mode. Signed-off-by: Waiman Long --- Documentation/admin-guide/cgroup-v2.rst | 66 - 1 file changed, 48 insertions(+), 18 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v2.rst

[PATCH v6 8/8] mfd: axp20x: Add supported cells for AXP803

2018-11-20 Thread Oskari Lemmela
Parts of the AXP803 are compatible with their counterparts on the AXP813. These include the GPIO, ADC, AC and battery power supplies. Signed-off-by: Oskari Lemmela Reviewed-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick --- drivers/mfd/axp20x.c | 15 +++ 1 file changed, 15

[PATCH v6 0/8] AXP8x3 AC and battery power supply support

2018-11-20 Thread Oskari Lemmela
AXP813 AC power supply support with input current and voltage limiting support. AXP803 AC and battery power supply support. Changes in v6: * Collected tags * Rebase to master * Dropped AXP803 compatible patches Changes in v5: * Return correct input current limit for values 0x6 and 0x7 * Add

[PATCH v6 0/8] AXP8x3 AC and battery power supply support

2018-11-20 Thread Oskari Lemmela
AXP813 AC power supply support with input current and voltage limiting support. AXP803 AC and battery power supply support. Changes in v6: * Collected tags * Rebase to master * Dropped AXP803 compatible patches Changes in v5: * Return correct input current limit for values 0x6 and 0x7 * Add

Re: [PATCH 3.16 151/366] MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum

2018-11-20 Thread Ben Hutchings
On Sun, 2018-11-11 at 21:17 +0100, Rafał Miłecki wrote: > On Sun, 11 Nov 2018 at 21:05, Ben Hutchings wrote: > > 3.16.61-rc1 review patch. If anyone has any objections, please let me know. > > Nack. This patch has caused a regression and had to be reverted. > Please check upstream repository

Re: [PATCH 3.16 151/366] MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum

2018-11-20 Thread Ben Hutchings
On Sun, 2018-11-11 at 21:17 +0100, Rafał Miłecki wrote: > On Sun, 11 Nov 2018 at 21:05, Ben Hutchings wrote: > > 3.16.61-rc1 review patch. If anyone has any objections, please let me know. > > Nack. This patch has caused a regression and had to be reverted. > Please check upstream repository

Re: [PATCH 0/8] BCM2835 PM driver

2018-11-20 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 20. November 2018 um 18:19 geschrieben: > > > This series moves the BCM2835 WDT driver that controls a fraction of > the PM block out to soc/ and adds most of the rest of its > functionality. My motivation has been to have V3D be functional > without firmware

Re: [PATCH 0/8] BCM2835 PM driver

2018-11-20 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 20. November 2018 um 18:19 geschrieben: > > > This series moves the BCM2835 WDT driver that controls a fraction of > the PM block out to soc/ and adds most of the rest of its > functionality. My motivation has been to have V3D be functional > without firmware

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread kbuild test robot
Hi Cyrille, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/spi-nor/next] [also build test ERROR on v4.20-rc3 next-20181120] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread kbuild test robot
Hi Cyrille, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/spi-nor/next] [also build test ERROR on v4.20-rc3 next-20181120] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH] perf tools: Restore proper cwd on return from mnt ns

2018-11-20 Thread Jiri Olsa
On Tue, Nov 20, 2018 at 12:56:04PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 20, 2018 at 11:56:18AM +0100, Jiri Olsa escreveu: > > On Mon, Nov 19, 2018 at 08:10:06AM -0800, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Nov 01, 2018 at 06:00:01PM +0100, Jiri Olsa escreveu: > > > > Adding

Re: [PATCH] perf tools: Restore proper cwd on return from mnt ns

2018-11-20 Thread Jiri Olsa
On Tue, Nov 20, 2018 at 12:56:04PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 20, 2018 at 11:56:18AM +0100, Jiri Olsa escreveu: > > On Mon, Nov 19, 2018 at 08:10:06AM -0800, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Nov 01, 2018 at 06:00:01PM +0100, Jiri Olsa escreveu: > > > > Adding

Re: [PATCH v3 4/7] cgroup: cgroup v2 freezer

2018-11-20 Thread Roman Gushchin
On Tue, Nov 20, 2018 at 08:48:59AM -0800, Tejun Heo wrote: > Hello, > > On Tue, Nov 20, 2018 at 04:43:52PM +, Roman Gushchin wrote: > > > But that wouldn't udpate the cgroup's frozen state and generate > > > notifications, right? > > > > Why? The task will be eventually trapped into

Re: [PATCH v3 4/7] cgroup: cgroup v2 freezer

2018-11-20 Thread Roman Gushchin
On Tue, Nov 20, 2018 at 08:48:59AM -0800, Tejun Heo wrote: > Hello, > > On Tue, Nov 20, 2018 at 04:43:52PM +, Roman Gushchin wrote: > > > But that wouldn't udpate the cgroup's frozen state and generate > > > notifications, right? > > > > Why? The task will be eventually trapped into

Re: WARN_ON after gic_reserve_range

2018-11-20 Thread Marc Zyngier
On 20/11/2018 17:30, John Garry wrote: > On 20/11/2018 16:23, Jan Glauber wrote: >> Hi Marc, >> >> with 4.20-rc3 I see two WARN_ON's firing on a ThunderX2 system that come from >> commit 3fb68faee867 (irqchip/gic-v3-its: Register LPI tables with EFI config >> table). >> >> Global

Re: WARN_ON after gic_reserve_range

2018-11-20 Thread Marc Zyngier
On 20/11/2018 17:30, John Garry wrote: > On 20/11/2018 16:23, Jan Glauber wrote: >> Hi Marc, >> >> with 4.20-rc3 I see two WARN_ON's firing on a ThunderX2 system that come from >> commit 3fb68faee867 (irqchip/gic-v3-its: Register LPI tables with EFI config >> table). >> >> Global

Re: WARN_ON after gic_reserve_range

2018-11-20 Thread John Garry
On 20/11/2018 16:23, Jan Glauber wrote: Hi Marc, with 4.20-rc3 I see two WARN_ON's firing on a ThunderX2 system that come from commit 3fb68faee867 (irqchip/gic-v3-its: Register LPI tables with EFI config table). Global efi_memreserve_root is NULL as it will only be set when early initcalls

Re: WARN_ON after gic_reserve_range

2018-11-20 Thread John Garry
On 20/11/2018 16:23, Jan Glauber wrote: Hi Marc, with 4.20-rc3 I see two WARN_ON's firing on a ThunderX2 system that come from commit 3fb68faee867 (irqchip/gic-v3-its: Register LPI tables with EFI config table). Global efi_memreserve_root is NULL as it will only be set when early initcalls

Re: [PATCH 1/8] watchdog: bcm2835: Move the driver to the soc/ directory.

2018-11-20 Thread Guenter Roeck
On Tue, Nov 20, 2018 at 09:19:53AM -0800, Eric Anholt wrote: > The binding for the bcm2835 "wdt" actually covers a large range of the > PM block's register space. The WDT is not a separate HW block from > the rest of power domain management, so move the driver to the soc/ > directory in

Re: [PATCH 1/8] watchdog: bcm2835: Move the driver to the soc/ directory.

2018-11-20 Thread Guenter Roeck
On Tue, Nov 20, 2018 at 09:19:53AM -0800, Eric Anholt wrote: > The binding for the bcm2835 "wdt" actually covers a large range of the > PM block's register space. The WDT is not a separate HW block from > the rest of power domain management, so move the driver to the soc/ > directory in

Re: [PATCH] RISC-V: add of_node_put()

2018-11-20 Thread Palmer Dabbelt
On Tue, 20 Nov 2018 06:11:02 PST (-0800), tiny.win...@gmail.com wrote: use of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- arch/riscv/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c index

Re: [PATCH] RISC-V: add of_node_put()

2018-11-20 Thread Palmer Dabbelt
On Tue, 20 Nov 2018 06:11:02 PST (-0800), tiny.win...@gmail.com wrote: use of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- arch/riscv/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c index

Re: [ptrace, rt] erratic behaviour in PTRACE_SINGLESET on 4.13-rt and later.

2018-11-20 Thread Steven Rostedt
[ Adding Clark and John who manage the rt-tests repo ] -- Steve On Mon, 19 Nov 2018 19:46:23 + Joe Korty wrote: > Hi Julia & the RT team, > > The following program might make a good addition to the rt > test suite. It tests the reliability of PTRACE_SINGLESTEP. > It does by default

Re: [ptrace, rt] erratic behaviour in PTRACE_SINGLESET on 4.13-rt and later.

2018-11-20 Thread Steven Rostedt
[ Adding Clark and John who manage the rt-tests repo ] -- Steve On Mon, 19 Nov 2018 19:46:23 + Joe Korty wrote: > Hi Julia & the RT team, > > The following program might make a good addition to the rt > test suite. It tests the reliability of PTRACE_SINGLESTEP. > It does by default

Re: [PATCH] regulator: wm8994: Don't use devres for enable GPIOs

2018-11-20 Thread Marek Szyprowski
pply 'DBVDD1': -517 wm8994 4-001a: Failed to get supplies: -517 [ cut here ] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:2421 regulator_ena_gpio_free+0x70/0xa0 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.20.0-rc3-next-20181120-1-g330f37c7fb0c #5

Re: [PATCH] regulator: wm8994: Don't use devres for enable GPIOs

2018-11-20 Thread Marek Szyprowski
pply 'DBVDD1': -517 wm8994 4-001a: Failed to get supplies: -517 [ cut here ] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:2421 regulator_ena_gpio_free+0x70/0xa0 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.20.0-rc3-next-20181120-1-g330f37c7fb0c #5

RE: [PATCH] dmaengine: fix dmaengine_desc_callback_valid() doesn't check for callback_result

2018-11-20 Thread Radhey Shyam Pandey
> -Original Message- > From: Andrea Merello > Sent: Friday, November 16, 2018 7:26 PM > To: vk...@kernel.org; dan.j.willi...@intel.com; dmaeng...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Radhey Shyam Pandey > ; Andrea Merello > Subject: [PATCH] dmaengine: fix

RE: [PATCH] dmaengine: fix dmaengine_desc_callback_valid() doesn't check for callback_result

2018-11-20 Thread Radhey Shyam Pandey
> -Original Message- > From: Andrea Merello > Sent: Friday, November 16, 2018 7:26 PM > To: vk...@kernel.org; dan.j.willi...@intel.com; dmaeng...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Radhey Shyam Pandey > ; Andrea Merello > Subject: [PATCH] dmaengine: fix

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Charles, On 2018-11-20 18:03, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: >> On 20/11/18 16:34, Marek Szyprowski wrote: >>> On 2018-11-20 17:16, Richard Fitzgerald wrote: On 20/11/18 15:56, Marek Szyprowski wrote: > On 2018-11-20 16:36,

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Charles, On 2018-11-20 18:03, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: >> On 20/11/18 16:34, Marek Szyprowski wrote: >>> On 2018-11-20 17:16, Richard Fitzgerald wrote: On 20/11/18 15:56, Marek Szyprowski wrote: > On 2018-11-20 16:36,

[PATCH 1/8] watchdog: bcm2835: Move the driver to the soc/ directory.

2018-11-20 Thread Eric Anholt
The binding for the bcm2835 "wdt" actually covers a large range of the PM block's register space. The WDT is not a separate HW block from the rest of power domain management, so move the driver to the soc/ directory in preparation for expanding its role to cover power domains. This move does

[PATCH 1/8] watchdog: bcm2835: Move the driver to the soc/ directory.

2018-11-20 Thread Eric Anholt
The binding for the bcm2835 "wdt" actually covers a large range of the PM block's register space. The WDT is not a separate HW block from the rest of power domain management, so move the driver to the soc/ directory in preparation for expanding its role to cover power domains. This move does

[PATCH 4/8] soc: bcm: bcm2835-pm: Make some little accessor macros for the mmio area.

2018-11-20 Thread Eric Anholt
This is more legible than trying to remember to set PM_PASSWORD on everything. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/soc/bcm/bcm2835-pm.c b/drivers/soc/bcm/bcm2835-pm.c

[PATCH 5/8] dt-bindings: soc: Add a new binding for the BCM2835 PM node.

2018-11-20 Thread Eric Anholt
This binding supersedes the bcm2835-pm-wdt binding which only covered enough to provide a watchdog, but the HW block is actually mostly about power domains. Signed-off-by: Eric Anholt --- .../bindings/soc/bcm/brcm,bcm2835-pm.txt | 42 +++ 1 file changed, 42 insertions(+)

[PATCH 4/8] soc: bcm: bcm2835-pm: Make some little accessor macros for the mmio area.

2018-11-20 Thread Eric Anholt
This is more legible than trying to remember to set PM_PASSWORD on everything. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/soc/bcm/bcm2835-pm.c b/drivers/soc/bcm/bcm2835-pm.c

[PATCH 5/8] dt-bindings: soc: Add a new binding for the BCM2835 PM node.

2018-11-20 Thread Eric Anholt
This binding supersedes the bcm2835-pm-wdt binding which only covered enough to provide a watchdog, but the HW block is actually mostly about power domains. Signed-off-by: Eric Anholt --- .../bindings/soc/bcm/brcm,bcm2835-pm.txt | 42 +++ 1 file changed, 42 insertions(+)

[PATCH 7/8] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block.

2018-11-20 Thread Eric Anholt
It was covering part of the PM block's range, up to the WDT regs. To support the rest of the PM block's functionality, we need the full register range plus the AXI Async Bridge regs for PM sequencing. This doesn't convert any of the consumers over to the new binding yet, since we will need to be

[PATCH 7/8] ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block.

2018-11-20 Thread Eric Anholt
It was covering part of the PM block's range, up to the WDT regs. To support the rest of the PM block's functionality, we need the full register range plus the AXI Async Bridge regs for PM sequencing. This doesn't convert any of the consumers over to the new binding yet, since we will need to be

[PATCH 8/8] ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware.

2018-11-20 Thread Eric Anholt
The GRAFX domain only contains V3D, and this driver should be the only accessor of V3D (firmware usage gets disabled when V3D is in the DT), so we can safely make Linux control the GRAFX and GRAFX_V3D power domains. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 4

[PATCH 0/8] BCM2835 PM driver

2018-11-20 Thread Eric Anholt
This series moves the BCM2835 WDT driver that controls a fraction of the PM block out to soc/ and adds most of the rest of its functionality. My motivation has been to have V3D be functional without firmware calls, probably improve its interactivity (since we'll be able to power on/off without

[PATCH 8/8] ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware.

2018-11-20 Thread Eric Anholt
The GRAFX domain only contains V3D, and this driver should be the only accessor of V3D (firmware usage gets disabled when V3D is in the DT), so we can safely make Linux control the GRAFX and GRAFX_V3D power domains. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 4

[PATCH 0/8] BCM2835 PM driver

2018-11-20 Thread Eric Anholt
This series moves the BCM2835 WDT driver that controls a fraction of the PM block out to soc/ and adds most of the rest of its functionality. My motivation has been to have V3D be functional without firmware calls, probably improve its interactivity (since we'll be able to power on/off without

[PATCH 2/8] soc: bcm: bcm2835-pm: Rename the driver to its new "PM" name.

2018-11-20 Thread Eric Anholt
This is the name of the block we're controlling. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 92 ++-- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/soc/bcm/bcm2835-pm.c b/drivers/soc/bcm/bcm2835-pm.c index

[PATCH 6/8] soc: bcm: bcm2835-pm: Add support for power domains under a new binding.

2018-11-20 Thread Eric Anholt
This provides a free software alternative to raspberrypi-power.c's firmware calls to manage power domains. It also exposes a reset line, where previously the vc4 driver had to try to force power off the domain in order to trigger a reset. Signed-off-by: Eric Anholt ---

[PATCH 3/8] soc: bcm: bcm2835-pm: Stop using _relaxed mmio accessors.

2018-11-20 Thread Eric Anholt
We definitely don't want I/O to be reordered here (like the setting of the WDT timeout before enabling the WDT). None of this is performance critical, anyway. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 24 1 file changed, 12 insertions(+), 12

[PATCH 2/8] soc: bcm: bcm2835-pm: Rename the driver to its new "PM" name.

2018-11-20 Thread Eric Anholt
This is the name of the block we're controlling. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 92 ++-- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/soc/bcm/bcm2835-pm.c b/drivers/soc/bcm/bcm2835-pm.c index

[PATCH 6/8] soc: bcm: bcm2835-pm: Add support for power domains under a new binding.

2018-11-20 Thread Eric Anholt
This provides a free software alternative to raspberrypi-power.c's firmware calls to manage power domains. It also exposes a reset line, where previously the vc4 driver had to try to force power off the domain in order to trigger a reset. Signed-off-by: Eric Anholt ---

[PATCH 3/8] soc: bcm: bcm2835-pm: Stop using _relaxed mmio accessors.

2018-11-20 Thread Eric Anholt
We definitely don't want I/O to be reordered here (like the setting of the WDT timeout before enabling the WDT). None of this is performance critical, anyway. Signed-off-by: Eric Anholt --- drivers/soc/bcm/bcm2835-pm.c | 24 1 file changed, 12 insertions(+), 12

Re: [PATCH cgroup/for-4.21 1/2] cpuset: Minor cgroup2 interface updates

2018-11-20 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 07:44:10AM -0800, Tejun Heo wrote: > Hello, Peter. > > On Tue, Nov 20, 2018 at 01:46:24PM +0100, Peter Zijlstra wrote: > > Why though? The Changelog doesn't give rationale for the actual changes. > > Ah yeah, sorry about that. > > > And I'm not sure I agree with either

Re: [PATCH cgroup/for-4.21 1/2] cpuset: Minor cgroup2 interface updates

2018-11-20 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 07:44:10AM -0800, Tejun Heo wrote: > Hello, Peter. > > On Tue, Nov 20, 2018 at 01:46:24PM +0100, Peter Zijlstra wrote: > > Why though? The Changelog doesn't give rationale for the actual changes. > > Ah yeah, sorry about that. > > > And I'm not sure I agree with either

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-11-20 Thread Uwe Kleine-König
On Tue, Nov 20, 2018 at 02:40:31PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The irq_sim irqchip doesn't allow to configure the sensitivity so every > call to irq_sim_fire() fires a dummy interrupt. This used to not matter > for gpio-mockup (one of the irq_sim users)

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-11-20 Thread Uwe Kleine-König
On Tue, Nov 20, 2018 at 02:40:31PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The irq_sim irqchip doesn't allow to configure the sensitivity so every > call to irq_sim_fire() fires a dummy interrupt. This used to not matter > for gpio-mockup (one of the irq_sim users)

Re: [PATCH] ARM: dts: at91: sama5d2: use the divided clock for SMC

2018-11-20 Thread Alexandre Belloni
Hello Romain, On 20/11/2018 17:57:37+0100, Romain Izard wrote: > The SAMA5D2 is different from SAMA5D3 and SAMA5D4, as there are two > different clocks for the peripherals in the SoC. The Static Memory > controller is connected to the divided master clock. > > Unfortunately, the device tree does

Re: [PATCH] ARM: dts: at91: sama5d2: use the divided clock for SMC

2018-11-20 Thread Alexandre Belloni
Hello Romain, On 20/11/2018 17:57:37+0100, Romain Izard wrote: > The SAMA5D2 is different from SAMA5D3 and SAMA5D4, as there are two > different clocks for the peripherals in the SoC. The Static Memory > controller is connected to the divided master clock. > > Unfortunately, the device tree does

[PATCH] kbuild: move modpost out of 'scripts' target

2018-11-20 Thread Masahiro Yamada
I am eagar to build under the scripts/ directory only with $(HOSTCC), but scripts/mod/ highly depends on the $(CC) and target arch headers. That it why the 'scripts' target must depend on 'asm-generic', 'gcc-plugins', and $(autoksyms_h). Move it to the 'prepare0' stage. I know this is a cheesy

[PATCH] kbuild: move modpost out of 'scripts' target

2018-11-20 Thread Masahiro Yamada
I am eagar to build under the scripts/ directory only with $(HOSTCC), but scripts/mod/ highly depends on the $(CC) and target arch headers. That it why the 'scripts' target must depend on 'asm-generic', 'gcc-plugins', and $(autoksyms_h). Move it to the 'prepare0' stage. I know this is a cheesy

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Richard, On 2018-11-20 17:57, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: >> Hi Richard, >> >> On 2018-11-20 17:16, Richard Fitzgerald wrote: >>> On 20/11/18 15:56, Marek Szyprowski wrote: Hi Charles, On 2018-11-20 16:36, Charles Keepax wrote: > On

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Richard, On 2018-11-20 17:57, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: >> Hi Richard, >> >> On 2018-11-20 17:16, Richard Fitzgerald wrote: >>> On 20/11/18 15:56, Marek Szyprowski wrote: Hi Charles, On 2018-11-20 16:36, Charles Keepax wrote: > On

Re: [PATCH 0/4] serdev: make serdev_device_write() more usable

2018-11-20 Thread Johan Hovold
On Mon, Nov 19, 2018 at 09:16:35AM -0600, Rob Herring wrote: > On Wed, Nov 14, 2018 at 9:10 AM Johan Hovold wrote: > > > > This series make the synchronous serdev_device_write() helper more > > usable by > > > > 1) allowing drivers to pass a zero timeout to indicate that they > >

Re: [PATCH 0/4] serdev: make serdev_device_write() more usable

2018-11-20 Thread Johan Hovold
On Mon, Nov 19, 2018 at 09:16:35AM -0600, Rob Herring wrote: > On Wed, Nov 14, 2018 at 9:10 AM Johan Hovold wrote: > > > > This series make the synchronous serdev_device_write() helper more > > usable by > > > > 1) allowing drivers to pass a zero timeout to indicate that they > >

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Richard Fitzgerald
On 20/11/18 17:01, Mark Brown wrote: On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: On 20/11/18 16:34, Marek Szyprowski wrote: Deferred probe was there already. This patch however introduced the warning from gpiolib and I would like to have it fixed somehow. In both I

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Richard Fitzgerald
On 20/11/18 17:01, Mark Brown wrote: On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: On 20/11/18 16:34, Marek Szyprowski wrote: Deferred probe was there already. This patch however introduced the warning from gpiolib and I would like to have it fixed somehow. In both I

Applied "regulator: core: Don't double-disable supplies in regulator_disable_deferred()" to the regulator tree

2018-11-20 Thread Mark Brown
The patch regulator: core: Don't double-disable supplies in regulator_disable_deferred() has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree

Applied "regulator: core: Don't double-disable supplies in regulator_disable_deferred()" to the regulator tree

2018-11-20 Thread Mark Brown
The patch regulator: core: Don't double-disable supplies in regulator_disable_deferred() has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree

Re: [PATCH 2/4] serdev: make synchronous write return bytes written

2018-11-20 Thread Johan Hovold
On Mon, Nov 19, 2018 at 09:15:37AM -0600, Rob Herring wrote: > On Wed, Nov 14, 2018 at 9:10 AM Johan Hovold wrote: > > > > Make the synchronous serdev_device_write() helper behave analogous to > > the asynchronous serdev_device_write_buf() by returning the number of > > bytes written (or rather

Re: [PATCH 2/4] serdev: make synchronous write return bytes written

2018-11-20 Thread Johan Hovold
On Mon, Nov 19, 2018 at 09:15:37AM -0600, Rob Herring wrote: > On Wed, Nov 14, 2018 at 9:10 AM Johan Hovold wrote: > > > > Make the synchronous serdev_device_write() helper behave analogous to > > the asynchronous serdev_device_write_buf() by returning the number of > > bytes written (or rather

Re: [REGRESSION] x86, perf: counter freezing breaks rr

2018-11-20 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 08:19:39AM -0800, Kyle Huey wrote: > tl;dr: rr is currently broken on 4.20rc2, which I bisected to > af3bdb991a5cb57c189d34aadbd3aa88995e0d9f. I further confirmed that > booting the 4.20rc2 kernel with `disable_counter_freezing=true` allows > rr to work. > > rr, a

Re: [REGRESSION] x86, perf: counter freezing breaks rr

2018-11-20 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 08:19:39AM -0800, Kyle Huey wrote: > tl;dr: rr is currently broken on 4.20rc2, which I bisected to > af3bdb991a5cb57c189d34aadbd3aa88995e0d9f. I further confirmed that > booting the 4.20rc2 kernel with `disable_counter_freezing=true` allows > rr to work. > > rr, a

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Doug Anderson
Hi, On Tue, Nov 20, 2018 at 8:58 AM Mark Brown wrote: > > On Tue, Nov 20, 2018 at 08:52:14AM -0800, Doug Anderson wrote: > > > I don't want to send v2 of things while you're still reviewing. If > > you have a chance give me a ping when you're ready for me to send out > > v2 of things.

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Doug Anderson
Hi, On Tue, Nov 20, 2018 at 8:58 AM Mark Brown wrote: > > On Tue, Nov 20, 2018 at 08:52:14AM -0800, Doug Anderson wrote: > > > I don't want to send v2 of things while you're still reviewing. If > > you have a chance give me a ping when you're ready for me to send out > > v2 of things.

Re: [RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-20 Thread Andrea Arcangeli
On Tue, Nov 20, 2018 at 12:11:22PM +0300, Kirill A. Shutemov wrote: > On Sat, Nov 10, 2018 at 11:44:12AM -0500, Andrea Arcangeli wrote: > > I would prefer to add intelligence to detect when COWs after fork > > should be done at 2m or 4k granularity (in the latter case by > > splitting the pmd

Re: [RFC PATCH v4 05/13] workqueue, ktask: renice helper threads to prevent starvation

2018-11-20 Thread Daniel Jordan
On Tue, Nov 20, 2018 at 08:33:19AM -0800, Tejun Heo wrote: > On Mon, Nov 19, 2018 at 08:45:54AM -0800, Daniel Jordan wrote: > > So instead of flush_work_at_nice, how about this?: > > > > void renice_work_sync(work_struct *work, long nice); > > Wouldn't renice_or_cancel make more sense? I guess

Re: [RFC PATCH] mm: thp: implement THP reservations for anonymous memory

2018-11-20 Thread Andrea Arcangeli
On Tue, Nov 20, 2018 at 12:11:22PM +0300, Kirill A. Shutemov wrote: > On Sat, Nov 10, 2018 at 11:44:12AM -0500, Andrea Arcangeli wrote: > > I would prefer to add intelligence to detect when COWs after fork > > should be done at 2m or 4k granularity (in the latter case by > > splitting the pmd

Re: [RFC PATCH v4 05/13] workqueue, ktask: renice helper threads to prevent starvation

2018-11-20 Thread Daniel Jordan
On Tue, Nov 20, 2018 at 08:33:19AM -0800, Tejun Heo wrote: > On Mon, Nov 19, 2018 at 08:45:54AM -0800, Daniel Jordan wrote: > > So instead of flush_work_at_nice, how about this?: > > > > void renice_work_sync(work_struct *work, long nice); > > Wouldn't renice_or_cancel make more sense? I guess

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: > >On 2018-11-20 17:16, Richard Fitzgerald wrote: > >>On 20/11/18 15:56, Marek Szyprowski wrote: > >>>On 2018-11-20 16:36, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:32:15PM

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: > >On 2018-11-20 17:16, Richard Fitzgerald wrote: > >>On 20/11/18 15:56, Marek Szyprowski wrote: > >>>On 2018-11-20 16:36, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:32:15PM

[PATCH] regulator: wm8994: Don't use devres for enable GPIOs

2018-11-20 Thread Charles Keepax
We need to manage the life time of the enable GPIO against the regulator device but the OF node lives on the parent MFD device. As such we can't use the devm functions which assume the same device will be used for both. Reported-by: Marek Szyprowski Signed-off-by: Charles Keepax --- This patch

[PATCH] regulator: wm8994: Don't use devres for enable GPIOs

2018-11-20 Thread Charles Keepax
We need to manage the life time of the enable GPIO against the regulator device but the OF node lives on the parent MFD device. As such we can't use the devm functions which assume the same device will be used for both. Reported-by: Marek Szyprowski Signed-off-by: Charles Keepax --- This patch

[PATCH v2 5/5] Staging: iio: adt7316: Use device tree data to assign irq_type

2018-11-20 Thread Shreeya Patel
ADT7316 driver no more uses platform data and hence use device tree data instead of platform data for assigning irq_type field. Switch case figures out the type of irq and if it's the default case then assign the default value to the irq_type i.e. irq_type = IRQF_TRIGGER_LOW Signed-off-by:

[PATCH v2 5/5] Staging: iio: adt7316: Use device tree data to assign irq_type

2018-11-20 Thread Shreeya Patel
ADT7316 driver no more uses platform data and hence use device tree data instead of platform data for assigning irq_type field. Switch case figures out the type of irq and if it's the default case then assign the default value to the irq_type i.e. irq_type = IRQF_TRIGGER_LOW Signed-off-by:

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: > > Deferred probe was there already. This patch however introduced the > > warning from gpiolib and I would like to have it fixed somehow. In both > I don't follow what it is you

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 04:57:16PM +, Richard Fitzgerald wrote: > On 20/11/18 16:34, Marek Szyprowski wrote: > > Deferred probe was there already. This patch however introduced the > > warning from gpiolib and I would like to have it fixed somehow. In both > I don't follow what it is you

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:57:32AM -0800, Doug Anderson wrote: > OK. I guess for now I'll just change this to disable the parent > supply as many times as this individual consumer enabled it and call > it good enough? It can be for someone else to figure out how to make > it really usable for

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:57:32AM -0800, Doug Anderson wrote: > OK. I guess for now I'll just change this to disable the parent > supply as many times as this individual consumer enabled it and call > it good enough? It can be for someone else to figure out how to make > it really usable for

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:57:32AM -0800, Doug Anderson wrote: > On Tue, Nov 20, 2018 at 8:25 AM Mark Brown wrote: > > I do wish there > > were a way to flag API calls as needing review :( > Would it be worth adding a WARN_ON(1) splat here or at least a > "dev_warn" so people knew it wasn't

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:57:32AM -0800, Doug Anderson wrote: > On Tue, Nov 20, 2018 at 8:25 AM Mark Brown wrote: > > I do wish there > > were a way to flag API calls as needing review :( > Would it be worth adding a WARN_ON(1) splat here or at least a > "dev_warn" so people knew it wasn't

Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Greg Kroah-Hartman
On Tue, Nov 20, 2018 at 08:14:19AM -0800, Tejun Heo wrote: > On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > > kernfs_notify() does two notifications: poll and fsnotify. Originally, > > both notifications were done from scheduled work context and all that > > kernfs_notify() did was

[PATCH v2 4/5] Staging: iio: adt7316: Change the name from irq_flags to irq_type

2018-11-20 Thread Shreeya Patel
Most of the drivers in IIO uses irq_type as the name for storing the interrupt type and hence change the name from irq_flags to irq_type for maintaining the consistency. Signed-off-by: Shreeya Patel --- drivers/staging/iio/addac/adt7316.c | 8 1 file changed, 4 insertions(+), 4

Re: [PATCH 1/1] Improve kernfs_notify() poll notification latency

2018-11-20 Thread Greg Kroah-Hartman
On Tue, Nov 20, 2018 at 08:14:19AM -0800, Tejun Heo wrote: > On Thu, Nov 15, 2018 at 09:09:54PM -0500, Radu Rendec wrote: > > kernfs_notify() does two notifications: poll and fsnotify. Originally, > > both notifications were done from scheduled work context and all that > > kernfs_notify() did was

[PATCH v2 4/5] Staging: iio: adt7316: Change the name from irq_flags to irq_type

2018-11-20 Thread Shreeya Patel
Most of the drivers in IIO uses irq_type as the name for storing the interrupt type and hence change the name from irq_flags to irq_type for maintaining the consistency. Signed-off-by: Shreeya Patel --- drivers/staging/iio/addac/adt7316.c | 8 1 file changed, 4 insertions(+), 4

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:52:14AM -0800, Doug Anderson wrote: > I don't want to send v2 of things while you're still reviewing. If > you have a chance give me a ping when you're ready for me to send out > v2 of things. ...otherwise I'll plan to send it out later today or > tomorrow morning.

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 08:52:14AM -0800, Doug Anderson wrote: > I don't want to send v2 of things while you're still reviewing. If > you have a chance give me a ping when you're ready for me to send out > v2 of things. ...otherwise I'll plan to send it out later today or > tomorrow morning.

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