acrn-hypervisor/hypervisor/include
Victor Sun ce9d5e8779 HV: remove efi support for SOS
Provide EFI support for SOS could cause weird issues. For example, hypervisor
works based on E820 table whereras it's possible that the memory map from EFI
table is not aligned with E820 table. The SOS kernel kaslr will try to find the
random address for extracted kernel image in EFI table first. So it's possible
that none-RAM in E820 is picked for extracted kernel image. This will make
kernel boot fail.

This patch removes EFI support for SOS by not passing struct boot_efi_info to
SOS kernel zeropage, and reserve a memory to store RSDP table for SOS and pass
the RSDP address to SOS kernel zeropage for SOS to locate ACPI table.

The patch requires SOS kernel version be high than 4.20, otherwise the kernel
might fail to find the RSDP.

Tracked-On: #5626

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
2021-02-25 09:34:29 +08:00
..
arch/x86 HV: remove efi support for SOS 2021-02-25 09:34:29 +08:00
common hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00
debug hv: debug: Enable MMIO UART support 2020-08-27 13:31:17 +08:00
dm HV: remove efi support for SOS 2021-02-25 09:34:29 +08:00
hw HV: deny HV owned PCI bar access from SOS 2021-02-03 14:01:23 +08:00
lib HV: remove efi support for SOS 2021-02-25 09:34:29 +08:00
public hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00