HomeFreeBSD

riscv: Implement pmap_mapdev_attr

Description

riscv: Implement pmap_mapdev_attr

This is needed for LinuxKPI's _ioremap_attr. This reuses the generic
implementation introduced for aarch64, and itself requires implementing
pmap_kenter, which is trivial to do given riscv currently treats all
mapping attributes the same due to the Svpbmt extension not yet being
ratified and in hardware.

Reviewed by: markj, mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32445

(cherry picked from commit 682c00a6ce2f3870e9c698b283ee2b2a56c28c0b)

Details

Provenance
jrtc27Authored on Oct 17 2021, 2:31 PM
Reviewer
markj
Differential Revision
D32445: riscv: Implement pmap_mapdev_attr
Parents
rGc1c3ef8ef84b: timeout.1: Fix typos in examples
Branches
Unknown
Tags
Unknown