Skip to content
  • Lukas Wunner's avatar
    PCI: pciehp: Ignore interrupts during D3cold · ed91de7e
    Lukas Wunner authored
    
    
    If a hotplug port is suspended to D3cold, its slot status register cannot
    be read.  If that hotplug port happens to share its IRQ with other devices,
    whenever an interrupt occurs for one of these devices, pciehp logs a
    "no response from device" message and tries to read the PCI_EXP_SLTSTA
    register, even though we know that will fail.
    
    Ignore interrupts while we're in D3cold.
    
    [bhelgaas: changelog]
    Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    ed91de7e