[RFC PATCH v0 0/2] Support for H_REG_SNS hcall

Bharata B Rao posted 2 patches 2 years, 9 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210805073228.502292-1-bharata@linux.ibm.com
Maintainers: Greg Kurz <groug@kaod.org>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c                  |  3 ++
hw/ppc/spapr_hcall.c            | 56 +++++++++++++++++++++++++++++++++
include/hw/ppc/spapr.h          |  3 ++
include/hw/ppc/spapr_irq.h      |  1 +
linux-headers/asm-powerpc/kvm.h |  6 ++++
linux-headers/linux/kvm.h       |  2 ++
target/ppc/kvm.c                | 30 ++++++++++++++++++
target/ppc/kvm_ppc.h            | 10 ++++++
8 files changed, 111 insertions(+)
[RFC PATCH v0 0/2] Support for H_REG_SNS hcall
Posted by Bharata B Rao 2 years, 9 months ago
Add support for H_REG_SNS hcall which will be used by the guest
to make use of Expropriation/Subvention Notification option aka
asynchronous page fault support.

The kernel enablement patches are posted here:
https://lore.kernel.org/linuxppc-dev/20210805072439.501481-1-bharata@linux.ibm.com/T/#t

Bharata B Rao (2):
  spapr: Add H_REG_SNS hcall
  ppc,spapr: Handle KVM_EXIT_ESN

 hw/ppc/spapr.c                  |  3 ++
 hw/ppc/spapr_hcall.c            | 56 +++++++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h          |  3 ++
 include/hw/ppc/spapr_irq.h      |  1 +
 linux-headers/asm-powerpc/kvm.h |  6 ++++
 linux-headers/linux/kvm.h       |  2 ++
 target/ppc/kvm.c                | 30 ++++++++++++++++++
 target/ppc/kvm_ppc.h            | 10 ++++++
 8 files changed, 111 insertions(+)

-- 
2.31.1