aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2020-01-21 16:56:59 +1100
committerMarc Zyngier <[email protected]>2020-01-23 10:38:15 +0000
commitcf2d23e0bac9f6b5cd1cba8898f5f05ead40e530 (patch)
treef3ebc0f9b3597cb021dbe0a71c08139ced753a87 /tools/perf/util/trace-event-scripting.c
parent6645d8542ef922486b733d415d2bec3b0622c27e (diff)
KVM: arm/arm64: Fix young bit from mmu notifier
kvm_test_age_hva() is called upon mmu_notifier_test_young(), but wrong address range has been passed to handle_hva_to_gpa(). With the wrong address range, no young bits will be checked in handle_hva_to_gpa(). It means zero is always returned from mmu_notifier_test_young(). This fixes the issue by passing correct address range to the underly function handle_hva_to_gpa(), so that the hardware young (access) bit will be visited. Fixes: 35307b9a5f7e ("arm/arm64: KVM: Implement Stage-2 page aging") Signed-off-by: Gavin Shan <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions