kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Jeffrey Walton <noloader@gmail.com>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Is it possible to disable NEON to cause a trap with NEON code?
Date: Fri, 12 Feb 2021 06:17:27 -0500	[thread overview]
Message-ID: <CAH8yC8n2DAdF+g5h_cP7Wj_U15w_rKg6GrwmkyYCn1uX+NuUaA@mail.gmail.com> (raw)

Hi Everyone,

I'm trying to setup a test case on ARM A-32. I want to ensure a NEON
code path is properly guarded at runtime.

I'd like to disable NEON at boot time so that a SIGILL is raised for
NEON instructions. If I get a SIGILL, it tells me there's some NEON in
non-guarded paths.

Is it possible to disable NEON at boot time?

Thanks in advance.

Jeff

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

                 reply	other threads:[~2021-02-12 11:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8yC8n2DAdF+g5h_cP7Wj_U15w_rKg6GrwmkyYCn1uX+NuUaA@mail.gmail.com \
    --to=noloader@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).