[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] arm: dump a page table walk when va_to_par fails.


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Tue, 26 Jun 2012 22:33:16 +0000
  • Delivery-date: Tue, 26 Jun 2012 22:33:21 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1340724236 -3600
# Node ID a6bc79e839e4609fdfefa934a4a440ddb05d56ce
# Parent  2f88d9264d47f3bace8b8091fdc6a489c6279616
arm: dump a page table walk when va_to_par fails.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 2f88d9264d47 -r a6bc79e839e4 xen/include/asm-arm/page.h
--- a/xen/include/asm-arm/page.h        Tue Jun 26 16:23:55 2012 +0100
+++ b/xen/include/asm-arm/page.h        Tue Jun 26 16:23:56 2012 +0100
@@ -294,7 +294,11 @@ static inline uint64_t va_to_par(uint32_
 {
     uint64_t par = __va_to_par(va);
     /* It is not OK to call this with an invalid VA */
-    if ( par & PAR_F ) panic_PAR(par, "Hypervisor");
+    if ( par & PAR_F )
+    {
+        dump_hyp_walk(va);
+        panic_PAR(par, "Hypervisor");
+    }
     return par;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.