Skip to content

Enable support for H_RPT_INVALIDATE hcall

Bharata B Rao qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-6.1, but one note below.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2linux-headers: Updateinclude/standard-headers/asm-x86/kvm_para.h include/standard-headers/drm/drm_fourcc.h include/standard-headers/linux/ethtool.h +20 more+197 -170 replies
2/2target/ppc: Support for H_RPT_INVALIDATE hcallhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h +2 more+77 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall

Hi,

This series enables the support for H_RPT_INVALIDATE hcall which was added to upstream kernel recently.

It adds a new sPAPR machine capability cap-rpt-invalidate and if it is set by the user, checks for the availability of H_RPT_INVALIDATE hcall in the hypervisor (via KVM_CAP_RPT_INVALIDATE KVM capability) and enables the same.

Headers update is needed for KVM_CAP_PPC_RPT_INVALIDATE.

v0: https://lore.kernel.org/qemu-devel/[email protected]/

Bharata B Rao (2):
linux-headers: Update
target/ppc: Support for H_RPT_INVALIDATE hcall

 hw/ppc/spapr.c                                |   6 +
 hw/ppc/spapr_caps.c                           |  41 +++++++
 include/hw/ppc/spapr.h                        |   8 +-
 include/standard-headers/asm-x86/kvm_para.h   |  13 +++
 include/standard-headers/drm/drm_fourcc.h     |   7 ++
 include/standard-headers/linux/ethtool.h      |   4 +-
 .../linux/input-event-codes.h                 |   1 +
 include/standard-headers/linux/virtio_ids.h   |   2 +-
 include/standard-headers/linux/virtio_vsock.h |   9 ++
 linux-headers/asm-arm64/kvm.h                 |  11 ++
 linux-headers/asm-generic/mman-common.h       |   3 +
 linux-headers/asm-generic/unistd.h            |   4 +-
 linux-headers/asm-mips/mman.h                 |   3 +
 linux-headers/asm-mips/unistd_n32.h           |   1 +
 linux-headers/asm-mips/unistd_n64.h           |   1 +
 linux-headers/asm-mips/unistd_o32.h           |   1 +
 linux-headers/asm-powerpc/unistd_32.h         |   1 +
 linux-headers/asm-powerpc/unistd_64.h         |   1 +
 linux-headers/asm-s390/unistd_32.h            |   1 +
 linux-headers/asm-s390/unistd_64.h            |   1 +
 linux-headers/asm-x86/kvm.h                   |  13 +++
 linux-headers/asm-x86/unistd_32.h             |   7 +-
 linux-headers/asm-x86/unistd_64.h             |   7 +-
 linux-headers/asm-x86/unistd_x32.h            |   7 +-
 linux-headers/linux/kvm.h                     | 105 ++++++++++++++++++
 linux-headers/linux/userfaultfd.h             |  11 +-
 target/ppc/kvm.c                              |  12 ++
 target/ppc/kvm_ppc.h                          |  12 ++
 28 files changed, 274 insertions(+), 19 deletions(-)
Signature · 1 line
2.31.1