summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-aarch64
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-21 18:04:52 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-24 03:57:17 +0100
commit75d02d599d1d041607af05ef3e3444c3295f24e5 (patch)
treecd94f774982478ba9b3fb74cad8fb1f146354078 /kernels/linux-libre-aarch64
parentb59286f06511eac5eae81371251c98db14abc474 (diff)
linux-libre-aarch64: Enable using a 32bit userspace
This is done by enabling CONFIG_COMPAT. Though when importing the configuration on Linux v5.4.8 and enabling this configuration with: make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- xconfig it updated other parts of the the .config as well. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'kernels/linux-libre-aarch64')
-rw-r--r--kernels/linux-libre-aarch64/PKGBUILD4
-rw-r--r--kernels/linux-libre-aarch64/config.aarch6424
2 files changed, 23 insertions, 5 deletions
diff --git a/kernels/linux-libre-aarch64/PKGBUILD b/kernels/linux-libre-aarch64/PKGBUILD
index 996ab2fb4..73ccf627c 100644
--- a/kernels/linux-libre-aarch64/PKGBUILD
+++ b/kernels/linux-libre-aarch64/PKGBUILD
@@ -9,7 +9,7 @@ _replacesoldmodules=() # '%' gets replaced with kernel suffix
pkgbase=linux-libre-aarch64
pkgver=5.4.8
-pkgrel=2
+pkgrel=3
pkgdesc='Linux-libre-aarch64'
rcnver=5.4.5
rcnrel=armv7-x13
@@ -123,7 +123,7 @@ sha512sums_armv7h=('bc449032f904b5ef5c4506124871230587dd72849f7fed1d7e9f6ab6f530
# work, and access to the hardware that the patches apply to, to upstream such
# patches.
source+=(config.aarch64)
-sha512sums+=('f93197f9e3f37d0343f710433a5f6346469ee06e62d850aca91776349e9154ddee22f534fd7501bb98024d30b338be1475482849f88e2e3ca0821e9f4d59fc19')
+sha512sums+=('c1cfd8760c24435938d1f44610c97f34725d79ae8b64e7a5477927fb2b811571229814dd7e3def42a224c2c59d5e59a45ea7b94a1e7b80e764a47c4f6a62156c')
_replacesarchkernel=("${_replacesarchkernel[@]/\%/${pkgbase#linux-libre}}")
_replacesoldkernels=("${_replacesoldkernels[@]/\%/${pkgbase#linux-libre}}")
diff --git a/kernels/linux-libre-aarch64/config.aarch64 b/kernels/linux-libre-aarch64/config.aarch64
index 888de6685..da3270d6b 100644
--- a/kernels/linux-libre-aarch64/config.aarch64
+++ b/kernels/linux-libre-aarch64/config.aarch64
@@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm64 5.4.8-1 Kernel Configuration
+# Linux/arm64 5.4.8 Kernel Configuration
#
#
-# Compiler: gcc (GCC) 9.2.0
+# Compiler: aarch64-linux-gnu-gcc (GCC) 9.2.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90200
@@ -173,9 +173,11 @@ CONFIG_RD_LZ4=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
+CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_BPF=y
CONFIG_EXPERT=y
+CONFIG_UID16=y
CONFIG_MULTIUSER=y
# CONFIG_SGETMASK_SYSCALL is not set
CONFIG_SYSFS_SYSCALL=y
@@ -315,8 +317,10 @@ CONFIG_ARM64_ERRATUM_824069=y
CONFIG_ARM64_ERRATUM_819472=y
CONFIG_ARM64_ERRATUM_832075=y
CONFIG_ARM64_ERRATUM_834220=y
+CONFIG_ARM64_ERRATUM_845719=y
CONFIG_ARM64_ERRATUM_843419=y
CONFIG_ARM64_ERRATUM_1024718=y
+CONFIG_ARM64_ERRATUM_1418040=y
CONFIG_ARM64_ERRATUM_1165522=y
CONFIG_ARM64_ERRATUM_1286807=y
CONFIG_ARM64_ERRATUM_1463225=y
@@ -382,7 +386,9 @@ CONFIG_ARM64_SSBD=y
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set
CONFIG_ARM64_TAGGED_ADDR_ABI=y
-# CONFIG_COMPAT is not set
+CONFIG_COMPAT=y
+CONFIG_KUSER_HELPERS=y
+# CONFIG_ARMV8_DEPRECATED is not set
#
# ARMv8.1 architectural features
@@ -427,6 +433,7 @@ CONFIG_EFI=y
CONFIG_DMI=y
# end of Boot options
+CONFIG_SYSVIPC_COMPAT=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
#
@@ -692,6 +699,7 @@ CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
+CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_HAVE_ARCH_STACKLEAK=y
@@ -709,9 +717,14 @@ CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_ARCH_MMAP_RND_BITS=18
+CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
+CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11
CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
CONFIG_CLONE_BACKWARDS=y
+CONFIG_OLD_SIGSUSPEND3=y
+CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_64BIT_TIME=y
+CONFIG_COMPAT_32BIT_TIME=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
@@ -801,6 +814,7 @@ CONFIG_EFI_PARTITION=y
# CONFIG_CMDLINE_PARTITION is not set
# end of Partition Types
+CONFIG_BLOCK_COMPAT=y
CONFIG_BLK_MQ_PCI=y
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_BLK_PM=y
@@ -884,6 +898,7 @@ CONFIG_FREEZER=y
# Executable file formats
#
CONFIG_BINFMT_ELF=y
+CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
@@ -943,6 +958,7 @@ CONFIG_ARCH_HAS_PTE_SPECIAL=y
# end of Memory Management options
CONFIG_NET=y
+CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_SKB_EXTENSIONS=y
@@ -8859,6 +8875,7 @@ CONFIG_DLM_DEBUG=y
# Security options
#
CONFIG_KEYS=y
+CONFIG_KEYS_COMPAT=y
# CONFIG_KEYS_REQUEST_CACHE is not set
CONFIG_PERSISTENT_KEYRINGS=y
CONFIG_BIG_KEYS=y
@@ -9151,6 +9168,7 @@ CONFIG_CRC8=m
CONFIG_XXHASH=y
CONFIG_AUDIT_GENERIC=y
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
+CONFIG_AUDIT_COMPAT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_842_COMPRESS=m
CONFIG_842_DECOMPRESS=m