From 6492d16d8bf8438cb59c63d242a2585c650117a5 Mon Sep 17 00:00:00 2001 From: Huang Yiwei Date: Fri, 10 Jul 2020 17:52:34 +0800 Subject: [PATCH] dt-bindings: ramoops: Add mem-type bindings snapshot Add mem-type bindings snapshot to ramoops. This option is used to determine the memory type of reserved region. It is compatible with existing option and provide another full cached memory type. Change-Id: I6a545e6f0ce26904c753b23404bc1e6bc1faaebb --- bindings/reserved-memory/ramoops.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/reserved-memory/ramoops.txt b/bindings/reserved-memory/ramoops.txt index 0eba562fe5c6..c0db67bec227 100644 --- a/bindings/reserved-memory/ramoops.txt +++ b/bindings/reserved-memory/ramoops.txt @@ -45,6 +45,12 @@ Optional properties: - unbuffered: if present, use unbuffered mappings to map the reserved region (defaults to buffered mappings) +- mem-type: determine the memory type of the reserved region, compatible with + , 0: writecombine(same as is not set), 1: noncached + (same as is set), 2: normal memory(fully cached for better + performance) + (defaults to 0: writecombine) + - no-dump-oops: if present, only dump panics (defaults to panics and oops) - flags: if present, pass ramoops behavioral flags (defaults to 0,