* [GIT PULL] x86/tdx for 6.7
@ 2023-11-01 0:07 Dave Hansen
2023-11-01 20:50 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Dave Hansen @ 2023-11-01 0:07 UTC (permalink / raw)
To: torvalds; +Cc: x86, linux-kernel, Dave Hansen
Hi Linus,
Please pull some x86/tdx changes for 6.7.
The majority of this is a rework of the assembly and C wrappers that
are used to talk to the TDX module and VMM. This is a nice cleanup in
general but is also clearing the way for using this code when Linux is
the TDX VMM.
There are also some tidbits to make TDX guests play nicer with Hyper-V
and to take advantage the hardware TSC.
--
The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:
Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_tdx_for_6.7
for you to fetch changes up to 9ee4318c157b9802589b746cc340bae3142d984c:
x86/tdx: Mark TSC reliable (2023-10-06 10:00:04 -0700)
----------------------------------------------------------------
* Refactor and clean up TDX hypercall/module call infrastructure
* Handle retrying/resuming page conversion hypercalls
* Make sure to use the (shockingly) reliable TSC in TDX guests
----------------------------------------------------------------
Dexuan Cui (1):
x86/tdx: Retry partially-completed page conversion hypercalls
Kai Huang (12):
x86/tdx: Zero out the missing RSI in TDX_HYPERCALL macro
x86/tdx: Skip saving output regs when SEAMCALL fails with VMFailInvalid
x86/tdx: Make macros of TDCALLs consistent with the spec
x86/tdx: Rename __tdx_module_call() to __tdcall()
x86/tdx: Pass TDCALL/SEAMCALL input/output registers via a structure
x86/tdx: Extend TDX_MODULE_CALL to support more TDCALL/SEAMCALL leafs
x86/tdx: Make TDX_HYPERCALL asm similar to TDX_MODULE_CALL
x86/tdx: Reimplement __tdx_hypercall() using TDX_MODULE_CALL asm
x86/tdx: Remove 'struct tdx_hypercall_args'
x86/virt/tdx: Wire up basic SEAMCALL functions
x86/virt/tdx: Make TDX_MODULE_CALL handle SEAMCALL #UD and #GP
x86/tdx: Fix __noreturn build warning around __tdx_hypercall_failed()
Kirill A. Shutemov (1):
x86/tdx: Mark TSC reliable
arch/x86/Kconfig | 12 ++
arch/x86/Makefile | 2 +
arch/x86/boot/compressed/tdx.c | 6 +-
arch/x86/coco/tdx/tdcall.S | 234 +++++---------------------------------
arch/x86/coco/tdx/tdx-shared.c | 28 ++++-
arch/x86/coco/tdx/tdx.c | 138 +++++++++++++++-------
arch/x86/hyperv/ivm.c | 10 +-
arch/x86/include/asm/shared/tdx.h | 89 +++++++++------
arch/x86/include/asm/tdx.h | 11 ++
arch/x86/kernel/asm-offsets.c | 33 +++---
arch/x86/virt/Makefile | 2 +
arch/x86/virt/vmx/Makefile | 2 +
arch/x86/virt/vmx/tdx/Makefile | 2 +
arch/x86/virt/vmx/tdx/seamcall.S | 61 ++++++++++
arch/x86/virt/vmx/tdx/tdxcall.S | 226 +++++++++++++++++++++++++++---------
tools/objtool/noreturns.h | 1 +
16 files changed, 491 insertions(+), 366 deletions(-)
create mode 100644 arch/x86/virt/Makefile
create mode 100644 arch/x86/virt/vmx/Makefile
create mode 100644 arch/x86/virt/vmx/tdx/Makefile
create mode 100644 arch/x86/virt/vmx/tdx/seamcall.S
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] x86/tdx for 6.7
2023-11-01 0:07 [GIT PULL] x86/tdx for 6.7 Dave Hansen
@ 2023-11-01 20:50 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-11-01 20:50 UTC (permalink / raw)
To: Dave Hansen; +Cc: torvalds, x86, linux-kernel, Dave Hansen
The pull request you sent on Tue, 31 Oct 2023 17:07:55 -0700:
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_tdx_for_6.7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8999ad99f4cb19638d9ecb8017831f9a0ab8dc3d
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-01 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 0:07 [GIT PULL] x86/tdx for 6.7 Dave Hansen
2023-11-01 20:50 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®