Re: [PATCH v1 09/13] perf/x86/amd: add idle hooks for branch sampling

From: Peter Zijlstra
Date: Thu Sep 09 2021 - 05:20:20 EST


On Thu, Sep 09, 2021 at 12:56:56AM -0700, Stephane Eranian wrote:
> On AMD Fam19h Zen3, the branch sampling (BRS) feature must be disabled before entering low power
> and re-enabled (if was active) when returning from low power. Otherwise, the NMI interrupt may
> be held up for too long and cause problems. Stopping BRS will cause the NMI to be delivered if it
> was held up.

What you sent me ^^^, vs reflow at 72 chars vvv:

On AMD Fam19h Zen3, the branch sampling (BRS) feature must be disabled
before entering low power and re-enabled (if was active) when returning
from low power. Otherwise, the NMI interrupt may be held up for too long
and cause problems. Stopping BRS will cause the NMI to be delivered if
it was held up.

(because git show has that stupid extra indentation for Changelogs)