Commit 128d513
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 <jianyong.wu@arm.com>1 parent a86359a commit 128d513
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
997 | 1006 | | |
998 | 1007 | | |
999 | 1008 | | |
| |||
0 commit comments