HomeFreeBSD

xen/intr: rework xen_intr_resume() for in-place remapping

Description

xen/intr: rework xen_intr_resume() for in-place remapping

The prior implementation of xen_intr_resume() was wiping
xen_intr_port_to_isrc[] and then rebuilding from the x86 interrupt
table. Rework to instead wipe the channel numbers (->xi_port) and then
scan the table for sources with invalid channels.

This will be slower due to scanning the whole table, but this removes
the dependency on the x86 interrupt code.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D30599
[royger]
Split line over 80 characters.

Details

Provenance
ehem_freebsd_m5p.comAuthored on Jun 1 2021, 1:34 AM
roygerCommitted on Mar 29 2023, 7:51 AM
Reviewer
royger
Differential Revision
D30599: xen/intr: rework xen_intr_resume() for in-place remapping
Parents
rGe45c8ea31cd8: xen/intr: merge parts of resume functionality into new function
Branches
Unknown
Tags
Unknown