2021-04-14 13:11:40

by Ilya Lipnitskiy

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

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


2021-04-16 07:25:14

by Thomas Bogendoerfer

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

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.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]