Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-18 Thread Lorenzo Pieralisi
Hi Samuel, On Wed, Jul 17, 2013 at 10:07:00PM +0100, Samuel Ortiz wrote: Hi Lorenzo, On Tue, Jul 16, 2013 at 05:05:42PM +0100, Lorenzo Pieralisi wrote: Hello, version v5 of VExpress SPC driver, please read on the changelog for major changes and explanations. The probing scheme

Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-17 Thread Lorenzo Pieralisi
On Wed, Jul 17, 2013 at 10:18:25AM +0100, Pawel Moll wrote: On Tue, 2013-07-16 at 17:05 +0100, Lorenzo Pieralisi wrote: /drivers/mfd is probably not the right place for this code as it stands (but probably will be when the entire driver, with DVFS and config interface, is complete

Re: [RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-07-16 Thread Lorenzo Pieralisi
On Mon, Jul 15, 2013 at 07:50:46PM +0100, Rob Herring wrote: On 07/15/2013 04:34 AM, Lorenzo Pieralisi wrote: On Fri, Jul 12, 2013 at 03:47:17PM +0100, Rob Herring wrote: On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: In order to extend the current

[RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-16 Thread Lorenzo Pieralisi
sections warning - Fixed two minor bugs Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Documentation/devicetree/bindings/mfd/vexpress-spc.txt | 36 ++ drivers/mfd/Kconfig| 10 + drivers/mfd/Makefile

[RFC PATCH v5 1/1] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-07-16 Thread Lorenzo Pieralisi
Johansson o...@lixom.net Cc: Pawel Moll pawel.m...@arm.com Cc: Amit Kucheria amit.kuche...@linaro.org Cc: Jon Medhurst t...@linaro.org Signed-off-by: Achin Gupta achin.gu...@arm.com Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Signed-off-by: Sudeep KarkadaNagesha sudeep.karkadanage

Re: [RFC PATCH v4 03/18] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-07-15 Thread Lorenzo Pieralisi
On Fri, Jul 12, 2013 at 03:47:17PM +0100, Rob Herring wrote: On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates

Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings

2013-07-05 Thread Lorenzo Pieralisi
On Sun, Jun 30, 2013 at 10:48:46AM +0100, Lorenzo Pieralisi wrote: On Sat, Jun 29, 2013 at 08:38:19PM +0100, Russell King - ARM Linux wrote: On Fri, Jun 28, 2013 at 01:05:42PM -0700, Olof Johansson wrote: On Fri, Jun 28, 2013 at 1:03 PM, Maxime Ripard maxime.rip...@free-electrons.com

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-26 Thread Lorenzo Pieralisi
Hi Magnus, thank you. On Wed, Jun 26, 2013 at 07:20:32AM +0100, Magnus Damm wrote: Hi Lorenzo, On Wed, Jun 26, 2013 at 2:07 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Tue, Jun 25, 2013 at 03:56:22PM +0100, Stephen Warren wrote: On 06/25/2013 05:45 AM, Grant Likely wrote

Re: [GIT PULL] ARM DT cpus/cpu bindings documentation updates

2013-06-26 Thread Lorenzo Pieralisi
Hi Grant, Rob, On Thu, May 23, 2013 at 11:33:15AM +0100, Lorenzo Pieralisi wrote: Hi Grant, Rob, please pull the cpus/cpu nodes bindings updates for ARM. This pull request completes my previous pull request: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/169110.html

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-25 Thread Lorenzo Pieralisi
Hi Grant, thanks for commenting. On Tue, Jun 25, 2013 at 12:45:25PM +0100, Grant Likely wrote: On Mon, Jun 24, 2013 at 5:33 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: Hi all, I am dealing with a lingering problem related to init and probing of platform devices early

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-25 Thread Lorenzo Pieralisi
On Tue, Jun 25, 2013 at 03:56:22PM +0100, Stephen Warren wrote: On 06/25/2013 05:45 AM, Grant Likely wrote: On Mon, Jun 24, 2013 at 5:33 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: Hi all, I am dealing with a lingering problem related to init and probing of platform

[RFC] early init and DT platform devices allocation/registration

2013-06-24 Thread Lorenzo Pieralisi
Hi all, I am dealing with a lingering problem related to init and probing of platform devices early (before initcalls) in the kernel boot process. The problem, which is nothing new, is related to how platform devices are created in the kernel from DT and when they become available. Platform

Re: [PATCH 5/6] ARM: dts: imx27 cpufreq-cpu0 frequencies

2013-06-21 Thread Lorenzo Pieralisi
On Fri, Jun 21, 2013 at 06:23:46AM +0100, Shawn Guo wrote: On Fri, Jun 21, 2013 at 08:54:53AM +0400, Alexander Shiyan wrote: On Thu, Jun 20, 2013 at 04:50:14PM +0200, Markus Pargmann wrote: + cpus { + #size-cells = 0; + #address-cells = 1; +

Re: [PATCH] ARM: kernel: document ARM CPUs clock-frequency property

2013-06-19 Thread Lorenzo Pieralisi
On Wed, Jun 19, 2013 at 11:27:50AM +0100, Florian Fainelli wrote: Hello Mark, 2013/6/19 Mark Rutland mark.rutl...@arm.com: On Wed, Jun 19, 2013 at 10:47:17AM +0100, Florian Fainelli wrote: ARM CPU device tree nodes may contain an optional clock-frequency property, when set, this property

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
Hi Olof, thanks a lot. On Mon, Jun 17, 2013 at 06:44:51PM +0100, Olof Johansson wrote: On Mon, Jun 17, 2013 at 04:51:09PM +0100, Lorenzo Pieralisi wrote: The TC2 versatile express core tile integrates a logic block that provides the interface between the dual cluster test-chip and the M3

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-18 Thread Lorenzo Pieralisi
On Tue, Jun 18, 2013 at 05:25:22AM +0100, Nicolas Pitre wrote: On Mon, 17 Jun 2013, Lorenzo Pieralisi wrote: The TC2 versatile express core tile integrates a logic block that provides the interface between the dual cluster test-chip and the M3 microcontroller that carries out power

[RFC PATCH v4 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-17 Thread Lorenzo Pieralisi
From: Pawel Moll pawel.m...@arm.com The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates

[RFC PATCH v4 0/2] drivers: mfd: Versatile Express SPC support

2013-06-17 Thread Lorenzo Pieralisi
to comply with the Versatile Express config API, second patch is the SPC driver implementation. Code extensively exercised through CPUidle and CPUfreq power states and operating point transitions. Lorenzo Pieralisi (1): drivers: mfd: vexpress: add Serial Power Controller (SPC) support Pawel Moll (1

[RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-17 Thread Lorenzo Pieralisi
...@lixom.net Cc: Pawel Moll pawel.m...@arm.com Cc: Amit Kucheria amit.kuche...@linaro.org Cc: Jon Medhurst t...@linaro.org Signed-off-by: Achin Gupta achin.gu...@arm.com Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Signed-off-by: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Reviewed

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-14 Thread Lorenzo Pieralisi
these days. Please find a shorter suitable prefix than vexpress_spc_.* too, it's way too long. Ok. On Thu, Jun 06, 2013 at 10:59:23AM +0100, Lorenzo Pieralisi wrote: The TC2 versatile express core tile integrates a logic block that provides the interface between the dual cluster test

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-13 Thread Lorenzo Pieralisi
:23AM +0100, Lorenzo Pieralisi wrote: diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index d54e985..391eda1 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1148,3 +1148,10 @@ config VEXPRESS_CONFIG help Platform configuration infrastructure for the ARM

Re: [RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-11 Thread Lorenzo Pieralisi
management back-ends, your ack would be appreciated, if you think it is worth it of course. Thank you very much indeed, Lorenzo On Thu, Jun 06, 2013 at 10:59:21AM +0100, Lorenzo Pieralisi wrote: This patch is v3 of a previous posting: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June

Re: [PATCH] arm/dt: Don't add disabled CPUs to system topology

2013-06-07 Thread Lorenzo Pieralisi
On Fri, Jun 07, 2013 at 03:20:20PM +0100, Rob Herring wrote: On 06/07/2013 05:23 AM, Lorenzo Pieralisi wrote: Hi James, On Thu, Jun 06, 2013 at 06:11:25PM +0100, James King wrote: If CPUs are marked as disabled in the devicetree, make sure they do not exist in the system CPU

Re: [PATCH] arm/dt: Don't add disabled CPUs to system topology

2013-06-07 Thread Lorenzo Pieralisi
On Fri, Jun 07, 2013 at 12:48:58PM +0100, James King wrote: Hi Lorenzo, On 7 June 2013 11:23, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: Hi James, On Thu, Jun 06, 2013 at 06:11:25PM +0100, James King wrote: If CPUs are marked as disabled in the devicetree, make sure they do

[RFC PATCH v3 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-06 Thread Lorenzo Pieralisi
From: Pawel Moll pawel.m...@arm.com The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates

[RFC PATCH v2 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-05 Thread Lorenzo Pieralisi
: Nicolas Pitre nicolas.pi...@linaro.org Cc: Amit Kucheria amit.kuche...@linaro.org Cc: Jon Medhurst t...@linaro.org Signed-off-by: Achin Gupta achin.gu...@arm.com Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Signed-off-by: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com

[RFC PATCH v2 1/2] drivers: mfd: refactor the vexpress config bridge API

2013-06-05 Thread Lorenzo Pieralisi
From: Pawel Moll pawel.m...@arm.com The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates

Re: [RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-06-03 Thread Lorenzo Pieralisi
On Mon, Jun 03, 2013 at 11:15:32AM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2013-05-24 at 13:53 +0100, Lorenzo Pieralisi wrote: In case some transactions to the Serial Power Controller (SPC) are lost owing to multiple operations handled at once by the M3 controller the OS needs to rely

Re: [RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-06-03 Thread Lorenzo Pieralisi
On Mon, Jun 03, 2013 at 01:03:50PM +0100, Jon Medhurst (Tixy) wrote: On Mon, 2013-06-03 at 12:52 +0100, Lorenzo Pieralisi wrote: On Mon, Jun 03, 2013 at 11:15:32AM +0100, Jon Medhurst (Tixy) wrote: On Fri, 2013-05-24 at 13:53 +0100, Lorenzo Pieralisi wrote: In case some transactions

[RFC PATCH 0/3] drivers: mfd: Versatile Express SPC support

2013-05-24 Thread Lorenzo Pieralisi
patches provide changes required by SPC to comply with the Versatile Express config API, third patch is the SPC driver implementation. Code extensively exercised through CPUidle and CPUfreq power states and operating point transitions. Lorenzo Pieralisi (2): drivers: mfd: vexpress: add timeout API

[RFC PATCH 1/3] drivers: mfd: refactor the vexpress config bridge API

2013-05-24 Thread Lorenzo Pieralisi
From: Pawel Moll pawel.m...@arm.com The introduction of Serial Power Controller (SPC) requires the vexpress config interface to change slightly since the SPC memory mapped interface can be used as configuration bus but also for operating points programming and retrieval. The helper that allocates

[RFC PATCH 2/3] drivers: mfd: vexpress: add timeout API to vexpress config interface

2013-05-24 Thread Lorenzo Pieralisi
pawel.m...@arm.com Cc: Nicolas Pitre nicolas.pi...@linaro.org Cc: Amit Kucheria amit.kuche...@linaro.org Cc: Jon Medhurst t...@linaro.org Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- drivers/mfd/vexpress-config.c | 26 +++--- include/linux/vexpress.h | 23 ++-- 2 files

[RFC PATCH 3/3] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-05-24 Thread Lorenzo Pieralisi
: Nicolas Pitre nicolas.pi...@linaro.org Cc: Amit Kucheria amit.kuche...@linaro.org Cc: Jon Medhurst t...@linaro.org Signed-off-by: Achin Gupta achin.gu...@arm.com Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Signed-off-by: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com

[GIT PULL] ARM DT cpus/cpu bindings documentation updates

2013-05-23 Thread Lorenzo Pieralisi
: arm: cpus/cpu nodes bindings updates (2013-05-23 10:46:46 +0100) Lorenzo Pieralisi (1): Documentation: devicetree: arm: cpus/cpu nodes bindings updates Documentation/devicetree/bindings/arm/cpus.txt | 459

[GIT PULL] ARM dts cpus/cpu nodes updates

2013-05-23 Thread Lorenzo Pieralisi
: cpus/cpu nodes dts updates (2013-05-23 10:45:22 +0100) Lorenzo Pieralisi (14): ARM: dts: am33xx: cpus/cpu nodes dts updates ARM: dts: armada-370-xp: cpus/cpu node dts updates ARM: dts: at91: cpus/cpu node dts

[GIT PULL] ARM cpu logical map init updates

2013-05-23 Thread Lorenzo Pieralisi
) Lorenzo Pieralisi (3): ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization ARM: DT: kernel: DT cpus/cpu node bindings update arch/arm/include/asm/cputype.h | 2

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-21 Thread Lorenzo Pieralisi
On Mon, May 20, 2013 at 01:11:21PM +0100, Jon Medhurst (Tixy) wrote: On Thu, 2013-05-09 at 11:34 +0100, Lorenzo Pieralisi wrote: [...] +static int __init cci_probe(void) +{ + struct cci_nb_ports const *cci_config; + int ret, i, nb_ace = 0, nb_ace_lite = 0; + struct device_node

[RFC PATCH v4 14/18] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/r8a7740.dtsi | 4 1 file changed, 4 insertions

[RFC PATCH v4 15/18] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Simon Horman horms+rene...@verge.net.au --- arch/arm/boot/dts/sh7372.dtsi | 5 + 1 file changed, 5 insertions

[RFC PATCH v4 00/18] ARM: DT cpu bindings updates

2013-05-17 Thread Lorenzo Pieralisi
compiled for 64-bit kernels can also be used to boot a 32-bit system. Lorenzo Pieralisi (18): ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization Documentation: devicetree: arm: cpus/cpu nodes bindings updates ARM: dts

[RFC PATCH v4 07/18] ARM: dts: exynos5440: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/exynos5440.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b

[RFC PATCH v4 02/18] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-17 Thread Lorenzo Pieralisi
array used to stash DT reg properties while parsing DT are initialized with the MPIDR_INVALID value as well for consistency. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com CC: Will Deacon will.dea...@arm.com --- arch/arm/include/asm/cputype.h | 2 ++ arch/arm/include/asm/smp_plat.h | 2

[RFC PATCH v4 11/18] ARM: dts: picoxcell: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 8 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 8 2 files changed, 8

[RFC PATCH v4 18/18] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-05-17 Thread Lorenzo Pieralisi
and the kernel flags this up as such to trigger firmware updates. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/kernel/devtree.c | 146 -- 1 file changed, 88 insertions(+), 58 deletions(-) diff --git a/arch/arm/kernel/devtree.c b

[RFC PATCH v4 12/18] ARM: dts: prima2: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Barry Song baohua.s...@csr.com --- arch/arm/boot/dts/prima2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[RFC PATCH v4 13/18] ARM: dts: pxa2xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/pxa2xx.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[RFC PATCH v4 06/18] ARM: dts: at91: cpus/cpu node dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91rm9200.dtsi | 6 +- arch/arm/boot/dts/at91sam9260

[RFC PATCH v4 09/18] ARM: dts: lpc32xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/lpc32xx.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[RFC PATCH v4 04/18] ARM: dts: am33xx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/am33xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm

[RFC PATCH v4 08/18] ARM: dts: imx: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Acked-by: Shawn Guo shawn@linaro.org --- arch/arm/boot/dts/imx23.dtsi | 8 ++-- arch/arm/boot/dts/imx28.dtsi | 8

[RFC PATCH v4 10/18] ARM: dts: omap: cpus/cpu nodes dts updates

2013-05-17 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/omap2.dtsi | 6 +- arch/arm/boot/dts/omap3.dtsi | 5 + arch/arm/boot/dts/omap4.dtsi | 7 +++ arch

[GIT PULL] ARM DT topology bindings

2013-05-17 Thread Lorenzo Pieralisi
to 9cb1b6c8d59f09e51c87ac812b83d0350151ed3b: Documentation: DT: arm: define CPU topology bindings (2013-05-17 16:40:12 +0100) Lorenzo Pieralisi (1): Documentation: DT: arm: define CPU topology bindings Documentation/devicetree/bindings/arm/topology.txt | 492

Re: [RFC PATCH v4 01/18] ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-05-17 Thread Lorenzo Pieralisi
On Fri, May 17, 2013 at 05:31:18PM +0100, Rob Herring wrote: On Fri, May 17, 2013 at 10:20 AM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: The introduction of the cpu-map topology node in the cpus node implies that cpus node might have children that are not cpu nodes. The DT parsing

[PATCH 3/3] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-16 Thread Lorenzo Pieralisi
, statically initializes the __cpu_logical_map[] array to it and allows DT parsing code to overwrite values in the __cpu_logical_map array that were erroneously set-up in smp_setup_processor_id(). Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com CC: Will Deacon will.dea...@arm.com --- arch/arm

[PATCH 1/3] ARM: DT: kernel: move temporary cpu map stack array to static data

2013-05-16 Thread Lorenzo Pieralisi
as __initdata since it need not be persistent after boot. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/kernel/devtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 5af04f6..3d652e4f 100644

[PATCH 0/3] ARM: kernel: cpu_logical_map misc fixes

2013-05-16 Thread Lorenzo Pieralisi
and arm64. Thank you very much, Lorenzo Lorenzo Pieralisi (3): ARM: DT: kernel: move temporary cpu map stack array to static data ARM: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes ARM: kernel: fix __cpu_logical_map default initialization arch/arm/include/asm/cputype.h | 2

Re: [PATCH 3/3] ARM: kernel: fix __cpu_logical_map default initialization

2013-05-16 Thread Lorenzo Pieralisi
On Thu, May 16, 2013 at 04:50:38PM +0100, Will Deacon wrote: On Thu, May 16, 2013 at 04:34:07PM +0100, Lorenzo Pieralisi wrote: For legacy reasons, the __cpu_logical_map array is initialized to 0. On old pre-DT ARM platforms, smp_setup_processor_id() generates __cpu_logical_map entries

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-15 Thread Lorenzo Pieralisi
On Tue, May 14, 2013 at 11:21:32PM +0100, Nicolas Pitre wrote: On Tue, 14 May 2013, Javi Merino wrote: On Thu, May 09, 2013 at 11:34:00AM +0100, Lorenzo Pieralisi wrote: +static inline void init_cpu_port(struct cpu_port *port, u32 index, u32 mpidr) The mpidr should be u64

Re: [RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-15 Thread Lorenzo Pieralisi
On Wed, May 15, 2013 at 03:51:43PM +0100, Nicolas Pitre wrote: On Wed, 15 May 2013, Lorenzo Pieralisi wrote: On Tue, May 14, 2013 at 11:21:32PM +0100, Nicolas Pitre wrote: On Tue, 14 May 2013, Javi Merino wrote: On Thu, May 09, 2013 at 11:34:00AM +0100, Lorenzo Pieralisi wrote

Re: [RFC PATCH v3 05/17] ARM: dts: at91: cpus/cpu node dts updates

2013-05-14 Thread Lorenzo Pieralisi
On Tue, May 14, 2013 at 10:20:00AM +0100, Nicolas Ferre wrote: On 29/04/2013 11:54, Nicolas Ferre : On 04/24/2013 07:28 PM, Lorenzo Pieralisi : This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi

[RFC PATCH v3] ARM CCI support

2013-05-09 Thread Lorenzo Pieralisi
bus can address the entire address space visible to CPUs. Lorenzo Pieralisi (1): drivers: bus: add ARM CCI support Documentation/devicetree/bindings/arm/cci.txt | 161 ++ drivers/bus/Kconfig | 7 + drivers/bus/Makefile | 2

[RFC PATCH v3] drivers: bus: add ARM CCI support

2013-05-09 Thread Lorenzo Pieralisi
bus masters phandle properties that link the interface resources to masters node in the device tree. Documentation describing the CCI DT bindings is provided with the patch. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- Documentation/devicetree/bindings/arm/cci.txt | 161

Re: [RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-07 Thread Lorenzo Pieralisi
On Fri, May 03, 2013 at 04:17:07PM +0100, Javi Merino wrote: Hi Lorenzo, On Wed, May 01, 2013 at 05:18:28PM +0100, Lorenzo Pieralisi wrote: On ARM multi-cluster systems coherency between cores running on different clusters is managed by the cache-coherent interconnect (CCI). It allows

Re: [RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-07 Thread Lorenzo Pieralisi
On Mon, May 06, 2013 at 04:05:28PM +0100, Nicolas Pitre wrote: Review comments below. Thanks Nico. On Wed, 1 May 2013, Lorenzo Pieralisi wrote: index 000..fb9e8e0 --- /dev/null +++ b/drivers/bus/arm-cci.c @@ -0,0 +1,372 @@ +/* + * CCI cache coherent interconnect driver

Re: [RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update

2013-05-03 Thread Lorenzo Pieralisi
On Thu, May 02, 2013 at 07:31:05PM +0100, Stephen Warren wrote: On 04/22/2013 09:27 AM, Lorenzo Pieralisi wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates device tree documentation

[RFC PATCH v2] ARM CCI support

2013-05-01 Thread Lorenzo Pieralisi
the OS to build up the required data structures. The current CCI DT bindings define the CCI address space as the same one as the root device tree node, which means that the CCI bus can address the entire address space visible to CPUs. Lorenzo Pieralisi (1): drivers: bus: add ARM CCI support

[RFC PATCH v2] drivers: bus: add ARM CCI support

2013-05-01 Thread Lorenzo Pieralisi
bus masters phandle properties that link the interface resources to masters node in the device tree. Documentation describing the CCI DT bindings is provided with the patch. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- Documentation/devicetree/bindings/arm/cci.txt | 161

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-26 Thread Lorenzo Pieralisi
On Fri, Apr 26, 2013 at 03:51:10AM +0100, Rob Herring wrote: On Wed, Apr 24, 2013 at 12:28 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates

Re: [RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates

2013-04-25 Thread Lorenzo Pieralisi
On Thu, Apr 25, 2013 at 06:44:28AM +0100, Shawn Guo wrote: On Wed, Apr 24, 2013 at 06:28:12PM +0100, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-25 Thread Lorenzo Pieralisi
On Wed, Apr 24, 2013 at 08:58:20PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: [...] + - compatible: + Usage: required + Value type: string + Definition: should be one of: + arm,arm710t +

Re: [RFC PATCH v2 03/13] ARM: mach-at91: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 08:52:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:53 Tue 23 Apr , Lorenzo Pieralisi wrote: On Tue, Apr 23, 2013 at 02:11:46PM +0100, Rob Herring wrote: On 04/22/2013 10:27 AM, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files

[RFC PATCH v3 01/17] ARM: DT: kernel: move temporary cpu map stack array to static data

2013-04-24 Thread Lorenzo Pieralisi
as __initdata since it need not be persistent after boot. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/kernel/devtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 70f1bde..f149217 100644

[RFC PATCH v3 00/17] ARM: DT cpu bindings updates

2013-04-24 Thread Lorenzo Pieralisi
compiled for 64-bit kernels can also be used to boot a 32-bit system. Lorenzo Pieralisi (17): ARM: DT: kernel: move temporary cpu map stack array to static data Documentation: devicetree: arm: cpus/cpu nodes bindings updates ARM: dts: am33xx: cpus/cpu nodes dts updates ARM: dts: armada-370-xp

[RFC PATCH v3 04/17] ARM: dts: armada-370-xp: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/armada-370-xp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/armada-370

[RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/imx23.dtsi | 8 ++-- arch/arm/boot/dts/imx28.dtsi | 8 ++-- arch/arm/boot/dts/imx6dl.dtsi | 2

[RFC PATCH v3 09/17] ARM: dts: omap: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/omap2.dtsi | 6 +- arch/arm/boot/dts/omap3.dtsi | 5 + arch/arm/boot/dts/omap4.dtsi | 7 +++ arch

[RFC PATCH v3 12/17] ARM: dts: pxa2xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/pxa2xx.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[RFC PATCH v3 14/17] ARM: dts: sh7372: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/sh7372.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sh7372.dtsi b/arch/arm

[RFC PATCH v3 13/17] ARM: dts: r8a7740: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/r8a7740.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch

[RFC PATCH v3 11/17] ARM: dts: prima2: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/prima2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm

[RFC PATCH v3 06/17] ARM: dts: exynos5440: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/exynos5440.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5440

[RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-24 Thread Lorenzo Pieralisi
dts compatibility settings - defines behaviour on pre and post v7 uniprocessor systems - adds ARM 11MPcore specific reg property definition Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- Documentation/devicetree/bindings/arm/cpus.txt | 457 ++--- 1 file

[RFC PATCH v3 15/17] ARM: dts: spear: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/spear13xx.dtsi | 2 ++ arch/arm/boot/dts/spear3xx.dtsi | 8 ++-- arch/arm/boot/dts/spear600.dtsi | 8

[RFC PATCH v3 08/17] ARM: dts: lpc32xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/lpc32xx.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[RFC PATCH v3 05/17] ARM: dts: at91: cpus/cpu node dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/at91rm9200.dtsi | 6 +- arch/arm/boot/dts/at91sam9260.dtsi | 8 ++-- arch/arm/boot/dts/at91sam9263

[RFC PATCH v3 03/17] ARM: dts: am33xx: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/am33xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm

[RFC PATCH v3 10/17] ARM: dts: picoxcell: cpus/cpu nodes dts updates

2013-04-24 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/picoxcell-pc3x2.dtsi | 8 arch/arm/boot/dts/picoxcell-pc3x3.dtsi | 8 2 files changed, 8

[RFC PATCH v3 17/17] ARM: DT: kernel: DT cpus/cpu node bindings update

2013-04-24 Thread Lorenzo Pieralisi
and the kernel flags this up as a bug to force firmware updates. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/kernel/devtree.c | 78 +-- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/arch/arm/kernel/devtree.c b

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 03:13:18AM +0100, Tony Prisk wrote: On 23/04/13 03:27, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 03:20:46AM +0100, Tony Prisk wrote: On 23/04/13 14:13, Tony Prisk wrote: On 23/04/13 03:27, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi

Re: [RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 03:43:48AM +0100, Tony Prisk wrote: On 23/04/13 03:27, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm

Re: [RFC PATCH v2 00/13] ARM: DT cpu bindings updates

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 10:09:43AM +0100, Will Deacon wrote: Hi Lorenzo, On Mon, Apr 22, 2013 at 08:18:41PM +0100, Arnd Bergmann wrote: On Monday 22 April 2013, Lorenzo Pieralisi wrote: Thoughts? I notice Catalin has some patches queued for arm64 which unconditionally use

Re: [RFC PATCH v2 03/13] ARM: mach-at91: cpus/cpu node dts updates

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 02:11:46PM +0100, Rob Herring wrote: On 04/22/2013 10:27 AM, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch

Re: [RFC PATCH] drivers: bus: add ARM CCI support

2013-04-23 Thread Lorenzo Pieralisi
On Tue, Apr 23, 2013 at 02:52:08PM +0100, Jon Medhurst (Tixy) wrote: On Thu, 2013-04-11 at 15:47 +0100, Lorenzo Pieralisi wrote: [...] diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c new file mode 100644 index 000..81953de --- /dev/null +++ b/drivers/bus/arm-cci.c

[RFC PATCH v2 12/13] ARM: mach-vt8500: cpus/cpu nodes dts updates

2013-04-22 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/wm8505.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/wm8505.dtsi

[RFC PATCH v2 13/13] ARM: DT: kernel: DT cpu node bindings update

2013-04-22 Thread Lorenzo Pieralisi
with cpu nodes missing the boot CPU MPIDR is considered a hard error and the kernel flags this up as a bug to force firmware updates. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- Documentation/devicetree/bindings/arm/cpus.txt | 378 ++--- arch/arm/kernel/devtree.c

[RFC PATCH v2 00/13] ARM: DT cpu bindings updates

2013-04-22 Thread Lorenzo Pieralisi
code relying on that (bogus) assumption must be updated properly. Lorenzo Pieralisi (13): ARM: DT: kernel: move temporary cpu map stack array to static data ARM: mach-mv78xx0: cpus/cpu node dts updates ARM: mach-at91: cpus/cpu node dts updates ARM: mach-exynos: cpus/cpu nodes dts updates

[RFC PATCH v2 09/13] ARM: mach-shmobile: cpus/cpu nodes dts updates

2013-04-22 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/r8a7740.dtsi | 3 +++ arch/arm/boot/dts/sh7372.dtsi | 4 2 files changed, 7 insertions(+) diff --git

[RFC PATCH v2 03/13] ARM: mach-at91: cpus/cpu node dts updates

2013-04-22 Thread Lorenzo Pieralisi
This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/boot/dts/at91sam9260.dtsi | 2 +- arch/arm/boot/dts/at91sam9263.dtsi | 2 +- arch/arm/boot/dts/at91sam9g45.dtsi | 2

[RFC PATCH v2 01/13] ARM: DT: kernel: move temporary cpu map stack array to static data

2013-04-22 Thread Lorenzo Pieralisi
as __initdata since it need not be persistent after boot. Signed-off-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com --- arch/arm/kernel/devtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 70f1bde..f149217 100644

  1   2   3   >