Re: [PATCH v9 0/2] Support TDX guests on Hyper-V (the x86/tdx part)
From: Wei Liu
Date: Wed Jun 28 2023 - 14:05:47 EST
On Wed, Jun 21, 2023 at 12:13:15PM -0700, Dexuan Cui wrote:
> The two patches are based on today's tip.git's master branch.
>
> Note: the two patches don't apply to the current x86/tdx branch, which
> doesn't have commit 75d090fd167a ("x86/tdx: Add unaccepted memory support").
>
> As Dave suggested, I moved some local variables of tdx_map_gpa() to
> inside the loop. I added Sathyanarayanan's Reviewed-by.
>
> Please review.
>
> FWIW, the old versons are here:
> v8: https://lwn.net/ml/linux-kernel/20230620154830.25442-1-decui@xxxxxxxxxxxxx/
> v7: https://lwn.net/ml/linux-kernel/20230616044701.15888-1-decui%40microsoft.com/
> v6: https://lwn.net/ml/linux-kernel/20230504225351.10765-1-decui@xxxxxxxxxxxxx/
>
> Dexuan Cui (2):
> x86/tdx: Retry TDVMCALL_MAP_GPA() when needed
> x86/tdx: Support vmalloc() for tdx_enc_status_changed()
>
> arch/x86/coco/tdx/tdx.c | 87 ++++++++++++++++++++++++++-----
> arch/x86/include/asm/shared/tdx.h | 2 +
> 2 files changed, 77 insertions(+), 12 deletions(-)
Dexuan, do you expect these to go through the Hyper-V tree?
Thanks,
Wei.
>
> --
> 2.25.1
>