HomeFreeBSD

xen/intr: merge parts of resume functionality into new function

Description

xen/intr: merge parts of resume functionality into new function

The portions of xen_rebind_ipi() and xen_rebind_virq() were already
near-identical. While xen_rebind_ipi() should panic() on
single-processor, still having the functionality to invoke seems
harmless.

Meanwhile much of the loop from xen_intr_resume() seemed to want to be
closer to this same code. This pushes related bits closer together.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D30598

Details

Provenance
ehem_freebsd_m5p.comAuthored on Jun 1 2021, 12:55 AM
roygerCommitted on Mar 29 2023, 7:51 AM
Reviewer
royger
Differential Revision
D30598: xen/intr: merge parts of resume functionality into new function
Parents
rG910bd069f809: xen/intr: remove x86 APIC headers from xen_intr.c
Branches
Unknown
Tags
Unknown