[PATCH] kselftest/arm64: signal: fix/refactor SVE vector length enumeration
Mark Brown
broonie at kernel.org
Tue Aug 13 04:00:06 PDT 2024
On Mon, Aug 12, 2024 at 03:09:24PM +0100, Andre Przywara wrote:
> + /* Did we find the lowest supported VL? */
> + if (use_sme && vq < sve_vq_from_vl(vl))
> + break;
We don't need the use_sme check here, SVE is just architecturally
guaranteed to never trip the && case. Unless you add a warning for
broken implementations I'd just skip it.
-------------- 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/20240813/0f47315e/attachment.sig>
More information about the linux-arm-kernel
mailing list