Page MenuHomeFreeBSD

ARM: generic_timer; make the virtual timer optional
ClosedPublic

Authored by bz on May 4 2016, 3:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 30, 7:24 AM
Unknown Object (File)
Sat, Dec 27, 11:54 AM
Unknown Object (File)
Nov 26 2025, 7:30 AM
Unknown Object (File)
Nov 23 2025, 7:05 PM
Unknown Object (File)
Nov 23 2025, 6:39 AM
Unknown Object (File)
Nov 21 2025, 12:43 PM
Unknown Object (File)
Nov 21 2025, 3:37 AM
Unknown Object (File)
Nov 21 2025, 3:28 AM
Subscribers

Details

Summary

The virtual timer is optional on ARM64. Properly handle that condition.
In case we do not have an interrupt assignment for the virtual timer,
force the physical timer.
Also skip resource allocation for any timer we do not have an interrupt
assignment for.

In collaboration with: andrew
Submitted by: br (initial parts during his gem5 bringup)
Sponsored by: DARPA/AFRL

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz retitled this revision from to ARM: generic_timer; make the virtual timer optional.
bz updated this object.
bz edited the test plan for this revision. (Show Details)
bz added a reviewer: andrew.
bz set the repository for this revision to rS FreeBSD src repository - subversion.
bz added subscribers: ARM, arm64.
andrew edited edge metadata.
andrew added inline comments.
sys/arm/arm/generic_timer.c
389 ↗(On Diff #15891)

It would pay to add a comment to say we are checking to see if we have a virtual timer interrupt

This revision is now accepted and ready to land.May 4 2016, 3:39 PM
This revision was automatically updated to reflect the committed changes.