Re: [PATCH] PCI: Add quirk for ASPEED AST1150 bridge to prevent false RID aliasing

From: Jason Gunthorpe
Date: Wed Dec 17 2025 - 12:16:01 EST


On Wed, Dec 17, 2025 at 05:32:32AM -0800, Nirmoy Das wrote:
> ASPEED BMC controllers have VGA and USB functions behind a PCIe-to-PCI
> bridge that causes them to share the same stream ID:
>
> [e0]---00.0-[e1-e2]----00.0-[e2]--+-00.0 ASPEED Graphics Family
> \-02.0 ASPEED USB Controller
>
> Both devices get stream ID 0x5e200 due to bridge aliasing, causing the
> USB controller to be rejected with 'Aliasing StreamID unsupported'.
>
> Per ASPEED, the AST1150 operates in PCI mode where downstream devices
> generate their own distinct Requester IDs. Set
> PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT to stop false alias detection.

This isn't right

Per ASPEED the AST1150 always uses the RID of the downstream and never
replaces it with any other RID. There is no real PCI bus inside the
integrated device.

> Signed-off-by: Nirmoy Das <nirmoyd@xxxxxxxxxx>
> ---
> drivers/pci/quirks.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)

No, please add a new quirk. A downstream PCI device is never the root
of translation.

Jason