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

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux