Re: [PATCH 5/6] arm64, defconfig: Enable PCI

2014-09-24 Thread Robert Richter
On 24.09.14 18:14:11, Arnd Bergmann wrote: On Wednesday 24 September 2014 17:37:47 Robert Richter wrote: config PCI bool PCI support + default y help This feature enables support for PCIe bus system. If you say Y here, the kernel will include

Re: [PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-23 Thread Robert Richter
Olof, On 23.09.14 12:21:05, Catalin Marinas wrote: > On Tue, Sep 23, 2014 at 11:46:41AM +0100, Will Deacon wrote: > > On Tue, Sep 23, 2014 at 11:41:22AM +0100, Robert Richter wrote: > > > On 12.09.14 19:49:43, Robert Richter wrote: > > > > From: Robert Richter

Re: [PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-23 Thread Robert Richter
On 19.09.14 15:08:56, Catalin Marinas wrote: > On Fri, Sep 19, 2014 at 01:30:56PM +0100, Robert Richter wrote: > > On 16.09.14 20:49:18, Andrew Bresticker wrote: > > > > Robert Richter (6): > > > > dts, arm64: Add dtbs_install make target > > > >

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-23 Thread Robert Richter
On 23.09.14 11:46:56, Mark Rutland wrote: > On Tue, Sep 23, 2014 at 11:44:31AM +0100, Robert Richter wrote: > > On 08.09.14 13:44:48, Robert Richter wrote: > > Catalin, Will, > > > > please consider applying this patch. > > This is already in the arm64 fo

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-23 Thread Robert Richter
On 08.09.14 13:44:48, Robert Richter wrote: > From: Robert Richter > > Raising the current maximum limit to 64. This is needed for Cavium's > Thunder systems that will have at least 48 cores per die. > > The change keeps the current memory footprint in cpu mask structures. &

Re: [PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-23 Thread Robert Richter
On 12.09.14 19:49:43, Robert Richter wrote: > From: Robert Richter > > This initial patches enable Cavium Thunder SoC Family. The patches add > devicetree and Kconfig support and then add Thunder to the defconfig. > > The Thunder system needs more enablement patches for subsys

Re: [PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-23 Thread Robert Richter
On 12.09.14 19:49:43, Robert Richter wrote: From: Robert Richter rrich...@cavium.com This initial patches enable Cavium Thunder SoC Family. The patches add devicetree and Kconfig support and then add Thunder to the defconfig. The Thunder system needs more enablement patches for subsystems

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-23 Thread Robert Richter
On 08.09.14 13:44:48, Robert Richter wrote: From: Robert Richter rrich...@cavium.com Raising the current maximum limit to 64. This is needed for Cavium's Thunder systems that will have at least 48 cores per die. The change keeps the current memory footprint in cpu mask structures. It does

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-23 Thread Robert Richter
On 23.09.14 11:46:56, Mark Rutland wrote: On Tue, Sep 23, 2014 at 11:44:31AM +0100, Robert Richter wrote: On 08.09.14 13:44:48, Robert Richter wrote: Catalin, Will, please consider applying this patch. This is already in the arm64 for-next/core branch [1]. Mark. [1] https

Re: [PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-23 Thread Robert Richter
On 19.09.14 15:08:56, Catalin Marinas wrote: On Fri, Sep 19, 2014 at 01:30:56PM +0100, Robert Richter wrote: On 16.09.14 20:49:18, Andrew Bresticker wrote: Robert Richter (6): dts, arm64: Add dtbs_install make target dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst

Re: [PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-23 Thread Robert Richter
Olof, On 23.09.14 12:21:05, Catalin Marinas wrote: On Tue, Sep 23, 2014 at 11:46:41AM +0100, Will Deacon wrote: On Tue, Sep 23, 2014 at 11:41:22AM +0100, Robert Richter wrote: On 12.09.14 19:49:43, Robert Richter wrote: From: Robert Richter rrich...@cavium.com This initial

Re: [PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-22 Thread Robert Richter
On 20.09.14 04:20:31, Arnd Bergmann wrote: > On Friday 19 September 2014, Bjorn Helgaas wrote: > > On Thu, Sep 18, 2014 at 02:30:25AM +0100, Liviu Dudau wrote: > > > PCI_IOBASE is a virtual address. So PCI_IOBASE + res->start is also a > > virtual address (only for IORESOURCE_IO). > > > > Since

Re: [PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-22 Thread Robert Richter
On 22.09.14 12:43:17, Liviu Dudau wrote: > On Mon, Sep 22, 2014 at 10:32:28AM +0100, Robert Richter wrote: > > On 18.09.14 02:30:23, Liviu Dudau wrote: > > > +int of_pci_get_host_bridge_resources(struct device_node *dev, > > > + unsigned char b

Re: [PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-22 Thread Robert Richter
mem-mapped pci host controllers. The patch below fixes this. This series was tested with the fix on top for Cavium Thunder. Tested-by: Robert Richter -Robert >From e798af4fc2f664d1aff7e863489b8298f90e716e Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Mon, 22 Sep 2014 10:46:01 +0200

Re: [PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-22 Thread Robert Richter
this. This series was tested with the fix on top for Cavium Thunder. Tested-by: Robert Richter rrich...@cavium.com -Robert From e798af4fc2f664d1aff7e863489b8298f90e716e Mon Sep 17 00:00:00 2001 From: Robert Richter rrich...@cavium.com Date: Mon, 22 Sep 2014 10:46:01 +0200 Subject: [PATCH] OF: PCI

Re: [PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-22 Thread Robert Richter
On 22.09.14 12:43:17, Liviu Dudau wrote: On Mon, Sep 22, 2014 at 10:32:28AM +0100, Robert Richter wrote: On 18.09.14 02:30:23, Liviu Dudau wrote: +int of_pci_get_host_bridge_resources(struct device_node *dev, + unsigned char busno, unsigned char bus_max

Re: [PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-22 Thread Robert Richter
On 20.09.14 04:20:31, Arnd Bergmann wrote: On Friday 19 September 2014, Bjorn Helgaas wrote: On Thu, Sep 18, 2014 at 02:30:25AM +0100, Liviu Dudau wrote: PCI_IOBASE is a virtual address. So PCI_IOBASE + res-start is also a virtual address (only for IORESOURCE_IO). Since res-start is

Re: [PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-19 Thread Robert Richter
On 16.09.14 20:49:18, Andrew Bresticker wrote: > > Robert Richter (6): > > dts, arm64: Add dtbs_install make target > > dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst > > dts, arm/arm64: Remove dtbs build rules in sub-makes > > dts, kbuild: Im

Re: [PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-19 Thread Robert Richter
On 16.09.14 20:49:18, Andrew Bresticker wrote: Robert Richter (6): dts, arm64: Add dtbs_install make target dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst dts, arm/arm64: Remove dtbs build rules in sub-makes dts, kbuild: Implement support for dtb vendor subdirs

[PATCH v3 1/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-12 Thread Robert Richter
Chintakuntla Signed-off-by: Robert Richter --- arch/arm64/boot/dts/Makefile | 2 + arch/arm64/boot/dts/thunder-88xx.dts | 67 ++ arch/arm64/boot/dts/thunder-88xx.dtsi | 401 ++ 3 files changed, 470 insertions(+) create mode 100644 arch/arm64/boot/dts

[PATCH v3 4/4] arm64, defconfig: Enable Cavium Thunder SoC in defconfig

2014-09-12 Thread Robert Richter
From: Robert Richter This patch enables Thunder SoCs in the arm64 defconfig. This is esp. useful to add Thunder platforms to automated builds based on arm64 defconfig. Signed-off-by: Robert Richter --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64

[PATCH v3 2/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-12 Thread Robert Richter
From: Radha Mohan Chintakuntla This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- Documentation/devicetree/bindings/arm/cavium-thunder.txt | 10

[PATCH v3 3/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-12 Thread Robert Richter
From: Radha Mohan Chintakuntla This introduces ARCH_THUNDER to enable soc specific drivers and dtb files. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- arch/arm64/Kconfig | 5 + arch/arm64/boot/dts/Makefile | 3 +-- 2 files changed, 6 insertions

[PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-12 Thread Robert Richter
From: Robert Richter This initial patches enable Cavium Thunder SoC Family. The patches add devicetree and Kconfig support and then add Thunder to the defconfig. The Thunder system needs more enablement patches for subsystems and devices, this includes network, ahci, gicv3/gicv3-its, pci, smmu

[PATCH v3 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-12 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This initial patches enable Cavium Thunder SoC Family. The patches add devicetree and Kconfig support and then add Thunder to the defconfig. The Thunder system needs more enablement patches for subsystems and devices, this includes network, ahci, gicv3

[PATCH v3 2/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-12 Thread Robert Richter
From: Radha Mohan Chintakuntla rchintakun...@cavium.com This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com

[PATCH v3 3/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-12 Thread Robert Richter
From: Radha Mohan Chintakuntla rchintakun...@cavium.com This introduces ARCH_THUNDER to enable soc specific drivers and dtb files. Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/Kconfig | 5 + arch

[PATCH v3 4/4] arm64, defconfig: Enable Cavium Thunder SoC in defconfig

2014-09-12 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This patch enables Thunder SoCs in the arm64 defconfig. This is esp. useful to add Thunder platforms to automated builds based on arm64 defconfig. Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1

[PATCH v3 1/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-12 Thread Robert Richter
-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/boot/dts/Makefile | 2 + arch/arm64/boot/dts/thunder-88xx.dts | 67 ++ arch/arm64/boot/dts/thunder-88xx.dtsi | 401 ++ 3 files

Re: [PATCH v2 2/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-11 Thread Robert Richter
Arnd, On 05.09.14 13:21:48, Arnd Bergmann wrote: > On Friday 05 September 2014 09:46:43 Robert Richter wrote: > > diff --git a/arch/arm64/boot/dts/thunder-88xx.dts > > b/arch/arm64/boot/dts/thunder-88xx.dts > > new file mode 100644 > > index ..4cc1d059d2d9

Re: [PATCH v2 2/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-11 Thread Robert Richter
Arnd, On 05.09.14 13:21:48, Arnd Bergmann wrote: On Friday 05 September 2014 09:46:43 Robert Richter wrote: diff --git a/arch/arm64/boot/dts/thunder-88xx.dts b/arch/arm64/boot/dts/thunder-88xx.dts new file mode 100644 index ..4cc1d059d2d9 --- /dev/null +++ b/arch/arm64

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Robert Richter
On 09.09.14 11:19:12, Uwe Kleine-König wrote: > On Tue, Sep 09, 2014 at 11:12:01AM +0200, Robert Richter wrote: > > On 09.09.14 10:00:42, Uwe Kleine-König wrote: > > > On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: > > > > > > @@ -479,7 +47

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Robert Richter
On 09.09.14 10:00:42, Uwe Kleine-König wrote: > On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: > > @@ -479,7 +479,7 @@ static void gic_raise_softirq(const struct cpumask > > *mask, unsigned int irq) > > smp_wmb(); > > > >

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Robert Richter
On 09.09.14 10:00:42, Uwe Kleine-König wrote: On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: @@ -479,7 +479,7 @@ static void gic_raise_softirq(const struct cpumask *mask, unsigned int irq) smp_wmb(); for_each_cpu_mask(cpu, *mask) { - u64

Re: [PATCH] GICv3: Fixing 32 bit compatibility

2014-09-09 Thread Robert Richter
On 09.09.14 11:19:12, Uwe Kleine-König wrote: On Tue, Sep 09, 2014 at 11:12:01AM +0200, Robert Richter wrote: On 09.09.14 10:00:42, Uwe Kleine-König wrote: On Mon, Sep 08, 2014 at 04:11:19PM +0200, Robert Richter wrote: @@ -479,7 +479,7 @@ static void gic_raise_softirq(const struct

[PATCH] ITS: Fixing 32 bit compatibility

2014-09-08 Thread Robert Richter
Marc, On 08.09.14 16:11:19, Robert Richter wrote: > From: Robert Richter > > Fixing 32 bit compatibility by using ULL for u64 constants. the same is true for gicv3-its (branch 'gicv3/its' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms). See the patch below. You

[PATCH] GICv3: Fixing 32 bit compatibility

2014-09-08 Thread Robert Richter
From: Robert Richter Fixing 32 bit compatibility by using ULL for u64 constants. Signed-off-by: Robert Richter --- drivers/irqchip/irq-gic-v3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-08 Thread Robert Richter
On 08.09.14 15:00:47, Arnd Bergmann wrote: > On Monday 08 September 2014 13:44:48 Robert Richter wrote: > > From: Robert Richter > > > > Raising the current maximum limit to 64. This is needed for Cavium's > > Thunder systems that will have at least 48 cores per die

[PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-08 Thread Robert Richter
From: Robert Richter Raising the current maximum limit to 64. This is needed for Cavium's Thunder systems that will have at least 48 cores per die. The change keeps the current memory footprint in cpu mask structures. It does not break existing code. Setting the maximum to 64 cpus still boots

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-08 Thread Robert Richter
On 05.09.14 18:25:35, Arnd Bergmann wrote: > On Friday 05 September 2014 15:22:46 Mark Rutland wrote: > > > > > A common pattern these days is to do dependencies like > > > > > > arch/*/Kconfig: > > > config ARCH_FOO > > > bool "Enable support for Foo platform" > > > help > > >

Re: [PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-08 Thread Robert Richter
On 05.09.14 10:39:33, Mark Rutland wrote: > On Fri, Sep 05, 2014 at 10:32:22AM +0100, Robert Richter wrote: > > On 05.09.14 09:42:00, Will Deacon wrote: > > > On Fri, Sep 05, 2014 at 08:46:44AM +0100, Robert Richter wrote: > > > > From: Radha Mohan Chintakuntla &g

Re: [PATCH 2/6] dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst

2014-09-08 Thread Robert Richter
On 05.09.14 07:48:30, Rob Herring wrote: > On Fri, Sep 5, 2014 at 1:48 AM, Robert Richter wrote: > > From: Robert Richter > > > > Move dtbs install rules to Makefile.dtbinst. This change is needed to > > implement support for dts vendor subdirs. The change makes Makef

Re: [PATCH 2/6] dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst

2014-09-08 Thread Robert Richter
On 05.09.14 07:48:30, Rob Herring wrote: On Fri, Sep 5, 2014 at 1:48 AM, Robert Richter r...@kernel.org wrote: From: Robert Richter rrich...@cavium.com Move dtbs install rules to Makefile.dtbinst. This change is needed to implement support for dts vendor subdirs. The change makes

Re: [PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-08 Thread Robert Richter
On 05.09.14 10:39:33, Mark Rutland wrote: On Fri, Sep 05, 2014 at 10:32:22AM +0100, Robert Richter wrote: On 05.09.14 09:42:00, Will Deacon wrote: On Fri, Sep 05, 2014 at 08:46:44AM +0100, Robert Richter wrote: From: Radha Mohan Chintakuntla rchintakun...@cavium.com This patch

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-08 Thread Robert Richter
On 05.09.14 18:25:35, Arnd Bergmann wrote: On Friday 05 September 2014 15:22:46 Mark Rutland wrote: A common pattern these days is to do dependencies like arch/*/Kconfig: config ARCH_FOO bool Enable support for Foo platform help ...

[PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-08 Thread Robert Richter
From: Robert Richter rrich...@cavium.com Raising the current maximum limit to 64. This is needed for Cavium's Thunder systems that will have at least 48 cores per die. The change keeps the current memory footprint in cpu mask structures. It does not break existing code. Setting the maximum to 64

Re: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64

2014-09-08 Thread Robert Richter
On 08.09.14 15:00:47, Arnd Bergmann wrote: On Monday 08 September 2014 13:44:48 Robert Richter wrote: From: Robert Richter rrich...@cavium.com Raising the current maximum limit to 64. This is needed for Cavium's Thunder systems that will have at least 48 cores per die. The change

[PATCH] GICv3: Fixing 32 bit compatibility

2014-09-08 Thread Robert Richter
From: Robert Richter rrich...@cavium.com Fixing 32 bit compatibility by using ULL for u64 constants. Signed-off-by: Robert Richter rrich...@cavium.com --- drivers/irqchip/irq-gic-v3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers

[PATCH] ITS: Fixing 32 bit compatibility

2014-09-08 Thread Robert Richter
Marc, On 08.09.14 16:11:19, Robert Richter wrote: From: Robert Richter rrich...@cavium.com Fixing 32 bit compatibility by using ULL for u64 constants. the same is true for gicv3-its (branch 'gicv3/its' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms). See the patch below

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 10:36:47, Mark Rutland wrote: > On Fri, Sep 05, 2014 at 10:25:08AM +0100, Will Deacon wrote: > > All I mean is, if the kernel doesn't explode on existing systems by changing > > the upper limit to 64, then we should do that. If you're not comfortable > > that the Thunder code can

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 10:32:40, Russell King - ARM Linux wrote: > On Fri, Sep 05, 2014 at 09:46:42AM +0200, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > Increase maximum numbers of cpus to 32. This relates to current > > maximal possible cpu number.

Re: [PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
On 05.09.14 09:42:00, Will Deacon wrote: > On Fri, Sep 05, 2014 at 08:46:44AM +0100, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > This patch adds documentation for the devicetree bindings used by the > > DT files of Cavium Thunder SoC platforms. &g

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 09:39:32, Will Deacon wrote: > On Fri, Sep 05, 2014 at 08:46:42AM +0100, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > Increase maximum numbers of cpus to 32. This relates to current > > maximal possible cpu number. Increasing this to 64

[PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
From: Radha Mohan Chintakuntla This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- Documentation/devicetree/bindings/arm/cavium-thunder.txt | 10

[PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
From: Radha Mohan Chintakuntla Increase maximum numbers of cpus to 32. This relates to current maximal possible cpu number. Increasing this to 64 cpus will be a separate patch not part of this enablement patches. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- arch

[PATCH v2 4/4] arm64, defconfig: Enable Cavium Thunder SoC in defconfig

2014-09-05 Thread Robert Richter
From: Robert Richter This patch enables Thunder SoCs in the arm64 defconfig. This is esp. useful to add Thunder platforms to automated builds based on arm64 defconfig. Signed-off-by: Robert Richter --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64

[PATCH v2 2/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
Chintakuntla Signed-off-by: Robert Richter --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/thunder-88xx.dts | 414 +++ 2 files changed, 415 insertions(+) create mode 100644 arch/arm64/boot/dts/thunder-88xx.dts diff --git a/arch/arm64/boot/dts

[PATCH v2 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
From: Robert Richter This initial patches enable Cavium Thunder SoC Family. The patches add Kconfig and devicetree support and then add Thunder to the defconfig. The Thunder system needs more enablement patches for subsystems and devices, this includes network, ahci, gicv3/gicv3-its, pci, smmu

Re: [PATCH] arm64, dts: Add dtbs_install make target

2014-09-05 Thread Robert Richter
Olof, On 29.08.14 15:49:42, Robert Richter wrote: > On 29.08.14 14:10:23, Robert Richter wrote: > > On 28.08.14 16:01:08, Olof Johansson wrote: > > > Thinking about it a bit more, the even more obvious solution that I > > > for some reason didn't think

[PATCH 2/6] dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst

2014-09-05 Thread Robert Richter
From: Robert Richter Move dtbs install rules to Makefile.dtbinst. This change is needed to implement support for dts vendor subdirs. The change makes Makefiles easier and smaller as no longer the dtbs_install rule needs to be defined. Another advantage is that install goals are not encoded

[PATCH 5/6] dts, arm64: Move dts files to vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter Moving dts files to vendor subdirs. Signed-off-by: Robert Richter --- arch/arm64/boot/dts/Makefile | 4 +- arch/arm64/boot/dts/apm-mustang.dts | 34 -- arch/arm64/boot/dts/apm-storm.dtsi | 425 --- arch

[PATCH 1/6] dts, arm64: Add dtbs_install make target

2014-09-05 Thread Robert Richter
From: Robert Richter This adds the dtbs_install make target to arm64. The target has been introduced already to arch/arm with the following commit: f4d4ffc03efc kbuild: dtbs_install: new make target Implementation for arm64 is the same as for arm. With 'dtbs_install' all config enabled dtb

[PATCH 3/6] dts, arm/arm64: Remove dtbs build rules in sub-makes

2014-09-05 Thread Robert Richter
From: Robert Richter Add dtb files to build targets and let kbuild handle them. Thus, special dtbs rules can be removed. This eases Makefiles and the implementation of the support of vendor dtb subdirectories. Signed-off-by: Robert Richter --- arch/arm/Makefile| 2 +- arch/arm

[PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter For arm64 we want to put dts files into vendor's subdirectories from the beginning. This patch set implements this. As this is a generic kbuild implementation, vendor subdirs will be also available for arch/arm and other architectures. The subdirectory tree is also reflected

[PATCH 4/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter This patch adds support of vendor sub directories for dtb files. Subdirectories can be specified in $(dts-dirs). Kbuild traverses over all directories while building and installing dtb files. The directory tree is also reflected in the install path. Signed-off-by: Robert

[PATCH 6/6] dts, arm: Remove $(MACHINE) variable from dtbs make recipes

2014-09-05 Thread Robert Richter
From: Robert Richter The machine description is not needed to build dtb files. Signed-off-by: Robert Richter --- arch/arm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 4d13c6d0a0cc..422c9aa34382 100644 --- a/arch

[PATCH 4/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This patch adds support of vendor sub directories for dtb files. Subdirectories can be specified in $(dts-dirs). Kbuild traverses over all directories while building and installing dtb files. The directory tree is also reflected in the install path

[PATCH 6/6] dts, arm: Remove $(MACHINE) variable from dtbs make recipes

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com The machine description is not needed to build dtb files. Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index

[PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com For arm64 we want to put dts files into vendor's subdirectories from the beginning. This patch set implements this. As this is a generic kbuild implementation, vendor subdirs will be also available for arch/arm and other architectures. The subdirectory

[PATCH 3/6] dts, arm/arm64: Remove dtbs build rules in sub-makes

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com Add dtb files to build targets and let kbuild handle them. Thus, special dtbs rules can be removed. This eases Makefiles and the implementation of the support of vendor dtb subdirectories. Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm

[PATCH 1/6] dts, arm64: Add dtbs_install make target

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This adds the dtbs_install make target to arm64. The target has been introduced already to arch/arm with the following commit: f4d4ffc03efc kbuild: dtbs_install: new make target Implementation for arm64 is the same as for arm. With 'dtbs_install' all

[PATCH 2/6] dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com Move dtbs install rules to Makefile.dtbinst. This change is needed to implement support for dts vendor subdirs. The change makes Makefiles easier and smaller as no longer the dtbs_install rule needs to be defined. Another advantage is that install goals

[PATCH 5/6] dts, arm64: Move dts files to vendor subdirs

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com Moving dts files to vendor subdirs. Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/boot/dts/Makefile | 4 +- arch/arm64/boot/dts/apm-mustang.dts | 34 -- arch/arm64/boot/dts/apm-storm.dtsi

Re: [PATCH] arm64, dts: Add dtbs_install make target

2014-09-05 Thread Robert Richter
Olof, On 29.08.14 15:49:42, Robert Richter wrote: On 29.08.14 14:10:23, Robert Richter wrote: On 28.08.14 16:01:08, Olof Johansson wrote: Thinking about it a bit more, the even more obvious solution that I for some reason didn't think of at the time, is to have the dtbs_install target

[PATCH v2 2/4] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/thunder-88xx.dts | 414 +++ 2 files changed, 415 insertions(+) create mode 100644 arch

[PATCH v2 0/4] arm64, thunder: Enable Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This initial patches enable Cavium Thunder SoC Family. The patches add Kconfig and devicetree support and then add Thunder to the defconfig. The Thunder system needs more enablement patches for subsystems and devices, this includes network, ahci, gicv3

[PATCH v2 4/4] arm64, defconfig: Enable Cavium Thunder SoC in defconfig

2014-09-05 Thread Robert Richter
From: Robert Richter rrich...@cavium.com This patch enables Thunder SoCs in the arm64 defconfig. This is esp. useful to add Thunder platforms to automated builds based on arm64 defconfig. Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1

[PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com --- arch/arm64/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index fd4e81a4e1ce..77fb82b0f684 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -134,6 +134,11 @@ source

[PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
From: Radha Mohan Chintakuntla rchintakun...@cavium.com This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 09:39:32, Will Deacon wrote: On Fri, Sep 05, 2014 at 08:46:42AM +0100, Robert Richter wrote: From: Radha Mohan Chintakuntla rchintakun...@cavium.com Increase maximum numbers of cpus to 32. This relates to current maximal possible cpu number. Increasing this to 64 cpus

Re: [PATCH v2 3/4] arm64, thunder: Document devicetree bindings for Cavium Thunder SoC

2014-09-05 Thread Robert Richter
On 05.09.14 09:42:00, Will Deacon wrote: On Fri, Sep 05, 2014 at 08:46:44AM +0100, Robert Richter wrote: From: Radha Mohan Chintakuntla rchintakun...@cavium.com This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 10:32:40, Russell King - ARM Linux wrote: On Fri, Sep 05, 2014 at 09:46:42AM +0200, Robert Richter wrote: From: Radha Mohan Chintakuntla rchintakun...@cavium.com Increase maximum numbers of cpus to 32. This relates to current maximal possible cpu number. Increasing this to 64

Re: [PATCH v2 1/4] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-09-05 Thread Robert Richter
On 05.09.14 10:36:47, Mark Rutland wrote: On Fri, Sep 05, 2014 at 10:25:08AM +0100, Will Deacon wrote: All I mean is, if the kernel doesn't explode on existing systems by changing the upper limit to 64, then we should do that. If you're not comfortable that the Thunder code can handle that,

[PATCH] arm64, dts: Add dtbs_install make target

2014-08-29 Thread Robert Richter
Olof, On 29.08.14 14:10:23, Robert Richter wrote: > On 28.08.14 16:01:08, Olof Johansson wrote: > > Thinking about it a bit more, the even more obvious solution that I > > for some reason didn't think of at the time, is to have the > > dtbs_install target create the appro

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-29 Thread Robert Richter
On 28.08.14 16:01:08, Olof Johansson wrote: > On Thu, Aug 28, 2014 at 11:14 AM, Robert Richter wrote: > > On 28.08.14 09:31:43, Olof Johansson wrote: > >> On Thu, Aug 28, 2014 at 9:25 AM, Mark Rutland wrote: > >> > On Thu, Aug 28, 2014 at 05:15:56PM +0100, Robe

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-29 Thread Robert Richter
On 28.08.14 16:01:08, Olof Johansson wrote: On Thu, Aug 28, 2014 at 11:14 AM, Robert Richter r...@kernel.org wrote: On 28.08.14 09:31:43, Olof Johansson wrote: On Thu, Aug 28, 2014 at 9:25 AM, Mark Rutland mark.rutl...@arm.com wrote: On Thu, Aug 28, 2014 at 05:15:56PM +0100, Robert Richter

[PATCH] arm64, dts: Add dtbs_install make target

2014-08-29 Thread Robert Richter
Olof, On 29.08.14 14:10:23, Robert Richter wrote: On 28.08.14 16:01:08, Olof Johansson wrote: Thinking about it a bit more, the even more obvious solution that I for some reason didn't think of at the time, is to have the dtbs_install target create the appropriate subdirectories

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-28 Thread Robert Richter
On 28.08.14 09:31:43, Olof Johansson wrote: > On Thu, Aug 28, 2014 at 9:25 AM, Mark Rutland wrote: > > On Thu, Aug 28, 2014 at 05:15:56PM +0100, Robert Richter wrote: > >> Olof, > >> > >> On 30.07.14 11:14:23, Olof Johansson wrote: > >> > On Wed

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-28 Thread Robert Richter
Olof, On 30.07.14 11:14:23, Olof Johansson wrote: > On Wed, Jul 30, 2014 at 8:06 AM, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > Add initial device tree nodes for Cavium Thunder SoCs with support of > > 48 cores and gicv3. The dts file re

Re: amd_mce.c redundant if check?

2014-08-28 Thread Robert Richter
On 22.08.14 06:55:16, Borislav Petkov wrote: > On Wed, Aug 20, 2014 at 10:08:18PM -0600, Chip wrote: > > Now, if the return from lvt_off_valid() is false, then nothing is > > changed in "hi". However, if the return is true, which means the > > value in tr->lvt_off is equal to the LVTOFF value in

Re: amd_mce.c redundant if check?

2014-08-28 Thread Robert Richter
On 22.08.14 06:55:16, Borislav Petkov wrote: On Wed, Aug 20, 2014 at 10:08:18PM -0600, Chip wrote: Now, if the return from lvt_off_valid() is false, then nothing is changed in hi. However, if the return is true, which means the value in tr-lvt_off is equal to the LVTOFF value in hi, then

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-28 Thread Robert Richter
Olof, On 30.07.14 11:14:23, Olof Johansson wrote: On Wed, Jul 30, 2014 at 8:06 AM, Robert Richter r...@kernel.org wrote: From: Radha Mohan Chintakuntla rchintakun...@cavium.com Add initial device tree nodes for Cavium Thunder SoCs with support of 48 cores and gicv3. The dts file requires

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-28 Thread Robert Richter
On 28.08.14 09:31:43, Olof Johansson wrote: On Thu, Aug 28, 2014 at 9:25 AM, Mark Rutland mark.rutl...@arm.com wrote: On Thu, Aug 28, 2014 at 05:15:56PM +0100, Robert Richter wrote: Olof, On 30.07.14 11:14:23, Olof Johansson wrote: On Wed, Jul 30, 2014 at 8:06 AM, Robert Richter r

Re: [PATCH v9 00/12] Support for creating generic PCI host bridges from DT

2014-08-27 Thread Robert Richter
Liviu, On 12.08.14 17:25:13, Liviu Dudau wrote: > This is my updated attempt at adding support for generic PCI host > bridge controllers that make use of device tree information to > configure themselves. This version incorporates Catalin's proposal > for managing domain numbers that got Bjorn's

Re: [PATCH v9 00/12] Support for creating generic PCI host bridges from DT

2014-08-27 Thread Robert Richter
Liviu, On 12.08.14 17:25:13, Liviu Dudau wrote: This is my updated attempt at adding support for generic PCI host bridge controllers that make use of device tree information to configure themselves. This version incorporates Catalin's proposal for managing domain numbers that got Bjorn's

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-05 Thread Robert Richter
s the > > > latter. > > > > Shouldn't new bindings have both clocks here? A single clock was a > > mistake I think (mine in fact). > > I don't think we fixed it up in the end. It made drivers look a bit messy and > it dropped off my priority queue. On 31.07.14 1

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-05 Thread Robert Richter
. It made drivers look a bit messy and it dropped off my priority queue. On 31.07.14 10:22:19, Rob Herring wrote: On Thu, Jul 31, 2014 at 7:34 AM, Robert Richter r...@kernel.org wrote: On 30.07.14 11:37:38, Rob Herring wrote: On Wed, Jul 30, 2014 at 10:46 AM, Mark Rutland mark.rutl...@arm.com

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-01 Thread Robert Richter
Mark, On 31.07.14 12:33:01, Mark Rutland wrote: > On Thu, Jul 31, 2014 at 12:12:33PM +0100, Ganapatrao Kulkarni wrote: > >We mark RAM used by ATF as secure-RAM, however we don't support > >secure/non-secure address aliasing. > >i.e, a DRAM address that can be referenced from both a

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-01 Thread Robert Richter
Olof, On 30.07.14 11:14:23, Olof Johansson wrote: > On Wed, Jul 30, 2014 at 8:06 AM, Robert Richter wrote: > > From: Radha Mohan Chintakuntla > > > > Add initial device tree nodes for Cavium Thunder SoCs with support of > > 48 cores and gicv3. The dts file re

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-08-01 Thread Robert Richter
Mark, On 30.07.14 16:46:26, Mark Rutland wrote: > > diff --git a/arch/arm64/boot/dts/thunder-88xx.dts > > b/arch/arm64/boot/dts/thunder-88xx.dts > > new file mode 100644 > > index ..4cf20ac9138b > > --- /dev/null > > +++ b/arch/arm64/boot/dts/thunder-88xx.dts > > @@ -0,0 +1,387 @@ >

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