projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: KVM: define HYP and Stage-2 translation page flags
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm64
/
include
/
asm
/
memory.h
diff --git
a/arch/arm64/include/asm/memory.h
b/arch/arm64/include/asm/memory.h
index 381f556b664ef9fa0f6ad05b39396ebc5b493d6a..20925bcf4e2a10485d724c5017c0ac639093390a 100644
(file)
--- a/
arch/arm64/include/asm/memory.h
+++ b/
arch/arm64/include/asm/memory.h
@@
-90,6
+90,12
@@
#define MT_NORMAL_NC 3
#define MT_NORMAL 4
+/*
+ * Memory types for Stage-2 translation
+ */
+#define MT_S2_NORMAL 0xf
+#define MT_S2_DEVICE_nGnRE 0x1
+
#ifndef __ASSEMBLY__
extern phys_addr_t memstart_addr;