HomeFreeBSD

x86/apic: remove apic_ops

Description

x86/apic: remove apic_ops

All supported Xen instances by FreeBSD provide a local APIC
implementation, so there's no need to replace the native local APIC
implementation anymore.

Leave just the ipi_vectored hook in order to be able to override it
with an implementation based on event channels if the underlying local
APIC is not virtualized by hardware. Note the hook cannot use ifuncs,
because at the point where ifuncs are resolved the kernel doesn't yet
know whether it will benefit from using the optimization.

Sponsored by: Citrix Systems R&D
Reviewed by: kib
Differential revision: https://reviews.freebsd.org/D33917

Details

Provenance
roygerAuthored on Jan 13 2022, 1:48 PM
Reviewer
kib
Differential Revision
D33917: x86/apic: remove apic_ops
Parents
rG2450da67764c: x86/xen: use x{2}APIC if virtualized by hardware
Branches
Unknown
Tags
Unknown