[PATCH v3 0/3] vfio-ccw: Implement request notifier

Eric Farman posted 3 patches 3 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210104202057.48048-1-farman@linux.ibm.com
Maintainers: Eric Farman <farman@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Cornelia Huck <cohuck@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>
hw/vfio/ccw.c                                 |  40 +++-
.../infiniband/hw/vmw_pvrdma/pvrdma_ring.h    |  14 +-
.../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h   |   2 +-
include/standard-headers/drm/drm_fourcc.h     | 175 +++++++++++++++++-
include/standard-headers/linux/const.h        |  36 ++++
include/standard-headers/linux/ethtool.h      |   2 +-
include/standard-headers/linux/fuse.h         |  30 ++-
include/standard-headers/linux/kernel.h       |   9 +-
include/standard-headers/linux/pci_regs.h     |  16 ++
include/standard-headers/linux/vhost_types.h  |   9 +
include/standard-headers/linux/virtio_gpu.h   |  82 ++++++++
include/standard-headers/linux/virtio_ids.h   |  44 +++--
linux-headers/asm-arm64/kvm.h                 |   3 -
linux-headers/asm-generic/unistd.h            |   6 +-
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                   |   1 +
linux-headers/asm-x86/unistd_32.h             |   1 +
linux-headers/asm-x86/unistd_64.h             |   1 +
linux-headers/asm-x86/unistd_x32.h            |   1 +
linux-headers/linux/kvm.h                     |  56 +++++-
linux-headers/linux/userfaultfd.h             |   9 +
linux-headers/linux/vfio.h                    |   1 +
linux-headers/linux/vhost.h                   |   4 +
scripts/update-linux-headers.sh               |   5 +-
30 files changed, 501 insertions(+), 53 deletions(-)
create mode 100644 include/standard-headers/linux/const.h
[PATCH v3 0/3] vfio-ccw: Implement request notifier
Posted by Eric Farman 3 years, 3 months ago
Conny, et al,

Here is an updated (final?) version of the QEMU series for the vfio-ccw
request notifier now that the kernel code landed upstream [1]. The actual
meat (patch 3) is identical to its counterpart in v2 [2].

Earlier versions didn't use update-linux-headers.sh; they just carried a
dummy patch with the define that was needed to work, without the noise.
Here, I have run the script properly and patch 2 is its output.

Of course it wasn't that simple, as a change on the kernel side of
things breaks the script and causes processing to end prematurely as
cp_portable() takes its error exit. So I am adding a small patch to
the front of this series to accommodate that, and hopefully isn't
goofed up too badly. :)

[1] https://lore.kernel.org/kvm/20201216123701.00517b52@omen.home/
[2] https://lore.kernel.org/qemu-devel/20201120181526.96446-1-farman@linux.ibm.com/

Eric Farman (3):
  update-linux-headers: Include const.h
  Update linux headers to 5.11-rc2
  vfio-ccw: Connect the device request notifier

 hw/vfio/ccw.c                                 |  40 +++-
 .../infiniband/hw/vmw_pvrdma/pvrdma_ring.h    |  14 +-
 .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h   |   2 +-
 include/standard-headers/drm/drm_fourcc.h     | 175 +++++++++++++++++-
 include/standard-headers/linux/const.h        |  36 ++++
 include/standard-headers/linux/ethtool.h      |   2 +-
 include/standard-headers/linux/fuse.h         |  30 ++-
 include/standard-headers/linux/kernel.h       |   9 +-
 include/standard-headers/linux/pci_regs.h     |  16 ++
 include/standard-headers/linux/vhost_types.h  |   9 +
 include/standard-headers/linux/virtio_gpu.h   |  82 ++++++++
 include/standard-headers/linux/virtio_ids.h   |  44 +++--
 linux-headers/asm-arm64/kvm.h                 |   3 -
 linux-headers/asm-generic/unistd.h            |   6 +-
 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                   |   1 +
 linux-headers/asm-x86/unistd_32.h             |   1 +
 linux-headers/asm-x86/unistd_64.h             |   1 +
 linux-headers/asm-x86/unistd_x32.h            |   1 +
 linux-headers/linux/kvm.h                     |  56 +++++-
 linux-headers/linux/userfaultfd.h             |   9 +
 linux-headers/linux/vfio.h                    |   1 +
 linux-headers/linux/vhost.h                   |   4 +
 scripts/update-linux-headers.sh               |   5 +-
 30 files changed, 501 insertions(+), 53 deletions(-)
 create mode 100644 include/standard-headers/linux/const.h

-- 
2.17.1


Re: [PATCH v3 0/3] vfio-ccw: Implement request notifier
Posted by Cornelia Huck 3 years, 3 months ago
On Mon,  4 Jan 2021 21:20:54 +0100
Eric Farman <farman@linux.ibm.com> wrote:

> Conny, et al,
> 
> Here is an updated (final?) version of the QEMU series for the vfio-ccw
> request notifier now that the kernel code landed upstream [1]. The actual
> meat (patch 3) is identical to its counterpart in v2 [2].
> 
> Earlier versions didn't use update-linux-headers.sh; they just carried a
> dummy patch with the define that was needed to work, without the noise.
> Here, I have run the script properly and patch 2 is its output.
> 
> Of course it wasn't that simple, as a change on the kernel side of
> things breaks the script and causes processing to end prematurely as
> cp_portable() takes its error exit. So I am adding a small patch to
> the front of this series to accommodate that, and hopefully isn't
> goofed up too badly. :)
> 
> [1] https://lore.kernel.org/kvm/20201216123701.00517b52@omen.home/
> [2] https://lore.kernel.org/qemu-devel/20201120181526.96446-1-farman@linux.ibm.com/
> 
> Eric Farman (3):
>   update-linux-headers: Include const.h
>   Update linux headers to 5.11-rc2
>   vfio-ccw: Connect the device request notifier
> 
>  hw/vfio/ccw.c                                 |  40 +++-
>  .../infiniband/hw/vmw_pvrdma/pvrdma_ring.h    |  14 +-
>  .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h   |   2 +-
>  include/standard-headers/drm/drm_fourcc.h     | 175 +++++++++++++++++-
>  include/standard-headers/linux/const.h        |  36 ++++
>  include/standard-headers/linux/ethtool.h      |   2 +-
>  include/standard-headers/linux/fuse.h         |  30 ++-
>  include/standard-headers/linux/kernel.h       |   9 +-
>  include/standard-headers/linux/pci_regs.h     |  16 ++
>  include/standard-headers/linux/vhost_types.h  |   9 +
>  include/standard-headers/linux/virtio_gpu.h   |  82 ++++++++
>  include/standard-headers/linux/virtio_ids.h   |  44 +++--
>  linux-headers/asm-arm64/kvm.h                 |   3 -
>  linux-headers/asm-generic/unistd.h            |   6 +-
>  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                   |   1 +
>  linux-headers/asm-x86/unistd_32.h             |   1 +
>  linux-headers/asm-x86/unistd_64.h             |   1 +
>  linux-headers/asm-x86/unistd_x32.h            |   1 +
>  linux-headers/linux/kvm.h                     |  56 +++++-
>  linux-headers/linux/userfaultfd.h             |   9 +
>  linux-headers/linux/vfio.h                    |   1 +
>  linux-headers/linux/vhost.h                   |   4 +
>  scripts/update-linux-headers.sh               |   5 +-
>  30 files changed, 501 insertions(+), 53 deletions(-)
>  create mode 100644 include/standard-headers/linux/const.h
> 

Thanks, applied.