All of lore.kernel.org
 help / color / mirror / Atom feed
From: "James Harper" <james.harper@bendigoit.com.au>
To: xen-devel@lists.xensource.com
Cc: Tim Deegan <Tim.Deegan@citrix.com>
Subject: AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre
Date: Wed, 26 Jan 2011 17:18:50 +1100	[thread overview]
Message-ID: <AEC6C66638C05B468B556EA548C1A77D01BB928D@trantor> (raw)

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

             reply	other threads:[~2011-01-26  6:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26  6:18 James Harper [this message]
2011-01-27  2:31 ` AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre James Harper
2011-01-27  3:49   ` AMD crash on restore. bug in MTRR restore.4.0.2-rc2-pre James Harper
2011-01-27  8:51     ` Jan Beulich
2011-01-29  6:39     ` Wei Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AEC6C66638C05B468B556EA548C1A77D01BB928D@trantor \
    --to=james.harper@bendigoit.com.au \
    --cc=Tim.Deegan@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.