Re: [PATCH v3 00/10] Support TDX guests on Hyper-V (the Hyper-V specific part)

From: Wei Liu
Date: Thu Aug 24 2023 - 20:06:49 EST


On Thu, Aug 24, 2023 at 01:07:02AM -0700, Dexuan Cui wrote:
> Dexuan Cui (10):
> x86/hyperv: Add hv_isolation_type_tdx() to detect TDX guests
> x86/hyperv: Support hypercalls for fully enlightened TDX guests
> Drivers: hv: vmbus: Support fully enlightened TDX guests
> x86/hyperv: Fix serial console interrupts for fully enlightened TDX
> guests
> Drivers: hv: vmbus: Support >64 VPs for a fully enlightened TDX/SNP VM
> x86/hyperv: Introduce a global variable hyperv_paravisor_present
> Drivers: hv: vmbus: Bring the post_msg_page back for TDX VMs with the
> paravisor
> x86/hyperv: Use TDX GHCI to access some MSRs in a TDX VM with the
> paravisor
> x86/hyperv: Remove hv_isolation_type_en_snp
> x86/hyperv: Move the code in ivm.c around to avoid unnecessary ifdef's
>
> arch/x86/hyperv/hv_apic.c | 15 +-
> arch/x86/hyperv/hv_init.c | 59 ++++-
> arch/x86/hyperv/ivm.c | 374 ++++++++++++++++++-----------
> arch/x86/include/asm/hyperv-tlfs.h | 3 +-
> arch/x86/include/asm/mshyperv.h | 43 +++-
> arch/x86/kernel/cpu/mshyperv.c | 65 ++++-
> drivers/hv/connection.c | 15 +-
> drivers/hv/hv.c | 78 +++++-
> drivers/hv/hv_common.c | 43 +++-
> drivers/hv/hyperv_vmbus.h | 11 +
> include/asm-generic/mshyperv.h | 5 +-
> 11 files changed, 505 insertions(+), 206 deletions(-)

Applied to hyperv-next, thanks!