Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Damd.c965 u64 osvw_len; in cpu_has_amd_erratum() local
967 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); in cpu_has_amd_erratum()
968 if (osvw_id < osvw_len) { in cpu_has_amd_erratum()
/arch/x86/kvm/
Dsvm.c165 static uint64_t osvw_len = 4, osvw_status; variable
708 vcpu->arch.osvw.length = (osvw_len >= 3) ? (osvw_len) : 3; in svm_init_osvw()
719 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) in svm_init_osvw()
806 osvw_status = osvw_len = 0; in svm_hardware_enable()
808 if (len < osvw_len) in svm_hardware_enable()
809 osvw_len = len; in svm_hardware_enable()
811 osvw_status &= (1ULL << osvw_len) - 1; in svm_hardware_enable()
814 osvw_status = osvw_len = 0; in svm_hardware_enable()