diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-10-16 09:15:58 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-26 07:45:24 +0000 |
| commit | 00e73757518020273ccf6308a51f214e58c21ad5 (patch) | |
| tree | 663ccb73cc3a2043ac2267103fad905e30d1ec89 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dd0bc00e3e9201fd49b62ff9cc07890c89003afe (diff) | |
KVM: arm64: Set HCR_EL2.BSU to Inner Shareable for guests
KVM sets HCR_EL2.BSU to Inner Shareable for guests, so that a guest's
barriers cover the TLB and I-cache invalidations that HCR_EL2.FB
broadcasts. However, since HCR_BSU_IS became an alias of the generated
HCR_EL2_BSU_IS, it is the unshifted field value 0b01, which sets bit
0 (VM, already set) and leaves BSU at 0b00. A guest's DSB NSH is then
not required to wait for a broadcast TLBI to complete on other CPUs.
Build the field with SYS_FIELD_PREP_ENUM().
Fixes: d0f39259eff4 ("arm64: sysreg: Add layout for HCR_EL2")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261016081558.805411-1-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
