[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2a94aee9-6c0e-46b4-bec2-664e118b0ea2@zytor.com>
Date: Wed, 23 Oct 2024 16:05:23 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Uros Bizjak <ubizjak@...il.com>, Xin Li <xin3.li@...el.com>,
Xin Li <xin@...or.com>, Andrew Cooper <andrew.cooper3@...rix.com>
Cc: "x86@...nel.org" <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: RFC, untested: handing of MSR immediates and MSRs on Xen
On 10/23/24 15:08, Uros Bizjak wrote:
>
> Please use %c asm operand modifier instead of %P. Please see comment in
> arch/x86/include/asm/alternative.h for the reason:
>
Here is an updated version which uses asm goto for the safe versions and
changes the type to a boolean.
I also fixed a couple of syntax problems.
-hpa
View attachment "wrmsrns2.c" of type "text/x-csrc" (7250 bytes)
Powered by blists - more mailing lists