Re: [PATCH 0/3] PCI: Unify TLP type definitions across controller drivers
From: Manivannan Sadhasivam
Date: Tue Jun 09 2026 - 10:05:39 EST
On Sat, 16 May 2026 23:36:54 +0800, Hans Zhang wrote:
> This series replaces scattered hardcoded values and private macros for
> PCIe TLP type fields with a single set of common definitions in pci.h.
>
> Background:
> PCIe Transaction Layer Packets (TLPs) have a Type field (bits 4:0 of
> byte 0) that identifies the request type. Different controller drivers
> (dwc, cadence, aspeed, mediatek) currently use either magic numbers or
> their own macro names for these values, hurting code readability and
> maintainability.
>
> [...]
Applied, thanks!
[1/3] PCI: Add common TLP type macros and convert aspeed/mediatek
commit: 286db45fb7ef5fe950a60a47c963156d6ece356f
[2/3] PCI: dwc: Replace ATU type macros with common TLP type macros
commit: 3136184508d2889a11092dbaa097ed6580bc4214
[3/3] PCI: cadence: Use common TLP type macros
commit: 52015335e5db7e9b0d62d1ee1178de1b601ac7ba
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>