• J
    kvm/svm: PKU not currently supported · a47970ed
    John Allen 提交于
    Current SVM implementation does not have support for handling PKU. Guests
    running on a host with future AMD cpus that support the feature will read
    garbage from the PKRU register and will hit segmentation faults on boot as
    memory is getting marked as protected that should not be. Ensure that cpuid
    from SVM does not advertise the feature.
    Signed-off-by: NJohn Allen <john.allen@amd.com>
    Cc: stable@vger.kernel.org
    Fixes: 0556cbdc ("x86/pkeys: Don't check if PKRU is zero before writing it")
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    a47970ed
cpuid.c 27.7 KB