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: Re[Xen-devel] ceiving NMI, when writing on mmaped PCI

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: Re[Xen-devel] ceiving NMI, when writing on mmaped PCI
From: Guillaume Robin <robingu@xxxxxxxxxxxxxxx>
Date: Tue, 10 Mar 2009 09:32:35 -0700 (PDT)
Delivery-date: Tue, 10 Mar 2009 09:33:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <22352457.post@xxxxxxxxxxxxxxx>
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: <22352457.post@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

This problem comes from initialization of NI cards:
 they write BAR1 physical address inside the BAR0 , but in our case this
address is a virtual one
so then, card try to write inside this unknown address witch lead to a NMI
or host freeze/reboot.

I see 2 solutions : 
- be able to force a virtual address for a PCI card attached to a HVM
(inside the HVM) 
eg : 
today I have 0xF3001000(VM) mapped to 0xF0200000(phys) best would be to
force VM PCI card address to 0xF0200000
Is it necessary to have a VM PCI address different from real physical
address for Xen and VT-D to work ?

- Be able to "catch" writing on specifics register (like the one needed by
NI to configure this card) and replace data with the real physical address
(witch is suposed to be the data) ?

Could anyone tell me which one of these solutions (or both) can be done?

Thank you.

-- 
View this message in context: 
http://www.nabble.com/Receiving-NMI%2C-when-writing-on-mmaped-PCI-tp22352457p22438199.html
Sent from the Xen - Dev mailing list archive at Nabble.com.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>