Page MenuHomeFreeBSD

xen/intr: arm64: implement xen_arch_intr_intrcnt_init()
AbandonedPublic

Authored by ehem_freebsd_m5p.com on Jul 5 2021, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 22, 9:09 PM
Unknown Object (File)
Sun, Jun 22, 7:32 PM
Unknown Object (File)
Sat, Jun 21, 2:07 AM
Unknown Object (File)
Fri, Jun 20, 6:58 PM
Unknown Object (File)
Fri, Jun 20, 12:52 PM
Unknown Object (File)
Fri, Jun 20, 7:42 AM
Unknown Object (File)
Wed, Jun 11, 11:10 AM
Unknown Object (File)
Fri, Jun 6, 1:11 AM
Subscribers

Details

Summary

Unfortunately this really looks like THE interrupt needs a full set of
IPI interrupt counters. For the moment, simply use a static throw-away
variable.

Diff Detail

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

Event Timeline

I'm really unsure what this should look like. The interrupt really should have per-core counters since it is expected to occur on all cores which process Xen events. Yet the intrng code only has a single per-interrupt counter, thus appearing to implicitly assume any given interrupt will only occur on one core which the interrupt has been assigned to.

I expect to abandon as a better solution has shown up, I'm simply waiting for confirmation before doing so.

Abandoning as a better approach was identified and has now passed the first testing round.