mbox series

[v3,0/5] PCI: dwc: Support remove

Message ID 20190318174415.74fd25a5@xhacker.debian (mailing list archive)
Headers show
Series PCI: dwc: Support remove | expand

Message

Jisheng Zhang March 18, 2019, 9:53 a.m. UTC
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 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 | 59 ++++++++++---------
 drivers/pci/controller/dwc/pcie-designware.h  |  2 +
 2 files changed, 34 insertions(+), 27 deletions(-)

Comments

Jisheng Zhang March 18, 2019, 10 a.m. UTC | #1
On Mon, 18 Mar 2019 17:47:49 +0800 Jisheng Zhang wrote:

> If we ever did some msi related initializations, we need to call
> dw_pcie_free_msi() in the error code path.

Sorry, "PATCH" is missing in the email title, please ignore this one