[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220609135411.GB3064@willie-the-truck>
Date: Thu, 9 Jun 2022 14:54:11 +0100
From: Will Deacon <will@...nel.org>
To: Nikita Shubin <nikita.shubin@...uefel.me>
Cc: Genevieve Chan <genevieve.chan@...rfivetech.com>,
João Mário Domingos
<joao.mario@...nico.ulisboa.pt>,
Nikita Shubin <n.shubin@...ro.com>,
Atish Patra <atishp@...shpatra.org>,
Anup Patel <anup@...infault.org>,
Mark Rutland <mark.rutland@....com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:RISC-V PMU DRIVERS" <linux-riscv@...ts.infradead.org>,
"moderated list:ARM PMU PROFILING AND DEBUGGING"
<linux-arm-kernel@...ts.infradead.org>,
"open list:PERFORMANCE EVENTS SUBSYSTEM"
<linux-perf-users@...r.kernel.org>
Subject: Re: [PATCH v3 2/4] RISC-V: Support CPUID for risc-v in perf
On Tue, Jun 07, 2022 at 04:16:45PM +0300, Nikita Shubin wrote:
> From: João Mário Domingos <joao.mario@...nico.ulisboa.pt>
>
> This patch creates the header.c file for the risc-v architecture and introduces support for
> PMU identification through sysfs.
> It is now possible to configure pmu-events in risc-v.
>
> Depends on patch [1], that introduces the id sysfs file.
>
> Signed-off-by: João Mário Domingos <joao.mario@...nico.ulisboa.pt>
> [Nikita: replaced soc:pmu to riscv-pmu/id]
> Signed-off-by: Nikita Shubin <n.shubin@...ro.com>
> Tested-by: Nikita Shubin <n.shubin@...ro.com>
> ---
> v2->v3:
> - Change 'soc/soc:pmu/id' to 'riscv-pmu/id'
> ---
> drivers/perf/riscv_pmu.c | 18 ++++++++
> tools/perf/arch/riscv/util/Build | 1 +
> tools/perf/arch/riscv/util/header.c | 66 +++++++++++++++++++++++++++++
You will need to separate out the kernel changes from the tooling changes in
order to get this merged.
Thanks,
Will
Powered by blists - more mailing lists