diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:42:49 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:42:49 +0200 |
commit | 635d320abfa6dc3c0e1d00e3ceae567dd0e55a5b (patch) | |
tree | dcd42fafb9189d3be13ef3d95f9ce6f4f5cfa267 /recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch | |
download | meta-hierofalcon-635d320abfa6dc3c0e1d00e3ceae567dd0e55a5b.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch')
-rw-r--r-- | recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch b/recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch new file mode 100644 index 0000000..7fe0cda --- /dev/null +++ b/recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 15839d0281cba986e018a59827d69ae419112162 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Calianu <adrian.calianu@enea.com> | ||
3 | Date: Tue, 28 Jul 2015 15:56:51 +0200 | ||
4 | Subject: [PATCH 1/1] Hierofalcon: Enable 32-bit EL0 with 64K and 4K page sizes | ||
5 | |||
6 | Hierofalcon is able to switch to aarch32 EL0 only with following setup: | ||
7 | - Page Size 64K - 42bit VA | ||
8 | - Page Size 4K - 48bit VA | ||
9 | |||
10 | Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> | ||
11 | --- | ||
12 | arch/arm64/Kconfig | 4 +++- | ||
13 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig | ||
16 | index 7796af4..29f6a03 100644 | ||
17 | --- a/arch/arm64/Kconfig | ||
18 | +++ b/arch/arm64/Kconfig | ||
19 | @@ -436,6 +436,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 | @@ -452,6 +453,7 @@ config ARM64_VA_BITS_42 | ||
28 | |||
29 | config ARM64_VA_BITS_48 | ||
30 | bool "48-bit" | ||
31 | + depends on ARM64_4K_PAGES | ||
32 | |||
33 | endchoice | ||
34 | |||
35 | @@ -715,7 +717,7 @@ source "fs/Kconfig.binfmt" | ||
36 | |||
37 | config COMPAT | ||
38 | bool "Kernel support for 32-bit EL0" | ||
39 | - depends on !ARM64_64K_PAGES || EXPERT | ||
40 | + depends on !ARM64_64K_PAGES || EXPERT | ||
41 | select COMPAT_BINFMT_ELF | ||
42 | select HAVE_UID16 | ||
43 | select OLD_SIGSUSPEND3 | ||
44 | -- | ||
45 | 1.9.1 | ||
46 | |||