Re: Assistance Needed: PCIe Device BAR Reset Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 31, 2025 at 03:37:26PM +0530, Naveen Kumar P wrote:
> PCIe Device: PLDA Device 5555
[...]
> Initially, the BAR value is 0xb0400000. However, after some time, reading
> from the PCIe device's BAR memory fails and returns 0xffff

If you're reading "all ones" from config space, it means the device is
inaccessible and the host bridge is returning this fabricated value after
a timeout.

>         Kernel modules: m1801_pci

That's not a driver in the upstream kernel.

Maybe that driver allows the device to runtime suspend to D3hot,
which in turn allows its upstream bridge to also runtime suspend
to D3hot.  Then the device would be inaccessible.

> Verified power management settings:
> 
> cat /sys/module/pcie_aspm/parameters/policy
> Output: [default] performance powersave powersupersave

/sys/bus/pci/devices/0000:01:00.0/power/runtime_status
would tell you whether the device is runtime suspended.

Thanks,

Lukas




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux