[PATCH 2/2] perf: ThunderX2: Add Cavium Thunderx2 SoC UNCORE PMU driver

2017-04-10 Thread Ganapatrao Kulkarni
This patch adds a perf driver for the PMU UNCORE devices DDR4 Memory Controller(DMC) and Level 3 Cache(L3C). Signed-off-by: Ganapatrao Kulkarni --- drivers/perf/Kconfig | 9 + drivers/perf/Makefile| 1 + drivers/perf/thunderx2_pmu.c | 965

[PATCH 1/2] perf: uncore: Adding documentation for ThunderX2 pmu uncore driver

2017-04-10 Thread Ganapatrao Kulkarni
Documentation for the UNCORE PMUs on Cavium's ThunderX2 SoC. The SoC has PMU support in its L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). Signed-off-by: Ganapatrao Kulkarni --- Documentation/perf/thunderx2-pmu.txt | 60 1 file ch

[PATCH 0/2] Add ThunderX2 SoC Performance Monitoring Unit driver

2017-04-10 Thread Ganapatrao Kulkarni
This adds PMU driver for Cavium's ThunderX2 SoC UNCORE devices. The SoC has PMU support in its L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). Ganapatrao Kulkarni (2): perf: uncore: Adding documentation for ThunderX2 pmu uncore driver perf: ThunderX2: Add Cavium Thun

Re: [PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-05 Thread Ganapatrao Kulkarni
On Wed, Apr 5, 2017 at 3:35 PM, Mark Rutland wrote: > On Wed, Apr 05, 2017 at 02:42:39PM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:58 PM, Mark Rutland wrote: >> > On Tue, Apr 04, 2017 at 01:06:43PM +0530, Ganapatrao Kulkarni wrote: >> >> This i

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
Hi Perf Maintainers, your suggestion on below discussion is much appreciated! On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04,

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-05 Thread Ganapatrao Kulkarni
[Adding maintainers] On Wed, Apr 5, 2017 at 2:01 PM, Will Deacon wrote: > On Wed, Apr 05, 2017 at 09:29:32AM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: &

Re: [PATCH 2/3] perf tools arm64: implement function get_cpuid_str

2017-04-05 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:55 PM, Mark Rutland wrote: > On Tue, Apr 04, 2017 at 01:06:42PM +0530, Ganapatrao Kulkarni wrote: >> function get_cpuid_str returns midr_el1 value from first >> online cpu available. > > This isn't globally the same (e.g. in big.LITTLE systems).

Re: [PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-05 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:58 PM, Mark Rutland wrote: > On Tue, Apr 04, 2017 at 01:06:43PM +0530, Ganapatrao Kulkarni wrote: >> This is not a full event list, but a short list of useful events. >> >> Signed-off-by: Ganapatrao Kulkarni >> --- >> tools/perf/

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
On Tue, Apr 4, 2017 at 5:56 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 05:37:10PM +0530, Ganapatrao Kulkarni wrote: >> On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: >> > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >> >> commit d

Re: [PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
Hi Will, On Tue, Apr 4, 2017 at 4:48 PM, Will Deacon wrote: > On Tue, Apr 04, 2017 at 04:10:55PM +0530, Ganapatrao Kulkarni wrote: >> commit d98ecda (arm64: perf: Count EL2 events if the kernel is running in >> HYP) >> is returning error for perf syscall with mi

[PATCH] arm64: perf: Count EL2 events if either of kernel and hyp are not excluded

2017-04-04 Thread Ganapatrao Kulkarni
counting, if either of or both of exclude_kernel and exlude_hv are not set. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/kernel/perf_event.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel

[PATCH 3/3] perf tool, arm64, thunderx2: Add implementation defined events for ThunderX2

2017-04-04 Thread Ganapatrao Kulkarni
This is not a full event list, but a short list of useful events. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/arch/arm64/mapfile.csv | 2 + .../arm64/thunderx2/implementation-defined.json| 72 ++ 2 files changed, 74 insertions(+) create mode

[PATCH 2/3] perf tools arm64: implement function get_cpuid_str

2017-04-04 Thread Ganapatrao Kulkarni
function get_cpuid_str returns midr_el1 value from first online cpu available. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/arch/arm64/util/Build| 1 + tools/perf/arch/arm64/util/header.c | 51 + 2 files changed, 52 insertions(+) create mode 100644

[PATCH 0/3] Add support for ThunderX2 pmu events using json files

2017-04-04 Thread Ganapatrao Kulkarni
Extending json/jevent framework for parsing arm64 event files. Adding jevents for ThunderX2 implementation defined PMU events. Ganapatrao Kulkarni (3): perf jevents: Add support to use core pmu name other than cpu perf tools arm64: implement function get_cpuid_str perf tool, arm64

[PATCH 1/3] perf jevents: Add support to use core pmu name other than cpu

2017-04-04 Thread Ganapatrao Kulkarni
jevents assumes core event devices are listed as cpu in sysfs, however some architecture like arm64 have custom names. Adding provision in json files to define CPU name and required changes in jevents.c to parse. Signed-off-by: Ganapatrao Kulkarni --- tools/perf/pmu-events/jevents.c| 15

Re: getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-16 Thread Ganapatrao Kulkarni
On Fri, Jan 13, 2017 at 2:36 PM, Vlastimil Babka wrote: > On 01/13/2017 05:35 AM, Ganapatrao Kulkarni wrote: >> On Thu, Jan 12, 2017 at 4:40 PM, Vlastimil Babka wrote: >>> On 01/11/2017 05:46 PM, Michal Hocko wrote: >>>> >>>> On Wed 11

Re: getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-12 Thread Ganapatrao Kulkarni
On Thu, Jan 12, 2017 at 4:40 PM, Vlastimil Babka wrote: > On 01/11/2017 05:46 PM, Michal Hocko wrote: >> >> On Wed 11-01-17 21:52:29, Ganapatrao Kulkarni wrote: >> >>> [ 2398.169391] Node 1 Normal: 951*4kB (UME) 1308*8kB (UME) 1034*16kB >>> (UME) 742*32kB (

getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-11 Thread Ganapatrao Kulkarni
Hi, we are seeing OOM/stalls messages when we run ltp cpuset01(cpuset01 -I 360) test for few minutes, even through the numa system has adequate memory on both nodes. this we have observed same on both arm64/thunderx numa and on x86 numa system! using latest ltp from master branch version 2016092

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Ganapatrao Kulkarni
On Wed, Nov 30, 2016 at 3:44 PM, Auger Eric wrote: > Hi Ganapat, > > On 30/11/2016 11:04, Ganapatrao Kulkarni wrote: >> Hi Eric, >> >> in you repo "https://github.com/eauger/linux/tree/v4.9-rc5-reserved-rfc-v3"; >> there is 11th patch "pci: Enab

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Ganapatrao Kulkarni
Hi Eric, in you repo "https://github.com/eauger/linux/tree/v4.9-rc5-reserved-rfc-v3"; there is 11th patch "pci: Enable overrides for missing ACS capabilities" is this patch part of some other series? thanks Ganapat On Wed, Nov 30, 2016 at 3:19 PM, Auger Eric wrote: > Hi, > > On 15/11/2016 14:09

Re: [PATCH] arm64, numa: Add cpu_to_node() implementation.

2016-09-19 Thread Ganapatrao Kulkarni
606821) > [2.603464] ---[ end trace 58c0cd36b88802bc ]--- > [2.608138] Kernel panic - not syncing: Fatal exception > > Fix by supplying a cpu_to_node() implementation that returns correct > node mappings. > > Cc: # 4.7.x- > Signed-off-by: David Daney > Acked

Re: [PATCH] mm, numa: boot cpu should bound to the node0 when node_off enable

2016-08-18 Thread Ganapatrao Kulkarni
On Fri, Aug 19, 2016 at 7:28 AM, zhong jiang wrote: > On 2016/8/19 1:45, Ganapatrao Kulkarni wrote: >> On Thu, Aug 18, 2016 at 9:34 PM, Catalin Marinas >> wrote: >>> On Thu, Aug 18, 2016 at 09:09:26PM +0800, zhongjiang wrote: >>>> At present, boot cpu will b

Re: [PATCH] mm, numa: boot cpu should bound to the node0 when node_off enable

2016-08-18 Thread Ganapatrao Kulkarni
On Fri, Aug 19, 2016 at 9:30 AM, Ganapatrao Kulkarni wrote: > On Fri, Aug 19, 2016 at 7:28 AM, zhong jiang wrote: >> On 2016/8/19 1:45, Ganapatrao Kulkarni wrote: >>> On Thu, Aug 18, 2016 at 9:34 PM, Catalin Marinas >>> wrote: >>>> On Thu, Aug 18, 201

Re: [PATCH] mm, numa: boot cpu should bound to the node0 when node_off enable

2016-08-18 Thread Ganapatrao Kulkarni
On Thu, Aug 18, 2016 at 9:34 PM, Catalin Marinas wrote: > On Thu, Aug 18, 2016 at 09:09:26PM +0800, zhongjiang wrote: >> At present, boot cpu will bound to a node from device tree when node_off >> enable. >> if the node is not initialization, it will lead to a following problem. >> >> next_zones

[PATCH] arm64: Enable workaround for Cavium erratum 27456 on thunderx-81xx

2016-07-06 Thread Ganapatrao Kulkarni
Cavium erratum 27456 commit 104a0c02e8b1 ("arm64: Add workaround for Cavium erratum 27456") is applicable for thunderx-81xx pass1.0 SoC as well. Adding code to enable to 81xx. Signed-off-by: Ganapatrao Kulkarni Reviewed-by: Andrew Pinski --- arch/arm64/include/asm/cputype.h | 2 ++

Re: [PATCH v4 11/14] arm64/numa: support HAVE_MEMORYLESS_NODES

2016-06-07 Thread Ganapatrao Kulkarni
On Wed, Jun 8, 2016 at 7:46 AM, Leizhen (ThunderTown) wrote: > > > On 2016/6/7 22:01, Ganapatrao Kulkarni wrote: >> On Tue, Jun 7, 2016 at 6:27 PM, Leizhen (ThunderTown) >> wrote: >>> >>> >>> On 2016/6/7 16:31, Ganapatrao Kulkarni wrote: >>&g

Re: [PATCH v4 11/14] arm64/numa: support HAVE_MEMORYLESS_NODES

2016-06-07 Thread Ganapatrao Kulkarni
On Tue, Jun 7, 2016 at 6:27 PM, Leizhen (ThunderTown) wrote: > > > On 2016/6/7 16:31, Ganapatrao Kulkarni wrote: >> On Tue, Jun 7, 2016 at 1:38 PM, Zhen Lei wrote: >>> Some numa nodes may have no memory. For example: >>> 1. cpu0 on node0 >>> 2. cpu1 on n

Re: [PATCH v4 11/14] arm64/numa: support HAVE_MEMORYLESS_NODES

2016-06-07 Thread Ganapatrao Kulkarni
On Tue, Jun 7, 2016 at 1:38 PM, Zhen Lei wrote: > Some numa nodes may have no memory. For example: > 1. cpu0 on node0 > 2. cpu1 on node1 > 3. device0 access the momory from node0 and node1 take the same time. i am wondering, if access to both nodes is same, then why you need numa. the example you

Re: [PATCH v4 12/14] arm64/numa: remove some useless code

2016-06-07 Thread Ganapatrao Kulkarni
On Tue, Jun 7, 2016 at 1:38 PM, Zhen Lei wrote: > 1. Currently only cpu0 set on cpu_possible_mask and percpu areas have not >been initialized. > 2. No reason to limit cpu0 must belongs to node0. even smp init assumes cpu0/boot processor. is this patch tested on any hardware? can you describe

Re: [PATCH 3/3] arm64/numa: fix type info

2016-05-26 Thread Ganapatrao Kulkarni
On Wed, May 25, 2016 at 7:43 PM, Zhen Lei wrote: > numa_init(of_numa_init) may returned error because of numa configuration > error. So "No NUMA configuration found" is inaccurate. In fact, specific > configuration error information can be immediately printed by the > testing branch. So "No NUMA..

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-20 Thread Ganapatrao Kulkarni
to Proximity Domain mappings and memory >> ranges to Proximity Domain mapping. SLIT has the information of inter >> node distances(relative number for access latency). >> >> Signed-off-by: Hanjun Guo >> Signed-off-by: Ganapatrao Kulkarni >> [rrich...@cavium.com Re

[PATCH v4] irqchip, gicv3-its, numa: Enable workaround for Cavium thunderx erratum 23144

2016-03-20 Thread Ganapatrao Kulkarni
72411 v4: updated silicon-errata.txt updated as per Robert Richter review comment. v3: updatated as per Marc Zyngier's review comments. http://www.spinics.net/lists/arm-kernel/msg443462.html v2: updatated as per Marc Zyngier's review comments. Reviewed-by: Robert Richter Signed-off

Re: [PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-09 Thread Ganapatrao Kulkarni
On Wed, Mar 9, 2016 at 11:13 PM, Ganapatrao Kulkarni wrote: > On Wed, Mar 9, 2016 at 9:33 PM, Catalin Marinas > wrote: >> On Wed, Mar 09, 2016 at 05:17:39PM +0530, Ganapatrao Kulkarni wrote: >>> On Wed, Mar 9, 2016 at 3:36 PM, Catalin Marinas >>> wrote: >&

Re: [PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-09 Thread Ganapatrao Kulkarni
On Wed, Mar 9, 2016 at 9:33 PM, Catalin Marinas wrote: > On Wed, Mar 09, 2016 at 05:17:39PM +0530, Ganapatrao Kulkarni wrote: >> On Wed, Mar 9, 2016 at 3:36 PM, Catalin Marinas >> wrote: >> > On Wed, Mar 09, 2016 at 10:32:48AM +0530, Ganapatrao Kulkarni wrote: >>

Re: [PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-09 Thread Ganapatrao Kulkarni
On Wed, Mar 9, 2016 at 3:36 PM, Catalin Marinas wrote: > On Wed, Mar 09, 2016 at 10:32:48AM +0530, Ganapatrao Kulkarni wrote: >> Commit 2f4b829c625e ("arm64: Add support for hardware updates of the >> access and dirty pte bits") introduced support for handling hardware

[PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-08 Thread Ganapatrao Kulkarni
ote: this patch is not tested on platform which supports AFDBM. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/pgtable.h | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtab

Re: [PATCH v14 2/6] Documentation, dt, numa: dt bindings for NUMA.

2016-03-07 Thread Ganapatrao Kulkarni
On Tue, Mar 8, 2016 at 1:17 AM, David Daney wrote: > On 03/07/2016 11:22 AM, Robert Richter wrote: >> >> On 03.03.16 15:55:35, David Daney wrote: >>> >>> From: Ganapatrao Kulkarni >>> >>> Add DT bindings for numa mapping of memory, CPUs and I

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-02 Thread Ganapatrao Kulkarni
On Thu, Mar 3, 2016 at 9:55 AM, Ganapatrao Kulkarni wrote: > On Thu, Mar 3, 2016 at 9:04 AM, Rob Herring wrote: >> On Wed, Mar 2, 2016 at 4:55 PM, David Daney wrote: >>> From: David Daney >>> >>> Add device tree parsing for NUMA topology using device >>

Re: [PATCH v13 3/6] of, numa: Add NUMA of binding implementation.

2016-03-02 Thread Ganapatrao Kulkarni
>> This is a complete rewrite of a previous patch by: >>Ganapatrao Kulkarni >> >> Signed-off-by: David Daney >> --- >> drivers/of/Kconfig | 3 + >> drivers/of/Makefile | 1 + >> drivers/of/of_numa.c | 200 >> +

Re: [PATCH v12 4/5] arm64, numa: Add NUMA support for arm64 platforms.

2016-02-26 Thread Ganapatrao Kulkarni
On Sat, Feb 27, 2016 at 1:21 AM, David Daney wrote: > On 02/26/2016 10:53 AM, Will Deacon wrote: > [...] >>> >>> diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c >>> new file mode 100644 >>> index 000..604e886 >>> --- /dev/null >>> +++ b/arch/arm64/mm/numa.c >>> @@ -0,0 +1,403 @@ > > [

[PATCH v3] irqchip, gicv3-its, numa: Workaround for Cavium thunderx erratum 23144

2016-02-16 Thread Ganapatrao Kulkarni
ernel/msg443462.html v2: updatated as per Marc Zyngier's review comments. Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/Kconfig | 9 drivers/irqchip/irq-gic-v3-its.c | 46 ++-- 2 files changed, 53 insertions(+), 2 deletion

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 v4 0/6] arm64 UEFI early FDT handling

2016-02-11 Thread Ganapatrao Kulkarni
adding RobH (sorry, accidentally dropped Rob id in previous email) On Thu, Feb 11, 2016 at 6:33 PM, Ganapatrao Kulkarni wrote: > Hi Ard, > > On Thu, Feb 11, 2016 at 5:44 PM, Ard Biesheuvel > wrote: >> On 11 February 2016 at 12:42, Robert Richter >> wrote: >>

Re: [PATCH v4 0/6] arm64 UEFI early FDT handling

2016-02-11 Thread Ganapatrao Kulkarni
Hi Ard, On Thu, Feb 11, 2016 at 5:44 PM, Ard Biesheuvel wrote: > On 11 February 2016 at 12:42, Robert Richter > wrote: >> (+RobH and MarkR) >> >> On 09.02.16 15:35:42, Ard Biesheuvel wrote: >>> (+ Grant) >>> >>> On 9 February 2016 at 14:53, Robert Richter >>> wrote: >>> > From: Robert Richter

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

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

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

[PATCH] arm64, pci, numa: Adding helper functions as required by pci

2015-12-22 Thread Ganapatrao Kulkarni
Adding helper functions and necessary code to make pci driver(pci-host-generic) numa aware. This patch is on top of arm64-numa v7. http://www.spinics.net/lists/arm-kernel/msg460813.html Signed-off-by: Ganapatrao Kulkarni --- arch/arm64/include/asm/numa.h | 8 +--- arch/arm64/kernel

Re: [PATCH 01/11] ARM64 / PCI: introduce struct pci_controller for ACPI

2015-09-06 Thread Ganapatrao Kulkarni
Hi Hanjun, On Wed, May 27, 2015 at 1:51 PM, Hanjun Guo wrote: > Hi Liviu, > > On 2015年05月27日 01:20, Jiang Liu wrote: >> >> On 2015/5/27 0:58, Liviu Dudau wrote: >>> >>> On Tue, May 26, 2015 at 01:49:14PM +0100, Hanjun Guo wrote: ARM64 ACPI based PCI host bridge init needs a arch depende

[PATCH v2 RESEND] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-25 Thread Ganapatrao Kulkarni
This implements a workaround for gicv3-its erratum 23144 on Cavium's ThunderX dual-socket platforms, where LPI cannot be routed to a redistributors present on a foreign node. Signed-off-by: Ganapatrao Kulkarni Signed-off-by: Robert Richter --- The patch below is on top of Robert's re

[PATCH v2] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-25 Thread Ganapatrao Kulkarni
outed to a redistributors present on a foreign node. v2: updatated as per Marc Zyngier's review comments. Signed-off-by: Ganapatrao Kulkarni Signed-off-by: Robert Richter --- drivers/irqchip/irq-gic-v3-its.c | 53 +--- 1 file changed, 44 insertions(

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
Hi Marc, thanks for the suggestions. On Mon, Aug 24, 2015 at 7:17 PM, Marc Zyngier wrote: > On 24/08/15 14:27, Ganapatrao Kulkarni wrote: >> On Mon, Aug 24, 2015 at 6:15 PM, Marc Zyngier wrote: > >>>>>> static void its_enable_cavium_thunderx(void *data) >>

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
On Mon, Aug 24, 2015 at 6:15 PM, Marc Zyngier wrote: > On 24/08/15 13:30, Ganapatrao Kulkarni wrote: >> Hi Marc, >> >> thanks for the review comments. >> >> On Mon, Aug 24, 2015 at 3:47 PM, Marc Zyngier wrote: >>> Hi Robert, >>> >>> Ju

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
workaround for gicv3 in a numa environment. It >> is on top of my recent gicv3 errata patch submission v4 and Ganapat's >> arm64 numa patches for devicetree v5. >> >> Please comment. >> >> Thanks, >> >> -Robert >> >> >> >>

<    1   2   3