Re: [RFC for-5.1 2/4] spapr: Helper to determine if a device is NVLink2 related

2020-03-26 Thread Greg Kurz
On Thu, 26 Mar 2020 16:40:07 +1100 David Gibson wrote: > This adds a simple exported helper function which determins if a given > (supposedly) PCI device is actually an NVLink2 device, which has some > special considerations. > > Signed-off-by: David Gibson > --- Reviewed-by: Greg Kurz >

[RFC for-5.1 2/4] spapr: Helper to determine if a device is NVLink2 related

2020-03-25 Thread David Gibson
This adds a simple exported helper function which determins if a given (supposedly) PCI device is actually an NVLink2 device, which has some special considerations. Signed-off-by: David Gibson --- hw/ppc/spapr_pci_nvlink2.c | 5 + include/hw/pci-host/spapr.h | 1 + 2 files changed, 6