Kernel Newbies Archive on lore.kernel.org
 help / color / Atom feed
* Is it possible to disable NEON to cause a trap with NEON code?
@ 2021-02-12 11:17 Jeffrey Walton
  0 siblings, 0 replies; only message in thread
From: Jeffrey Walton @ 2021-02-12 11:17 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 11:17 Is it possible to disable NEON to cause a trap with NEON code? Jeffrey Walton

Kernel Newbies Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git