Skip to content
  • James Hogan's avatar
    metag: handle low level kicks directly · 95281171
    James Hogan authored
    
    
    Kick interrupts trigger the LWK (low level kick) signal, usually handled
    by the __TBIDoStdLWK() function which is the only handler inherited from
    the bootloader. The LWK signal is converted either to a SWK (plain
    software kick) or a SWS (software kick with an attached message).
    
    Linux has kick_handler() to handle SWK and call registered kick handlers
    (IPIs and inter-thread comms), but SWS is as far as I'm aware unused
    with Linux.
    
    Therefore remove that abstraction and have Linux handle LWK directly.
    This will reduce kick latency slightly, and reduce our dependence on the
    bootloader, which makes it easier to directly boot a kernel in QEMU
    (particularly for SMP).
    
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    95281171