RE: [PATCH 4/6 v3] PCI: support SR-IOV capability

From: Zhao, Yu
Date: Tue Oct 07 2008 - 22:50:20 EST


On Wednesday, October 01, 2008 6:40 AM, Roland Dreier wrote:
> > + ctrl = pci_ari_enabled(dev) ? PCI_IOV_CTRL_ARI : 0;
> > + pci_write_config_word(dev, pos + PCI_IOV_CTRL, ctrl);
> > + ssleep(1);
>
>You seem to sleep for 1 second wherever you write the IOV_CTRL
>register. Why is this? Is this specified by PCI, or is it coming from
>somewhere else?

This is specified by on pp. 39 PCI SR-IOV specification 1.0. You can find it at: http://www.pcisig.com/members/downloads/specifications/iov/sr-iov1.0_11Sep07.pdf

Thanks.

>
> - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/