login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
18
Re: [PATCH v2] KVM MMU: check reserved bits only when CR4.PSE=1 or CR4.PAE=1
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Marcelo Tosatti
Subject:
Re: [PATCH v2] KVM MMU: check reserved bits only when CR4.PSE=1 or CR4.PAE=1
Date: Wednesday, March 17, 2010 - 7:49 pm
On Wed, Mar 17, 2010 at 11:43:06AM +0800, Xiao Guangrong wrote:
quoted text
> - The RSV bit is possibility set in error code when #PF occurred > only if CR4.PSE=1 or CR4.PAE=1 > > - context->rsvd_bits_mask[1][0] is always 0 > > Changlog: > Move this operation to reset_rsvds_bits_mask() address Avi Kivity's suggestion > > Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> > --- > arch/x86/kvm/mmu.c | 12 +++++++++--- > 1 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c > index b137515..c49f8ec 100644 > --- a/arch/x86/kvm/mmu.c > +++ b/arch/x86/kvm/mmu.c > @@ -2288,18 +2288,26 @@ static void reset_rsvds_bits_mask(struct kvm_vcpu *vcpu, int level) > > if (!is_nx(vcpu)) > exb_bit_rsvd = rsvd_bits(63, 63); > + > + context->rsvd_bits_mask[1][0] = 0;
So if the guest enables PAT at PTE level you completly disable reserved bit checking? You should only disable checking for [1][1] if !PSE. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v2] KVM MMU: check reserved bits only when CR4.PSE= ...
, Xiao Guangrong
, (Tue Mar 16, 8:43 pm)
Re: [PATCH v2] KVM MMU: check reserved bits only when CR4. ...
, Marcelo Tosatti
, (Wed Mar 17, 7:49 pm)
Re: [PATCH v2] KVM MMU: check reserved bits only when CR4. ...
, Xiao Guangrong
, (Thu Mar 18, 4:30 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Frederic Weisbecker
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
git
:
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Eli Zaretskii
Re: Switching from CVS to GIT
Matthieu Moy
Re: git pull (Your local changes to ... would be overwritten by merge)
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
openbsd-misc
:
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
ropers
Re: Real men don't attack straw men
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate