diff options
author | Marc Zyngier <[email protected]> | 2021-02-24 09:37:38 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-02-24 11:35:36 +0000 |
commit | 430251cc864beb11ac5b6d2f5c6ef54ddd432612 (patch) | |
tree | b67d05be63028f9a9a2942d32cea0a17d9dc7322 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d41053e8dc115c92b8002c3db5f545d7602498b (diff) |
arm64: Add missing ISB after invalidating TLB in enter_vhe
Although there has been a bit of back and forth on the subject, it
appears that invalidating TLBs requires an ISB instruction after the
TLBI/DSB sequence when FEAT_ETS is not implemented by the CPU.
From the bible:
| In an implementation that does not implement FEAT_ETS, a TLB
| maintenance instruction executed by a PE, PEx, can complete at any
| time after it is issued, but is only guaranteed to be finished for a
| PE, PEx, after the execution of DSB by the PEx followed by a Context
| synchronization event
Add the missing ISB in enter_vhe(), just in case.
Fixes: f359182291c7 ("arm64: Provide an 'upgrade to VHE' stub hypercall")
Suggested-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions