Re: [tip: x86/urgent] x86/cpu/amd: Fix workaround for erratum 1054

From: Ingo Molnar
Date: Fri Apr 18 2025 - 08:42:09 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> > plus the erratum is a perf-counters information quality bug
> > affecting what appears to be a limited number of models, with the
> > workaround
>
> No, the fix is needed because Zen2 and newer won't set
> MSR_K7_HWCR_IRPERF_EN_BIT. It needs to go everywhere.

Fair enough - the current version already has Cc: stable:

263e55949d89 x86/cpu/amd: Fix workaround for erratum 1054

...

Fixes: 232afb557835 ("x86/CPU/AMD: Add X86_FEATURE_ZEN1")
Signed-off-by: Sandipan Das <sandipan.das@xxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Acked-by: Borislav Petkov <bp@xxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Link: https://lore.kernel.org/r/caa057a9d6f8ad579e2f1abaa71efbd5bd4eaf6d.1744956467.git.sandipan.das@xxxxxxx

Thanks,

Ingo