Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kernel/cpu/
Damd.c1160 u64 osvw_len; in cpu_has_amd_erratum() local
1162 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); in cpu_has_amd_erratum()
1163 if (osvw_id < osvw_len) { in cpu_has_amd_erratum()
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c86 static uint64_t osvw_len = 4, osvw_status; variable
417 vcpu->arch.osvw.length = (osvw_len >= 3) ? (osvw_len) : 3; in svm_init_osvw()
428 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) in svm_init_osvw()
514 osvw_status = osvw_len = 0; in svm_hardware_enable()
516 if (len < osvw_len) in svm_hardware_enable()
517 osvw_len = len; in svm_hardware_enable()
519 osvw_status &= (1ULL << osvw_len) - 1; in svm_hardware_enable()
522 osvw_status = osvw_len = 0; in svm_hardware_enable()