diff options
author | Quentin Perret <qperret@google.com> | 2021-03-19 10:01:36 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 12:01:22 +0000 |
commit | f60ca2f9321a71ee3d2a7bd620c1827b82ce05f2 (patch) | |
tree | 9c952b4ee0c020d4dd7f3c484abd27d3e8df168f /tools/perf/scripts/python/export-to-postgresql.py | |
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 <will@kernel.org>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-29-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions