[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240227170002.188671-1-vadim.shakirov@syntacore.com>
Date: Tue, 27 Feb 2024 20:00:00 +0300
From: Vadim Shakirov <vadim.shakirov@...tacore.com>
To: <linux-riscv@...ts.infradead.org>
CC: Vadim Shakirov <vadim.shakirov@...tacore.com>, Atish Patra
<atishp@...shpatra.org>, Anup Patel <anup@...infault.org>, Will Deacon
<will@...nel.org>, Mark Rutland <mark.rutland@....com>, Paul Walmsley
<paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>, Albert Ou
<aou@...s.berkeley.edu>, <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2,RESEND 0/2] drivers: perf: fix crash with the legacy riscv driver
This series fix crash with the legacy riscv driver when configs:
CONFIG_RISCV_PMU_LEGACY=y and CONFIG_RISCV_PMU_SBI=n and you try
to perf record
Vadim Shakirov (2):
drivers: perf: added capabilities for legacy PMU
drivers: perf: ctr_get_width function for legacy is not defined
drivers/perf/riscv_pmu.c | 18 +++++-------------
drivers/perf/riscv_pmu_legacy.c | 10 +++++++++-
2 files changed, 14 insertions(+), 14 deletions(-)
--
2.34.1
Powered by blists - more mailing lists