From 635d320abfa6dc3c0e1d00e3ceae567dd0e55a5b Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 8 Oct 2015 22:42:49 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- ...-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch (limited to 'recipes-kernel/linux/linux-hierofalcon/02-41-Hierofalcon-Enable-32-bit-EL0-with-64K-and-4K-page-s.patch') 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 @@ +From 15839d0281cba986e018a59827d69ae419112162 Mon Sep 17 00:00:00 2001 +From: Adrian Calianu +Date: Tue, 28 Jul 2015 15:56:51 +0200 +Subject: [PATCH 1/1] Hierofalcon: Enable 32-bit EL0 with 64K and 4K page sizes + + Hierofalcon is able to switch to aarch32 EL0 only with following setup: + - Page Size 64K - 42bit VA + - Page Size 4K - 48bit VA + +Signed-off-by: Adrian Calianu +--- + arch/arm64/Kconfig | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig +index 7796af4..29f6a03 100644 +--- a/arch/arm64/Kconfig ++++ b/arch/arm64/Kconfig +@@ -436,6 +436,7 @@ endchoice + choice + prompt "Virtual address space size" + default ARM64_VA_BITS_39 if ARM64_4K_PAGES ++ default ARM64_VA_BITS_48 if ARM64_4K_PAGES + default ARM64_VA_BITS_42 if ARM64_64K_PAGES + help + Allows choosing one of multiple possible virtual address +@@ -452,6 +453,7 @@ config ARM64_VA_BITS_42 + + config ARM64_VA_BITS_48 + bool "48-bit" ++ depends on ARM64_4K_PAGES + + endchoice + +@@ -715,7 +717,7 @@ source "fs/Kconfig.binfmt" + + config COMPAT + bool "Kernel support for 32-bit EL0" +- depends on !ARM64_64K_PAGES || EXPERT ++ depends on !ARM64_64K_PAGES || EXPERT + select COMPAT_BINFMT_ELF + select HAVE_UID16 + select OLD_SIGSUSPEND3 +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf