[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/13] s390x/pci: get zPCI function info from host
From: |
Cornelia Huck |
Subject: |
Re: [PATCH 13/13] s390x/pci: get zPCI function info from host |
Date: |
Mon, 26 Oct 2020 17:38:21 +0100 |
On Mon, 26 Oct 2020 11:34:41 -0400
Matthew Rosato <mjrosato@linux.ibm.com> wrote:
> We use the capability chains of the VFIO_DEVICE_GET_INFO ioctl to retrieve
> the CLP information that the kernel exports.
>
> To be compatible with previous kernel versions we fall back on previous
> predefined values, same as the emulation values, when the ioctl is found
> to not support capability chains. If individual CLP capabilities are not
> found, we fall back on default values for only those capabilities missing
> from the chain.
>
> This patch is based on work previously done by Pierre Morel.
>
> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
> ---
> hw/s390x/s390-pci-bus.c | 9 +-
> hw/s390x/s390-pci-vfio.c | 180
> +++++++++++++++++++++++++++++++++++++++
> hw/s390x/trace-events | 6 ++
> include/hw/s390x/s390-pci-bus.h | 1 +
> include/hw/s390x/s390-pci-clp.h | 12 ++-
> include/hw/s390x/s390-pci-vfio.h | 1 +
> 6 files changed, 202 insertions(+), 7 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
- [PATCH 08/13] s390x/pci: create a header dedicated to PCI CLP, (continued)
- [PATCH 08/13] s390x/pci: create a header dedicated to PCI CLP, Matthew Rosato, 2020/10/26
- [PATCH 11/13] s390x/pci: use a PCI Function structure, Matthew Rosato, 2020/10/26
- [PATCH 02/13] linux-headers: update against 5.10-rc1, Matthew Rosato, 2020/10/26
- [PATCH 12/13] vfio: Add routine for finding VFIO_DEVICE_GET_INFO capabilities, Matthew Rosato, 2020/10/26
- [PATCH 01/13] update-linux-headers: Add vfio_zdev.h, Matthew Rosato, 2020/10/26
- [PATCH 09/13] s390x/pci: use a PCI Group structure, Matthew Rosato, 2020/10/26
- [PATCH 10/13] s390x/pci: clean up s390 PCI groups, Matthew Rosato, 2020/10/26
- [PATCH 13/13] s390x/pci: get zPCI function info from host, Matthew Rosato, 2020/10/26
- Re: [PATCH 13/13] s390x/pci: get zPCI function info from host,
Cornelia Huck <=
- Re: [PATCH 00/13] s390x/pci: s390-pci updates for kernel 5.10-rc1, Cornelia Huck, 2020/10/26