PCI: dwc: Another round of clean-ups
Status from this message: Applied to pci/dwc, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest16 patches 3 repliesApplied
- v113 patches 10 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | PCI: dwc: Support multiple ATU memory regionsdrivers/ drivers/ | +34 | 0 replies | |
| 2/16 | PCI: dwc/intel-gw: Move ATU offset out of driver match datadrivers/ | +7 | 0 replies | |
| 3/16 | PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common codedrivers/ drivers/ drivers/ +12 more | +47 | 0 replies | |
| 4/16 | PCI: dwc/intel-gw: Remove some unneeded function wrappersdrivers/ | +16 | 0 replies | |
| 5/16 | PCI: dwc: Ensure all outbound ATU windows are resetdrivers/ drivers/ | +5 | 0 replies | |
| 6/16 | PCI: dwc/dra7xx: Use the common MSI irq_chipdrivers/ | +0 | 0 replies | |
| 7/16 | PCI: dwc: Drop the .set_num_vectors() host opdrivers/ drivers/ drivers/ +1 more | +6 | 0 replies | |
| 8/16 | PCI: dwc: Move MSI interrupt setup into DWC common codedrivers/ drivers/ drivers/ +10 more | +14 | 0 replies | |
| 9/16 | PCI: dwc: Rework MSI initializationdrivers/ drivers/ drivers/ +2 more | +13 | 1 reply | |
| 10/16 | PCI: dwc: Move link handling into common codedrivers/ drivers/ drivers/ +12 more | +103 | 0 replies | |
| 11/16 | PCI: dwc: Move dw_pcie_msi_init() into coredrivers/ drivers/ drivers/ +11 more | +6 | 0 replies | |
| 12/16 | PCI: dwc: Move dw_pcie_setup_rc() to DWC common codedrivers/ drivers/ drivers/ +12 more | +1 | 0 replies | |
| 13/16 | PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init()drivers/ drivers/ drivers/ +5 more | +17 | 0 replies | |
| 14/16 | Revert "PCI: dwc/keystone: Drop duplicated 'num-viewport'"drivers/ | +10 | 0 replies | |
| 15/16 | PCI: dwc: Move inbound and outbound windows to common structdrivers/ drivers/ | +15 | 0 replies | |
| 16/16 | PCI: dwc: Detect number of iATU windowsdrivers/ drivers/ drivers/ +3 more | +93 | 0 replies |
Reviews trailers per patch
9 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Vidya Sagar | Jingoo Han | Marek Szyprowski |
|---|---|---|---|
| Series | T-b | ||
| 1/16 | R-b T-b | A-b | |
| 2/16 | |||
| 3/16 | A-b | ||
| 4/16 | |||
| 5/16 | A-b | ||
| 6/16 | |||
| 7/16 | A-b | ||
| 8/16 | A-b | ||
| 9/16 | A-b | ||
| 10/16 | A-b | ||
| 11/16 | A-b | ||
| 12/16 | A-b | ||
| 13/16 | |||
| 14/16 | |||
| 15/16 | |||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 00/16] PCI: dwc: Another round of clean-ups
Here's another batch of DWC PCI host refactoring. This series primarily moves more of the MSI, link up, and resource handling to the core code. Beyond a couple of minor fixes, new in this version is runtime detection of iATU regions instead of using DT properties.
No doubt I've probably broken something. Please test. I've run this thru kernelci and checked boards with DWC PCI which currently is just Layerscape boards (hint: add boards and/or enable PCI). A git branch is here[1].
This is dependent on "PCI: dwc: Restore ATU memory resource setup to use last entry" which will be in v5.10-rc3.
Rob
[1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git pci-more-dwc-cleanup
Rob Herring (16):
PCI: dwc: Support multiple ATU memory regions
PCI: dwc/intel-gw: Move ATU offset out of driver match data
PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into
common code
PCI: dwc/intel-gw: Remove some unneeded function wrappers
PCI: dwc: Ensure all outbound ATU windows are reset
PCI: dwc/dra7xx: Use the common MSI irq_chip
PCI: dwc: Drop the .set_num_vectors() host op
PCI: dwc: Move MSI interrupt setup into DWC common code
PCI: dwc: Rework MSI initialization
PCI: dwc: Move link handling into common code
PCI: dwc: Move dw_pcie_msi_init() into core
PCI: dwc: Move dw_pcie_setup_rc() to DWC common code
PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init() Revert "PCI: dwc/keystone: Drop duplicated 'num-viewport'"
PCI: dwc: Move inbound and outbound windows to common struct
PCI: dwc: Detect number of iATU windows
drivers/pci/controller/dwc/pci-dra7xx.c | 141 +----------------- drivers/pci/controller/dwc/pci-exynos.c | 50 ++----- drivers/pci/controller/dwc/pci-imx6.c | 39 +---- drivers/pci/controller/dwc/pci-keystone.c | 79 ++-------- .../pci/controller/dwc/pci-layerscape-ep.c | 37 +---- drivers/pci/controller/dwc/pci-layerscape.c | 67 +-------- drivers/pci/controller/dwc/pci-meson.c | 53 ++----- drivers/pci/controller/dwc/pcie-al.c | 29 +--- drivers/pci/controller/dwc/pcie-armada8k.c | 37 ++--- drivers/pci/controller/dwc/pcie-artpec6.c | 76 +--------- .../pci/controller/dwc/pcie-designware-ep.c | 58 +++---- .../pci/controller/dwc/pcie-designware-host.c | 139 ++++++++++------- .../pci/controller/dwc/pcie-designware-plat.c | 70 +-------- drivers/pci/controller/dwc/pcie-designware.c | 93 +++++++++++- drivers/pci/controller/dwc/pcie-designware.h | 24 +-- drivers/pci/controller/dwc/pcie-histb.c | 37 ++--- drivers/pci/controller/dwc/pcie-intel-gw.c | 67 ++------- drivers/pci/controller/dwc/pcie-kirin.c | 62 +------- drivers/pci/controller/dwc/pcie-qcom.c | 38 +---- drivers/pci/controller/dwc/pcie-spear13xx.c | 62 +++----- drivers/pci/controller/dwc/pcie-tegra194.c | 41 +---- drivers/pci/controller/dwc/pcie-uniphier-ep.c | 38 +---- drivers/pci/controller/dwc/pcie-uniphier.c | 51 +------ 23 files changed, 356 insertions(+), 1032 deletions(-)
--
2.25.1