Re: [PATCH v11 37/40] kselftest/arm64: signal: Add SME signal handling tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux