public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2,RESEND 0/2] drivers: perf: fix crash with the legacy riscv driver
@ 2024-02-27 17:00 Vadim Shakirov
  2024-02-27 17:00 ` [PATCH v2,RESEND 1/2] drivers: perf: added capabilities for legacy PMU Vadim Shakirov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vadim Shakirov @ 2024-02-27 17:00 UTC (permalink / raw)
  To: linux-riscv
  Cc: Vadim Shakirov, Atish Patra, Anup Patel, Will Deacon,
	Mark Rutland, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	linux-arm-kernel, linux-kernel

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-28 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 17:00 [PATCH v2,RESEND 0/2] drivers: perf: fix crash with the legacy riscv driver Vadim Shakirov
2024-02-27 17:00 ` [PATCH v2,RESEND 1/2] drivers: perf: added capabilities for legacy PMU Vadim Shakirov
2024-02-27 19:26   ` Alexandre Ghiti
2024-02-27 19:38     ` Alexandre Ghiti
2024-02-27 20:56     ` Palmer Dabbelt
2024-02-27 17:00 ` [PATCH v2,RESEND 2/2] drivers: perf: ctr_get_width function for legacy is not defined Vadim Shakirov
2024-02-27 19:17   ` Alexandre Ghiti
2024-02-28 15:10 ` [PATCH v2,RESEND 0/2] drivers: perf: fix crash with the legacy riscv driver patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox