Home
last modified time | relevance | path

Searched refs:APIC_ICR (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxapic_state_test.c30 xapic_write_reg(APIC_ICR, val); in xapic_guest_code()
45 x2apic_write_reg(APIC_ICR, val); in x2apic_guest_code()
72 icr = (u64)(*((u32 *)&xapic.regs[APIC_ICR])) | in ____test_icr()
Dsvm_int_ctl_test.c42 x2apic_write_reg(APIC_ICR, in l2_guest_code()
Dsmm_test.c54 x2apic_write_reg(APIC_ICR, in self_smi()
Dsvm_nested_soft_inject_test.c104 x2apic_write_reg(APIC_ICR, APIC_DEST_SELF | APIC_INT_ASSERT | APIC_DM_NMI); in l1_guest_code()
Ddebug_regs.c27 x2apic_write_reg(APIC_ICR, APIC_DEST_SELF | APIC_INT_ASSERT | in guest_code()
Dxapic_ipi_test.c165 xapic_write_reg(APIC_ICR, icr_val); in sender_guest_code()
/linux-6.1.9/arch/x86/kernel/apic/
Dipi.c107 while (native_apic_mem_read(APIC_ICR) & APIC_ICR_BUSY) in __xapic_wait_icr_idle()
139 native_apic_mem_write(APIC_ICR, cfg); in __default_send_IPI_shortcut()
172 native_apic_mem_write(APIC_ICR, cfg); in __default_send_IPI_dest_field()
Dapic.c253 while (apic_read(APIC_ICR) & APIC_ICR_BUSY) in native_apic_wait_icr_idle()
264 send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; in native_safe_apic_wait_icr_idle()
280 apic_write(APIC_ICR, low); in native_apic_icr_write()
289 icr1 = apic_read(APIC_ICR); in native_apic_icr_read()
1291 apic_write(APIC_ICR, APIC_DEST_ALLINC | in sync_Arb_IDs()
/linux-6.1.9/arch/x86/kvm/
Dlapic.c86 BUILD_BUG_ON(reg != APIC_ICR); in __kvm_lapic_get_reg64()
97 BUILD_BUG_ON(reg != APIC_ICR); in __kvm_lapic_set_reg64()
1462 APIC_REG_MASK(APIC_ICR) | in kvm_lapic_reg_read()
1485 WARN_ON_ONCE(offset == APIC_ICR); in kvm_lapic_reg_read()
2151 case APIC_ICR: in kvm_lapic_reg_write()
2157 kvm_lapic_set_reg(apic, APIC_ICR, val); in kvm_lapic_reg_write()
2299 if (apic_x2apic_mode(apic) && offset == APIC_ICR) { in kvm_apic_write_nodecode()
2301 trace_kvm_apic_write(APIC_ICR, val); in kvm_apic_write_nodecode()
2475 kvm_lapic_set_reg(apic, APIC_ICR, 0); in kvm_lapic_reset()
2478 kvm_lapic_set_reg64(apic, APIC_ICR, 0); in kvm_lapic_reset()
[all …]
Dhyperv.c1489 return kvm_hv_vapic_msr_write(vcpu, APIC_ICR, data); in kvm_hv_set_msr()
1606 return kvm_hv_vapic_msr_read(vcpu, APIC_ICR, pdata); in kvm_hv_get_msr()
Dx86.c2152 case APIC_BASE_MSR + (APIC_ICR >> 4): in handle_fastpath_set_msr_irqoff()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dapic.h37 #define APIC_ICR 0x300 macro
/linux-6.1.9/arch/x86/include/asm/
Dapic.h238 wrmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), ((__u64) id) << 32 | low); in native_x2apic_icr_write()
245 rdmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), val); in native_x2apic_icr_read()
Dapicdef.h68 #define APIC_ICR 0x300 macro
/linux-6.1.9/arch/x86/kvm/svm/
Davic.c510 kvm_apic_write_nodecode(vcpu, APIC_ICR); in avic_incomplete_ipi_interception()
674 case APIC_ICR: in is_avic_unaccelerated_access_trap()
Dsvm.c119 { .index = X2APIC_MSR(APIC_ICR), .always = false },
/linux-6.1.9/arch/x86/kernel/
Dsmpboot.c737 status = apic_read(APIC_ICR) & APIC_ICR_RR_MASK; in __inquire_remote_apic()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c3976 vmx_disable_intercept_for_msr(vcpu, X2APIC_MSR(APIC_ICR), MSR_TYPE_RW); in vmx_update_msr_bitmap_x2apic()