Page MenuHomeFreeBSD

intrng: allow specifying an interrupt number during allocation
AbandonedPublic

Authored by ehem_freebsd_m5p.com on Oct 25 2021, 1:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 10:01 PM
Unknown Object (File)
Dec 23 2023, 3:16 AM
Unknown Object (File)
Dec 18 2023, 3:53 AM
Unknown Object (File)
Dec 10 2023, 11:05 PM
Unknown Object (File)
Nov 1 2023, 3:41 PM
Unknown Object (File)
Oct 22 2023, 12:14 PM
Unknown Object (File)
Sep 10 2023, 5:15 AM
Unknown Object (File)
Aug 25 2023, 9:04 PM

Details

Reviewers
None
Summary

All interrupt architectures besides INTRNG expect interrupt numbers to
be selected outside. Increase INTRNG's cross-architecture potential by
allowing this approach.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42334
Build 39222: arc lint + arc unit

Event Timeline

This is more in the direction of D32504. Theory is, can INTRNG be adjusted to provide sufficient functionality to replace the current x86 interrupt framework?

In this initial form I used 0x80 as this is nominally a flag meant for use by isrc_alloc_irq() and doesn't really need to be stored permanently on the intr_irqsrc structure. The value doesn't really matter since it can readily by changed via intr.h, but seemed best to somehow hint it was a setup-only flag.

Other feature needed to subsume PowerPC interrupts is to be able to hash values for the irq_sources[] table. That though brings in the issue of how best to deal with collisions?

I now expect to abandon this. At this point I've got a PoC implementation of using a resource manager to handle the interrupt number ranges. This was a thought, but it seems unlikely now.

Marking D32632 as abandoned. I've got something which approaches the same goal, but is distinct enough to not take over D32632.