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
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
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
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
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,
[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:
&
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).
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/
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
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
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
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
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
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
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
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
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 (
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
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
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
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
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
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
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
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 ++
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
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
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
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
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..
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
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
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:
>&
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:
>>
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
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
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
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
>>
>> 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
>> +
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 @@
>
> [
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
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
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:
>>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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(
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)
>>
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
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
>>
>>
>>
>>
201 - 264 of 264 matches
Mail list logo