[PATCH 0/2] PCI: Consolidate PCIe message routing definitions and remove driver-specific duplicates
Hans Zhang
18255117159 at 163.com
Sat Jun 7 08:49:11 PDT 2025
This series consolidates PCIe message routing definitions into the common
PCI core header, eliminating redundant enums in the Cadence and Rockchip
drivers. By using standardized macros (PCIE_MSG_TYPE_R_* and
PCIE_MSG_CODE_*) from drivers/pci/pci.h, we ensure alignment with the PCIe
r6.0 specification, reduce code duplication, and improve maintainability
across the PCI subsystem.
Hans Zhang (2):
PCI: cadence: Replace private message routing enums with PCI core
definitions
PCI: rockchip: Remove redundant PCIe message routing definitions
.../pci/controller/cadence/pcie-cadence-ep.c | 2 +-
drivers/pci/controller/cadence/pcie-cadence.h | 20 -------------------
drivers/pci/controller/pcie-rockchip.h | 14 -------------
3 files changed, 1 insertion(+), 35 deletions(-)
base-commit: ec7714e4947909190ffb3041a03311a975350fe0
--
2.25.1
More information about the Linux-rockchip
mailing list