• B
    [PATCH] powerpc: Fix loss of interrupts with MPIC · ba1826e5
    Benjamin Herrenschmidt 提交于
    With the new interrupt rework, an interrupt "host" map() callback can be
    called after the interrupt is already active.
    
    It's called again for an already mapped interrupt to allow changing the
    trigger setup, and currently this is not guarded with a test of wether
    the interrupt is requested or not.
    
    I plan to change some of this logic to be a bit less lenient against
    random reconfiguring of live interrupts but just not yet.
    
    The ported MPIC driver has a bug where when that happens, it will mask
    the interrupt.  This changes it to preserve the previous masking of the
    interrupt instead.
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    ba1826e5
mpic.c 30.1 KB