• Emmanuel Grumbach's avatar
    iwlwifi: pcie: re-ACK all interrupts after device reset · 03d6c3b0
    Emmanuel Grumbach authored
    When we reset the device, the CSR_INT gets cleared as well
    as CSR_INT_MASK. Meaning that we shouldn't get any interrupt
    but, due to a hardware bug, recent devices will keep sending
    interrupts. This leads to an interrupt storm while stopping
    the device.
    The way to fix this is to ACK all the interrupts after the
    device is reset so that the value of CSR_INT will stay
    0xffffffff.
    
    Fixes: 522713c8 ("iwlwifi: pcie: properly reset the device")
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    03d6c3b0
trans.c 68.9 KB