From: Paolo Bonzini <pbonzini@redhat.com>
To: Nadav Amit <namit@cs.technion.ac.il>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: x86: Remove debug assertion of non-PAE reserved bits
Date: Tue, 23 Sep 2014 10:02:50 +0200 [thread overview]
Message-ID: <5421292A.2060609@redhat.com> (raw)
In-Reply-To: <1411455717-3773-1-git-send-email-namit@cs.technion.ac.il>
Il 23/09/2014 09:01, Nadav Amit ha scritto:
> Commit 346874c9507a ("KVM: x86: Fix CR3 reserved bits") removed non-PAE
> reserved bits which were not according to Intel SDM. However, residue was left
> in a debug assertion (CR3_NONPAE_RESERVED_BITS). Remove it.
>
> Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
> ---
> arch/x86/kvm/paging_tmpl.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
> index 0ab6c65..806d58e 100644
> --- a/arch/x86/kvm/paging_tmpl.h
> +++ b/arch/x86/kvm/paging_tmpl.h
> @@ -298,8 +298,7 @@ retry_walk:
> }
> #endif
> walker->max_level = walker->level;
> - ASSERT((!is_long_mode(vcpu) && is_pae(vcpu)) ||
> - (mmu->get_cr3(vcpu) & CR3_NONPAE_RESERVED_BITS) == 0);
> + ASSERT(!is_long_mode(vcpu) && is_pae(vcpu));
>
> accessed_dirty = PT_GUEST_ACCESSED_MASK;
> pt_access = pte_access = ACC_ALL;
>
Thanks, applied.
Paolo
prev parent reply other threads:[~2014-09-23 8:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 7:01 [PATCH] KVM: x86: Remove debug assertion of non-PAE reserved bits Nadav Amit
2014-09-23 8:02 ` Paolo Bonzini [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=5421292A.2060609@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=namit@cs.technion.ac.il \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox