[PATCH 0/3] arm64: cleanup DAIF handling for EL0 returns

Catalin Marinas catalin.marinas at arm.com
Tue Feb 20 10:19:55 PST 2024


On Tue, 06 Feb 2024 12:38:45 +0000, Mark Rutland wrote:
> These patches rework DAIF handling when returning to EL0, simplifiying
> the logic in do_notify_resume() and allowing Debug + SError to be
> unmasked for a little longer during exception return.
> 
> My primary motivation for these changes is to centralize entry/exit DAIF
> management within entry-common.c, as this will allow entry/exit
> sequences to be specialised, and make it much easier to add support for
> FEAT_NMI. With specialized entry DAIF management, it will also be
> possible to simplify local_daif_{save,restore}() and
> local_irq_{save,restore}().
> 
> [...]

Applied to arm64 (for-next/daif-cleanup), thanks!

[1/3] arm64: Simplify do_notify_resume() DAIF masking
      https://git.kernel.org/arm64/c/270de609ae2a
[2/3] arm64: Move do_notify_resume() to entry-common.c
      https://git.kernel.org/arm64/c/997d79eb938e
[3/3] arm64: Unmask Debug + SError in do_notify_resume()
      https://git.kernel.org/arm64/c/97d935faacde

-- 
Catalin




More information about the linux-arm-kernel mailing list