[PATCH v2 0/8] MIPS: fixes for PCI legacy drivers (rt2880, rt3883)

From: Ilya Lipnitskiy
Date: Tue Apr 13 2021 - 23:14:12 EST


One major fix for rt2880-pci in the first patch - fixes breakage that
existed since v4.14.

Other more minor fixes, cleanups, and improvements that either free up
memory, make dmesg messages clearer, or remove redundant dmesg output.

v2:
- Do not use internal pci-rt2880 config read and write functions after
the device has been registered with the PCI subsystem to avoid races.
Use safe pci_bus_{read,write}_config_{d}word wrappers instead.

Ilya Lipnitskiy (8):
MIPS: pci-rt2880: fix slot 0 configuration
MIPS: pci-rt2880: remove unneeded locks
MIPS: pci-rt3883: trivial: remove unused variable
MIPS: pci-rt3883: more accurate DT error messages
MIPS: pci-legacy: stop using of_pci_range_to_resource
MIPS: pci-legacy: remove redundant info messages
MIPS: pci-legacy: remove busn_resource field
MIPS: pci-legacy: use generic pci_enable_resources

arch/mips/include/asm/pci.h | 1 -
arch/mips/pci/pci-legacy.c | 57 ++++++-------------------------------
arch/mips/pci/pci-rt2880.c | 50 ++++++++++++++++----------------
arch/mips/pci/pci-rt3883.c | 10 ++-----
4 files changed, 35 insertions(+), 83 deletions(-)

--
2.31.1