HomeFreeBSD

riscv: reject CPUs with mmu-type "riscv,none"

Description

riscv: reject CPUs with mmu-type "riscv,none"

According to riscv/cpus.yaml in the device-tree docs, this property may
exist but indicate that the CPU does not have an MMU. Detect this
possibility.

Reviewed by: jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36980

(cherry picked from commit 330acb1883242b5362bb6ccf067de253d3549832)

Details

Provenance
mhorneAuthored on Oct 20 2022, 2:57 PM
Reviewer
jhb
Differential Revision
D36980: riscv: reject CPUs with mmu-type "riscv,none"
Parents
rG65b73f7f92dd: run.4: Fix a typo in the DIAGNOSTICS section
Branches
Unknown
Tags
Unknown