opnsense-src/sys/riscv
Mitchell Horne b7312c3df8 riscv: Svpbmt extension support
The Svpbmt extension provides specification of "Page-Based Memory
Types", or memory attributes (e.g. cacheability constraints).

Extend the pmap code to apply memory attributes when creating/updating
PTEs. This is done in a way which has no effect on CPUs lacking Svpbmt
support, and is non-hostile to alternate encodings of memory attributes
-- a future change will enable this for T-HEAD CPUs, which implement
this PTE feature in an different (incompatible) way.

Reviewed by:	jhb
Tested by:	br
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D45471
2024-07-31 12:28:13 -03:00
..
allwinner sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
conf Retire non-NEW_PCIB code and remove config option 2024-07-18 18:55:12 +01:00
include riscv: Svpbmt extension support 2024-07-31 12:28:13 -03:00
riscv riscv: Svpbmt extension support 2024-07-31 12:28:13 -03:00
sifive newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
starfive jh7110: Add StarFive JH7110 clock/reset generator drivers 2024-05-07 13:07:36 -03:00