RE: [PATCH v4,1/2] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-14 Thread Haiyang Zhang
o...@aepfle.de; vkuznets ; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v4,1/2] PCI: hv: Detect and fix Hyper-V PCI domain > number collision > > Thanks for splitting these; I think that makes more sense. > > On Wed, Aug 14, 2019 at 12:38:54AM +, Haiy

Re: [PATCH v4,1/2] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-13 Thread Bjorn Helgaas
Thanks for splitting these; I think that makes more sense. On Wed, Aug 14, 2019 at 12:38:54AM +, Haiyang Zhang wrote: > Currently in Azure cloud, for passthrough devices including GPU, the host > sets the device instance ID's bytes 8 - 15 to a value derived from the host > HWID, which is the

[PATCH v4,1/2] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-13 Thread Haiyang Zhang
Currently in Azure cloud, for passthrough devices including GPU, the host sets the device instance ID's bytes 8 - 15 to a value derived from the host HWID, which is the same on all devices in a VM. So, the device instance ID's bytes 8 and 9 provided by the host are no longer unique. This can cause