Skip to content

Commit b4ac28a

Browse files
committed
Merge tag 'kvmarm-fixes-6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/arm64 fixes for 6.0, take #2 - Fix kmemleak usage in Protected KVM (again)
2 parents 29250ba + 522c9a6 commit b4ac28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/arm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ static int finalize_hyp_mode(void)
21142114
* at, which would end badly once inaccessible.
21152115
*/
21162116
kmemleak_free_part(__hyp_bss_start, __hyp_bss_end - __hyp_bss_start);
2117-
kmemleak_free_part(__va(hyp_mem_base), hyp_mem_size);
2117+
kmemleak_free_part_phys(hyp_mem_base, hyp_mem_size);
21182118
return pkvm_drop_host_privileges();
21192119
}
21202120

0 commit comments

Comments
 (0)