Home
last modified time | relevance | path

Searched refs:MSR_K7_HWCR (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dhwcr_msr_test.c20 r = _vcpu_set_msr(vcpu, MSR_K7_HWCR, val); in test_hwcr_bit()
25 actual = vcpu_get_msr(vcpu, MSR_K7_HWCR); in test_hwcr_bit()
30 vcpu_set_msr(vcpu, MSR_K7_HWCR, 0); in test_hwcr_bit()
/linux/arch/x86/kernel/cpu/
H A Damd.c219 msr_clear_bit(MSR_K7_HWCR, 15); in init_amd_k7()
430 rdmsrq(MSR_K7_HWCR, val); in bsp_init_amd()
599 rdmsrq(MSR_K7_HWCR, msr); in early_detect_mem_encrypt()
727 msr_set_bit(MSR_K7_HWCR, 6); in init_amd_k8()
944 msr_clear_bit(MSR_K7_HWCR, MSR_K7_HWCR_IRPERF_EN_BIT); in init_amd_zen1()
1148 msr_set_bit(MSR_K7_HWCR, MSR_K7_HWCR_IRPERF_EN_BIT); in init_amd()
/linux/arch/x86/kernel/cpu/mce/
H A Damd.c661 rdmsrq(MSR_K7_HWCR, hwcr); in disable_err_thresholding()
666 wrmsrq(MSR_K7_HWCR, hwcr | BIT(18)); in disable_err_thresholding()
674 wrmsrq(MSR_K7_HWCR, hwcr); in disable_err_thresholding()
/linux/arch/x86/include/asm/
H A Dmsr-index.h896 #define MSR_K7_HWCR 0xc0010015 macro
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h886 #define MSR_K7_HWCR 0xc0010015 macro
/linux/Documentation/virt/kvm/x86/
H A Damd-memory-encryption.rst28 (MSR_K7_HWCR) can be used to determine if it can be enabled::
/linux/drivers/cpufreq/
H A Damd-pstate.c880 ret = rdmsrq_on_cpu(cpudata->cpu, MSR_K7_HWCR, &boost_val); in amd_pstate_init_boost_support()
/linux/arch/x86/kvm/
H A Dx86.c461 MSR_K7_HWCR,
4005 case MSR_K7_HWCR: in kvm_set_msr_common()
4627 case MSR_K7_HWCR: in kvm_get_msr_common()