arm64: Update setup_arch() comment on interrupt masking
authorRyo Takakura <takakura@valinux.co.jp>
Wed, 28 Feb 2024 02:28:36 +0000 (11:28 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Feb 2024 18:01:24 +0000 (18:01 +0000)
DAIF_PROCCTX_NOIRQ contains the FIQ bit. Update the comment as only
asynchronous aborts are unmasked and FIQ is still masked.

Signed-off-by: Ryo Takakura <takakura@valinux.co.jp>
Link: https://lore.kernel.org/r/20240228022836.1756-1-takakura@valinux.co.jp
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/setup.c

index 42c690bb2d608c972404dbb52918ed3d044c17b2..ab43bfa853684e53d73cd62b23f3fc89b20d212f 100644 (file)
@@ -320,9 +320,8 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)
        dynamic_scs_init();
 
        /*
-        * Unmask asynchronous aborts and fiq after bringing up possible
-        * earlycon. (Report possible System Errors once we can report this
-        * occurred).
+        * Unmask SError as soon as possible after initializing earlycon so
+        * that we can report any SErrors immediately.
         */
        local_daif_restore(DAIF_PROCCTX_NOIRQ);