WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Secondary bus reset for VT-d device

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device
From: "Neo Jia" <neojia@xxxxxxxxx>
Date: Thu, 28 Aug 2008 23:09:52 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Thu, 28 Aug 2008 23:10:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MnmH6O1iVC2FYaOsgRGzmGoE8WUFokQHWRcqHhEiE/8=; b=xvuFJ3aQ264trYS4c3xukxbsnqTPbY3R5G7YhBStqWMbsSxH9RKkzTgy30Dt1dOW+P ymcLeOGz2jCWtFnXBtShgXivLDEqjhFC0Lu7dINKZO21mdnJnMiRDuxTCOlNEVYoK1ja A5vls0+MJjOw6rEMioAOJ/Mg/Vg8N8i1d6cVk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Jd1j2sGiFAcVpLpITukmszkHu5jBqDBji2tCg6HB080aguFPz3JT/DuqdR9iX6JG+x 3HNGL5l596fpV5k27ji8K0xZHtQooGgVk/jafs8p5L9jpHkaKuxG8oxoZ5tBQ8Rn3YQF KjVhxDvTzCttjkFmUdJdFS/ltQXaws2GOPOFA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5d649bdb0808282238h4e7deaf0le82ce355529a81ea@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5d649bdb0808282133p2a013669w63ccb399b32a8ec1@xxxxxxxxxxxxxx> <FE7BBCFBB500984A9A7922EBC95F516E019EF3A0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <5d649bdb0808282144u59f75ba6r57eb8b13621c942e@xxxxxxxxxxxxxx> <FE7BBCFBB500984A9A7922EBC95F516E019EF3D3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <5d649bdb0808282215k2bdd7924i1de0379d2f48cef1@xxxxxxxxxxxxxx> <FE7BBCFBB500984A9A7922EBC95F516E019EF3E5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <5d649bdb0808282238h4e7deaf0le82ce355529a81ea@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
So, Xen will call the function "do_secondary_bus_reset" in pci.py
automatically after it detects reboot/shutdown/crashes, right?

Thanks,
Neo

2008/8/28 Neo Jia <neojia@xxxxxxxxx>:
> Just want to get some flexibility for testing.
>
> If Xen do it automatically, is there any log for this?
>
> Thanks,
> Neo
>
> 2008/8/28 Cui, Dexuan <dexuan.cui@xxxxxxxxx>:
>> I think we should not trigger it manually. What's the purpose?
>> If you use setpci to do SecondaryBusReset directly, all the devices behind 
>> the bridge are reset suddenly while xend/Dom0/Xen don't know that...
>> We don't check if "the host BARs are enabled" or not.
>>
>> -- Dexuan
>>
>>
>> -----Original Message-----
>> From: Neo Jia [mailto:neojia@xxxxxxxxx]
>> Sent: 2008年8月29日 13:16
>> To: Cui, Dexuan
>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Han, Weidong
>> Subject: Re: [Xen-devel] Secondary bus reset for VT-d device
>>
>> Can I trigger it manually? What happens if I just use setpci to do a
>> "secondary bus reset"? Will Xen be able to check if the host BARs are
>> enabled for the device before putting it into the guest?
>>
>> Thanks,
>> Neo
>>
>
>
>
> --
> I would remember that if researchers were not ambitious
> probably today we haven't the technology we are using!
>



-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel