Skip to content

arm64/coco: Convert pKVM to a CC platform

Mostafa Saleh linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to arm64 (for-next/coco), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3arm64/mm: Simplify SWIOTLB setup in arch_mm_preinit()arch/arm64/mm/init.c+4 -76 replies
2/3drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook()drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c+1 -11 reply
3/3arm64/coco: Add pKVM as a CC platformarch/arm64/include/asm/hypervisor.h arch/arm64/include/asm/mem_encrypt.h arch/arm64/kernel/rsi.c +2 more+32 -145 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAneesh Kumar K.V (Arm)Catalin Marinas
SeriesT-b
1/3R-b R-b
2/3R-b
3/3R-b

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/3] arm64/coco: Convert pKVM to a CC platform

The goal of series is to convert pKVM as a CC platform similar to ARM CCA, that makes CC guests consistently discovered which avoid breaking it by the ongoing DMA rework [1]

The first patch is a minor clean up I noticed while reading the code.

And the second patch is a bug fix found by Sashiko.

The third patch is the main one.

[1]https://lore.kernel.org/all/[email protected]/

Mostafa Saleh (3):
arm64/mm: Simplify SWIOTLB setup in arch_mm_preinit() drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook() arm64/coco: Add pKVM as a CC platform

 arch/arm64/include/asm/hypervisor.h           | 13 ++++++++++
 arch/arm64/include/asm/mem_encrypt.h          |  3 ++-
 arch/arm64/kernel/rsi.c                       | 12 ---------
 arch/arm64/mm/init.c                          | 26 +++++++++++++------
 drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c |  5 +++-
 5 files changed, 37 insertions(+), 22 deletions(-)
Signature · 1 line
2.54.0.1032.g2f8565e1d1-goog