[PATCH 00/13] PCI: aardvark controller fixes

Marek Behún
2021-10-01T19:59:02Z

Hi Lorenzo,

this series fixes some issues with the Aardvark PCIe controller driver.

Most of them are small changes. Patch 11 has a rather long commit message
since it explains how the bugs were introduced from multiple misleading
names and comments of some registers.

We have another 56 fixes for aardvark, but last time nobody wanted to
review such a large series, so we are now trying in smaller batches.

It would be great if you could find time to review, since we would like
this to land in 5.16. Preferably we would like to send another batch for
5.16, but we will see how fast this one goes

Marek & Pali

Marek Behún (2):
PCI: aardvark: Don't spam about PIO Response Status
PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()

Pali Rohár (11):
PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
PCI: aardvark: Fix PCIe Max Payload Size setting
PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated
bridge
PCI: aardvark: Fix configuring Reference clock
PCI: aardvark: Do not clear status bits of masked interrupts
PCI: aardvark: Do not unmask unused interrupts
PCI: aardvark: Implement re-issuing config requests on CRS response
PCI: aardvark: Simplify initialization of rootcap on virtual bridge
PCI: aardvark: Fix link training
PCI: aardvark: Fix checking for link up via LTSSM state
PCI: aardvark: Fix reporting Data Link Layer Link Active

drivers/pci/controller/pci-aardvark.c | 364 +++++++++++++++-----------
include/uapi/linux/pci_regs.h | 6 +
2 files changed, 212 insertions(+), 158 deletions(-)

--
2.32.0