Hi Marc,
On Wed, Dec 20, 2017 at 2:56 PM, Marc Zyngier wrote:
> On 20/12/17 09:15, Ganapatrao Kulkarni wrote:
>> When an interrupt is moved, it is possible that an implementation that
>> supports caching might still have cached data for a previous
>> (no longer valid) map
entries after cross node collection migration.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
drivers/irqchip/irq-gic-v3-its.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 4
entries after cross node collection migration.
Signed-off-by: Ganapatrao Kulkarni
---
drivers/irqchip/irq-gic-v3-its.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 4039e64..ea849a1 100644
--- a/drivers/irqchip
Commit-ID: de3d0f12be476271d03f1ddb5a7c241c2f07f126
Gitweb: https://git.kernel.org/tip/de3d0f12be476271d03f1ddb5a7c241c2f07f126
Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
AuthorDate: Tue, 17 Oct 2017 00:02:22 +0530
Committer: Arnaldo Carvalho de Melo <a...@r
Commit-ID: de3d0f12be476271d03f1ddb5a7c241c2f07f126
Gitweb: https://git.kernel.org/tip/de3d0f12be476271d03f1ddb5a7c241c2f07f126
Author: Ganapatrao Kulkarni
AuthorDate: Tue, 17 Oct 2017 00:02:22 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 15:43:51 -0300
perf
Commit-ID: d3964221ea14690fe51cb57331b88b5c69e4d2cb
Gitweb: https://git.kernel.org/tip/d3964221ea14690fe51cb57331b88b5c69e4d2cb
Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
AuthorDate: Tue, 17 Oct 2017 00:02:21 +0530
Committer: Arnaldo Carvalho de Melo <a...@r
Commit-ID: d3964221ea14690fe51cb57331b88b5c69e4d2cb
Gitweb: https://git.kernel.org/tip/d3964221ea14690fe51cb57331b88b5c69e4d2cb
Author: Ganapatrao Kulkarni
AuthorDate: Tue, 17 Oct 2017 00:02:21 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 15:43:51 -0300
perf
Commit-ID: b57df28893543db3466172088786fae39b7fc3ad
Gitweb: https://git.kernel.org/tip/b57df28893543db3466172088786fae39b7fc3ad
Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
AuthorDate: Tue, 17 Oct 2017 00:02:19 +0530
Committer: Arnaldo Carvalho de Melo <a...@r
Commit-ID: b57df28893543db3466172088786fae39b7fc3ad
Gitweb: https://git.kernel.org/tip/b57df28893543db3466172088786fae39b7fc3ad
Author: Ganapatrao Kulkarni
AuthorDate: Tue, 17 Oct 2017 00:02:19 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 10:24:33 -0300
perf
Commit-ID: 54e32dc0f89ec7fcb87df6c45b096e57f050f22b
Gitweb: https://git.kernel.org/tip/54e32dc0f89ec7fcb87df6c45b096e57f050f22b
Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
AuthorDate: Tue, 17 Oct 2017 00:02:18 +0530
Committer: Arnaldo Carvalho de Melo <a...@r
Commit-ID: 54e32dc0f89ec7fcb87df6c45b096e57f050f22b
Gitweb: https://git.kernel.org/tip/54e32dc0f89ec7fcb87df6c45b096e57f050f22b
Author: Ganapatrao Kulkarni
AuthorDate: Tue, 17 Oct 2017 00:02:18 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 10:24:33 -0300
perf
Commit-ID: 14b22ae028de56cca980171db625d1e9925c8fba
Gitweb: https://git.kernel.org/tip/14b22ae028de56cca980171db625d1e9925c8fba
Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
AuthorDate: Thu, 24 Aug 2017 16:30:58 +0530
Committer: Arnaldo Carvalho de Melo <a...@r
Commit-ID: 14b22ae028de56cca980171db625d1e9925c8fba
Gitweb: https://git.kernel.org/tip/14b22ae028de56cca980171db625d1e9925c8fba
Author: Ganapatrao Kulkarni
AuthorDate: Thu, 24 Aug 2017 16:30:58 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 15:43:51 -0300
perf
>> >
>> > I applied the diff but it's failed.
>> >
>> > jinyao@skl:~/skl-ws/perf-dev/lck-4594/src$ patch -p1 < 1.pat
>> > patching file tools/perf/util/pmu.c
>> > patch: malformed patch at line 41: *head, struct perf_pmu *pmu)
>> >
>>
he diff but it's failed.
>> >
>> > jinyao@skl:~/skl-ws/perf-dev/lck-4594/src$ patch -p1 < 1.pat
>> > patching file tools/perf/util/pmu.c
>> > patch: malformed patch at line 41: *head, struct perf_pmu *pmu)
>> >
>> > Could you send the patch
I run the 'perf stat'.
>
> With bisect checking, I locate to this patch.
>
> commit ad8737a08973f5dca632bdd63cf2abc99670e540
> Author: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
> Date: Tue Oct 17 00:02:20 2017 +0530
>
> perf pmu: Use pmu->is_uncore to detect UNCORE devices
&g
I locate to this patch.
>
> commit ad8737a08973f5dca632bdd63cf2abc99670e540
> Author: Ganapatrao Kulkarni
> Date: Tue Oct 17 00:02:20 2017 +0530
>
> perf pmu: Use pmu->is_uncore to detect UNCORE devices
>
> For example (on Intel skylake desktop),
>
> 1.
>>
>> On Tue, Oct 17, 2017 at 12:02:17AM +0530, Ganapatrao Kulkarni wrote:
>>>
>>> Extending json/jevent framework for parsing arm64 event files.
>>> Adding jevents for ThunderX2 implementation defined PMU events.
>>>
>>> v9:
>>
7, 2017 at 12:02:17AM +0530, Ganapatrao Kulkarni wrote:
>>>
>>> Extending json/jevent framework for parsing arm64 event files.
>>> Adding jevents for ThunderX2 implementation defined PMU events.
>>>
>>> v9:
>>>- Rebased to [3] and resolve
On Tue, Nov 21, 2017 at 6:22 PM, Rafael J. Wysocki <raf...@kernel.org> wrote:
> On Tue, Nov 21, 2017 at 5:16 AM, Ganapatrao Kulkarni <gklkm...@gmail.com>
> wrote:
>> On Thu, Nov 16, 2017 at 12:16 AM, Luck, Tony <tony.l...@intel.com> wrote:
>>>> This c
On Tue, Nov 21, 2017 at 6:22 PM, Rafael J. Wysocki wrote:
> On Tue, Nov 21, 2017 at 5:16 AM, Ganapatrao Kulkarni
> wrote:
>> On Thu, Nov 16, 2017 at 12:16 AM, Luck, Tony wrote:
>>>> This check is already added in x86 and extending same to ia64.
>>>
>>
On Thu, Nov 16, 2017 at 12:16 AM, Luck, Tony wrote:
>> This check is already added in x86 and extending same to ia64.
>
> Looks OK.
>
> Acked-by: Tony Luck
thanks Tony.
ACPI Maintainers,
any comments on this patch? i can send rebasing to 4.15-rc1?
On Thu, Nov 16, 2017 at 12:16 AM, Luck, Tony wrote:
>> This check is already added in x86 and extending same to ia64.
>
> Looks OK.
>
> Acked-by: Tony Luck
thanks Tony.
ACPI Maintainers,
any comments on this patch? i can send rebasing to 4.15-rc1?
thanks
Ganapat
in acpi driver code and
let architecture code check for allowed memblocks count.
This check is already added in x86 and extending same to ia64.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
arch/ia64/kernel/acpi.c | 5 +
drivers/acpi/numa.c | 3 +--
2
in acpi driver code and
let architecture code check for allowed memblocks count.
This check is already added in x86 and extending same to ia64.
Signed-off-by: Ganapatrao Kulkarni
---
arch/ia64/kernel/acpi.c | 5 +
drivers/acpi/numa.c | 3 +--
2 files changed, 6 insertions(+), 2 deletions
On Wed, Oct 18, 2017 at 7:06 PM, Robin Murphy <robin.mur...@arm.com> wrote:
> On 04/10/17 14:53, Ganapatrao Kulkarni wrote:
>> Hi Robin,
>>
>>
>> On Thu, Sep 21, 2017 at 5:28 PM, Robin Murphy <robin.mur...@arm.com> wrote:
>>> [+Christoph and Marek
On Wed, Oct 18, 2017 at 7:06 PM, Robin Murphy wrote:
> On 04/10/17 14:53, Ganapatrao Kulkarni wrote:
>> Hi Robin,
>>
>>
>> On Thu, Sep 21, 2017 at 5:28 PM, Robin Murphy wrote:
>>> [+Christoph and Marek]
>>>
>>> On 21/09/17 09:59, Ganapat
Hi John,
On Thu, Oct 19, 2017 at 3:59 PM, John Garry wrote:
>>>
>>> #Family-model,Version,Filename,EventType
>>> 0x420f5160,v1,cavium,core
>>> 0x420f5161,v1,cavium,core
>>
>>
>> certainly, there is Part number(PartNum, bits [15:4] ) change from
>> thunderx2
Hi John,
On Thu, Oct 19, 2017 at 3:59 PM, John Garry wrote:
>>>
>>> #Family-model,Version,Filename,EventType
>>> 0x420f5160,v1,cavium,core
>>> 0x420f5161,v1,cavium,core
>>
>>
>> certainly, there is Part number(PartNum, bits [15:4] ) change from
>> thunderx2 to thunderx3.
>>
Hi Arnaldo, Will,
can this be queued to next?
On Tue, Oct 17, 2017 at 12:02 AM, Ganapatrao Kulkarni
<ganapatrao.kulka...@cavium.com> wrote:
> Extending json/jevent framework for parsing arm64 event files.
> Adding jevents for ThunderX2 implementation defined PMU events.
>
>
Hi Arnaldo, Will,
can this be queued to next?
On Tue, Oct 17, 2017 at 12:02 AM, Ganapatrao Kulkarni
wrote:
> Extending json/jevent framework for parsing arm64 event files.
> Adding jevents for ThunderX2 implementation defined PMU events.
>
> v9:
>- Rebased to [3] and re
/www.spinics.net/lists/arm-kernel/msg611895.html
>>>>>
>>>>> Signed-off-by: Shaokun Zhang <zhangshao...@hisilicon.com>
>>>>> Cc: Peter Zijlstra <pet...@infradead.org>
>>>>> Cc: Ingo Molnar <mi...@redhat.com>
>>>>&
kernel/msg611895.html
>>>>>
>>>>> Signed-off-by: Shaokun Zhang
>>>>> Cc: Peter Zijlstra
>>>>> Cc: Ingo Molnar
>>>>> Cc: Arnaldo Carvalho de Melo
>>>>> Cc: Alexander Shishkin
>>>>> Cc: Will Deaco
t PMU")
has introduced pmu->is_uncore, which is set to PMU UNCORE devices only.
Adding changes to use pmu->is_uncore to identify UNCORE devices.
Acked-by: Will Deacon <will.dea...@arm.com>
Tested-by: Shaokun Zhang <zhangshao...@hisilicon.com>
Signed-off-by: Ganapatra
t PMU")
has introduced pmu->is_uncore, which is set to PMU UNCORE devices only.
Adding changes to use pmu->is_uncore to identify UNCORE devices.
Acked-by: Will Deacon
Tested-by: Shaokun Zhang
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/util/pmu.c | 11 +++
1 file chang
On some platforms(arm/arm64) which uses cpus map to get corresponding
cpuid string, cpuid can be NULL for PMUs other than CORE PMUs.
Adding check for NULL cpuid in function perf_pmu__find_map to
avoid segmentation fault.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.
On some platforms(arm/arm64) which uses cpus map to get corresponding
cpuid string, cpuid can be NULL for PMUs other than CORE PMUs.
Adding check for NULL cpuid in function perf_pmu__find_map to
avoid segmentation fault.
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/util/pmu.c | 6 ++
1
t;
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/arch/powerpc/util/header.c | 2 +-
tools/perf/arch/x86/util/header.c | 2 +-
tools/perf/util/header.h | 3 ++-
tools/perf/util/metricgroup.c | 4 ++--
tools/perf/util/pmu.c
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
also optimise arguments to function pmu_add_cpu_aliases.
Acked-by: Will Deacon
Signed-off-by: Ganapat
This is not a full event list, but a short list of useful events.
Acked-by: Will Deacon <will.dea...@arm.com>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
.../arch/arm64/cavium/thunderx2-imp-def.json | 62 ++
tools/perf/pmu-event
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the PMU CORE device.
Acked-by: Will Deacon <will.dea...@arm.com>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/arch/arm64/util/Build|
This is not a full event list, but a short list of useful events.
Acked-by: Will Deacon
Signed-off-by: Ganapatrao Kulkarni
---
.../arch/arm64/cavium/thunderx2-imp-def.json | 62 ++
tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++
2 files changed, 77
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the PMU CORE device.
Acked-by: Will Deacon
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/arch/arm64/util/Build| 1 +
tools/perf/arch/arm64/util/header.c | 65
string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (5):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: use pmu->is_uncore to detect PMU CORE/UNCORE devices
p
string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (5):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: use pmu->is_uncore to detect PMU CORE/UNCORE devices
p
On Thu, Oct 12, 2017 at 8:54 PM, Will Deacon <will.dea...@arm.com> wrote:
> On Thu, Oct 12, 2017 at 07:41:12PM +0530, Ganapatrao Kulkarni wrote:
>> Extending json/jevent framework for parsing arm64 event files.
>> Adding jevents for ThunderX2 implementation defined
On Thu, Oct 12, 2017 at 8:54 PM, Will Deacon wrote:
> On Thu, Oct 12, 2017 at 07:41:12PM +0530, Ganapatrao Kulkarni wrote:
>> Extending json/jevent framework for parsing arm64 event files.
>> Adding jevents for ThunderX2 implementation defined PMU events.
>>
>> v
This is not a full event list, but a short list of useful events.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
.../arch/arm64/cavium/thunderx2-imp-def.json | 62 ++
tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++
2
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
also optimise arguments to function pmu_add_cpu_aliases.
Signed-off-by: Ganapatrao Kulka
y: Shaokun Zhang <zhangshao...@hisilicon.com>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/util/pmu.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/
suggestions.
- Added provision for get_cpuid_str to get cpu id string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils
This is not a full event list, but a short list of useful events.
Signed-off-by: Ganapatrao Kulkarni
---
.../arch/arm64/cavium/thunderx2-imp-def.json | 62 ++
tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++
2 files changed, 77 insertions(+)
create mode
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
also optimise arguments to function pmu_add_cpu_aliases.
Signed-off-by: Ganapatrao Kulkarni
---
tools/p
On some platforms, PMU core devices sysfs name is not cpu.
Adding function is_pmu_core to detect PMU core devices using
core device specific hints in sysfs.
For arm64 platforms, all core devices have file "cpus" in sysfs.
Acked-by: Will Deacon
Tested-by: Shaokun Zhang
Signed-off-by:
suggestions.
- Added provision for get_cpuid_str to get cpu id string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the pmu core device.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/arch/arm64/util/Build| 1 +
tools/perf/arch/arm64/util/header.
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the pmu core device.
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/arch/arm64/util/Build| 1 +
tools/perf/arch/arm64/util/header.c | 65 +
2
On Thu, Oct 12, 2017 at 5:15 PM, Zhangshaokun
<zhangshao...@hisilicon.com> wrote:
> Hi Will,
>
> On 2017/10/12 18:58, Will Deacon wrote:
>> On Thu, Oct 12, 2017 at 04:20:06PM +0530, Ganapatrao Kulkarni wrote:
>>> Hi Robert,
>>>
>>> On Thu, Oct 12,
On Thu, Oct 12, 2017 at 5:15 PM, Zhangshaokun
wrote:
> Hi Will,
>
> On 2017/10/12 18:58, Will Deacon wrote:
>> On Thu, Oct 12, 2017 at 04:20:06PM +0530, Ganapatrao Kulkarni wrote:
>>> Hi Robert,
>>>
>>> On Thu, Oct 12, 2017 at 4:08 PM, Robert Richter wr
Hi Robert,
On Thu, Oct 12, 2017 at 4:08 PM, Robert Richter <r...@kernel.org> wrote:
> On 12.10.17 16:04:15, Ganapatrao Kulkarni wrote:
>
>> tools/perf/arch/arm64/util/Build | 1 +
>> tools/perf/arch/arm64/util/header.c| 65
>> ++
Hi Robert,
On Thu, Oct 12, 2017 at 4:08 PM, Robert Richter wrote:
> On 12.10.17 16:04:15, Ganapatrao Kulkarni wrote:
>
>> tools/perf/arch/arm64/util/Build | 1 +
>> tools/perf/arch/arm64/util/header.c| 65
>> ++
>
y: Shaokun Zhang <zhangshao...@hisilicon.com>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/util/pmu.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/
This is not a full event list, but a short list of useful events.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++
.../arch/arm64/thunderx2/thunderx2-imp-def.json| 62 ++
2
On some platforms, PMU core devices sysfs name is not cpu.
Adding function is_pmu_core to detect PMU core devices using
core device specific hints in sysfs.
For arm64 platforms, all core devices have file "cpus" in sysfs.
Acked-by: Will Deacon
Tested-by: Shaokun Zhang
Signed-off-by:
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 | 15 ++
.../arch/arm64/thunderx2/thunderx2-imp-def.json| 62 ++
2 files changed, 77 insertions(+)
create mode
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the pmu core device.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/arch/arm64/util/Build| 1 +
tools/perf/arch/arm64/util/header.
function get_cpuid_str returns MIDR string of the first online
cpu from the range of cpus associated with the pmu core device.
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/arch/arm64/util/Build| 1 +
tools/perf/arch/arm64/util/header.c | 65 +
2
to get cpu id string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: Add helper function is_pmu_core to detect PMU
to get cpu id string
from associated cpus of pmu core device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: Add helper function is_pmu_core to detect PMU
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
also optimise arguments to function pmu_add_cpu_aliases.
Signed-off-by: Ganapatrao Kulka
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
also optimise arguments to function pmu_add_cpu_aliases.
Signed-off-by: Ganapatrao Kulkarni
---
tools/p
On Wed, Oct 11, 2017 at 5:43 PM, Will Deacon <will.dea...@arm.com> wrote:
> On Thu, Aug 24, 2017 at 05:33:47PM +0530, Ganapatrao Kulkarni wrote:
>> function get_cpuid_str returns MIDR string of the first online
>> cpu from the range of cpus associated with the pmu core dev
On Wed, Oct 11, 2017 at 5:43 PM, Will Deacon wrote:
> On Thu, Aug 24, 2017 at 05:33:47PM +0530, Ganapatrao Kulkarni wrote:
>> function get_cpuid_str returns MIDR string of the first online
>> cpu from the range of cpus associated with the pmu core device.
>>
>> Signed-
haokun,
>> > >
>> > > On 29.08.17 17:26:00, Zhangshaokun wrote:
>> > > > On 2017/8/24 20:03, Ganapatrao Kulkarni wrote:
>> > > > > This is not a full event list, but a short list of useful events.
>> > > > >
>> > &g
>> > > On 29.08.17 17:26:00, Zhangshaokun wrote:
>> > > > On 2017/8/24 20:03, Ganapatrao Kulkarni wrote:
>> > > > > This is not a full event list, but a short list of useful events.
>> > > > >
>> > > >
Hi Robin,
On Thu, Sep 21, 2017 at 5:28 PM, Robin Murphy <robin.mur...@arm.com> wrote:
> [+Christoph and Marek]
>
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> Introduce smmu_alloc_coherent and smmu_free_coherent functions to
>> allocate/free dma coherent memor
Hi Robin,
On Thu, Sep 21, 2017 at 5:28 PM, Robin Murphy wrote:
> [+Christoph and Marek]
>
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> Introduce smmu_alloc_coherent and smmu_free_coherent functions to
>> allocate/free dma coherent memory from NUMA node associated with
Hi Robin,
On Thu, Sep 21, 2017 at 5:11 PM, Robin Murphy <robin.mur...@arm.com> wrote:
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> Change function __iommu_dma_alloc_pages to allocate memory/pages
>> for dma from respective device numa node.
>>
>> S
Hi Robin,
On Thu, Sep 21, 2017 at 5:11 PM, Robin Murphy wrote:
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> Change function __iommu_dma_alloc_pages to allocate memory/pages
>> for dma from respective device numa node.
>>
>> Signed-off-by: Ganapatrao Kulkarni
&
On Thu, Sep 21, 2017 at 4:41 PM, Robin Murphy <robin.mur...@arm.com> wrote:
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> function __arm_lpae_alloc_pages is used to allcoated memory for smmu
>> translation tables. updating function to allocate memory/pages
>> from t
On Thu, Sep 21, 2017 at 4:41 PM, Robin Murphy wrote:
> On 21/09/17 09:59, Ganapatrao Kulkarni wrote:
>> function __arm_lpae_alloc_pages is used to allcoated memory for smmu
>> translation tables. updating function to allocate memory/pages
>> from the proximity domain of SM
Introduce smmu_alloc_coherent and smmu_free_coherent functions to
allocate/free dma coherent memory from NUMA node associated with SMMU.
Replace all calls of dmam_alloc_coherent with smmu_alloc_coherent
for SMMU stream tables and command queues.
Signed-off-by: Ganapatrao Kulkarni
Introduce smmu_alloc_coherent and smmu_free_coherent functions to
allocate/free dma coherent memory from NUMA node associated with SMMU.
Replace all calls of dmam_alloc_coherent with smmu_alloc_coherent
for SMMU stream tables and command queues.
Signed-off-by: Ganapatrao Kulkarni
---
drivers
This function can be used on NUMA systems in place of alloc_pages_exact
Adding code to export and to remove __meminit section tagging.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
include/linux/gfp.h | 2 +-
mm/page_alloc.c | 3 ++-
2 files changed, 3 inse
This function can be used on NUMA systems in place of alloc_pages_exact
Adding code to export and to remove __meminit section tagging.
Signed-off-by: Ganapatrao Kulkarni
---
include/linux/gfp.h | 2 +-
mm/page_alloc.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git
function __arm_lpae_alloc_pages is used to allcoated memory for smmu
translation tables. updating function to allocate memory/pages
from the proximity domain of SMMU device.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
drivers/iommu/io-pgtable-arm.c | 4 +++-
Change function __iommu_dma_alloc_pages to allocate memory/pages
for dma from respective device numa node.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
drivers/iommu/dma-iommu.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff
function __arm_lpae_alloc_pages is used to allcoated memory for smmu
translation tables. updating function to allocate memory/pages
from the proximity domain of SMMU device.
Signed-off-by: Ganapatrao Kulkarni
---
drivers/iommu/io-pgtable-arm.c | 4 +++-
1 file changed, 3 insertions(+), 1
Change function __iommu_dma_alloc_pages to allocate memory/pages
for dma from respective device numa node.
Signed-off-by: Ganapatrao Kulkarni
---
drivers/iommu/dma-iommu.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/iommu/dma-iommu.c b/drivers
Adding numa aware memory allocations used for iommu dma allocation and
memory allocated for SMMU stream tables, page walk tables and command queues.
With this patch, iperf testing on ThunderX2, with 40G NIC card on
NODE 1 PCI shown same performance(around 30% improvement) as NODE 0.
Ganapatrao
Adding numa aware memory allocations used for iommu dma allocation and
memory allocated for SMMU stream tables, page walk tables and command queues.
With this patch, iperf testing on ThunderX2, with 40G NIC card on
NODE 1 PCI shown same performance(around 30% improvement) as NODE 0.
Ganapatrao
Hi Will,
any further comments?
On Thu, Aug 24, 2017 at 5:33 PM, Ganapatrao Kulkarni
<ganapatrao.kulka...@cavium.com> wrote:
> Extending json/jevent framework for parsing arm64 event files.
> Adding jevents for ThunderX2 implementation defined PMU events.
>
> v6 : Address
Hi Will,
any further comments?
On Thu, Aug 24, 2017 at 5:33 PM, Ganapatrao Kulkarni
wrote:
> Extending json/jevent framework for parsing arm64 event files.
> Adding jevents for ThunderX2 implementation defined PMU events.
>
> v6 : Addressed comments [1] [2]
>
> [1] https://pa
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/arch/pow
cpuid string will not be same on all CPUs on heterogeneous
platforms like ARM's big.LITTLE, adding provision(using pmu->cpus)
to find cpuid string from associated CPUs of PMU CORE device.
Signed-off-by: Ganapatrao Kulkarni
---
tools/perf/arch/powerpc/util/header.c | 2 +-
tools/perf/arch/
This is not a full event list, but a short list of useful events.
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/pmu-events/arch/arm64/mapfile.csv | 15 ++
.../arm64/thunderx2/implementation-defined.json| 62 ++
2
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 | 15 ++
.../arm64/thunderx2/implementation-defined.json| 62 ++
2 files changed, 77 insertions(+)
create mode
device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: Add helper function is_pmu_core to detect PMU CORE devices
perf vendor events arm64: Add ThunderX2
device.
v1: Initial patchset.
Ganapatrao Kulkarni (4):
perf utils: passing pmu as a parameter to function get_cpuid_str
perf tools arm64: Add support for get_cpuid_str function.
perf utils: Add helper function is_pmu_core to detect PMU CORE devices
perf vendor events arm64: Add ThunderX2
m>
Signed-off-by: Ganapatrao Kulkarni <ganapatrao.kulka...@cavium.com>
---
tools/perf/util/pmu.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
index aefdbd1..c2fe70f 100644
--- a/tools/perf/
101 - 200 of 519 matches
Mail list logo