Skip to content

x86: Cleanup and extend computing computing API

Kirill A. Shutemov kvm linux-coco lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/cc branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4x86/hyperv: Add missing ARCH_HAS_CC_PLATFORM dependencydrivers/hv/Kconfig+1 -09 replies
2/4x86: Rename cc_platform.c to arch/x86/coco/core.carch/x86/Kbuild arch/x86/coco/Makefile arch/x86/coco/core.c +1 more+8 -51 reply
3/4x86/coco: Explicitly declare type of confidential computing platformarch/x86/coco/core.c arch/x86/include/asm/coco.h arch/x86/kernel/cpu/mshyperv.c +1 more+41 -160 replies
4/4x86/coco: Add API to handle encryption maskarch/x86/coco/core.c arch/x86/include/asm/coco.h arch/x86/include/asm/pgtable.h +2 more+56 -80 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTom LendackyKirill A. Shutemov
SeriesR-b R-b R-b R-b A-b A-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86: Cleanup and extend computing computing API

Updates for CC API:
- Fix for HyperV when AMD SME/SEV disabled;
- New home for CC code: arch/x86/coco;
- Explicitly declare vendor of CC platform;
- New cc_mkenc() and cc_mkdec();

Kirill A. Shutemov (4):
x86/hyperv: Add missing ARCH_HAS_CC_PLATFORM dependency
x86: Rename cc_platform.c to arch/x86/coco/core.c x86/coco: Explicitly declare type of confidential computing platform x86/coco: Add API to handle encryption mask

 arch/x86/Kbuild                               |  2 +
 arch/x86/coco/Makefile                        |  6 ++
 .../x86/{kernel/cc_platform.c => coco/core.c} | 56 +++++++++++++++----
 arch/x86/include/asm/coco.h                   | 32 +++++++++++
 arch/x86/include/asm/pgtable.h                | 13 +++--
 arch/x86/kernel/Makefile                      |  5 --
 arch/x86/kernel/cpu/mshyperv.c                |  3 +
 arch/x86/mm/mem_encrypt_identity.c            | 12 ++--
 arch/x86/mm/pat/set_memory.c                  |  5 +-
 drivers/hv/Kconfig                            |  1 +
 10 files changed, 106 insertions(+), 29 deletions(-)
 create mode 100644 arch/x86/coco/Makefile
 rename arch/x86/{kernel/cc_platform.c => coco/core.c} (73%)
 create mode 100644 arch/x86/include/asm/coco.h
Signature · 1 line
2.34.1