Page MenuHomeFreeBSD

riscv: aw_timer enablement for D1
ClosedPublic

Authored by mhorne on Jan 24 2025, 7:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 11, 1:42 PM
Unknown Object (File)
Sun, Aug 9, 10:48 AM
Unknown Object (File)
Sun, Aug 9, 9:56 AM
Unknown Object (File)
Sat, Aug 8, 5:59 PM
Unknown Object (File)
Sat, Aug 1, 7:57 AM
Unknown Object (File)
Mon, Jul 27, 7:45 PM
Unknown Object (File)
Sun, Jul 26, 5:20 PM
Unknown Object (File)
Sun, Jul 26, 11:21 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