aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2024-04-22 15:13:03 +0100
committerMarc Zyngier <[email protected]>2024-04-23 19:27:11 +0100
commit5513394de681a456ad728ae775c58c41aff14011 (patch)
tree9285c2c86582c5dbba50410df3263b563f5f3123 /include/linux/overflow.h
parent814ad8f96e929fa9c60bd360d2f7bccfc1df0111 (diff)
KVM: arm64: nv: Work around lack of pauth support in old toolchains
We still support GCC 8.x, and it appears that this toolchain usually comes with an assembler that does not understand "pauth" as a valid architectural extension. This results in the NV ERETAx code breaking the build, as it relies on this extention to make use of the PACGA instruction (required by assemblers such as LLVM's). Work around it by hand-assembling the instruction, which removes the requirement for any assembler directive. Fixes: 6ccc971ee2c6 ("KVM: arm64: nv: Add emulation for ERETAx instructions") Reported-by: Linaro Kernel Functional Testing <[email protected]> Suggested-by: Mark Rutland <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions