[PATCH] kselftest/arm64: signal: fix/refactor SVE vector length enumeration

Andre Przywara andre.przywara at arm.com
Tue Aug 13 05:55:46 PDT 2024


On Tue, 13 Aug 2024 12:00:06 +0100
Mark Brown <broonie at kernel.org> wrote:

Hi broonie,

> 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.

Ah, thanks, I wasn't sure about that, and wanted to mimic the existing
code as close as possible. Will surely just drop it.

Thanks,
Andre



More information about the linux-arm-kernel mailing list