linux/arch/ia64/sn/kernel
Bjorn Helgaas 240504adaf ia64/PCI: Keep CPU physical (not virtual) addresses in shadow ROM resource
A struct resource contains CPU physical addresses, not virtual addresses.
But sn_acpi_slot_fixup() and sn_io_slot_fixup() stored the virtual address
of a shadow ROM copy in the resource.  To compensate, pci_map_rom() had a
special case that returned the resource address directly rather than
calling ioremap() on it.

When we're using a shadow copy in RAM or PROM, disable the ROM BAR and
release the address space it was consuming.

Store the CPU physical (not virtual) address in the shadow ROM resource,
and mark the resource as IORESOURCE_ROM_SHADOW so we use the normal
pci_map_rom() path that ioremaps the copy.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2016-03-12 06:00:29 -06:00
..
sn2
Makefile
bte.c
bte_error.c
huberror.c
idle.c
io_acpi_init.c ia64/PCI: Keep CPU physical (not virtual) addresses in shadow ROM resource 2016-03-12 06:00:29 -06:00
io_common.c
io_init.c ia64/PCI: Keep CPU physical (not virtual) addresses in shadow ROM resource 2016-03-12 06:00:29 -06:00
iomv.c
irq.c
klconflib.c
machvec.c
mca.c ia64: don't use module_init for non-modular core kernel/mca.c code 2015-06-16 14:12:30 -04:00
msi_sn.c ia64/irq: Use access helper irq_data_get_affinity_mask() 2015-07-27 13:36:37 +02:00
pio_phys.S
setup.c
tiocx.c