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

/linux-4.4.14/arch/x86/kernel/cpu/
H A Damd.c900 u64 osvw_len; cpu_has_amd_erratum() local
902 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); cpu_has_amd_erratum()
903 if (osvw_id < osvw_len) { cpu_has_amd_erratum()
/linux-4.4.14/arch/x86/kvm/
H A Dsvm.c125 * Set osvw_len to higher value when updated Revision Guides
128 static uint64_t osvw_len = 4, osvw_status; variable
602 vcpu->arch.osvw.length = (osvw_len >= 3) ? (osvw_len) : 3; svm_init_osvw()
609 * osvw_len is 0 then osvw_status[0] carries no information. We need to svm_init_osvw()
613 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) svm_init_osvw()
700 osvw_status = osvw_len = 0; svm_hardware_enable()
702 if (len < osvw_len) svm_hardware_enable()
703 osvw_len = len; svm_hardware_enable()
705 osvw_status &= (1ULL << osvw_len) - 1; svm_hardware_enable()
708 osvw_status = osvw_len = 0; svm_hardware_enable()

Completed in 122 milliseconds