git: f40ed4881e25 - main - fdt,simple_mfd: Map memory as shareable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 17:53:53 UTC
The branch main has been updated by mmel:
URL: https://cgit.FreeBSD.org/src/commit/?id=f40ed4881e2581d56b1a63ffb0122e017b2139f3
commit f40ed4881e2581d56b1a63ffb0122e017b2139f3
Author: Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2025-11-06 19:21:49 +0000
Commit: Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2026-02-22 17:53:27 +0000
fdt,simple_mfd: Map memory as shareable.
It may be submapped in child drivers.
MFC after: 3 weeks
---
sys/dev/fdt/simple_mfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/fdt/simple_mfd.c b/sys/dev/fdt/simple_mfd.c
index 1c642c6ca99c..66352e3f9409 100644
--- a/sys/dev/fdt/simple_mfd.c
+++ b/sys/dev/fdt/simple_mfd.c
@@ -207,7 +207,7 @@ simple_mfd_attach(device_t dev)
if (ofw_bus_is_compatible(dev, "syscon")) {
sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
- RF_ACTIVE);
+ RF_ACTIVE | RF_SHAREABLE);
if (sc->mem_res == NULL) {
device_printf(dev,
"Cannot allocate memory resource\n");