summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2026-04-24 11:49:05 +0300
committerMarc Zyngier <maz@kernel.org>2026-04-24 14:03:57 +0300
commit08d715338287a1affb4c7ad5733decef4558a5c8 (patch)
tree78ac18f0d6e7a9be1e26d64ffcbc155470909177 /include/linux/errqueue.h
parent2a623408112626d2625a6f00aed665861d59665c (diff)
downloadlinux-08d715338287a1affb4c7ad5733decef4558a5c8.tar.xz
KVM: arm64: Fix FEAT_SPE_FnE to use PMSIDR_EL1.FnE, not PMSVer
FEAT_SPE_FnE is architecturally detected via PMSIDR_EL1.FnE [6], not ID_AA64DFR0_EL1.PMSVer. The FEAT_X macro form (register, field, value) cannot encode a PMSIDR_EL1-based feature, so FEAT_SPE_FnE was defined identically to FEAT_SPEv1p2 (ID_AA64DFR0_EL1, PMSVer, V1P2), producing a duplicate that used PMSVer >= V1P2 as a proxy. Replace the macro with feat_spe_fne(), following the same pattern as the sibling feat_spe_fds(): guard on FEAT_SPEv1p2 and read PMSIDR_EL1.FnE [6] directly. Wire the two NEEDS_FEAT consumers to use the new function. Remove the now-unused FEAT_SPE_FnE macro. Fixes: 63d423a7635b ("KVM: arm64: Switch to table-driven FGU configuration") Signed-off-by: Fuad Tabba <tabba@google.com> Link: https://patch.msgid.link/20260424084908.370776-4-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions