Re: [PATCH] PCI: Fix PCI bridges not to go to D3Hot on older RISC systems

From: René Rebe

Date: Sat Dec 06 2025 - 05:14:17 EST


Hi,

> On 6. Dec 2025, at 02:07, Maciej W. Rozycki <macro@xxxxxxxxxxx> wrote:
>
> On Tue, 2 Dec 2025, René Rebe wrote:
>
>>> Is there actually a justification to restrict the use of D3 to ARM64,
>>> PPC64 and RISCV? What about MIPS, LoongArch or s390x?
>>
>> Because the ones I picked are more modern, and thus more likely to
>> work. MIPS is very old. [...]
>
> How old is "very old?"
>
> Granted, the newest MIPS CPU/system controller (aka host bridge) I own is
> from 2013 and conventional PCI only, but that is just because the core was
> synthesised for interfacing a conventional PCI base board I have the core
> card plugged into. Is it very old already or just somewhat old?
>
> Chips continue being manufactured to date and I'm not sure as to new core
> designs, but those went through to at least 2018 and I'd expect some were
> combined with PCIe system controller IP.
>
> So this seems like something that needs to be keyed off perhaps the
> capabilities of the system controller/host bridge? If you give me a shell
> recipe to trigger the issue you came across, then I can see what happens
> with some of my MIPS systems. I've got a bunch of options with PCI-PCIe
> reverse bridges and PCIe switches I could try.

Just booting a kernel with or since a5fb3ff63287 ("PCI: Allow PCI bridges to go
to D3Hot on all non-x86”) should be enough. The systems that fail for me do
so instantly booting, usually earlier than later. e.g. when a storage, network or
system controller driver initializes.

Best,
René

--
https://exactco.dehttps://t2linux.comhttps://patreon.com/renerebe