We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29250ba + 522c9a6 commit b4ac28aCopy full SHA for b4ac28a
1 file changed
arch/arm64/kvm/arm.c
@@ -2114,7 +2114,7 @@ static int finalize_hyp_mode(void)
2114
* at, which would end badly once inaccessible.
2115
*/
2116
kmemleak_free_part(__hyp_bss_start, __hyp_bss_end - __hyp_bss_start);
2117
- kmemleak_free_part(__va(hyp_mem_base), hyp_mem_size);
+ kmemleak_free_part_phys(hyp_mem_base, hyp_mem_size);
2118
return pkvm_drop_host_privileges();
2119
}
2120
0 commit comments