mbox series

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

Message ID 20210414031240.313852-1-ilya.lipnitskiy@gmail.com (mailing list archive)
Headers show
Series MIPS: fixes for PCI legacy drivers (rt2880, rt3883) | expand

Message

Ilya Lipnitskiy April 14, 2021, 3:12 a.m. UTC
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(-)

Comments

Thomas Bogendoerfer April 16, 2021, 7:22 a.m. UTC | #1
On Tue, Apr 13, 2021 at 08:12:32PM -0700, Ilya Lipnitskiy wrote:
> 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(-)

series applied to mips-next.

Thomas.