Home
last modified time | relevance | path

Searched refs:APIC_ID (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dapic.h27 #define APIC_ID 0x20 macro
/linux-6.6.21/arch/x86/xen/
Dapic.c63 if (reg != APIC_ID) in xen_apic_read()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dfix_hypercall_test.c65 ret = do_sched_yield(GET_APIC_ID_FIELD(xapic_read_reg(APIC_ID))); in guest_main()
Dxapic_state_test.c145 apic_id = *((u32 *)&xapic.regs[APIC_ID]); in __test_apic_id()
Dxapic_ipi_test.c96 data->halter_apic_id = GET_APIC_ID_FIELD(xapic_read_reg(APIC_ID)); in halter_guest_code()
/linux-6.6.21/arch/x86/include/asm/
Dapic.h191 if (reg == APIC_DFR || reg == APIC_ID || reg == APIC_LDR || in native_apic_msr_write()
522 unsigned int reg = apic_read(APIC_ID); in read_apic_id()
Dapicdef.h23 #define APIC_ID 0x20 macro
/linux-6.6.21/arch/x86/kernel/apic/
Dapic.c1703 boot_cpu_physical_apicid = native_apic_msr_read(APIC_ID); in apic_read_boot_cpu_id()
1768 int apicid = native_apic_msr_read(APIC_ID); in setup_nox2apic()
2502 apic_write(APIC_ID, apic->set_apic_id(boot_cpu_physical_apicid)); in apic_bsp_up_setup()
2575 apic_pm_state.apic_id = apic_read(APIC_ID); in lapic_suspend()
2652 apic_write(APIC_ID, apic_pm_state.apic_id); in lapic_resume()
Dvector.c1212 v = apic_read(APIC_ID); in print_local_APIC()
Dx2apic_uv_x.c789 return x2apic_get_apic_id(apic_read(APIC_ID)); in uv_read_apic_id()
/linux-6.6.21/arch/x86/kvm/
Dlapic.h278 return kvm_lapic_get_reg(apic, APIC_ID) >> 24; in kvm_xapic_id()
Dlapic.c508 kvm_lapic_set_reg(apic, APIC_ID, id << 24); in kvm_apic_set_xapic_id()
530 kvm_lapic_set_reg(apic, APIC_ID, id); in kvm_apic_set_x2apic_id()
1609 APIC_REG_MASK(APIC_ID) | in kvm_lapic_readable_reg_mask()
2260 case APIC_ID: /* Local APIC ID */ in kvm_lapic_reg_write()
2933 u32 *id = (u32 *)(s->regs + APIC_ID); in kvm_apic_state_fixup()
/linux-6.6.21/arch/x86/kernel/
Dhead_64.S277 addq $APIC_ID, %rcx
/linux-6.6.21/arch/x86/kvm/svm/
Davic.c669 case APIC_ID: in is_avic_unaccelerated_access_trap()
Dsvm.c110 { .index = X2APIC_MSR(APIC_ID), .always = false },
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst1965 enabled, then the format of APIC_ID register depends on the APIC mode
1967 the APIC_ID register (bytes 32-35). xAPIC only allows an 8-bit APIC ID