Home
last modified time | relevance | path

Searched full:lapic (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvlapic.c123 const struct LAPIC *lapic = vlapic->apic_page; in vlapic_sw_disabled() local
125 return ((lapic->svr & APIC_SVR_ENABLE) == 0); in vlapic_sw_disabled()
159 struct LAPIC *lapic; in vlapic_dfr_write_handler() local
161 lapic = vlapic->apic_page; in vlapic_dfr_write_handler()
164 lapic->dfr = 0; in vlapic_dfr_write_handler()
168 lapic->dfr &= APIC_DFR_MODEL_MASK; in vlapic_dfr_write_handler()
169 lapic->dfr |= APIC_DFR_RESERVED; in vlapic_dfr_write_handler()
175 struct LAPIC *lapic; in vlapic_ldr_write_handler() local
177 lapic = vlapic->apic_page; in vlapic_ldr_write_handler()
182 lapic->ldr = x2apic_ldr(vlapic); in vlapic_ldr_write_handler()
[all …]
H A Dvlapic_priv.h131 struct LAPIC *apic_page;
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dimport_vlapic.c57 /* Read the existing lapic data to get a baseline */ in test_ccr_clamp()
59 err(EXIT_FAILURE, "VM_DATA_READ of lapic failed"); in test_ccr_clamp()
64 err(EXIT_FAILURE, "VM_DATA_WRITE of lapic failed"); in test_ccr_clamp()
78 err(EXIT_FAILURE, "VM_DATA_WRITE of lapic failed"); in test_ccr_clamp()
89 /* Now simulate a read of CCR from that LAPIC */ in test_ccr_clamp()
94 err(EXIT_FAILURE, "could not emulate MMIO of LAPIC CCR"); in test_ccr_clamp()
128 err(EXIT_FAILURE, "VM_DATA_READ of lapic failed"); in test_timer_icr_constraints()
139 /* Reset vCPU to clear timer state from LAPIC */ in test_timer_icr_constraints()
146 err(EXIT_FAILURE, "VM_DATA_READ of lapic failed"); in test_timer_icr_constraints()
164 "VM_DATA_WRITE of invalid lapic data should fail"); in test_timer_icr_constraints()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c100 static kmutex_t hpet_proxy_lock; /* lock for lAPIC proxy data */
347 * the HPET to proxy the LAPIC. in hpet_acpi_init()
363 * If the hardware indicates that LAPIC timers are always in hpet_acpi_init()
387 * LAPIC Timers. Get a free HPET timer that supports I/O APIC routed interrupt.
1054 * lost wakeups: Set a flag to refuse all future LAPIC Timer in hpet_deep_idle_config()
1277 * as a proxy for their LAPIC Timer. The HPET's Timer in hpet_guaranteed_schedule()
1333 * LAPIC TIMER : disabled
1337 * 2. Successfully programmed the HPET to act as a LAPIC Timer proxy.
1338 * LAPIC TIMER : disabled
1340 * *lapic_expire : hrtime_t when LAPIC timer would have expired
[all …]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_idle.c476 * LAPIC timer. in acpi_cpu_cstate()
477 * cstate_use_timer() could disable the LAPIC Timer. Make sure in acpi_cpu_cstate()
478 * to start the LAPIC Timer again before leaving this function. in acpi_cpu_cstate()
532 * CPU's proxy LAPIC timer. This CPU cannot enter C2 or deeper in acpi_cpu_cstate()
533 * because no timer is set to wake it up while its LAPIC timer in acpi_cpu_cstate()
619 * The LAPIC timer may have stopped in deep c-state. in acpi_cpu_cstate()
620 * Reprogram this CPU's LAPIC here before enabling interrupts. in acpi_cpu_cstate()
723 * on the LAPIC in deep C-states. In practice on AMD it seems something in cpu_deep_cstates_supported()
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dkernemu_dev.c57 .name = "kern-lapic-mmio",
86 errc(4, rc, "register_mem: LAPIC (0x%08x)", in kernemu_dev_init()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_lapic.h59 * Signals to the LAPIC that an interrupt at 'vector' needs to be generated
81 * Triggers the LAPIC local interrupt (LVT) 'vector' on 'cpu'. 'cpu' can
H A Dvmm_sol_dev.c315 * vCPU. LAPIC MSI delivery, for example, may be initiated from a worker
H A Dvmm.c2265 * Some vmm resources, such as the lapic, may have CPU-specific resources
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dhpet_acpi.h40 * with stalled LAPIC Timers. All CPUs use one HPET timer. The timer's
237 * HPET timer and interrupt used as LAPIC proxy during deep C-State.
256 cstate_timer_t cstate_timer; /* HPET Timer used for LAPIC proxy */
H A Dhpet.h60 * as a proxy for their LAPIC timers which stop during Deep C-State.
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dpayload_vlapic_mmio_access.c71 * as a to-specification LAPIC is concerned. in start()
H A Dpayload_vlapic_freq_periodic.c80 * Configure the LAPIC timer for periodic operation, but leave the in start()
H A Dpayload_vlapic_msr_access.c121 * While the LAPIC is in x2APIC mode, writes to in start()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dintr.c51 * each processor with a Local APIC (lapic) and to outfit the system with at
59 * (EOI), etc. a microprocessor now communicates directly to the lapic. This
61 * The programming method is different from the 8259. Consumers map the lapic
67 * interrupts, the lapic provides a way for generating inter-processor
75 * The x2apic is an extension to the lapic which started showing up around the
78 * with the previous generation of lapic and the x2apic is backwards compatible
166 * new interrupt is higher than the current value in the PPR, then the lapic
172 * lapic, the TPR register (also known as CR8 on amd64) that can be used to
/illumos-gate/usr/src/contrib/bhyve/x86/
H A Dapicreg.h127 struct LAPIC { struct
194 typedef struct LAPIC lapic_t; argument
/illumos-gate/usr/src/test/bhyve-tests/tests/perf/
H A Dpayload_entry_exit.c62 * emulation is dead simple and LAPIC-related MSR operations are handled within
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx.c3670 struct LAPIC *lapic; in vmx_apicv_sync() local
3675 lapic = vlapic->apic_page; in vmx_apicv_sync()
3689 uint32_t *tmrp = &lapic->tmr0 + (i * 4); in vmx_apicv_sync()
3690 uint32_t *irrp = &lapic->irr0 + (i * 4); in vmx_apicv_sync()
3769 vlapic->apic_page = (struct LAPIC *)&vmx->apic_page[vcpuid]; in vmx_vlapic_init()
/illumos-gate/usr/src/cmd/bhyvectl/
H A Dbhyvectl.c1072 { "assert-lapic-lvt", REQ_ARG, 0, ASSERT_LAPIC_LVT }, in setup_options()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_emul.c1626 * [0xF0000000, 4GB) LAPIC, IOAPIC, HPET, firmware in init_pci()
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm.c2531 vlapic->apic_page = (struct LAPIC *)&svm_sc->apic_page[vcpuid]; in svm_vlapic_init()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt14177 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14409 one still hangs when testing the LAPIC timer.