diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-02-15 15:07:39 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-03-20 16:23:32 -0500 |
commit | 3758a191116f110a503a0c6cb7ce89bc81841baa (patch) | |
tree | 0e8b4eab1e418bd99f2d5ba672302981f50f6e31 /arch/sparc/lib/GENmemcpy.S | |
parent | b4a304489ef95b6b921d1faa46438d9ea89cfd4b (diff) |
sparc/PCI: Stop reserving System ROM and Video ROM in PCI space
Previously, pci_register_legacy_regions() reserved PCI address space under
every PCI host bridge for the System ROM and the Video ROM, but these
regions are not part of PCI address space.
Previously, pci_register_legacy_regions() reserved the following areas of
PCI address space under every PCI host bridge:
[bus 0xa0000-0xbffff] Video RAM area (VGA frame buffer)
[bus 0xc0000-0xc7fff] Video ROM
[bus 0xf0000-0xfffff] System ROM
It does need to reserve the [bus 0xa0000-0xbffff] region (at least if
there's a possibility of a VGA device below the bridge) because VGA devices
can respond to that even if they don't describe it with a BAR.
But the Video ROM and System ROM areas don't seem necessary because they
are not areas that legacy PCI devices respond to.
They appear to be copied from x86, where they describe areas of system
memory that depend on BIOS conventions. On x86, BIOS copies the option ROM
of the primary VGA device to RAM at 0xc0000, and the 0xf0000-0xfffff region
is reserved for the motherboard BIOS. Neither of these things applies to
sparc.
Stop reserving the System ROM and Video ROM regions in PCI space.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/GENmemcpy.S')
0 files changed, 0 insertions, 0 deletions