Skip to content

virtio: support requiring restricted access per device

Juergen Gross linux-arch linux-arm-kernel linux-s390 lkml virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 6 repliesIn review

Changes in v3 from the cover letter

- new patches 1 + 2
- basically complete rework of patch 3

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio: replace restricted mem access flag with callbackarch/s390/mm/init.c arch/x86/mm/mem_encrypt_amd.c drivers/virtio/Kconfig +6 more+51 -130 replies
2/3kernel: remove platform_has() infrastructureMAINTAINERS include/asm-generic/Kbuild include/asm-generic/platform-feature.h +3 more+1 -600 replies
3/3xen: don't require virtio with grants for non-PV guestsarch/arm/xen/enlighten.c arch/x86/xen/enlighten_hvm.c arch/x86/xen/enlighten_pv.c +4 more+35 -113 replies

Reviews trailers per patch

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

PatchOleksandr TyshchenkoStefano Stabellini
SeriesT-b R-b
1/3
2/3
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] virtio: support requiring restricted access per device

Instead of an all or nothing approach add support for requiring restricted memory access per device.

Changes in V3:
- new patches 1 + 2
- basically complete rework of patch 3

Juergen Gross (3):
virtio: replace restricted mem access flag with callback
kernel: remove platform_has() infrastructure
xen: don't require virtio with grants for non-PV guests

 MAINTAINERS                            |  8 --------
 arch/arm/xen/enlighten.c               |  4 +++-
 arch/s390/mm/init.c                    |  4 ++--
 arch/x86/mm/mem_encrypt_amd.c          |  4 ++--
 arch/x86/xen/enlighten_hvm.c           |  4 +++-
 arch/x86/xen/enlighten_pv.c            |  5 ++++-
 drivers/virtio/Kconfig                 |  4 ++++
 drivers/virtio/Makefile                |  1 +
 drivers/virtio/virtio.c                |  4 ++--
 drivers/virtio/virtio_anchor.c         | 18 +++++++++++++++++
 drivers/xen/Kconfig                    |  9 +++++++++
 drivers/xen/grant-dma-ops.c            | 10 ++++++++++
 include/asm-generic/Kbuild             |  1 -
 include/asm-generic/platform-feature.h |  8 --------
 include/linux/platform-feature.h       | 19 ------------------
 include/linux/virtio_anchor.h          | 19 ++++++++++++++++++
 include/xen/xen-ops.h                  |  6 ++++++
 include/xen/xen.h                      |  8 --------
 kernel/Makefile                        |  2 +-
 kernel/platform-feature.c              | 27 --------------------------
 20 files changed, 84 insertions(+), 81 deletions(-)
 create mode 100644 drivers/virtio/virtio_anchor.c
 delete mode 100644 include/asm-generic/platform-feature.h
 delete mode 100644 include/linux/platform-feature.h
 create mode 100644 include/linux/virtio_anchor.h
 delete mode 100644 kernel/platform-feature.c
Signature · 1 line
2.35.3