Re: [PATCH] PCI: pciehp: clear cmd_busy bit when Command Completed in polling mode

From: Lukas Wunner
Date: Sun Nov 21 2021 - 01:35:30 EST


On Sun, Nov 21, 2021 at 09:50:38AM +0800, luanshi wrote:
> 2021/11/19 20:00, Lukas Wunner:
> > Please open a bug on bugzilla.kernel.org and attach full output
> > of lspci -vv and dmesg. Be sure to add the following to the
> > command line:
> > pciehp.pciehp_debug=1 dyndbg="file pciehp* +p"
> >
> > Once you've done that, please report the bugzilla link here
> > so that we can analyze the issue properly.

I really need you to perform the above steps in order to analyze
what's going on here.

Again, if you get such timeout messages, it's usually not caused
by a bug in the driver but by an erratum in the hardware,
i.e. the hardware neglected to signal Command Completed in response
to a Slot Control register write.

Thanks,

Lukas