Skip to content

Add support for running protected VMs on arm64

Will Deacon kvm kvmarm 2 versions – Applied

Status from this message: Applied to kvmtool (master), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v14 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4Sync kernel UAPI headers with v7.1arm64/include/asm/kvm.h include/linux/kvm.h include/linux/virtio_ring.h +2 more+69 -220 replies
2/4virtio: Factor out base features for modern virtio transportsinclude/kvm/virtio.h virtio/core.c virtio/mmio-modern.c +1 more+10 -20 replies
3/4virtio: Add helper for enabling VIRTIO_F_ACCESS_PLATFORMinclude/kvm/virtio.h virtio/core.c+6 -00 replies
4/4arm64: Add support for protected VMsarm64/fdt.c arm64/include/kvm/fdt-arch.h arm64/include/kvm/kvm-arch.h +3 more+78 -60 replies

Reviews trailers per patch

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

PatchFuad TabbaSuzuki K Poulose
SeriesR-b T-b
1/4T-b R-b
2/4T-b R-b R-b
3/4T-b R-b R-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 kvmtool 0/4] Add support for running protected VMs on arm64

Hi folks,

This is v2 of the patches I previously posted here:

https://lore.kernel.org/r/[email protected]

Changes since v1 include:

* Bail if user specifies less guest memory than the restricted DMA pool.
* Avoid silently dropping KVM_VM_TYPE_ARM_PROTECTED on old host kernels.
* Added R-b/T-b tags (thank you!)

The patches are also available here if you want to pull them directly:

https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/log/?h=pkvm

Cheers,

Will

Cc Alexandru Elisei <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Andre Przywara <[email protected]>
Cc Fuad Tabba <[email protected]>
Cc Oliver Upton <[email protected]>
Cc Marc Zyngier <[email protected]>

--->8

Will Deacon (4):
Sync kernel UAPI headers with v7.1
virtio: Factor out base features for modern virtio transports
virtio: Add helper for enabling VIRTIO_F_ACCESS_PLATFORM
arm64: Add support for protected VMs

 arm64/fdt.c                         | 37 ++++++++++++++++++--
 arm64/include/asm/kvm.h             |  1 +
 arm64/include/kvm/fdt-arch.h        | 10 +++++-
 arm64/include/kvm/kvm-arch.h        |  2 ++
 arm64/include/kvm/kvm-config-arch.h |  5 ++-
 arm64/kvm.c                         | 28 +++++++++++++--
 arm64/pci.c                         |  2 ++
 include/kvm/virtio.h                |  2 ++
 include/linux/kvm.h                 | 53 +++++++++++++++++++++++++----
 include/linux/virtio_ring.h         |  5 +--
 riscv/include/asm/kvm.h             | 11 +++---
 virtio/core.c                       | 12 +++++++
 virtio/mmio-modern.c                |  2 +-
 virtio/pci-modern.c                 |  2 +-
 x86/include/asm/kvm.h               | 21 +++++++-----
 15 files changed, 163 insertions(+), 30 deletions(-)
Signature · 1 line
2.55.0.rc0.799.gd6f94ed593-goog