Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dapic.h25 #define APIC_BASE_MSR 0x800 macro
85 return rdmsr(APIC_BASE_MSR + (reg >> 4)); in x2apic_read_reg()
90 wrmsr(APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg()
/linux-6.6.21/arch/x86/include/asm/
Dapic.h195 wrmsr(APIC_BASE_MSR + (reg >> 4), v, 0); in native_apic_msr_write()
200 __wrmsr(APIC_BASE_MSR + (APIC_EOI >> 4), APIC_EOI_ACK, 0); in native_apic_msr_eoi()
210 rdmsrl(APIC_BASE_MSR + (reg >> 4), msr); in native_apic_msr_read()
216 wrmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), ((__u64) id) << 32 | low); in native_x2apic_icr_write()
223 rdmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), val); in native_x2apic_icr_read()
Dapicdef.h143 #define APIC_BASE_MSR 0x800 macro
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.h507 return (msr >= APIC_BASE_MSR) && in is_x2apic_msrpm_offset()
508 (msr < (APIC_BASE_MSR + 0x100)); in is_x2apic_msrpm_offset()
Dsvm.c81 #define X2APIC_MSR(x) (APIC_BASE_MSR + (x >> 4))
922 if ((index < APIC_BASE_MSR) || in svm_set_x2apic_msr_interception()
923 (index > APIC_BASE_MSR + 0xff)) in svm_set_x2apic_msr_interception()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.h23 #define X2APIC_MSR(r) (APIC_BASE_MSR + ((r) >> 4))
Dvmx.c4049 const int read_idx = APIC_BASE_MSR / BITS_PER_LONG_LONG; in vmx_update_msr_bitmap_x2apic()
/linux-6.6.21/arch/x86/kvm/
Dlapic.c3199 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_write()
3210 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_read()
Dx86.c2189 case APIC_BASE_MSR + (APIC_ICR >> 4): in handle_fastpath_set_msr_irqoff()
3729 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_set_msr_common()
4160 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_get_msr_common()