Re: [PATCH 06/20] x86/msr: Standardize on 'u32' MSR indices in <asm/msr.h>

From: Peter Zijlstra
Date: Thu Apr 10 2025 - 03:52:36 EST


On Wed, Apr 09, 2025 at 11:14:12PM -0700, H. Peter Anvin wrote:

> No, and as you know, I'd like to get rid of the native_ and xen_ functions
> entirely anyway.

I have vague memories of locations where we *have* to use native_{rd,wr}msr()
because the paravirt indirections cause problems.

I don't clearly recall the reasons, but it could be instrumentation
related. The paravirt muck has tracepoints and other crap included.