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

Re: [Xen-devel] [PVH]: Help: msi.c



On Tue, 11 Dec 2012, Mukesh Rathor wrote:
> On Mon, 10 Dec 2012 09:43:34 +0000
> "Jan Beulich" <JBeulich@xxxxxxxx> wrote:
> 
> > >>> On 08.12.12 at 02:46, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
> > >>> wrote:
> > > The second is msi.c. I don't understand it very well, and need to
> > > figure what to do for PVH. Would appreciate suggestions if anyone
> > > knows.
> > 
> > Why do you think you need to do something specially for PVH here
> > in the first place? The only adjustment I would expect might be
> > needed is address translation (depending on how PVH deal with
> > MMIO addresses).
> 
> Ok, thanks. Looks like I'm missing some address translation somewhere,
> getting EPT violation from dom0. Time to read up more on msi-x and debug.

That's strange because AFAIK Linux is never editing the MSI-X entries
directly: give a look at arch/x86/pci/xen.c:xen_initdom_setup_msi_irqs,
Linux only remaps MSIs into pirqs using hypercalls.
Xen should be the only one to touch the real MSI-X table.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.