Skip to content

PCI Error Recovery for PPC64 and misc device drivers

Linas Vepstas lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest42 patches 68 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/42: ppc64: misc minor cleanuparch/ppc64/kernel/eeh.c+25 -280 replies
3/42: ppc64: PCI address cache minor fixesarch/ppc64/kernel/eeh.c include/asm-powerpc/ppc-pci.h+26 -110 replies
4/42: ppc64: PCI error rate statisticsarch/ppc64/kernel/eeh.c+32 -110 replies
5/42: ppc64: RTAS error reporting restructuringarch/ppc64/kernel/eeh.c+30 -160 replies
6/42: ppc64: avoid PCI error reporting for empty slotsarch/ppc64/kernel/eeh.c+27 -20 replies
7/42: ppc64: serialize reports of PCI errorsarch/ppc64/kernel/eeh.c+85 -130 replies
8/42: ppc64: escape hatch for spinning interrupt deadlocksarch/ppc64/kernel/eeh.c+13 -80 replies
9/42: ppc64: bugfix: crash on PCI hotplugarch/ppc64/kernel/pci_dn.c+17 -40 replies
10/42: ppc64: bugfix: don't silently gnore PCI errorsarch/ppc64/kernel/eeh.c include/asm-ppc64/pci-bridge.h+3 -30 replies
11/42: ppc64: move code to powerpc directory from ppc64arch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/eeh.c arch/ppc64/kernel/Makefile +1 more+1094 -10940 replies
11/42: ppc64: move code to powerpc directory from ppc64arch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/eeh.c arch/ppc64/kernel/Makefile +1 more+1094 -10940 replies
12/42: ppc64: PCI error event dispatcherarch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_event.c +2 more+236 -1570 replies
13/42: ppc64: PCI reset support routinesarch/powerpc/platforms/pseries/eeh.c include/asm-powerpc/ppc-pci.h+113 -00 replies
14/42: ppc64: Save & restore of PCI device BARSarch/powerpc/platforms/pseries/eeh.c include/asm-powerpc/ppc-pci.h+137 -10 replies
15/42: Documentation: PCI Error RecoveryDocumentation/pci-error-recovery.txt MAINTAINERS+253 -00 replies
16/42: PCI: PCI Error reporting callbacksinclude/linux/pci.h+49 -076 replies
17/42: ppc64: mark failed devicesarch/powerpc/platforms/pseries/eeh.c include/asm-powerpc/ppc-pci.h+39 -160 replies
18/42: ppc64: bugfix: crash on dlpar slot add, removearch/powerpc/platforms/pseries/iommu.c arch/ppc64/kernel/pci_dn.c+8 -20 replies
19/42: ppc64: bugfix: crash on PHB adddrivers/pci/hotplug/rpadlpar_core.c+1 -12 replies
20/42: ppc64: PCI hotplug common code eliminationarch/powerpc/platforms/pseries/eeh.c drivers/pci/hotplug/rpaphp_pci.c include/asm-ppc64/eeh.h+38 -310 replies
21/42: PCI: cleanup/simplify ppc64 PCI hotplug codedrivers/pci/hotplug/rpaphp_pci.c+16 -290 replies
22/42: PCI: remove duplicted pci hotplug codearch/ppc64/kernel/pci.c drivers/pci/hotplug/rpadlpar_core.c drivers/pci/hotplug/rpaphp_pci.c +1 more+5 -471 reply
23/42: ppc64: migrate common PCI hotplug codearch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/pci_dlpar.c drivers/pci/hotplug/rpadlpar_core.c +3 more+197 -1800 replies
24/42: ppc64: PCI Error Recovery: PPC64 core recovery routinesarch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_driver.c +4 more+413 -350 replies
25/42: ppc64: Split out PCI address cache to its own filearch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_cache.c +1 more+328 -2940 replies
26/42: ppc64: Add "partion endpoint" supportarch/powerpc/platforms/pseries/eeh.c include/asm-ppc64/pci-bridge.h+25 -20 replies
27/42: SCSI: add PCI error recovery to IPR dev driverdrivers/scsi/ipr.c+94 -00 replies
28/42: SCSI: add PCI error recovery to Symbios dev driverdrivers/scsi/sym53c8xx_2/sym_glue.c drivers/scsi/sym53c8xx_2/sym_glue.h drivers/scsi/sym53c8xx_2/sym_hipd.c+132 -00 replies
29/42: ethernet: add PCI error recovery to e100 dev driverdrivers/net/e100.c+70 -02 replies
30/42: ethernet: add PCI error recovery to e1000 dev driverdrivers/net/e1000/e1000_main.c+100 -10 replies
31/42: ethernet: add PCI error recovery to ixgb dev driverdrivers/net/ixgb/ixgb_main.c+86 -00 replies
32/42: RFC: Add compile-time config optionsdrivers/net/e100.c drivers/net/e1000/e1000_main.c drivers/net/ixgb/ixgb_main.c +3 more+48 -10 replies
33/42: ppc64: remove bogus printkarch/powerpc/platforms/pseries/eeh.c+3 -50 replies
34/42: ppc64: Remove duplicate codearch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_driver.c include/asm-powerpc/ppc-pci.h+4 -140 replies
35/42: ppc64: bugfix: fill in un-initialzed fieldarch/powerpc/platforms/pseries/eeh_cache.c+3 -00 replies
36/42: ppc64: Use PE configuration address consistentlyarch/powerpc/platforms/pseries/eeh.c+23 -40 replies
37/42: ppc64: set up the RTAS token just like the rest of them.arch/powerpc/platforms/pseries/eeh.c+3 -50 replies
38/42: ppc64: Don't continue with PCI Error recovery if slot reset failed.arch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_driver.c include/asm-powerpc/ppc-pci.h+69 -400 replies
39/42: ppc64: handle multifunction PCI devices properlyarch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_driver.c+29 -40 replies
40/42: ppc64: IOMMU: don't ioremap null pointersarch/powerpc/mm/pgtable_64.c+1 -10 replies
41/42: ppc64: Save device BARS much earlier in the boot sequencearch/powerpc/platforms/pseries/eeh.c arch/powerpc/platforms/pseries/eeh_cache.c arch/ppc64/kernel/rtas_pci.c +2 more+14 -181 reply
42/42: ppc64: get rid of per_cpu countersarch/powerpc/platforms/pseries/eeh.c+23 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/42] PCI Error Recovery for PPC64 and misc device drivers

What follows is a long sequence of mostly small patches to implement PCI Error Recovery by adding notification callbacks to the PCI device driver structure, implementing the recovery in 5 device drivers (3 ethernet, two scsi drivers), and adding the actual error detection and recovery code to the ppc64/powerpc arch tree.

Highlights:

-- Patches 1-14: Misc required ppc64/powerpc cleanup/bugfixes/restructuring -- Patch 15: Overview documentation
-- Patch 16: changes to include/linux/pci.h
-- Patches 17-26: error detection and recovery for pSeries PCI bridge chips -- Patchs 27-32: recovery patches for ethernet, scsi device drivers -- Patches 33-42: More misc ppc64-specific changes