Message ID | 20200426204229.119093-3-marcelo.cerri@canonical.com |
---|---|
State | New |
Headers | show |
Series | [bionic:linux-azure-4.15,1/5] Revert "Revert "PCI: hv: Make sure the bus domain is really unique"" | expand |
diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c index f14eb17972b6..d7df3aa1860e 100644 --- a/drivers/pci/host/pci-hyperv.c +++ b/drivers/pci/host/pci-hyperv.c @@ -2588,8 +2588,8 @@ static int hv_pci_probe(struct hv_device *hdev, * between domains derived from these instance IDs in the same * VM. */ - hbus->sysdata.domain = hdev->dev_instance.b[4] | - hdev->dev_instance.b[5] << 8; + hbus->sysdata.domain = hdev->dev_instance.b[9] | + hdev->dev_instance.b[8] << 8; hbus->hdev = hdev; atomic_inc(&hbus->remove_lock);
BugLink: https://bugs.launchpad.net/bugs/1867220 This reverts commit ee4ee1df60eacc03ea478a7155269a3836ec4324. Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com> --- drivers/pci/host/pci-hyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)