xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* PVH and mtrr/PAT.........
@ 2013-11-20  2:11 Mukesh Rathor
  2013-11-20  7:22 ` Xu, Dongxiao
  2013-11-20  8:42 ` Jan Beulich
  0 siblings, 2 replies; 18+ messages in thread
From: Mukesh Rathor @ 2013-11-20  2:11 UTC (permalink / raw)
  To: Xen-devel@lists.xensource.com, Jan Beulich

After rebasing my dom0 on latest, it didn't boot. After debugging
couple days, it turned out to be :

+    if ( is_pvh_domain(d) )
+    {
+        if ( direct_mmio )
+            return MTRR_TYPE_UNCACHABLE;
+        return MTRR_TYPE_WRBACK;
+    }
+
 
I had in my patches, missing in epte_get_entry_emt() in latest.

So, since I don't know much about this, is an HVM guest setting MTRR 
range types? Looking for suggestions on best way to do this for PVH. 

I thought from EPT standpoint, either RAM or IO region, so either
MTRR_TYPE_UNCACHABLE or MTRR_TYPE_WRBACK.  In case of MSR_IA32_CR_PAT,
the guest just writes to it natively. I'm confused between PAT and
MTRRs, reading now that I can just focus on this fixme. Should I look
where guest is parsing e820 and setting MTRRs on baremetal?

thanks
Mukesh

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

end of thread, other threads:[~2013-12-03 13:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20  2:11 PVH and mtrr/PAT Mukesh Rathor
2013-11-20  7:22 ` Xu, Dongxiao
2013-11-20  8:42 ` Jan Beulich
2013-11-20 18:12   ` George Dunlap
2013-11-20 22:24     ` Mukesh Rathor
2013-11-21 15:47       ` George Dunlap
2013-11-21 23:41         ` Mukesh Rathor
2013-11-22 10:43           ` George Dunlap
2013-11-22 11:09             ` Jan Beulich
2013-11-22 12:16               ` George Dunlap
2013-11-22 12:30                 ` Jan Beulich
2013-11-22 10:29         ` Jan Beulich
2013-12-03  7:20           ` Xu, Dongxiao
2013-12-03 13:54             ` George Dunlap
2013-11-21  2:42   ` Mukesh Rathor
2013-11-21  7:50     ` konrad wilk
2013-11-21 11:40     ` Jan Beulich
2013-11-22  0:42       ` Mukesh Rathor

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).