Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aarch64: fix get time runtime service failure
When enable efi_rtc inside guest kernel, a warning occurs: [ 0.764401] [Firmware Bug]: Unable to handle paging request in EFI runtime service [ 0.770671] ------------[ cut here ]------------ [ 0.772014] WARNING: CPU: 0 PID: 1 at drivers/firmware/efi/runtime-wrappers.c:262 virt_efi_get_time+0x12c/0x17c It derives from that there is lack of memory map descriptor for IO address of RTC_PL031 passed to kernel. Allocate IO Map for it before execute kernel/bootloader can avoid this failure and then we can get the right time inside guest. Fixes: #289 Signed-off-by: Jianyong Wu <[email protected]>
- Loading branch information