projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
29250ba
)
Merge tag 'kvmarm-fixes-6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmar...
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 22 Sep 2022 21:01:33 +0000
(17:01 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 22 Sep 2022 21:01:33 +0000
(17:01 -0400)
KVM/arm64 fixes for 6.0, take #2
- Fix kmemleak usage in Protected KVM (again)
arch/arm64/kvm/arm.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kvm/arm.c
b/arch/arm64/kvm/arm.c
index
2ff0ef6
..
917086b
100644
(file)
--- 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();
}