All of lore.kernel.org
 help / color / mirror / Atom feed
* direct PIO/MMIO access
@ 2013-02-15 16:31 Gábor PÉK
  2013-02-15 16:51 ` Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Gábor PÉK @ 2013-02-15 16:31 UTC (permalink / raw)
  To: xen-devel

Hi all,

I would like to access the configuration registers of my passthrough
device from my HVM guest under Xen 4.2 via MMIO/PIO directly. Is there
any option for this in the config file of the guest? I know about the
ioports=[''] option for PIO accesses, but is there any way to do the
same with MMIO BAR registers? As far as I know the permissive flag works
only for PV guests. Does the ioports option allow direct access to
config space (0xcf8-0xcfc)? According to in xen/arch/x86/trap.c it is
not allowed.

    /*
     * Port 0xcf8 (CONFIG_ADDRESS) is only visible for DWORD accesses.
     * We never permit direct access to that register.
     */

What about Dom0?

Thank you!
-gabor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-15 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 16:31 direct PIO/MMIO access Gábor PÉK
2013-02-15 16:51 ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.