Re: [PATCH v2] PCI: qcom: Block accesses to downstream devices on link down
From: Konrad Dybcio
Date: Tue Sep 01 2026 - 08:50:07 EST
On 9/1/26 2:35 PM, Manivannan Sadhasivam wrote:
>
> On Wed, 19 Aug 2026 23:36:54 -0700, Qiang Yu wrote:
>> After a PCIe link goes down, software may still access the BAR (MMIO)
>> space or configuration space of devices behind that link before recovery
>> has run. As the link is down, these accesses never complete, resulting in
>> a storm of Completion Timeout AERs.
>>
>> Use the controller's ECAM blocker to drop these accesses to the PCIe
>> address space as soon as the link-down interrupt fires, so that Completion
>> Timeout AERs are reduced. The blocked range covers the entire address
>> space (base 0x0, all-ones limit), since the Root Port's own DBI/iATU
>> register space remains accessible regardless.
>>
>> [...]
>
> Applied, thanks!
>
> [1/1] PCI: qcom: Block accesses to downstream devices on link down
> commit: 86624b718f94517b26f96c1d7beb7632e5562afd
Could this be a fix for
https://lore.kernel.org/linux-arm-msm/b461c125-947b-4e06-b502-abb354e0cba6@xxxxxxxxxxxxxxxx/
?
(+Xilin)
Konrad