lkml.org 
[lkml]   [2022]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] drivers/perf: riscv_pmu: Add riscv pmu pm notifier
Date
On Tue, 5 Jul 2022 17:19:20 +0800, Eric Lin wrote:
> Currently, when the CPU is doing suspend to ram, we don't
> save pmu counter register and its content will be lost.
>
> To ensure perf profiling is not affected by suspend to ram,
> this patch is based on arm_pmu CPU_PM notifier and implements riscv
> pmu pm notifier. In the pm notifier, we stop the counter and update
> the counter value before suspend and start the counter after resume.
>
> [...]

Applied to will (for-next/perf), thanks!

[1/1] drivers/perf: riscv_pmu: Add riscv pmu pm notifier
https://git.kernel.org/will/c/e9a023f2b73a

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

\
 
 \ /
  Last update: 2022-07-06 18:52    [W:0.247 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site