Skip to content

PCI: dwc: Support remove

Jisheng Zhang linux-arm-kernel linux-pci lkml 4 versions – Applied

Status from this message: Applied to pci/dwc for v5.2, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 2 repliesApplied
  2. v35 patches 6 repliesSuperseded
  3. v25 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches2 repliesSuperseded

Changes in v4 from the cover letter

- add Gustavo's ACK to patch2, patch5
- remove IS_ENABLED(CONFIG_PCI_MSI) check

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5PCI: dwc: Fix dw_pcie_free_msi() if msi_irq is invaliddrivers/pci/controller/dwc/pcie-designware-host.c+4 -20 replies
2/5PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi()drivers/pci/controller/dwc/pcie-designware-host.c drivers/pci/controller/dwc/pcie-designware.h+9 -40 replies
3/5PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()drivers/pci/controller/dwc/pcie-designware-host.c+6 -30 replies
4/5PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify the codedrivers/pci/controller/dwc/pcie-designware-host.c+8 -130 replies
5/5PCI: dwc: Save root bus for driver removedrivers/pci/controller/dwc/pcie-designware-host.c drivers/pci/controller/dwc/pcie-designware.h+7 -60 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGustavo Pimentel
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] PCI: dwc: Support remove

Currently, the PCI dwc host users don't support the remove, but nothing prevent us from supporting it. To achieve this goal, we need to ensure we can do necessary clean up work.

Changes since v3:
- add Gustavo's ACK to patch2, patch5
- remove IS_ENABLED(CONFIG_PCI_MSI) check

Changes since v2:
- address all Gustavo's comments
- add Gustavo's ACK to patch1, patch3, patch4

Changes since v1:
- address Bjorn's comments, I.E Capitalize, s/irq/IRQ/, s/msi/MSI/

Jisheng Zhang (5):
PCI: dwc: Fix dw_pcie_free_msi() if msi_irq is invalid
PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi()
PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()
PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify the code
PCI: dwc: Save root bus for driver remove

 .../pci/controller/dwc/pcie-designware-host.c | 60 ++++++++++---------
 drivers/pci/controller/dwc/pcie-designware.h  |  2 +
 2 files changed, 34 insertions(+), 28 deletions(-)
Signature · 1 line
2.20.1