From 9db736df62db21470d93a488f07d780cf367939e Mon Sep 17 00:00:00 2001 From: Stefan Hansson Date: Wed, 1 May 2024 00:03:08 +0200 Subject: [PATCH] linux-purism-librem5: enable options necessary for libcamera development (MR 5084) See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2174#note_1884069175 --- device/main/linux-purism-librem5/APKBUILD | 4 ++-- .../config-purism-librem5.aarch64 | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/device/main/linux-purism-librem5/APKBUILD b/device/main/linux-purism-librem5/APKBUILD index f9756e4f5..c05ad0f03 100644 --- a/device/main/linux-purism-librem5/APKBUILD +++ b/device/main/linux-purism-librem5/APKBUILD @@ -4,7 +4,7 @@ # Co-Maintainer: Newbyte pkgname=linux-purism-librem5 pkgver=6.6.22 -pkgrel=0 +pkgrel=1 # NOTE: Don't forget to rebase the config! See prepare() for instructions. _purismrel=1 # . @@ -84,5 +84,5 @@ package() { sha512sums=" 5cbf171b714be51d41eeab852e6623d5b21f18bd5ab0387a649d1792574c3ce827a3b84ed7b04bec349f430c4a44e5a3946fa410991300a618234b5150297e2e linux-purism-librem5-6.6.22pureos1.tar.gz -17d8d3b65e6122244ac2b1e7f6ddff2229dae0b9f7045e87a77d1e0fa022a1e4f8567b77d85450dc5e78f77dca644deb51f16a6efa7763969e1764a9494ccd34 config-purism-librem5.aarch64 +fedec4eb9316f1a35072f8c15ced57685d68d38901cb6ae171b0f2d6a5c6b78773ae3aa0ff05445ed4012fadf2489ee97fe0972d8b7e5a07188eb65a5a360995 config-purism-librem5.aarch64 " diff --git a/device/main/linux-purism-librem5/config-purism-librem5.aarch64 b/device/main/linux-purism-librem5/config-purism-librem5.aarch64 index 42a491aa3..209cc6e48 100644 --- a/device/main/linux-purism-librem5/config-purism-librem5.aarch64 +++ b/device/main/linux-purism-librem5/config-purism-librem5.aarch64 @@ -480,7 +480,7 @@ CONFIG_ARM64_CNP=y # ARMv8.3 architectural features # CONFIG_ARM64_PTR_AUTH=y -# CONFIG_ARM64_PTR_AUTH_KERNEL is not set +CONFIG_ARM64_PTR_AUTH_KERNEL=y CONFIG_CC_HAS_BRANCH_PROT_PAC_RET=y CONFIG_CC_HAS_SIGN_RETURN_ADDRESS=y CONFIG_AS_HAS_ARMV8_3=y @@ -493,7 +493,7 @@ CONFIG_AS_HAS_LDAPR=y # CONFIG_ARM64_AMU_EXTN=y CONFIG_AS_HAS_ARMV8_4=y -# CONFIG_ARM64_TLB_RANGE is not set +CONFIG_ARM64_TLB_RANGE=y # end of ARMv8.4 architectural features # @@ -504,7 +504,7 @@ CONFIG_ARM64_BTI=y CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI=y CONFIG_ARM64_E0PD=y CONFIG_ARM64_AS_HAS_MTE=y -# CONFIG_ARM64_MTE is not set +CONFIG_ARM64_MTE=y # end of ARMv8.5 architectural features # @@ -620,6 +620,7 @@ CONFIG_HAVE_KVM=y # # General architecture-dependent options # +CONFIG_ARCH_HAS_SUBPAGE_FAULTS=y CONFIG_HOTPLUG_CORE_SYNC=y CONFIG_HOTPLUG_CORE_SYNC_DEAD=y # CONFIG_KPROBES is not set @@ -932,6 +933,8 @@ CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y CONFIG_ARCH_HAS_PTE_DEVMAP=y CONFIG_ZONE_DMA=y CONFIG_ZONE_DMA32=y +CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y +CONFIG_ARCH_USES_PG_ARCH_X=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_PERCPU_STATS is not set # CONFIG_GUP_TEST is not set @@ -5618,8 +5621,10 @@ CONFIG_SYNC_FILE=y # CONFIG_DMABUF_MOVE_NOTIFY is not set # CONFIG_DMABUF_DEBUG is not set # CONFIG_DMABUF_SELFTESTS is not set -# CONFIG_DMABUF_HEAPS is not set +CONFIG_DMABUF_HEAPS=y # CONFIG_DMABUF_SYSFS_STATS is not set +# CONFIG_DMABUF_HEAPS_SYSTEM is not set +CONFIG_DMABUF_HEAPS_CMA=y # end of DMABUF options # CONFIG_UIO is not set @@ -7537,6 +7542,7 @@ CONFIG_DEBUG_MEMORY_INIT=y # CONFIG_DEBUG_PER_CPU_MAPS is not set CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y +CONFIG_HAVE_ARCH_KASAN_HW_TAGS=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y CONFIG_CC_HAS_KASAN_SW_TAGS=y