Page MenuHomeFreeBSD

Fix timer frequency
ClosedPublic

Authored by br on Mar 27 2019, 3:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 13 2024, 7:26 AM
Unknown Object (File)
Dec 9 2024, 6:00 PM
Unknown Object (File)
Nov 7 2024, 11:03 AM
Unknown Object (File)
Sep 30 2024, 2:52 PM
Unknown Object (File)
Sep 19 2024, 2:31 AM
Unknown Object (File)
Sep 17 2024, 1:04 PM
Unknown Object (File)
Aug 24 2024, 4:09 PM
Unknown Object (File)
Aug 19 2024, 5:54 AM
Subscribers

Details

Summary

Grab timer frequency from FDT.

RISC-V timer has no dedicated node and we have to grab timebase frequency from cpus node.

Test Plan

Tested on GFE (Government Furnished Equipment) P2 chisel core synthesized on VCU118

Diff Detail

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

Event Timeline

markj added inline comments.
sys/riscv/riscv/timer.c
170 ↗(On Diff #55501)

Perhaps the prints should be under a if (bootverbose)?

This revision is now accepted and ready to land.Mar 27 2019, 3:41 PM
This revision was automatically updated to reflect the committed changes.