Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354996

Re: [PATCH 1/2] KVM: MMU: fix ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] KVM: MMU: fix ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
Date 2016-03-10 11:50 +0100
Message-ID <rb6kh-5OL-3@gated-at.bofh.it> (permalink)
References <raojg-hv-5@gated-at.bofh.it> <raojh-hv-33@gated-at.bofh.it> <rb48O-4bb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 10/03/2016 09:27, Xiao Guangrong wrote:
> So it only hurts the box which has cpu_has_load_ia32_efer support otherwise
> NX is inherited from kernel (kernel always sets NX if CPU supports it),
> right?

Yes, but I think !cpu_has_load_ia32_efer && SMEP does not exist.  On the
other hand it's really only when disabling ept, so it's a weird corner
case that only happens during testing.

Paolo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] KVM: MMU: fix ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 Paolo Bonzini <pbonzini@redhat.com> - 2016-03-08 12:50 +0100
  [PATCH 1/2] KVM: MMU: fix ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Paolo Bonzini <pbonzini@redhat.com> - 2016-03-08 12:50 +0100
    Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 09:30 +0100
      Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 11:10 +0100
        Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 13:20 +0100
          Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 13:30 +0100
      Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 11:50 +0100
    Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-03-10 09:50 +0100
      Re: [PATCH 1/2] KVM: MMU: fix  ept=0/pte.u=0/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo Paolo Bonzini <pbonzini@redhat.com> - 2016-03-10 11:10 +0100

csiph-web