Searched refs:APIC_BASE_MSR (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/kvm/include/x86_64/ |
| A D | apic.h | 26 #define APIC_BASE_MSR 0x800 macro 94 return rdmsr(APIC_BASE_MSR + (reg >> 4)); in x2apic_read_reg() 99 return wrmsr_safe(APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg_safe() 107 fault, APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg() 116 APIC_BASE_MSR + (reg >> 4), value, fault); in x2apic_write_reg_fault()
|
| /linux/arch/x86/include/asm/ |
| A 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()
|
| A D | apicdef.h | 150 #define APIC_BASE_MSR 0x800 macro
|
| /linux/arch/x86/kvm/svm/ |
| A D | svm.h | 566 return (msr >= APIC_BASE_MSR) && in is_x2apic_msrpm_offset() 567 (msr < (APIC_BASE_MSR + 0x100)); in is_x2apic_msrpm_offset()
|
| A D | svm.c | 82 #define X2APIC_MSR(x) (APIC_BASE_MSR + (x >> 4)) 910 if ((index < APIC_BASE_MSR) || in svm_set_x2apic_msr_interception() 911 (index > APIC_BASE_MSR + 0xff)) in svm_set_x2apic_msr_interception()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | vmx.h | 20 #define X2APIC_MSR(r) (APIC_BASE_MSR + ((r) >> 4))
|
| A D | vmx.c | 4071 const int read_idx = APIC_BASE_MSR / BITS_PER_LONG_LONG; in vmx_update_msr_bitmap_x2apic()
|
| /linux/arch/x86/kvm/ |
| A D | lapic.c | 3281 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_write() 3292 u32 reg = (msr - APIC_BASE_MSR) << 4; in kvm_x2apic_msr_read()
|
| A D | x86.c | 2191 case APIC_BASE_MSR + (APIC_ICR >> 4): in handle_fastpath_set_msr_irqoff() 3894 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_set_msr_common() 4319 case APIC_BASE_MSR ... APIC_BASE_MSR + 0xff: in kvm_get_msr_common()
|
Completed in 63 milliseconds