• Alex Elder's avatar
    net: ipa: disable all GSI interrupt types initially · 97eb94c8
    Alex Elder authored
    Introduce gsi_irq_setup() and gsi_irq_teardown() to disable all
    GSI interrupts when first setting up GSI hardware, and to clean
    things up when we're done.
    
    Re-enable all GSI interrupt types in gsi_irq_enable(), but do
    so only after each of the type-specific interrupt masks has
    been configured.  Similarly, disable all interrupt types in
    gsi_irq_disable()--first--before zeroing out the type-specific
    masks.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    97eb94c8
gsi.c 59.8 KB