diff options
| author | Quentin Perret <[email protected]> | 2021-03-19 10:01:36 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2021-03-19 12:01:22 +0000 |
| commit | f60ca2f9321a71ee3d2a7bd620c1827b82ce05f2 (patch) | |
| tree | 9c952b4ee0c020d4dd7f3c484abd27d3e8df168f /tools/perf/scripts/python | |
| parent | a14307f5310c737744641ff8da7a8d491c3c85cd (diff) | |
KVM: arm64: Always zero invalid PTEs
kvm_set_invalid_pte() currently only clears bit 0 from a PTE because
stage2_map_walk_table_post() needs to be able to follow the anchor. In
preparation for re-using bits 63-01 from invalid PTEs, make sure to zero
it entirely by ensuring to cache the anchor's child upfront.
Acked-by: Will Deacon <[email protected]>
Suggested-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions