Page MenuHomeFreeBSD

Fix timer frequency
ClosedPublic

Authored by br on Mar 27 2019, 3:35 PM.
Tags
None
Referenced Files
F134638024: D19727.id55501.diff
Mon, Nov 3, 6:58 PM
Unknown Object (File)
Mon, Oct 20, 5:56 AM
Unknown Object (File)
Sun, Oct 19, 10:24 AM
Unknown Object (File)
Sun, Oct 19, 10:24 AM
Unknown Object (File)
Sun, Oct 19, 10:24 AM
Unknown Object (File)
Sat, Oct 18, 9:12 PM
Unknown Object (File)
Mon, Oct 13, 2:29 AM
Unknown Object (File)
Tue, Oct 7, 4:50 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.