public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/2] Support TDX guests on Hyper-V (the x86/tdx part)
@ 2023-06-21 19:13 Dexuan Cui
  2023-06-21 19:13 ` [PATCH v9 1/2] x86/tdx: Retry TDVMCALL_MAP_GPA() when needed Dexuan Cui
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dexuan Cui @ 2023-06-21 19:13 UTC (permalink / raw)
  To: ak, arnd, bp, brijesh.singh, dan.j.williams, dave.hansen,
	dave.hansen, haiyangz, hpa, jane.chu, kirill.shutemov, kys,
	linux-arch, linux-hyperv, luto, mingo, peterz, rostedt,
	sathyanarayanan.kuppuswamy, seanjc, tglx, tony.luck, wei.liu, x86,
	mikelley
  Cc: linux-kernel, Tianyu.Lan, rick.p.edgecombe, Dexuan Cui

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@microsoft.com/
v7: https://lwn.net/ml/linux-kernel/20230616044701.15888-1-decui%40microsoft.com/
v6: https://lwn.net/ml/linux-kernel/20230504225351.10765-1-decui@microsoft.com/

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-07-27  0:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 19:13 [PATCH v9 0/2] Support TDX guests on Hyper-V (the x86/tdx part) Dexuan Cui
2023-06-21 19:13 ` [PATCH v9 1/2] x86/tdx: Retry TDVMCALL_MAP_GPA() when needed Dexuan Cui
2023-07-19  2:31   ` Xiaoyao Li
2023-07-27  0:19     ` Dexuan Cui
2023-06-21 19:13 ` [PATCH v9 2/2] x86/tdx: Support vmalloc() for tdx_enc_status_changed() Dexuan Cui
2023-06-28 18:05 ` [PATCH v9 0/2] Support TDX guests on Hyper-V (the x86/tdx part) Wei Liu
2023-06-28 18:45   ` Dexuan Cui
2023-07-10 17:20     ` Dexuan Cui
2023-07-27  0:29       ` Dexuan Cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox