Page MenuHomeFreeBSD

riscv: aw_timer enablement for D1
ClosedPublic

Authored by mhorne on Jan 24 2025, 7:36 PM.
Tags
None
Referenced Files
F115634628: D48672.diff
Sat, Apr 26, 8:06 AM
Unknown Object (File)
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62015
Build 58899: arc lint + arc unit