|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Don't panic for (rare) dom0 physaddr with uncacheable at
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 7fd6dff1631d662c53b7a11c55ef7b07ac50e156
# Parent 8ddc812626b24eb327613b61e5251181eb93b98f
Don't panic for (rare) dom0 physaddr with uncacheable attribute
diff -r 8ddc812626b2 -r 7fd6dff1631d xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c Wed Nov 9 18:59:28 2005
+++ b/xen/arch/ia64/xen/vcpu.c Wed Nov 9 20:11:31 2005
@@ -1296,9 +1296,12 @@
TR_ENTRY *trp;
if (PSCB(vcpu,metaphysical_mode)) {
- if (address >> 61) // FIXME: need more precise check here
+ unsigned long region = address >> 61;
+ // dom0 may generate an uncacheable physical address (msb=1)
+ if (region && ((region != 4) || (vcpu->domain != dom0))) {
panic_domain(vcpu_regs(vcpu),
- "vcpu_translate: bad physical address\n");
+ "vcpu_translate: bad physical address: %p\n",address);
+ }
*pteval = (address & _PAGE_PPN_MASK) | __DIRTY_BITS |
_PAGE_PL_2 | _PAGE_AR_RWX;
*itir = PAGE_SHIFT << 2;
phys_translate_count++;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Don't panic for (rare) dom0 physaddr with uncacheable attribute,
Xen patchbot -unstable <=
|
|
|
|
|