kernel_optimize_test/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 ia64: Replace __get_cpu_var uses 2014-08-26 13:45:52 -04:00
bte_error.c
bte.c [IA64] sn: Do not needlessly convert between pointers and integers 2014-07-29 16:28:15 -07:00
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 ia64: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:40 +01:00
klconflib.c
machvec.c
Makefile
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 ia64: sn_nodepda cannot be assigned to after this_cpu conversion. Use __this_cpu_write. 2014-09-02 11:52:36 -04:00
tiocx.c