diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2017-08-18 17:57:59 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-30 00:00:37 +0300 |
commit | 3235b994950d84d64dd7c60a1dfe05b51a1533bf (patch) | |
tree | f84de1addc4e8f886d06eaf9e32ae0bf217e7c18 /mm/swap_slots.c | |
parent | 3ecf3232c54cf76a21e552879285be2f313b2e06 (diff) | |
download | linux-3235b994950d84d64dd7c60a1dfe05b51a1533bf.tar.xz |
PCI: endpoint: Add support to use _any_ BAR to map PCI_ENDPOINT_TEST regs
pci_epf_test always maps the PCI_ENDPOINT_TEST registers to BAR_0. But if
BAR_0 is reserved for some other purpose (like in TI's K2G BAR_0 is mapped
to application registers and cannot be used to map any other regions),
PCI_ENDPOINT_TEST registers cannot be mapped making pci_epf_test unusable.
Add support to use any BAR to map PCI_ENDPOINT_TEST registers.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'mm/swap_slots.c')
0 files changed, 0 insertions, 0 deletions