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)
Wed, Nov 19, 5:56 AM
Unknown Object (File)
Fri, Nov 14, 1:57 PM
Unknown Object (File)
Tue, Nov 4, 11:14 AM
Unknown Object (File)
Thu, Oct 30, 3:07 AM
Unknown Object (File)
Sun, Oct 26, 5:12 AM
Unknown Object (File)
Oct 12 2025, 9:50 PM
Unknown Object (File)
Oct 12 2025, 4:17 PM
Unknown Object (File)
Oct 12 2025, 3:13 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