diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-23 00:01:33 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-23 00:01:33 +0300 |
commit | b4ac28a32f589d389e5391f5b546c17a484915dc (patch) | |
tree | 29ae206f111d893dbb86204a3f566555d0ca71e4 /arch/arm64 | |
parent | 29250ba51bc1cbe8a87e923f76978b87c3247a8c (diff) | |
parent | 522c9a64c7049f50c7b1299741c13fac3f231cd4 (diff) | |
download | linux-b4ac28a32f589d389e5391f5b546c17a484915dc.tar.xz |
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)
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kvm/arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c index 2ff0ef62abad..917086be5c6b 100644 --- a/arch/arm64/kvm/arm.c +++ b/arch/arm64/kvm/arm.c @@ -2114,7 +2114,7 @@ static int finalize_hyp_mode(void) * at, which would end badly once inaccessible. */ kmemleak_free_part(__hyp_bss_start, __hyp_bss_end - __hyp_bss_start); - kmemleak_free_part(__va(hyp_mem_base), hyp_mem_size); + kmemleak_free_part_phys(hyp_mem_base, hyp_mem_size); return pkvm_drop_host_privileges(); } |