Searched refs:APIC_BASE_MSR (Results 1 – 9 of 9) sorted by relevance
/linux-6.14.4/tools/testing/selftests/kvm/include/x86/ |
D | apic.h | 24 #define APIC_BASE_MSR 0x800 macro 92 return rdmsr(APIC_BASE_MSR + (reg >> 4)); in x2apic_read_reg() 97 return wrmsr_safe(APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg_safe() 105 fault, APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg() 114 APIC_BASE_MSR + (reg >> 4), value, fault); in x2apic_write_reg_fault()
|
/linux-6.14.4/arch/x86/include/asm/ |
D | apic.h | 212 wrmsr(APIC_BASE_MSR + (reg >> 4), v, 0); in native_apic_msr_write() 217 __wrmsr(APIC_BASE_MSR + (APIC_EOI >> 4), APIC_EOI_ACK, 0); in native_apic_msr_eoi() 227 rdmsrl(APIC_BASE_MSR + (reg >> 4), msr); in native_apic_msr_read() 233 wrmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), ((__u64) id) << 32 | low); in native_x2apic_icr_write() 240 rdmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), val); in native_x2apic_icr_read()
|
D | apicdef.h | 150 #define APIC_BASE_MSR 0x800 macro
|
/linux-6.14.4/arch/x86/kvm/svm/ |
D | svm.h | 559 return (msr >= APIC_BASE_MSR) && in is_x2apic_msrpm_offset() 560 (msr < (APIC_BASE_MSR + 0x100)); in is_x2apic_msrpm_offset()
|
D | svm.c | 83 #define X2APIC_MSR(x) (APIC_BASE_MSR + (x >> 4)) 909 if ((index < APIC_BASE_MSR) || in svm_set_x2apic_msr_interception() 910 (index > APIC_BASE_MSR + 0xff)) in svm_set_x2apic_msr_interception()
|
/linux-6.14.4/arch/x86/kvm/vmx/ |
D | vmx.h | 20 #define X2APIC_MSR(r) (APIC_BASE_MSR + ((r) >> 4))
|
D | vmx.c | 4083 const int read_idx = APIC_BASE_MSR / BITS_PER_LONG_LONG; in vmx_update_msr_bitmap_x2apic()
|
/linux-6.14.4/arch/x86/kvm/ |
D | lapic.c | 3305 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_write() 3316 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_read()
|
D | x86.c | 2150 case APIC_BASE_MSR + (APIC_ICR >> 4): in handle_fastpath_set_msr_irqoff() 3856 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_set_msr_common() 4277 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_get_msr_common()
|