Page MenuHomeFreeBSD

arm: Remove an overflow check from the timer
Needs ReviewPublic

Authored by andrew on Mar 6 2025, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 9:50 PM
Unknown Object (File)
Sun, Oct 12, 4:17 PM
Unknown Object (File)
Sun, Oct 12, 3:13 PM
Unknown Object (File)
Sep 19 2025, 10:05 AM
Unknown Object (File)
Sep 17 2025, 5:23 AM
Unknown Object (File)
Sep 9 2025, 9:09 PM
Unknown Object (File)
Aug 14 2025, 11:16 PM
Unknown Object (File)
Aug 8 2025, 5:23 PM
Subscribers

Details

Reviewers
None
Group Reviewers
ARM
arm64
Summary

The generic timer has an overflow check to ensure the frequency doesn't
overflow a 32-bit integer. As this driver now correctly used 64-bit
counts this check is unneeded.

The code came from the old mpcore_timer.c driver where it was needed
as the counter was 32-bit.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62798
Build 59682: arc lint + arc unit