diff options
author | Arnd Bergmann <[email protected]> | 2022-07-15 17:36:17 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2022-07-29 12:09:32 -0500 |
commit | c1ef322491cb880fea4e52535b15448f2a573ded (patch) | |
tree | 205497cbb26cc3eb9c7a3f93b8dcc8f765273ec8 /scripts/gdb/linux/tasks.py | |
parent | 0ad722f159e44983ddea1929ffd90d0c20a86f24 (diff) |
sparc: Use generic pci_mmap_resource_range()
The main feature of the sparc-specific implementation of
pci_mmap_resource_range() is that it allows mapping the entire PCI I/O
space for a PCI host bridge using the /proc/bus/pci interface on a bridge
device.
The generic implementation cannot do this, but it also appears that this
got broken for sparc by commit 9eff02e2042f ("PCI: check mmap range of
/proc/bus/pci files too"), which enforces that each address is part of a
BAR for kernels after 2.6.28.
Remove it all, assuming that the corresponding user space code has already
been changed to access /dev/ioport instead a long time ago. Add
pci_iobar_pfn() to make it possible to map I/O resources. This is adapted
from the powerpc version.
Link: https://lore.kernel.org/lkml/[email protected]/t/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions