mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Revert "ANDROID: KVM: arm64: Prevent kmemleak from accessing .hyp.data"
This reverts commit 8ee914a539.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I0892eaf93fe03af579974fef5605be79194e82a9
This commit is contained in:
@@ -2177,7 +2177,6 @@ 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(__hyp_data_start, __hyp_data_end - __hyp_data_start);
|
||||
kmemleak_free_part(__va(hyp_mem_base), hyp_mem_size);
|
||||
return pkvm_drop_host_privileges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user