linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Feature request for enabling SCTLR_ELx.nAA
@ 2023-02-22 23:17 Richard Henderson
  2023-02-23 12:15 ` Catalin Marinas
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 2023-02-22 23:17 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Alex Bennée

Hi guys,

It would be helpful to have a prctl for enabling nAA.  Since we already have 
task->thread.sctlr_user, it would seem that this would not require any additional overhead 
during __switch_to().

My use case is the QEMU JIT, and being able to make use of LDAR/STLR instead of explicit 
DBM in some cases.  At the moment, I can only make this replacement when the address is 
provably aligned, which is tricky to do with the time budget of a JIT, so the replacement 
rarely triggers.  This ought to make a difference when emulating strongly ordered guests 
like x86.

Thanks,


r~

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-24 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 23:17 Feature request for enabling SCTLR_ELx.nAA Richard Henderson
2023-02-23 12:15 ` Catalin Marinas
2023-02-23 15:36   ` Richard Henderson
2023-02-24 17:09   ` Will Deacon

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).