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
F166332447: D49264.id151971.diff
Wed, Aug 12, 11:28 PM
F166332445: D49264.id.diff
Wed, Aug 12, 11:28 PM
F166332418: D49264.diff
Wed, Aug 12, 11:27 PM
Unknown Object (File)
Tue, Aug 11, 10:55 PM
Unknown Object (File)
Sat, Aug 8, 4:53 AM
Unknown Object (File)
Wed, Aug 5, 3:53 AM
Unknown Object (File)
Tue, Aug 4, 5:30 AM
Unknown Object (File)
Sun, Aug 2, 3:03 AM
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