aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-05-24 16:00:52 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-26 15:55:23 +1000
commit36ec8dd69028adaa1ad2dc5d6a84bba229032adf (patch)
tree066dd690d5f9fc09055a5411da7587dc6d46e2f0 /hdata
parent0039819f46e71a2f549b7a418dc5440fb04156b6 (diff)
downloadskiboot-36ec8dd69028adaa1ad2dc5d6a84bba229032adf.zip
skiboot-36ec8dd69028adaa1ad2dc5d6a84bba229032adf.tar.gz
skiboot-36ec8dd69028adaa1ad2dc5d6a84bba229032adf.tar.bz2
mem_region: Add HW-only memory resevations
Add a new type of memory reservation that indicates a memory region is only used by hardware and should not be touched by software. This is needed for the in-memory tracing buffers. These reservations have the "no-map" property which indicates that the host kernel should not setup any virtual address mappings that cover this range, unless of course a device driver does so explicitly. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r--hdata/test/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c
index e3b0fdf..68f55e6 100644
--- a/hdata/test/stubs.c
+++ b/hdata/test/stubs.c
@@ -107,3 +107,4 @@ static void noop_function(void) {}
NOOP_STUB(early_uart_init);
NOOP_STUB(mem_reserve_fw);
+NOOP_STUB(mem_reserve_hwbuf);