From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: HYBRID: memory mapped IO Date: Tue, 14 Feb 2012 18:53:14 -0800 Message-ID: <20120214185314.5546a24e@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-devel@lists.xensource.com" , Keir Fraser , "stefano.stabellini@eu.citrix.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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