From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [PATCH 4/6 v3] PCI: support SR-IOV capability Date: Tue, 30 Sep 2008 15:40:15 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "linux-pci\@vger.kernel.org" , Jesse Barnes , Randy Dunlap , Grant Grundler , Alex Chiang , Matthew Wilcox , Greg KH , "linux-kernel\@vger.kernel.org" , "kvm\@vger.kernel.org" , "virtualization\@lists.linux-foundation.org" To: "Zhao\, Yu" Return-path: Received: from sj-iport-6.cisco.com ([171.71.176.117]:42141 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753368AbYI3WkS (ORCPT ); Tue, 30 Sep 2008 18:40:18 -0400 In-Reply-To: (Yu Zhao's message of "Sat, 27 Sep 2008 16:28:15 +0800") Sender: kvm-owner@vger.kernel.org List-ID: > + 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? - R.