Re: [PATCH v10 3/8] dt, numa: adding numa dt binding implementation.

2016-02-11 Thread Ganapatrao Kulkarni
Hi Rob, On Thu, Feb 11, 2016 at 9:02 PM, Robert Richter wrote: > On 11.02.16 08:50:41, Rob Herring wrote: >> On Tue, Feb 2, 2016 at 4:09 AM, Ganapatrao Kulkarni >> wrote: >> > dt node parsing for numa topology is done using device property >> > numa-nod

Re: [PATCH v10 3/8] dt, numa: adding numa dt binding implementation.

2016-02-04 Thread Ganapatrao Kulkarni
Hi Rob, On Wed, Feb 3, 2016 at 5:04 AM, Rob Herring wrote: > On Tue, Feb 02, 2016 at 03:39:18PM +0530, Ganapatrao Kulkarni wrote: >> dt node parsing for numa topology is done using device property >> numa-node-id and device node distance-map. >> >> Reviewed-by: Rober

[PATCH v10 8/8] numa, mm, cleanup: remove redundant NODE_DATA macro from asm header files.

2016-02-02 Thread Ganapatrao Kulkarni
NODE_DATA is defined across multiple asm header files. Moving generic definition to asm-generic/mmzone.h to remove redundant definitions. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/mmzone.h | 4 +--- arch/m32r/include/asm/mmzone.h| 4

[PATCH v10 5/8] arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node topology.

2016-02-02 Thread Ganapatrao Kulkarni
Adding dt file for Cavium's Thunderx dual socket platform. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/boot/dts/cavium/Makefile | 2 +- arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts | 83 +++ arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi

[PATCH v10 2/8] Documentation, dt, numa: dt bindings for numa.

2016-02-02 Thread Ganapatrao Kulkarni
DT bindings for numa mapping of memory, cores and IOs. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- Documentation/devicetree/bindings/numa.txt | 272 + 1 file changed, 272 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v10 7/8] topology, cleanup: Avoid redefinition of cpumask_of_pcibus in asm header files.

2016-02-02 Thread Ganapatrao Kulkarni
At present cpumask_of_pcibus is defined for !CONFIG_NUMA and moving out to common will allow to use for numa too. This also avoids redefinition of this macro in respective architecture header files. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm

[PATCH v10 6/8] arm64, mm, numa: Adding numa balancing support for arm64.

2016-02-02 Thread Ganapatrao Kulkarni
enabled numa balancing for arm64 platforms. added pte, pmd protnone helpers for use by automatic NUMA balancing. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/pgtable.h | 18 ++ 2 files changed

[PATCH v10 4/8] arm64, numa : Enable numa dt for arm64 platforms.

2016-02-02 Thread Ganapatrao Kulkarni
Adding numa dt binding support for arm64 based platforms. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/numa.h | 2 ++ arch/arm64/kernel/smp.c | 2 ++ arch/arm64/mm/numa.c | 17 + 3 files changed, 21 insertions

[PATCH v10 1/8] arm64, numa: adding numa support for arm64 platforms.

2016-02-02 Thread Ganapatrao Kulkarni
Adding numa support for arm64 based platforms. This patch adds by default the dummy numa node and maps all memory and cpus to node 0. using this patch, numa can be simulated on single node arm64 platforms. Tested-by: Shannon Zhao Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni

[PATCH v10 3/8] dt, numa: adding numa dt binding implementation.

2016-02-02 Thread Ganapatrao Kulkarni
dt node parsing for numa topology is done using device property numa-node-id and device node distance-map. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- drivers/of/Kconfig | 11 +++ drivers/of/Makefile | 1 + drivers/of/of_numa.c | 207

[PATCH v10 0/8] arm64, numa: Add numa support for arm64 platforms

2016-02-02 Thread Ganapatrao Kulkarni
t/shortlog/refs/heads/arm64-uefi-early-fdt-handling 3. PATCH[7,8] are not tested for other architectures. Ganapatrao Kulkarni (8): arm64, numa: adding numa support for arm64 platforms. Documentation, dt, numa: dt bindings for numa. dt, numa: adding numa dt binding implementation. a

Re: [PATCH v9 3/6] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms.

2016-01-28 Thread Ganapatrao Kulkarni
On Thu, Jan 28, 2016 at 11:38 PM, Will Deacon wrote: > On Thu, Jan 28, 2016 at 10:42:17PM +0530, Ganapatrao Kulkarni wrote: >> On Thu, Jan 28, 2016 at 8:09 PM, Will Deacon wrote: >> > On Tue, Jan 26, 2016 at 02:36:04PM -0600, Bjorn Helgaas wrote: >> >> Subject i

Re: [PATCH v9 3/6] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms.

2016-01-28 Thread Ganapatrao Kulkarni
Hi Will, On Thu, Jan 28, 2016 at 8:09 PM, Will Deacon wrote: > On Tue, Jan 26, 2016 at 02:36:04PM -0600, Bjorn Helgaas wrote: >> Subject is "arm64/arm, numa, dt: adding ..." What is the significance >> of the "arm" part? The other patches only mention "arm64". >> >> General comment: the code b

Re: [PATCH v9 2/6] Documentation, dt, arm64/arm: dt bindings for numa.

2016-01-26 Thread Ganapatrao Kulkarni
Hi Rob, Mark, On Wed, Jan 20, 2016 at 7:48 PM, Rob Herring wrote: > On Mon, Jan 18, 2016 at 10:06:01PM +0530, Ganapatrao Kulkarni wrote: >> DT bindings for numa mapping of memory, cores and IOs. >> >> Reviewed-by: Robert Richter >> Signed-off-by: Ganapatrao Kulkarn

Re: [PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-19 Thread Ganapatrao Kulkarni
On Tue, Jan 19, 2016 at 3:11 PM, Lorenzo Pieralisi wrote: > On Tue, Jan 19, 2016 at 11:28:56AM +0530, Ganapatrao Kulkarni wrote: >> On Mon, Jan 18, 2016 at 11:11 PM, David Daney wrote: >> > On 01/18/2016 08:36 AM, Ganapatrao Kulkarni wrote: >> >> >> >>

Re: [PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-18 Thread Ganapatrao Kulkarni
On Mon, Jan 18, 2016 at 11:11 PM, David Daney wrote: > On 01/18/2016 08:36 AM, Ganapatrao Kulkarni wrote: >> >> update numa_node of device associated with pci bus. >> moved down devm_kzalloc to allocate from node memory. >> >> Signed-off-by: Ganapatrao Kulkarni

[PATCH v9 0/6] arm64, numa: Add numa support for arm64 platforms

2016-01-18 Thread Ganapatrao Kulkarni
PATCH 6 is not tested for other architectures. Ganapatrao Kulkarni (6): arm64, numa: adding numa support for arm64 platforms. Documentation, dt, arm64/arm: dt bindings for numa. arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms. arm64, dt, thunderx: Add initi

[PATCH v9 3/6] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms.

2016-01-18 Thread Ganapatrao Kulkarni
Adding numa dt binding support for arm64 based platforms. dt node parsing for numa topology is done using device property numa-node-id and device node distance-map. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/Kconfig| 10 ++ arch/arm64/include/asm

[PATCH v9 2/6] Documentation, dt, arm64/arm: dt bindings for numa.

2016-01-18 Thread Ganapatrao Kulkarni
DT bindings for numa mapping of memory, cores and IOs. Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni --- Documentation/devicetree/bindings/arm/numa.txt | 272 + 1 file changed, 272 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm

[PATCH v9 1/6] arm64, numa: adding numa support for arm64 platforms.

2016-01-18 Thread Ganapatrao Kulkarni
Adding numa support for arm64 based platforms. This patch adds by default the dummy numa node and maps all memory and cpus to node 0. using this patch, numa can be simulated on single node arm64 platforms. Tested-by: Shannon Zhao Reviewed-by: Robert Richter Signed-off-by: Ganapatrao Kulkarni

[PATCH v9 4/6] arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node topology.

2016-01-18 Thread Ganapatrao Kulkarni
Adding dt file for Cavium's Thunderx dual socket platform. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/boot/dts/cavium/Makefile | 2 +- arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts | 83 +++ arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi

[RFC PATCH v9 6/6] topology, cleanup: Avoid redefinition of cpumask_of_pcibus in asm header files.

2016-01-18 Thread Ganapatrao Kulkarni
At present cpumask_of_pcibus is defined for !CONFIG_NUMA and moving out to common will allow to use for numa too. This also avoids redefinition of this macro in respective architecture header files. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/topology.h | 3 --- arch/ia64

[PATCH v9 5/6] PCI: generic: Make pci-host-generic driver numa aware

2016-01-18 Thread Ganapatrao Kulkarni
update numa_node of device associated with pci bus. moved down devm_kzalloc to allocate from node memory. Signed-off-by: Ganapatrao Kulkarni --- drivers/pci/host/pci-host-generic.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host/pci-host-generic.c

Re: [RFC PATCH] dt:numa: adding numa node mapping for memory nodes.

2014-09-18 Thread Ganapatrao Kulkarni
looks like previous email not had the email ids added by kumar gala. adding the missing ids and sending again. On Thu, Sep 18, 2014 at 9:32 AM, Ganapatrao Kulkarni wrote: > On Thu, Sep 18, 2014 at 4:42 AM, Zi Shen Lim wrote: >> On Wed, Sep 17, 2014 at 2:48 PM, Nathan Lynch >> w