projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1de28e
)
arm64: mmu.h: fix PTE_TABLE_AP
author
Caleb Connolly
<caleb.connolly@linaro.org>
Mon, 17 Jun 2024 08:03:47 +0000
(10:03 +0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 25 Jun 2024 23:22:30 +0000
(17:22 -0600)
The APTable attribute is two bits wide according to the ARMv8-A
architecture reference manual. Fix the macro accordingly.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/include/asm/armv8/mmu.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/armv8/mmu.h
b/arch/arm/include/asm/armv8/mmu.h
index ce655ce7a9525a02186e0ffd57a37d9e0bb26ca4..52cb18b9ed5ee7efd8e8b8b82ef3e2e4206da8a2 100644
(file)
--- a/
arch/arm/include/asm/armv8/mmu.h
+++ b/
arch/arm/include/asm/armv8/mmu.h
@@
-51,7
+51,7
@@
#define PTE_TABLE_PXN (1UL << 59)
#define PTE_TABLE_XN (1UL << 60)
-#define PTE_TABLE_AP (
1
UL << 61)
+#define PTE_TABLE_AP (
3
UL << 61)
#define PTE_TABLE_NS (1UL << 63)
/*