Re: [PATCH] pci: octeon: Remove udelay() causing huge IRQ latency

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

 



Hi!

On 18/03/15 14:11, ext Jiri Kosina wrote:
>> udelay() in PCI/PCIe read/write callbacks cause 30ms IRQ latency on Octeon
>> > platforms because these operations are called from PCI_OP_READ() and
>> > PCI_OP_WRITE() under raw_spin_lock_irqsave().
>> > 
>> > Signed-off-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>
> I have no idea about the octeon platform, but how do you deal with the 
> fact that is stated by the comment you are removing? I.e.
> 
> 	/* Some PCI cards require delays when accessing config space. */
> 
> Is that not the case any more for some reason? If not, it really needs to 
> be explained in the changelog.

This udelay() should not have made its way upstream, someone overseen it during
code review. This is simply not allowed to have delayed read/write in the current
Linux PCI subsystem. And maybe there is no place for it at all.

-- 
Best regards,
Alexander Sverdlin.





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux