Home
last modified time | relevance | path

Searched refs:osvw_len (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/cpu/
Damd.c1033 u64 osvw_len; in cpu_has_amd_erratum() local
1035 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); in cpu_has_amd_erratum()
1036 if (osvw_id < osvw_len) { in cpu_has_amd_erratum()
/arch/x86/kvm/
Dsvm.c130 static uint64_t osvw_len = 4, osvw_status; variable
615 vcpu->arch.osvw.length = (osvw_len >= 3) ? (osvw_len) : 3; in svm_init_osvw()
626 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) in svm_init_osvw()
713 osvw_status = osvw_len = 0; in svm_hardware_enable()
715 if (len < osvw_len) in svm_hardware_enable()
716 osvw_len = len; in svm_hardware_enable()
718 osvw_status &= (1ULL << osvw_len) - 1; in svm_hardware_enable()
721 osvw_status = osvw_len = 0; in svm_hardware_enable()