* [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit @ 2012-06-07 10:26 Xudong Hao 2012-06-11 1:10 ` Hao, Xudong 2012-06-13 23:28 ` Marcelo Tosatti 0 siblings, 2 replies; 4+ messages in thread From: Xudong Hao @ 2012-06-07 10:26 UTC (permalink / raw) To: avi; +Cc: kvm, Xudong Hao, Xiantao Zhang EPT Dirty bit use bit 9 as Intel SDM definition, to avoid conflict, change PT_FIRST_AVAIL_BITS_SHIFT to 10. Signed-off-by: Xudong Hao <xudong.hao@intel.com> Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> --- arch/x86/kvm/mmu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 24dd43d..f5b996a 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -90,7 +90,7 @@ module_param(dbg, bool, 0644); #define PTE_PREFETCH_NUM 8 -#define PT_FIRST_AVAIL_BITS_SHIFT 9 +#define PT_FIRST_AVAIL_BITS_SHIFT 10 #define PT64_SECOND_AVAIL_BITS_SHIFT 52 #define PT64_LEVEL_BITS 9 -- 1.5.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit 2012-06-07 10:26 [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit Xudong Hao @ 2012-06-11 1:10 ` Hao, Xudong 2012-06-12 13:36 ` Hao, Xudong 2012-06-13 23:28 ` Marcelo Tosatti 1 sibling, 1 reply; 4+ messages in thread From: Hao, Xudong @ 2012-06-11 1:10 UTC (permalink / raw) To: avi@redhat.com; +Cc: kvm@vger.kernel.org, Zhang, Xiantao Hi, Avi Do you have comments for this patch? Thanks, -Xudong > -----Original Message----- > From: Hao, Xudong > Sent: Thursday, June 07, 2012 6:26 PM > To: avi@redhat.com > Cc: kvm@vger.kernel.org; Hao, Xudong; Zhang, Xiantao > Subject: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict > with EPT Dirty bit > > EPT Dirty bit use bit 9 as Intel SDM definition, to avoid conflict, change > PT_FIRST_AVAIL_BITS_SHIFT to 10. > > Signed-off-by: Xudong Hao <xudong.hao@intel.com> > Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> > > --- > arch/x86/kvm/mmu.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c > index 24dd43d..f5b996a 100644 > --- a/arch/x86/kvm/mmu.c > +++ b/arch/x86/kvm/mmu.c > @@ -90,7 +90,7 @@ module_param(dbg, bool, 0644); > > #define PTE_PREFETCH_NUM 8 > > -#define PT_FIRST_AVAIL_BITS_SHIFT 9 > +#define PT_FIRST_AVAIL_BITS_SHIFT 10 > #define PT64_SECOND_AVAIL_BITS_SHIFT 52 > > #define PT64_LEVEL_BITS 9 > -- > 1.5.5 ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit 2012-06-11 1:10 ` Hao, Xudong @ 2012-06-12 13:36 ` Hao, Xudong 0 siblings, 0 replies; 4+ messages in thread From: Hao, Xudong @ 2012-06-12 13:36 UTC (permalink / raw) To: avi@redhat.com; +Cc: kvm@vger.kernel.org, Zhang, Xiantao Hi, Avi What's your opinion of this patch? Thanks, -Xudong > -----Original Message----- > From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On > Behalf Of Hao, Xudong > Sent: Monday, June 11, 2012 9:10 AM > To: avi@redhat.com > Cc: kvm@vger.kernel.org; Zhang, Xiantao > Subject: RE: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid > conflict with EPT Dirty bit > > Hi, Avi > > Do you have comments for this patch? > > Thanks, > -Xudong > > > -----Original Message----- > > From: Hao, Xudong > > Sent: Thursday, June 07, 2012 6:26 PM > > To: avi@redhat.com > > Cc: kvm@vger.kernel.org; Hao, Xudong; Zhang, Xiantao > > Subject: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict > > with EPT Dirty bit > > > > EPT Dirty bit use bit 9 as Intel SDM definition, to avoid conflict, change > > PT_FIRST_AVAIL_BITS_SHIFT to 10. > > > > Signed-off-by: Xudong Hao <xudong.hao@intel.com> > > Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> > > > > --- > > arch/x86/kvm/mmu.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c > > index 24dd43d..f5b996a 100644 > > --- a/arch/x86/kvm/mmu.c > > +++ b/arch/x86/kvm/mmu.c > > @@ -90,7 +90,7 @@ module_param(dbg, bool, 0644); > > > > #define PTE_PREFETCH_NUM 8 > > > > -#define PT_FIRST_AVAIL_BITS_SHIFT 9 > > +#define PT_FIRST_AVAIL_BITS_SHIFT 10 > > #define PT64_SECOND_AVAIL_BITS_SHIFT 52 > > > > #define PT64_LEVEL_BITS 9 > > -- > > 1.5.5 > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit 2012-06-07 10:26 [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit Xudong Hao 2012-06-11 1:10 ` Hao, Xudong @ 2012-06-13 23:28 ` Marcelo Tosatti 1 sibling, 0 replies; 4+ messages in thread From: Marcelo Tosatti @ 2012-06-13 23:28 UTC (permalink / raw) To: Xudong Hao; +Cc: avi, kvm, Xiantao Zhang On Thu, Jun 07, 2012 at 06:26:07PM +0800, Xudong Hao wrote: > EPT Dirty bit use bit 9 as Intel SDM definition, to avoid conflict, change > PT_FIRST_AVAIL_BITS_SHIFT to 10. > > Signed-off-by: Xudong Hao <xudong.hao@intel.com> > Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Applied, thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-06-13 23:29 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-06-07 10:26 [PATCH] KVM: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT Dirty bit Xudong Hao 2012-06-11 1:10 ` Hao, Xudong 2012-06-12 13:36 ` Hao, Xudong 2012-06-13 23:28 ` Marcelo Tosatti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox