summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch')
-rw-r--r--recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch b/recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch
new file mode 100644
index 0000000..63031ec
--- /dev/null
+++ b/recipes-kernel/linux/linux-hierofalcon/02-319-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch
@@ -0,0 +1,47 @@
1From ab3d099133f84d59e02a572801659cf8b1145f72 Mon Sep 17 00:00:00 2001
2From: Adrian Calianu <adrian.calianu@enea.com>
3Date: Thu, 19 Feb 2015 09:24:22 +0100
4Subject: [PATCH 1/1] Hierofalcon: Enable 32-bit EL0 with 64K and 4K page sizes
5
6Hierofalcon is able to switch to aarch32 EL0 only with following setup:
7- Page Size 64K - 42bit VA
8- Page Size 4K - 48bit VA
9
10Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
11---
12 arch/arm64/Kconfig | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
16index d35a06c..68b4859 100644
17--- a/arch/arm64/Kconfig
18+++ b/arch/arm64/Kconfig
19@@ -338,6 +338,7 @@ endchoice
20 choice
21 prompt "Virtual address space size"
22 default ARM64_VA_BITS_39 if ARM64_4K_PAGES
23+ default ARM64_VA_BITS_48 if ARM64_4K_PAGES
24 default ARM64_VA_BITS_42 if ARM64_64K_PAGES
25 help
26 Allows choosing one of multiple possible virtual address
27@@ -354,7 +355,7 @@ config ARM64_VA_BITS_42
28
29 config ARM64_VA_BITS_48
30 bool "48-bit"
31- depends on !ARM_SMMU
32+ depends on ARM64_4K_PAGES
33
34 endchoice
35
36@@ -613,7 +614,7 @@ source "fs/Kconfig.binfmt"
37
38 config COMPAT
39 bool "Kernel support for 32-bit EL0"
40- depends on !ARM64_64K_PAGES
41+ depends on !ARM64_64K_PAGES || EXPERT
42 select COMPAT_BINFMT_ELF
43 select HAVE_UID16
44 select OLD_SIGSUSPEND3
45--
461.9.1
47