mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-13 10:57:06 +00:00
memory: Do not invalidate Normal-NC mappings
We probably don't need it, and the hypervisor doesn't like it. Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
cfca18b83a
commit
89a482fcab
1 changed files with 0 additions and 1 deletions
|
@ -375,7 +375,6 @@ static void mmu_remap_ranges(void)
|
||||||
mmu_add_mapping(addr, addr, size, MAIR_IDX_DEVICE_nGnRE, PERM_RW_EL0);
|
mmu_add_mapping(addr, addr, size, MAIR_IDX_DEVICE_nGnRE, PERM_RW_EL0);
|
||||||
} else if (flags == 0x60004016) {
|
} else if (flags == 0x60004016) {
|
||||||
printf("MMU: Adding Normal-NC mapping at 0x%lx (0x%lx)\n", addr, size);
|
printf("MMU: Adding Normal-NC mapping at 0x%lx (0x%lx)\n", addr, size);
|
||||||
dc_civac_range((void *)addr, size);
|
|
||||||
mmu_add_mapping(addr, addr, size, MAIR_IDX_NORMAL_NC, PERM_RW_EL0);
|
mmu_add_mapping(addr, addr, size, MAIR_IDX_NORMAL_NC, PERM_RW_EL0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue