linux/arch/x86/platform/efi
Daniel Kiper abc93f8eb6 efi: Use early_mem*() instead of early_io*()
Use early_mem*() instead of early_io*() because all mapped EFI regions
are memory (usually RAM but they could also be ROM, EPROM, EEPROM, flash,
etc.) not I/O regions. Additionally, I/O family calls do not work correctly
under Xen in our case. early_ioremap() skips the PFN to MFN conversion
when building the PTE. Using it for memory will attempt to map the wrong
machine frame. However, all artificial EFI structures created under Xen
live in dom0 memory and should be mapped/unmapped using early_mem*() family
calls which map domain memory.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Mark Salter <msalter@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2014-07-18 21:23:54 +01:00
..
early_printk.c x86/efi: earlyprintk=efi,keep fix 2014-05-03 06:39:06 +01:00
efi_32.c x86/efi: Make efi virtual runtime map passing more robust 2014-03-04 16:17:18 +00:00
efi_64.c x86/efi: Restore 'attr' argument to query_variable_info() 2014-03-17 21:55:04 +00:00
efi_stub_32.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_stub_64.S x86/efi: Delete most of the efi_call* macros 2014-04-17 13:26:30 +01:00
efi_thunk_64.S x86/efi: Add mixed runtime services support 2014-03-04 21:43:14 +00:00
efi-bgrt.c x86/efi: Check status field to validate BGRT header 2014-02-14 10:07:15 +00:00
efi.c efi: Use early_mem*() instead of early_io*() 2014-07-18 21:23:54 +01:00
Makefile x86/efi: Move all workarounds to a separate file quirks.c 2014-06-19 11:14:33 +01:00
quirks.c x86/reboot: Add EFI reboot quirk for ACPI Hardware Reduced flag 2014-07-18 21:23:52 +01:00