diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-03-21 21:24:19 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-23 11:03:53 +0000 |
| commit | 54a3cc145456272b10c1452fe89e1dcf933d5c39 (patch) | |
| tree | be1cb96983cb0eb05df95d445f16c3bbeab8ca63 /tools/perf/scripts/python | |
| parent | 59c6e12d40a5b05038b68bcdb4690456fee68e8a (diff) | |
KVM: arm64: Remove extra ISBs when using msr_hcr_el2
The msr_hcr_el2 macro is slightly awkward, as it provides an ISB
when CONFIG_AMPERE_ERRATUM_AC04_CPU_23 is present, and none
otherwise. Note that this this option is 'default y', meaning that
it is likely to be selected.
Most instances of msr_hcr_el2 are also immediately followed by an ISB,
meaning that in most cases, you end-up with two back-to-back ISBs.
This isn't a big deal, but once you have seen that, you can't unsee it.
Rework the msr_hcr_el2 macro to always provide the ISB, and drop
the superfluous ISBs everywhere else.
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260321212419.2803972-6-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
