xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: "Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
	Keir Fraser <keir.xen@gmail.com>,
	"stefano.stabellini@eu.citrix.com"
	<stefano.stabellini@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: HYBRID: memory mapped IO
Date: Tue, 14 Feb 2012 18:53:14 -0800	[thread overview]
Message-ID: <20120214185314.5546a24e@mantra.us.oracle.com> (raw)

Hi Guys,

ich_force_enable_hpet() in linux wants to do mmio. It calls ioremap_pte_range
to map phys addr to a VA. Xen then updates the PV dom0's L1 with
requested io attributes. I'm trying to figure how to do this for PV in
HVM container. I was hoping to update the EPT directly.

I was thinking of just doing guest_physmap_add_entry() but the mfn is not
going to be valid. Is there any other code path that will let me do this?

Another possiblity would be handle_mmio(). 

thanks,
Mukesh

             reply	other threads:[~2012-02-15  2:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15  2:53 Mukesh Rathor [this message]
2012-02-15 11:49 ` HYBRID: memory mapped IO Stefano Stabellini
2012-02-15 20:11   ` Mukesh Rathor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120214185314.5546a24e@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=keir.xen@gmail.com \
    --cc=stefano.stabellini@eu.citrix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).