mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
efi: Improve logging around memmap init
Be more informative if memremap fails, and print out physical address together with size. This change intends to make investigations of such early failures slightly easier. Signed-off-by: Bartosz Szczepanek <bsz@amazon.de> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
0af2f6be1b
commit
e1288f1db6
|
@ -43,7 +43,8 @@ int __init __efi_memmap_init(struct efi_memory_map_data *data)
|
|||
map.map = early_memremap(phys_map, data->size);
|
||||
|
||||
if (!map.map) {
|
||||
pr_err("Could not map the memory map!\n");
|
||||
pr_err("Could not map the memory map! phys_map=%pa, size=0x%lx\n",
|
||||
&phys_map, data->size);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user