Home
last modified time | relevance | path

Searched refs:APIC_BASE_MSR (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/kvm/include/x86/
H A Dapic.h24 #define APIC_BASE_MSR 0x800 macro
99 return rdmsr(APIC_BASE_MSR + (reg >> 4)); in x2apic_read_reg()
104 return wrmsr_safe(APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg_safe()
112 fault, APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg()
121 APIC_BASE_MSR + (reg >> 4), value, fault); in x2apic_write_reg_fault()
/linux/arch/x86/include/asm/
H A Dapic.h208 wrmsrq(APIC_BASE_MSR + (reg >> 4), v); in native_apic_msr_write()
213 native_wrmsrq(APIC_BASE_MSR + (APIC_EOI >> 4), APIC_EOI_ACK); in native_apic_msr_eoi()
223 rdmsrq(APIC_BASE_MSR + (reg >> 4), msr); in native_apic_msr_read()
229 wrmsrq(APIC_BASE_MSR + (APIC_ICR >> 4), ((__u64) id) << 32 | low); in native_x2apic_icr_write()
236 rdmsrq(APIC_BASE_MSR + (APIC_ICR >> 4), val); in native_x2apic_icr_read()
H A Dapicdef.h152 #define APIC_BASE_MSR 0x800 macro
/linux/arch/x86/kvm/
H A Dlapic.h26 #define X2APIC_MSR(r) (APIC_BASE_MSR + ((r) >> 4))
H A Dlapic.c3463 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_write()
3474 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_read()
H A Dx86.c2283 case APIC_BASE_MSR + (APIC_ICR >> 4): in __handle_fastpath_wrmsr()
4036 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_set_msr_common()
4463 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_get_msr_common()
/linux/arch/x86/kvm/svm/
H A Dsvm.h595 return (msr >= APIC_BASE_MSR) && in is_x2apic_msrpm_offset()
596 (msr < (APIC_BASE_MSR + 0x100)); in is_x2apic_msrpm_offset()
/linux/arch/x86/coco/sev/
H A Dcore.c981 u64 msr = APIC_BASE_MSR + (reg >> 4); in savic_ghcb_msr_read()
1007 u64 msr = APIC_BASE_MSR + (reg >> 4); in savic_ghcb_msr_write()
/linux/arch/x86/kvm/vmx/
H A Dtdx.c2130 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in tdx_has_emulated_msr()
H A Dvmx.c4218 const int read_idx = APIC_BASE_MSR / BITS_PER_LONG_LONG; in vmx_update_msr_bitmap_x2apic()