Detect and report the supported MMU for each CPU. This information is
not currently needed elsewhere in the kernel, but should be trivial to
export in the future.
Details
Details
- Reviewers
markj - Group Reviewers
riscv - Commits
- rGc48ea7b4953e: riscv: MMU detection
rG7245ffd10eda: riscv: MMU detection
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This information is not currently needed elsewhere in the kernel
The riscv kernel can run in SV48 mode if the user specifies a tunable requesting it. Presumably pmap_bootstrap() should be explicitly checking for that capability?
Comment Actions
I did look at that bit where you set up satp, and it recovers gracefully when SV48 is not supported so I didn't bother making this info public. But it would not hurt to do so.