[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH qemu v3 1/6] pci: Move NVIDIA vendor id to the res
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH qemu v3 1/6] pci: Move NVIDIA vendor id to the rest of ids |
Date: |
Thu, 28 Feb 2019 11:56:47 +1100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Wed, Feb 27, 2019 at 07:51:44PM +1100, Alexey Kardashevskiy wrote:
> sPAPR code will use it too so move it from VFIO to the common code.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
> Reviewed-by: David Gibson <address@hidden>
> Reviewed-by: Alistair Francis <address@hidden>
Not technically my purview, but since it's to enable the rest of this
series, I've applied it to ppc-for-4.0.
> ---
> include/hw/pci/pci_ids.h | 2 ++
> hw/vfio/pci-quirks.c | 2 --
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
> index eeb3301..0abe27a 100644
> --- a/include/hw/pci/pci_ids.h
> +++ b/include/hw/pci/pci_ids.h
> @@ -271,4 +271,6 @@
>
> #define PCI_VENDOR_ID_SYNOPSYS 0x16C3
>
> +#define PCI_VENDOR_ID_NVIDIA 0x10de
> +
> #endif
> diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c
> index eae31c7..40a1200 100644
> --- a/hw/vfio/pci-quirks.c
> +++ b/hw/vfio/pci-quirks.c
> @@ -526,8 +526,6 @@ static void vfio_probe_ati_bar2_quirk(VFIOPCIDevice
> *vdev, int nr)
> * note it for future reference.
> */
>
> -#define PCI_VENDOR_ID_NVIDIA 0x10de
> -
> /*
> * Nvidia has several different methods to get to config space, the
> * nouveu project has several of these documented here:
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH qemu v3 0/6] spapr_pci, vfio: NVIDIA V100 + POWER9 passthrough, Alexey Kardashevskiy, 2019/02/27
- [Qemu-ppc] [PATCH qemu v3 3/6] vfio/spapr: Rename local systempagesize variable, Alexey Kardashevskiy, 2019/02/27
- [Qemu-ppc] [PATCH qemu v3 1/6] pci: Move NVIDIA vendor id to the rest of ids, Alexey Kardashevskiy, 2019/02/27
- Re: [Qemu-ppc] [PATCH qemu v3 1/6] pci: Move NVIDIA vendor id to the rest of ids,
David Gibson <=
- [Qemu-ppc] [PATCH qemu v3 5/6] vfio: Make vfio_get_region_info_cap public, Alexey Kardashevskiy, 2019/02/27
- [Qemu-ppc] [PATCH qemu v3 2/6] vfio/spapr: Fix indirect levels calculation, Alexey Kardashevskiy, 2019/02/27
- [Qemu-ppc] [PATCH qemu v3 4/6] spapr_iommu: Do not replay mappings from just created DMA window, Alexey Kardashevskiy, 2019/02/27
[Qemu-ppc] [PATCH qemu v3 6/6] spapr: Support NVIDIA V100 GPU with NVLink2, Alexey Kardashevskiy, 2019/02/27