Page MenuHomeFreeBSD

riscv: aw_timer enablement for D1
ClosedPublic

Authored by mhorne on Jan 24 2025, 7:36 PM.
Tags
None
Referenced Files
F115550301: D48672.id149937.diff
Fri, Apr 25, 5:10 AM
Unknown Object (File)
Tue, Apr 22, 3:20 PM
Unknown Object (File)
Tue, Apr 22, 11:50 AM
Unknown Object (File)
Sun, Apr 20, 2:23 PM
Unknown Object (File)
Sat, Apr 19, 12:51 PM
Unknown Object (File)
Sat, Apr 19, 11:47 AM
Unknown Object (File)
Sat, Apr 19, 11:39 AM
Unknown Object (File)
Sat, Apr 19, 11:14 AM
Subscribers

Details

Summary

The SBI timer functionality is partially broken on the Allwinner D1, so
we require this driver to provide an eventtimer/system timer interrupts.

The timecounter interface, on the other hand, is not required. The
generic RISC-V timer driver uses the native rdtime instruction, and
implements vdso, so this should be preferred.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable