Searched refs:MTRRphysBase_MSR (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | generic.c | 550 rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in get_mtrr_var_range() 819 rdmsr(MTRRphysBase_MSR(reg), base_lo, base_hi); in generic_get_mtrr() 880 rdmsr(MTRRphysBase_MSR(index), lo, hi); in set_mtrr_var_ranges() 884 mtrr_wrmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in set_mtrr_var_ranges() 1002 mtrr_wrmsr(MTRRphysBase_MSR(reg), vr->base_lo, vr->base_hi); in generic_set_mtrr()
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | mtrr.h | 84 #define MTRRphysBase_MSR(reg) (0x200 + 2 * (reg)) macro
|
/openbmc/linux/arch/x86/kvm/ |
H A D | mtrr.c | 37 int index = (msr - MTRRphysBase_MSR(0)) / 2; in var_mtrr_msr_to_range() 45 case MTRRphysBase_MSR(0) ... MTRRphysMask_MSR(KVM_NR_VAR_MTRR - 1): in msr_mtrr_valid() 88 WARN_ON(!(msr >= MTRRphysBase_MSR(0) && in kvm_mtrr_valid()
|
H A D | x86.c | 3727 case MTRRphysBase_MSR(0) ... MSR_MTRRfix4K_F8000: in kvm_set_msr_common() 4140 case MTRRphysBase_MSR(0) ... MSR_MTRRfix4K_F8000: in kvm_get_msr_common()
|