Revision 70e8b40176c75d3544024e7c934720b11a8a11bf authored by Bjorn Helgaas on 08 September 2016, 21:43:40 UTC, committed by Bjorn Helgaas on 14 September 2016, 19:24:25 UTC
After 1469d17dd341 ("PCI: pciehp: Handle invalid data when reading from non-existent devices"), we returned IRQ_HANDLED when we failed to read interrupt status from the bridge. I think it's better to return IRQ_NONE, as we do in other cases where there's no interrupt pending. This will facilitate refactoring the loop in pcie_isr(): we'll be able to call the ISR in a loop as long as it returns IRQ_HANDLED. Return IRQ_NONE if we couldn't read interrupt status. Tested-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent a8499f2
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 476 bytes |
Makefile | -rw-r--r-- | 343 bytes |
ast.c | -rw-r--r-- | 8.0 KB |
ast.h | -rw-r--r-- | 1.3 KB |
config.c | -rw-r--r-- | 21.6 KB |
config.h | -rw-r--r-- | 1.5 KB |
debug_fs.c | -rw-r--r-- | 18.1 KB |
dir.c | -rw-r--r-- | 7.4 KB |
dir.h | -rw-r--r-- | 1.0 KB |
dlm_internal.h | -rw-r--r-- | 20.1 KB |
lock.c | -rw-r--r-- | 157.6 KB |
lock.h | -rw-r--r-- | 3.1 KB |
lockspace.c | -rw-r--r-- | 20.3 KB |
lockspace.h | -rw-r--r-- | 1.0 KB |
lowcomms.c | -rw-r--r-- | 41.8 KB |
lowcomms.h | -rw-r--r-- | 1.1 KB |
lvb_table.h | -rw-r--r-- | 687 bytes |
main.c | -rw-r--r-- | 2.0 KB |
member.c | -rw-r--r-- | 16.2 KB |
member.h | -rw-r--r-- | 1.4 KB |
memory.c | -rw-r--r-- | 2.1 KB |
memory.h | -rw-r--r-- | 1.0 KB |
midcomms.c | -rw-r--r-- | 3.7 KB |
midcomms.h | -rw-r--r-- | 864 bytes |
netlink.c | -rw-r--r-- | 2.8 KB |
plock.c | -rw-r--r-- | 11.6 KB |
rcom.c | -rw-r--r-- | 15.9 KB |
rcom.h | -rw-r--r-- | 1.2 KB |
recover.c | -rw-r--r-- | 22.8 KB |
recover.h | -rw-r--r-- | 1.5 KB |
recoverd.c | -rw-r--r-- | 7.9 KB |
recoverd.h | -rw-r--r-- | 927 bytes |
requestqueue.c | -rw-r--r-- | 4.8 KB |
requestqueue.h | -rw-r--r-- | 882 bytes |
user.c | -rw-r--r-- | 24.4 KB |
user.h | -rw-r--r-- | 586 bytes |
util.c | -rw-r--r-- | 4.5 KB |
util.h | -rw-r--r-- | 805 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...