Repository navigation
lssbi 0.0.0
lssbi 0.0.0 is the first published release of the Linux command for inspecting
the active RISC-V SBI environment.
Highlights
- Report the SBI specification version, implementation, implementation version,
and RISC-V machine vendor, architecture, and implementation identifiers. - Probe all 16 current standard SBI extensions and optionally show the nine
deprecated SBI v0.1 calls with--legacy. - Read all six standard Firmware Features extension values from the calling
hart. - Detect potentially affected OpenSBI versions for the PMU2 crash issue
(CVE-2025-63913) without triggering the vulnerability. - Run the command without privileges after the read-only
lssbi_probeDKMS
backend has been installed and loaded by an administrator. - Provide Arabic, French, Russian, Spanish, Simplified Chinese, and Traditional
Chinese translations in addition to the English fallback.
Installation
The userspace command is available from crates.io:
cargo install lssbi --version 0.0.0cargo install installs only the command. The current release also requires the
DKMS backend and matching Linux kernel headers. Install the backend from the
release source:
git clone --branch v0.0.0 --depth 1 https://github.com/rustsbi/lssbi.git
cd lssbi
sudo dkms add .
sudo dkms build lssbi/0.0.0
sudo dkms install lssbi/0.0.0
sudo modprobe lssbi_probeThe command can then be run as an ordinary user:
lssbi
lssbi --legacyRequirements
- riscv64 Linux booted through SBI
- DKMS, GNU Make, and headers matching the running kernel
- Kernel module support and a policy that permits
lssbi_probeto be loaded
This is an initial 0.0.0 release. Its command output and backend interface may
change in later releases.