Re: [PATCH] perf/x86/amd: Run AMD BRS code only on supported hw

From: Borislav Petkov
Date: Tue May 17 2022 - 04:47:08 EST


On Mon, May 16, 2022 at 05:59:27PM -0700, Stephane Eranian wrote:
> Thanks for catching this. I tested on Zen2 (Fam17h) and it did not
> trigger the problem

That's because Zen2 has this MSR - 0xc000010f - so the write succeeds.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette