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-319-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-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.patch | 47 |
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 @@ | |||
1 | From ab3d099133f84d59e02a572801659cf8b1145f72 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Calianu <adrian.calianu@enea.com> | ||
3 | Date: Thu, 19 Feb 2015 09:24:22 +0100 | ||
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 | 5 +++-- | ||
13 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig | ||
16 | index 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 | -- | ||
46 | 1.9.1 | ||
47 | |||