[PATCH] arm64: Don't allow SVE to be used with BROKEN_GAS_INST

Mark Brown broonie at kernel.org
Wed Mar 2 08:04:39 PST 2022


On Wed, Mar 02, 2022 at 01:58:13PM +0000, Catalin Marinas wrote:

> It looks like it's not just SVE affected here. A grep for "\.inst\>"
> shows a few places in the crypto code as well. How hard is it to use
> __emit_inst() in these places?

TBH given the indeterminate existance of a userbase I'm not sure it's
even worth it - they're for v8.2 instructions and there's arguments
being encoded in there so I'd be more inclined to do the same as SVE and
shove some dependencies in there for now rather than make those macros
even longer.  I'd be astonished if there were anyone using a toolchain
old enough to have the issue with hardware new enough to be impacted,
the fact that we didn't hear about it thus far suggests that there isn't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220302/0a16d23f/attachment.sig>


More information about the linux-arm-kernel mailing list