WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 26 Jan 2011 17:18:50 +1100
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Delivery-date: Tue, 25 Jan 2011 22:19:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acu9IOYLjzOjGfDnSTu8s3+YKu8dYQ==
Thread-topic: AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre
The mtrr save code on my AMD system reads the first MTRR as
0x00000000f0000000,0x000000fff8000800. When it tries to restore in
mtrr_var_range_msr_set, 0x000000fff8000800 is rejected as invalid and
not restored.

Commenting out the check against the mask, as well as Tim's patch to fix
the segment registers makes the output of xen-hvmctx match before the
save and after the restore.

Windows still crashes on restore though so I don't know if this has
anything to do with it.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel