Re: [PATCH 1/3] PCI: vpd handle longer delays in access (rev4)

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

 



On Thursday, December 18, 2008 9:17 am Stephen Hemminger wrote:
> Accessing the VPD area can take a long time.  The existing
> VPD access code fails consistently on my hardware. There are comments
> in the SysKonnect vendor driver that it can take up to 13ms per word.
>
> Change the access routines to:
>   * use a mutex rather than spinning with IRQ's disabled and lock held
>   * have a much longer timeout
>   * call cond_resched while spinning
>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>
> Reviewed-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>

Applied this series to my linux-next branch, thanks Stephen.  Should be 
included in my 2.6.29 pull request barring any problems.

-- 
Jesse Barnes, Intel Open Source Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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