lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165710145080.2497812.7883037173076290820.b4-ty@kernel.org>
Date:   Wed,  6 Jul 2022 17:50:31 +0100
From:   Will Deacon <will@...nel.org>
To:     linux-riscv@...ts.infradead.org, palmer@...belt.com,
        anup@...infault.org, Eric Lin <eric.lin@...ive.com>,
        atishp@...shpatra.org, atishp@...osinc.com, mark.rutland@....com,
        linux-kernel@...r.kernel.org, paul.walmsley@...ive.com,
        aou@...s.berkeley.edu, linux-arm-kernel@...ts.infradead.org
Cc:     catalin.marinas@....com, kernel-team@...roid.com,
        Will Deacon <will@...nel.org>, greentime.hu@...ive.com
Subject: Re: [PATCH] drivers/perf: riscv_pmu: Add riscv pmu pm notifier

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ