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)
Wed, May 8, 6:31 AM
Unknown Object (File)
Dec 27 2023, 12:02 AM
Unknown Object (File)
Dec 12 2023, 6:38 PM
Unknown Object (File)
Dec 8 2023, 12:09 PM
Unknown Object (File)
Oct 24 2023, 9:46 AM
Unknown Object (File)
Oct 12 2023, 7:58 AM
Unknown Object (File)
Sep 30 2023, 1:17 AM
Unknown Object (File)
Sep 24 2023, 11:45 PM
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.