mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
kboot: Make missing iommu mappings non-fatal
Fixes: 21dc622735
("kboot: Transfer display related memory carveouts to device tree")
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
This commit is contained in:
parent
06b88f14d2
commit
91ff36b277
1 changed files with 4 additions and 2 deletions
|
@ -1161,8 +1161,10 @@ static int dt_device_set_reserved_mem(int node, dart_dev_t *dart, const char *na
|
|||
int ret;
|
||||
|
||||
u64 iova = dart_get_mapping(dart, name, paddr, size);
|
||||
if (DART_IS_ERR(iova))
|
||||
bail("ADT: no mapping found for '%s' 0x%012lx iova:0x%08lx)\n", name, paddr, iova);
|
||||
if (DART_IS_ERR(iova)) {
|
||||
printf("ADT: no mapping found for '%s' 0x%012lx iova:0x%08lx)\n", name, paddr, iova);
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = fdt_appendprop_u32(dt, node, "iommu-addresses", phandle);
|
||||
if (ret != 0)
|
||||
|
|
Loading…
Reference in a new issue