Re: [PATCH 06/20] x86/msr: Standardize on 'u32' MSR indices in <asm/msr.h>
From: H. Peter Anvin
Date: Thu Apr 10 2025 - 04:55:56 EST
On April 10, 2025 12:48:28 AM PDT, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>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.
>
Yes, that's part of what we want to get rid of.