RE: [PATCH] pci-hyperv: Use only 16 bit integer for PCI domain

From: Haiyang Zhang
Date: Wed May 24 2017 - 16:43:35 EST




> -----Original Message-----
> From: Haiyang Zhang [mailto:haiyangz@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, May 24, 2017 4:39 PM
> To: bhelgaas@xxxxxxxxxx; linux-pci@xxxxxxxxxxxxxxx
> Cc: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>; KY Srinivasan
> <kys@xxxxxxxxxxxxx>; Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>;
> olaf@xxxxxxxxx; vkuznets@xxxxxxxxxx; driverdev-
> devel@xxxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH] pci-hyperv: Use only 16 bit integer for PCI domain
>
> [This sender failed our fraud detection checks and may not be who they
> appear to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
>
> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
>
> This patch uses the lower 16 bits of the serial number as PCI
> domain, otherwise some drivers may not be able to handle it.
>
> Besides Nvidia drivers, we also found X.org, and DPDK handle
> only 16 bit PCI domain.
>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> ---

According to Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>, there are
additional programs, like X.org, DPDK, are also using 16-bit only
PCI domain numbers. So, I'm submitting this patch for re-consideration.

Thanks,
- Haiyang