All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: avi@redhat.com, kvm@vger.kernel.org, martignlo@gmail.com
Subject: Re: [PATCH] fix checking of cr0 validity
Date: Sat, 23 Jan 2010 16:47:46 -0200	[thread overview]
Message-ID: <20100123184744.GB24943@amt.cnet> (raw)
In-Reply-To: <20100121132846.GB17813@redhat.com>

On Thu, Jan 21, 2010 at 03:28:46PM +0200, Gleb Natapov wrote:
> Move to/from Control Registers chapter of Intel SDM says.  "Reserved bits
> in CR0 remain clear after any load of those registers; attempts to set
> them have no impact". Control Register chapter says "Bits 63:32 of CR0 are
> reserved and must be written with zeros. Writing a nonzero value to any
> of the upper 32 bits results in a general-protection exception, #GP(0)."
> 
> This patch tries to implement this twisted logic.
> 
> Signed-off-by: Gleb Natapov <gleb@redhat.com>
> Reported-by: Lorenzo Martignoni <martignlo@gmail.com>

Applied, thanks. Changed "lu" to "UL".

Please use standard "KVM: .." subject lines.


      reply	other threads:[~2010-01-23 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 13:28 [PATCH] fix checking of cr0 validity Gleb Natapov
2010-01-23 18:47 ` Marcelo Tosatti [this message]

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=20100123184744.GB24943@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=martignlo@gmail.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.