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


Groups > linux.kernel > #1719249

Re: [PATCH v3 4/5] KVM: MMU: Add 5 level EPT & Shadow page table support.

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 4/5] KVM: MMU: Add 5 level EPT & Shadow page table support.
Date 2017-08-24 15:50 +0200
Message-ID <ui0Ge-7fv-9@gated-at.bofh.it> (permalink)
References <uhZTP-6H8-5@gated-at.bofh.it> <uhZTQ-6H8-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 24/08/2017 14:27, Yu Zhang wrote:
>  	/* Update physical-address width */
>  	vcpu->arch.maxphyaddr = cpuid_query_maxphyaddr(vcpu);
>  
> +#ifdef CONFIG_X86_64
> +	if (vcpu->arch.maxphyaddr > 48)
> +		kvm_mmu_reset_context(vcpu);
> +#endif

I think CONFIG_X86_64 is not necessary to have maxphyaddr>48?

Paolo

>  	kvm_pmu_refresh(vcpu);
>  	return 0;
>  }

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


Thread

[PATCH v3 0/5] KVM: MMU: 5 level EPT/shadow support Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 15:00 +0200
  [PATCH v3 4/5] KVM: MMU: Add 5 level EPT & Shadow page table support. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 15:00 +0200
    Re: [PATCH v3 4/5] KVM: MMU: Add 5 level EPT & Shadow page table  support. Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 15:50 +0200
  [PATCH v3 1/5] KVM: x86: Add return value to kvm_cpuid(). Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 15:00 +0200
  [PATCH v3 5/5] KVM: MMU: Expose the LA57 feature to VM. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 15:00 +0200
  [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on its physical address width. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 15:00 +0200
    Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 15:50 +0200
      Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 17:50 +0200
        Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 18:00 +0200
          Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 18:10 +0200
            Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 18:30 +0200
              Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Yu Zhang <yu.c.zhang@linux.intel.com> - 2017-08-24 18:50 +0200
                Re: [PATCH v3 2/5] KVM: MMU: check guest CR3 reserved bits based on  its physical address width. Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 19:00 +0200
  Re: [PATCH v3 0/5] KVM: MMU: 5 level EPT/shadow support Paolo Bonzini <pbonzini@redhat.com> - 2017-08-24 15:50 +0200

csiph-web