Re: [PATCH] pci/doe: add a 1 second retry window to pci_doe

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

 



[ add linux-pci and Lukas ]

Gregory Price wrote:
> Depending on the device, sometimes firmware clears the busy flag
> later than expected.  This can cause the device to appear busy when
> calling multiple commands in quick sucession. Add a 1 second retry
> window to all doe commands that end with -EBUSY.

I would have expected this to be handled as part of finishing off
pci_doe_recv_resp() not retrying on a new submission.

It also occurs to me that instead of warning "another entity is sending conflicting
requests" message, the doe core should just ensure that it is the only
agent using the mailbox. Something like hold the PCI config lock over
DOE transactions. Then it will remove ambiguity of "conflicting agent"
vs "device is slow to clear BUSY".




[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