1 From fc6be080960bdd4cd109a7595fbffe94e5047bc4 Mon Sep 17 00:00:00 2001 2 From: Marek Behún <kabel@kernel.org> 3 Date: Sun, 31 Oct 2021 14:50:00 +0100 4 Subject: [PATCH 0/7] PCI: aardvark controller fixes BATCH 3 5 MIME-Version: 1.0 6 Content-Type: text/plain; charset=UTF-8 7 Content-Transfer-Encoding: 8bit 8 9 Dear Lorenzo, 10 11 since we have dropped some patches from the second batch, I have another 12 7 patches that we can hopefully apply in this cycle. 13 14 Description: 15 - patch 1 just adds a small explanation to pci-bridge-emul, no functional 16 change 17 - patches 2 and 3 add support for some more registers on emulated bridge 18 - patch 4 is taken from the MSI patches we dropped from batch 2, but since 19 it only clears MSIs and adds a useful macro, and makes no changes that 20 depend on the API change request by Marc, I think we can add it now 21 (especially since patch 5 uses this new macro) 22 - patches 5-7 make driver unbind work better 23 24 Marek 25 26 Pali Rohár (7): 27 PCI: pci-bridge-emul: Add description for class_revision field 28 PCI: pci-bridge-emul: Add definitions for missing capabilities 29 registers 30 PCI: aardvark: Add support for DEVCAP2, DEVCTL2, LNKCAP2 and LNKCTL2 31 registers on emulated bridge 32 PCI: aardvark: Clear all MSIs at setup 33 PCI: aardvark: Disable bus mastering and mask all interrupts when 34 unbinding driver 35 PCI: aardvark: Free config space for emulated root bridge when 36 unbinding driver to fix memory leak 37 PCI: aardvark: Reset PCIe card and disable PHY at driver unbind 38 39 drivers/pci/controller/pci-aardvark.c | 65 ++++++++++++++++++++++++--- 40 drivers/pci/pci-bridge-emul.c | 45 ++++++++++++++++++- 41 2 files changed, 103 insertions(+), 7 deletions(-) 42 43 -- 44 2.32.0 45