• Alex Elder's avatar
    net: ipa: only enable GSI general IRQs when needed · 352f26a8
    Alex Elder authored
    Most GSI general errors are unrecoverable without a full reset.
    Despite that, we want to receive these errors so we can at least
    report what happened before whatever undefined behavior ensues.
    
    Explicitly disable all such interrupts in gsi_irq_setup(), then
    enable those we want in gsi_irq_enable().  List the interrupt types
    we are interested in (everything but breakpoint) explicitly rather
    than using GSI_CNTXT_GSI_IRQ_ALL, and remove that symbol's
    definition.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    352f26a8
gsi_reg.h 14.7 KB