diff options
author | Will Deacon <will@kernel.org> | 2020-09-30 14:18:01 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-10-02 09:16:07 +0100 |
commit | b259d137e91d80bf92eac453ffab179eb7941ede (patch) | |
tree | aca434f0ee0723dbe6e3d45a6a9107a88ceddb8e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c9c0279cc02b4e161686de7ccd1973357f29db8c (diff) |
KVM: arm64: Pass level hint to TLBI during stage-2 permission fault
Alex pointed out that we don't pass a level hint to the TLBI instruction
when handling a stage-2 permission fault, even though the walker does
at some point have the level information in its hands.
Rework stage2_update_leaf_attrs() so that it can optionally return the
level of the updated pte to its caller, which can in turn be used to
provide the correct TLBI level hint.
Reported-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/595cc73e-636e-8b3a-f93a-b4e9fb218db8@arm.com
Link: https://lore.kernel.org/r/20200930131801.16889-1-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions