Share common features between AMD SEV / TDX guest
Status from this message: The following commit has been merged into the x86/sev branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 0 repliesApplied
- v23 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Adjust wording in 1/3 based on Tom's feedback.
- Tested-by from Tom.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/sev: Use CC_ATTR attribute to generalize string I/O unrollarch/ arch/ arch/ +1 more | +18 | 0 replies | |
| 2/3 | x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.carch/ arch/ | +4 | 0 replies | |
| 3/3 | x86: Move common memory encryption code to mem_encrypt.carch/ arch/ arch/ +1 more | +96 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Tony Luck | Tom Lendacky | Andi Kleen |
|---|---|---|---|
| 1/3 | R-b | T-b | |
| 2/3 | R-b | T-b | |
| 3/3 | R-b | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCHv3 0/3] Share common features between AMD SEV / TDX guest
Intel's Trust Domain Extensions (TDX) protect guest VMs from malicious hosts and some physical attacks. TDX has a lot of similarities to AMD SEV. Features like encryption/decryption and string I/O unroll support can be shared between these two technologies.
This patch set adds infrastructure changes required to share the code between AMD SEV and TDX.
v3:
- Adjust wording in 1/3 based on Tom's feedback.
- Tested-by from Tom.
v2:
- Squash first two patches
- Rename print_amd_mem_encrypt_feature_info() to print_mem_encrypt_feature_info(). It will report TDX feature too.
Kirill A. Shutemov (1):
x86: Move common memory encryption code to mem_encrypt.c
Kuppuswamy Sathyanarayanan (2):
x86/sev: Use CC_ATTR attribute to generalize string I/O unroll x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.c
arch/x86/Kconfig | 10 +- arch/x86/include/asm/io.h | 20 +- arch/x86/kernel/cc_platform.c | 4 + arch/x86/mm/Makefile | 7 +- arch/x86/mm/mem_encrypt.c | 441 +--------------------------------- arch/x86/mm/mem_encrypt_amd.c | 438 +++++++++++++++++++++++++++++++++ include/linux/cc_platform.h | 11 + 7 files changed, 473 insertions(+), 458 deletions(-) create mode 100644 arch/x86/mm/mem_encrypt_amd.c
Signature · 1 line
2.32.0