commit | 84998f21b3c758233e7d8b3d1681d69f9d65ce14 | [log] [tgz] |
---|---|---|
author | Alexandru Elisei <alexandru.elisei@arm.com> | Tue Apr 14 15:39:39 2020 +0100 |
committer | Will Deacon <will@kernel.org> | Wed Apr 15 16:27:17 2020 +0100 |
tree | 50a1e166fa7b9c5bcf14fa10db1801c33e99d306 | |
parent | ed01a603ddd2dc6c35130ef9b73dc8b68fc3302d [diff] |
vfio/pci: Don't assume that only even numbered BARs are 64bit Not all devices have the bottom 32 bits of a 64 bit BAR in an even numbered BAR. For example, on an NVIDIA Quadro P400, BARs 1 and 3 are 64bit. Remove this assumption. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Will Deacon <will@kernel.org>