[PATCH v2 00/40] PCI: dwc: Driver clean-ups
Michael Walle
michael at walle.cc
Tue Sep 15 05:12:18 EDT 2020
Hi Rob,
> This is a series of clean-ups for the Designware PCI driver. The series
> initially reworks the config space accessors to use the existing pci_ops
> struct. Then there's removal of various private data that's also present
> in the pci_host_bridge struct. There's also some duplicated common (PCI
> and DWC) register defines which I converted to use the common defines.
> Finally, the initialization for speed/gen, number of lanes, and N_FTS
> are all moved to the common DWC code.
> This is compile tested only as I don't have any DWC based h/w, so any
> testing would be helpful. A branch is here[1].
I've noticed that with the latest linux-next, my board doesn't boot
anymore. I've traced it back to this series. There is a similar
board in kernelci [1,2] where you can have a look at the backtrace.
I've bisected this to the following patch:
PCI: dwc: Use generic config accessors
I'm pretty much lost here. It seems that the kernel tries to read from
an invalid/unmapped memory address.
[1] https://kernelci.org/test/plan/id/5f5f4992d1c53777a0a6092d/
[2] https://storage.kernelci.org/next/master/next-20200914/arm64/defconfig/gcc-8/lab-nxp/baseline-fsl-ls1028a-rdb.txt
-michael
More information about the linux-amlogic
mailing list