mbox series

[0/7] PCI: aardvark controller fixes BATCH 3

Message ID 20211031181233.9976-1-kabel@kernel.org (mailing list archive)
Headers show
Series PCI: aardvark controller fixes BATCH 3 | expand

Message

Marek Behún Oct. 31, 2021, 6:12 p.m. UTC
Dear Lorenzo,

since we have dropped some patches from the second batch, I thought that
we could instead replace them with another 7 small changes, that we can
hopefully get applied in this cycle.

Description:
- patch 1 just adds a small explanation to pci-bridge-emul, no functional
  change
- patches 2 and 3 add support for some more registers on emulated bridge
- patch 4 is taken from the MSI patches we dropped from batch 2, but since
  it only clears MSIs and adds a useful macro, and makes no changes that
  depend on the API change request by Marc, I think we can add it now
  (especially since patch 5 uses this new macro)
- patches 5-7 make driver unbind work better

Marek

Pali Rohár (7):
  PCI: pci-bridge-emul: Add description for class_revision field
  PCI: pci-bridge-emul: Add definitions for missing capabilities
    registers
  PCI: aardvark: Add support for DEVCAP2, DEVCTL2, LNKCAP2 and LNKCTL2
    registers on emulated bridge
  PCI: aardvark: Clear all MSIs at setup
  PCI: aardvark: Disable bus mastering and mask all interrupts when
    unbinding driver
  PCI: aardvark: Free config space for emulated root bridge when
    unbinding driver to fix memory leak
  PCI: aardvark: Reset PCIe card and disable PHY at driver unbind

 drivers/pci/controller/pci-aardvark.c | 65 ++++++++++++++++++++++++---
 drivers/pci/pci-bridge-emul.c         | 45 ++++++++++++++++++-
 2 files changed, 103 insertions(+), 7 deletions(-)