[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMvTesCjbsG_Uw_Bttw7vL6C6QDCzx-pxAi1FBGAAS_54LcqFw@mail.gmail.com>
Date: Fri, 25 Jul 2025 16:04:57 +0800
From: Tianyu Lan <ltykernel@...il.com>
To: Roman Kisel <romank@...ux.microsoft.com>
Cc: alok.a.tiwari@...cle.com, arnd@...db.de, bp@...en8.de, corbet@....net,
dave.hansen@...ux.intel.com, decui@...rosoft.com, haiyangz@...rosoft.com,
hpa@...or.com, kys@...rosoft.com, mhklinux@...look.com, mingo@...hat.com,
rdunlap@...radead.org, tglx@...utronix.de, Tianyu.Lan@...rosoft.com,
wei.liu@...nel.org, linux-arch@...r.kernel.org, linux-coco@...ts.linux.dev,
linux-doc@...r.kernel.org, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org, apais@...rosoft.com,
benhill@...rosoft.com, bperkins@...rosoft.com, sunilmut@...rosoft.com
Subject: Re: [PATCH hyperv-next v4 04/16] arch/x86: mshyperv: Trap on access
for some synthetic MSRs
On Tue, Jul 15, 2025 at 6:16 AM Roman Kisel <romank@...ux.microsoft.com> wrote:
>
> hv_set_non_nested_msr() has special handling for SINT MSRs
> when a paravisor is present. In addition to updating the MSR on the
> host, the mirror MSR in the paravisor is updated, including with the
> proxy bit. But with Confidential VMBus, the proxy bit must not be
> used, so add a special case to skip it.
>
> Update the hv_set_non_nested_msr() function as well as
> vmbus_signal_eom() to trap on access for some synthetic MSRs.
>
> Signed-off-by: Roman Kisel <romank@...ux.microsoft.com>
> Reviewed-by: Alok Tiwari <alok.a.tiwari@...cle.com>
> ---
Reviewed-by: Tianyu Lan <tiala@...rosoft.com>
--
Thanks
Tianyu Lan
Powered by blists - more mailing lists