Page MenuHomeFreeBSD

xen/intr: move sys/x86/xen/xen_intr.c to sys/xen/xen_intr.c
ClosedPublic

Authored by ehem_freebsd_m5p.com on May 12 2021, 9:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 4:41 PM
Unknown Object (File)
Thu, Dec 5, 10:19 PM
Unknown Object (File)
Nov 26 2024, 3:22 PM
Unknown Object (File)
Nov 23 2024, 10:34 PM
Unknown Object (File)
Nov 22 2024, 2:06 PM
Unknown Object (File)
Nov 20 2024, 10:16 PM
Unknown Object (File)
Nov 19 2024, 10:40 PM
Unknown Object (File)
Nov 15 2024, 10:42 PM

Details

Summary

Major changes are necessary to make this processor-independent, but
moving the file out of x86 and into common is the first step (to preempt
addition of further x86-isms).

Submitted by: Elliott Mitchell <ehem+freebsd@m5p.com>
Original implementation: Julien Grall <julien@xen.org>, 2014-01-13 17:41:04

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Any news on D30236?

From playing with this I'm wondering if perhaps this should instead move to sys/dev/xen/bus/intr.c instead. This file really looks like a combination of an interrupt controller and a small interface library. xen_intr_handle_upcall() is the call for servicing the interrupt on the system primary controller, which xen_intr.c then fans out to several software interrupts.

As a result this sort of acts like an interrupt controller associated with the xenpv bus. I'm wondering whether the Xen child devices should be allocating interrupts via the normal bus interface to xenpv.

Splitting this. Depending upon how things evolve, there could be a need to have the two files live side-by-side for a bit. The non-split version was okayed in e-mail.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 14 2023, 2:02 PM
This revision was automatically updated to reflect the committed changes.