diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2019-09-16 07:54:34 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-17 13:45:44 -0700 |
commit | 91849adc9f90623127bf4cc04483ba9d41c7a12a (patch) | |
tree | b2d4349520cb874cb9051f383a04bb6612846b32 /kernel/events | |
parent | cd4b60e57a7a82098d2ed5d487f262df595448f0 (diff) | |
download | linux-stable-91849adc9f90623127bf4cc04483ba9d41c7a12a.tar.gz linux-stable-91849adc9f90623127bf4cc04483ba9d41c7a12a.tar.bz2 linux-stable-91849adc9f90623127bf4cc04483ba9d41c7a12a.zip |
PCI: vmd: Fix config addressing when using bus offsets
commit e3dffa4f6c3612dea337c9c59191bd418afc941b upstream.
VMD maps child device config spaces to the VMD Config BAR linearly
regardless of the starting bus offset. Because of this, the config
address decode must ignore starting bus offsets when mapping the BDF to
the config space address.
Fixes: 2a5a9c9a20f9 ("PCI: vmd: Add offset to bus numbers if necessary")
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Sushma Kalakota <sushmax.kalakota@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions