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
History
File Mode Size
kmemcheck
Makefile -rw-r--r-- 1.2 KB
amdtopology.c -rw-r--r-- 4.2 KB
debug_pagetables.c -rw-r--r-- 997 bytes
dump_pagetables.c -rw-r--r-- 11.5 KB
extable.c -rw-r--r-- 4.4 KB
fault.c -rw-r--r-- 36.1 KB
gup.c -rw-r--r-- 11.3 KB
highmem_32.c -rw-r--r-- 3.2 KB
hugetlbpage.c -rw-r--r-- 4.4 KB
ident_map.c -rw-r--r-- 1.8 KB
init.c -rw-r--r-- 21.4 KB
init_32.c -rw-r--r-- 25.1 KB
init_64.c -rw-r--r-- 32.4 KB
iomap_32.c -rw-r--r-- 3.5 KB
ioremap.c -rw-r--r-- 13.8 KB
kasan_init_64.c -rw-r--r-- 3.7 KB
kaslr.c -rw-r--r-- 5.4 KB
kmmio.c -rw-r--r-- 16.1 KB
mm_internal.h -rw-r--r-- 519 bytes
mmap.c -rw-r--r-- 3.0 KB
mmio-mod.c -rw-r--r-- 11.8 KB
mpx.c -rw-r--r-- 28.0 KB
numa.c -rw-r--r-- 22.5 KB
numa_32.c -rw-r--r-- 3.2 KB
numa_64.c -rw-r--r-- 215 bytes
numa_emulation.c -rw-r--r-- 13.0 KB
numa_internal.h -rw-r--r-- 726 bytes
pageattr-test.c -rw-r--r-- 5.3 KB
pageattr.c -rw-r--r-- 47.6 KB
pat.c -rw-r--r-- 27.6 KB
pat_internal.h -rw-r--r-- 1.4 KB
pat_rbtree.c -rw-r--r-- 6.8 KB
pf_in.c -rw-r--r-- 10.5 KB
pf_in.h -rw-r--r-- 1.4 KB
pgtable.c -rw-r--r-- 15.1 KB
pgtable_32.c -rw-r--r-- 2.1 KB
physaddr.c -rw-r--r-- 2.2 KB
physaddr.h -rw-r--r-- 192 bytes
pkeys.c -rw-r--r-- 3.0 KB
setup_nx.c -rw-r--r-- 1.3 KB
srat.c -rw-r--r-- 2.8 KB
testmmiotrace.c -rw-r--r-- 3.0 KB
tlb.c -rw-r--r-- 12.7 KB

back to top