On Wed, Feb 08, 2023 at 03:36:40PM +0100, Ard Biesheuvel wrote: > OTOH, what is the penalty for setting the GP attribute and using the > translation table on a core that does not implement BTI? The concern with doing that for Linux was what would happen if someone implemented a system with mixed BTI/no BTI support and then a task got preempted and moved between the two, you might end up with PSTATE.BTYPE incorrectly set and trigger a spurious fault. That shouldn't be an issue for EFI runtime services.
Attachment:
signature.asc
Description: PGP signature