[PATCH v11 37/40] kselftest/arm64: signal: Add SME signal handling tests
Mark Brown
broonie at kernel.org
Tue Feb 8 09:27:57 PST 2022
On Mon, Feb 07, 2022 at 06:08:06PM -0700, Shuah Khan wrote:
> On 2/7/22 8:21 AM, Mark Brown wrote:
> > +static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc)
> > +{
> > + int i;
> > +
> > + for (i = 0; i < nvls; i++) {
> > + /*
> > + * TODO: the signal test helpers can't currently cope
> > + * with signal frames bigger than struct sigcontext,
> > + * skip VLs that will trigger that.
> > + */
> > + if (vls[i] > 64)
> > + continue;
> Count the skipped VLs and print counts - helps see how many are
> skipped.
I'll print a message when we skip an individual VL for this reason.
Note that it is hardware dependent what vector lengths exist in a system
and that it is expected that many possible vector lengths will be
skipped - the enumeration algorithm means that we don't explicitly step
through most vector lengths but rather have the enumeration done for us.
Please delete unneeded context from mails when replying. Doing this
makes it much easier to find your reply in the message, helping ensure
it won't be missed by people scrolling through the irrelevant quoted
material.
-------------- 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/20220208/673729f1/attachment.sig>
More information about the linux-arm-kernel
mailing list