Page MenuHomeFreeBSD

riscv: Add support for the Svinval extension
AcceptedPublic

Authored by bnovkov on Wed, Jun 17, 9:21 PM.
Tags
None
Referenced Files
F160404738: D57623.diff
Wed, Jun 24, 4:27 AM
F160377833: D57623.diff
Tue, Jun 23, 9:47 PM
Unknown Object (File)
Tue, Jun 23, 4:55 PM
Unknown Object (File)
Tue, Jun 23, 3:54 PM
Unknown Object (File)
Sun, Jun 21, 10:01 PM
Unknown Object (File)
Sun, Jun 21, 3:33 PM
Unknown Object (File)
Sun, Jun 21, 5:19 AM
Unknown Object (File)
Sat, Jun 20, 11:34 PM
Subscribers

Details

Reviewers
markj
mhorne
Group Reviewers
riscv
Summary

This change adds wrappers for the new fine-grained TLB invalidation
instructions and extends the capability detection logic to include
the Svinval extension, which is mandatory in the RVA23S64 profile.

Event: BSDCan 2026

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73948
Build 70831: arc lint + arc unit

Event Timeline

mhorne added a subscriber: mhorne.

Is this implemented on the Spacemit K1 ?

sys/riscv/include/cpufunc.h
151

I don't think you are using this yet. But I would suggest this signature instead.

This revision is now accepted and ready to land.Wed, Jun 24, 1:50 PM
sys/conf/kern.mk
169

Are there compilers which will reject this?

sys/riscv/include/cpufunc.h
151

+1