lkml.org 
[lkml]   [2023]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v6] arm64: sdei: abort running SDEI handlers during crash
    Date
    D Scott Phillips <scott@os.amperecomputing.com> writes:

    > Interrupts are blocked in SDEI context, per the SDEI spec: "The client
    > interrupts cannot preempt the event handler." If we crashed in the SDEI
    > handler-running context (as with ACPI's AGDI) then we need to clean up the
    > SDEI state before proceeding to the crash kernel so that the crash kernel
    > can have working interrupts.
    >
    > Track the active SDEI handler per-cpu so that we can COMPLETE_AND_RESUME
    > the handler, discarding the interrupted context.
    >
    > Fixes: f5df26961853 ("arm64: kernel: Add arch-specific SDEI entry code and CPU masking")
    > Signed-off-by: D Scott Phillips <scott@os.amperecomputing.com>
    > Cc: stable@vger.kernel.org

    Hi James, ping on this

    \
     
     \ /
      Last update: 2023-07-24 22:33    [W:6.068 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site