Skip to content

MIPS: OCTEON: Remove redundant AER code

Naveen Naidu linux-kernel-mentees linux-mips linux-pci linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6PCI/AER: Enable COR/UNCOR error reporting in set_device_error_reporting()drivers/pci/pcie/aer.c+12 -11 reply
2/6MIPS: OCTEON: Remove redundant clearing of AER status registersarch/mips/pci/pci-octeon.c+0 -111 reply
3/6MIPS: OCTEON: Remove redundant enable of PCIe normal error reportingarch/mips/pci/pci-octeon.c+0 -70 replies
4/6MIPS: OCTEON: Remove redundant enable of COR/UNCOR errorarch/mips/pci/pci-octeon.c+1 -60 replies
5/6MIPS: OCTEON: Remove redundant ECRC Generation Enablearch/mips/pci/pci-octeon.c+0 -90 replies
6/6MIPS: OCTEON: Remove redundant enable of RP error reportingarch/mips/pci/pci-octeon.c+0 -180 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/6] MIPS: OCTEON: Remove redundant AER code

e8635b484f64 ("MIPS: Add Cavium OCTEON PCI support.") added MIPS specific code to enable PCIe and AER error reporting (*irrespective of CONFIG_PCIEAER value*) because PCI core didn't do that at the time.

But currently, the PCI core clears and enables the AER status registers. So it's redundant for octeon code to do so. This patch series removes the redundant code from the pci-octeon.c

Currently, the correctable and uncorrectable AER mask registers are not set to their default value when AER service driver is loaded. This defect is also fixed in the "[PATCH 1/6]" in the series.

Please note that "Patch 4/6" is dependent on "Patch 1/6".

Thanks,
Naveen Naidu

Naveen Naidu (6):
[PATCH 1/6] PCI/AER: Enable COR/UNCOR error reporting in set_device_error_reporting() [PATCH 2/6] MIPS: OCTEON: Remove redundant clearing of AER status registers [PATCH 3/6] MIPS: OCTEON: Remove redundant enable of PCIe normal error reporting [PATCH 4/6] MIPS: OCTEON: Remove redundant enable of COR/UNCOR error [PATCH 5/6] MIPS: OCTEON: Remove redundant ECRC Generation Enable [PATCH 6/6] MIPS: OCTEON: Remove redundant enable of RP error reporting

 arch/mips/pci/pci-octeon.c | 50 --------------------------------------
 drivers/pci/pcie/aer.c     | 13 +++++++++-
 2 files changed, 12 insertions(+), 51 deletions(-)
Signature · 1 line
2.25.1