linux_dsm_epyc7002/arch/x86/include/uapi/asm
Dave Young 1fec053369 x86/efi: Pass necessary EFI data for kexec via setup_data
Add a new setup_data type SETUP_EFI for kexec use.  Passing the saved
fw_vendor, runtime, config tables and EFI runtime mappings.

When entering virtual mode, directly mapping the EFI runtime regions
which we passed in previously. And skip the step to call
SetVirtualAddressMap().

Specially for HP z420 workstation we need save the smbios physical
address.  The kernel boot sequence proceeds in the following order.
Step 2 requires efi.smbios to be the physical address.  However, I found
that on HP z420 EFI system table has a virtual address of SMBIOS in step
1.  Hence, we need set it back to the physical address with the smbios
in efi_setup_data.  (When it is still the physical address, it simply
sets the same value.)

1. efi_init() - Set efi.smbios from EFI system table
2. dmi_scan_machine() - Temporary map efi.smbios to access SMBIOS table
3. efi_enter_virtual_mode() - Map EFI ranges

Tested on ovmf+qemu, lenovo thinkpad, a dell laptop and an
HP z420 workstation.

Signed-off-by: Dave Young <dyoung@redhat.com>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2013-12-29 13:09:05 +00:00
..
a.out.h
auxvec.h
bitsperlong.h
boot.h
bootparam.h x86/efi: Pass necessary EFI data for kexec via setup_data 2013-12-29 13:09:05 +00:00
byteorder.h
debugreg.h
e820.h
errno.h
fcntl.h
hw_breakpoint.h create non-empty arch/x86/include/uapi/asm/ files 2012-12-17 17:15:11 -08:00
hyperv.h x86, hyperv: Get the local APIC timer frequency from the hypervisor 2013-10-10 11:44:12 -07:00
ioctl.h
ioctls.h
ipcbuf.h
ist.h
Kbuild
kvm_para.h kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi 2013-08-26 12:46:01 +03:00
kvm.h kvm: Add KVM_GET_EMULATED_CPUID 2013-10-30 18:54:39 +01:00
ldt.h
mce.h x86, MCE: Retract most UAPI exports 2013-01-09 14:49:02 +01:00
mman.h
msgbuf.h
msr-index.h More ACPI and power management updates for 3.13-rc1 2013-11-20 13:25:04 -08:00
msr.h
mtrr.h
param.h
perf_regs.h
poll.h
posix_types_32.h
posix_types_64.h
posix_types_x32.h
posix_types.h
prctl.h
processor-flags.h x86, processor-flags: Fix the datatypes and add bit number defines 2013-06-25 16:26:06 -07:00
ptrace-abi.h
ptrace.h
resource.h
sembuf.h
setup.h create non-empty arch/x86/include/uapi/asm/ files 2012-12-17 17:15:11 -08:00
shmbuf.h
sigcontext32.h
sigcontext.h
siginfo.h
signal.h consolidate kernel-side struct sigaction declarations 2013-02-03 15:09:22 -05:00
socket.h
sockios.h
stat.h
statfs.h
svm.h
swab.h
termbits.h
termios.h
types.h
ucontext.h
unistd.h
vm86.h
vmx.h KVM: x86: Update symbolic exit codes 2013-08-13 16:58:42 +02:00
vsyscall.h