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

/linux-4.1.27/arch/x86/kernel/cpu/
H A Damd.c862 u64 osvw_len; cpu_has_amd_erratum() local
864 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); cpu_has_amd_erratum()
865 if (osvw_id < osvw_len) { cpu_has_amd_erratum()
/linux-4.1.27/arch/x86/kvm/
H A Dsvm.c124 * Set osvw_len to higher value when updated Revision Guides
127 static uint64_t osvw_len = 4, osvw_status; variable
600 vcpu->arch.osvw.length = (osvw_len >= 3) ? (osvw_len) : 3; svm_init_osvw()
607 * osvw_len is 0 then osvw_status[0] carries no information. We need to svm_init_osvw()
611 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) svm_init_osvw()
698 osvw_status = osvw_len = 0; svm_hardware_enable()
700 if (len < osvw_len) svm_hardware_enable()
701 osvw_len = len; svm_hardware_enable()
703 osvw_status &= (1ULL << osvw_len) - 1; svm_hardware_enable()
706 osvw_status = osvw_len = 0; svm_hardware_enable()

Completed in 278 milliseconds