diff options
author | Dexuan Cui <decui@microsoft.com> | 2019-11-25 08:33:53 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-11-26 13:33:18 +0300 |
commit | 14ef39fddd2367523de25b87dccfe6422c3f3efa (patch) | |
tree | efea758b0b1d0401f857d9d6f4ac0ab3f57f3788 /init | |
parent | ac82fc83270884adea31d9dec22db09392058bf7 (diff) | |
download | linux-14ef39fddd2367523de25b87dccfe6422c3f3efa.tar.xz |
PCI: hv: Change pci_protocol_version to per-hbus
A VM can have multiple Hyper-V hbus. It's incorrect to set the global
variable 'pci_protocol_version' when *every* hbus is initialized in
hv_pci_protocol_negotiation(). This is not an issue in practice since
every hbus should have the same value of hbus->protocol_version, but
we should make the variable per-hbus, so in case we have busses
with different protocol versions, the driver can still work correctly.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions