From 10545000d4467a7160a523f25c3e93366ddbae68 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Mon, 22 Jan 2024 11:12:21 +0100 Subject: [PATCH] linux-postmarketos-qcom-sc7280: enable useful kernel config options (MR 4761) * BINFMT_MISC * CIFS * LEDS_TRIGGER_PATTERN * NETFILTER_XT_MATCH_STATISTIC * PM_WAKELOCKS * SND_USB_AUDIO * UHID * USB_CONFIGFS_NCM --- .../linux-postmarketos-qcom-sc7280/APKBUILD | 4 +- .../config-postmarketos-qcom-sc7280.aarch64 | 46 +++++++++++++------ 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/device/testing/linux-postmarketos-qcom-sc7280/APKBUILD b/device/testing/linux-postmarketos-qcom-sc7280/APKBUILD index c36c6ee1b..7298f9c5e 100644 --- a/device/testing/linux-postmarketos-qcom-sc7280/APKBUILD +++ b/device/testing/linux-postmarketos-qcom-sc7280/APKBUILD @@ -3,7 +3,7 @@ _flavor="postmarketos-qcom-sc7280" pkgname=linux-$_flavor pkgver=6.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="Mainline Kernel fork for SC7280/SM7325/QCM6490 devices" arch="aarch64" _carch="arm64" @@ -55,5 +55,5 @@ package() { sha512sums=" 91976b128540662a672db3789b7a6bcbd24d6464594df8039366d4c1871995f94ccb3677ee19c97fbcff6663ec7f5034d94971e705780d01ee82f5a6008db0df linux-v6.7.0-sc7280.tar.gz -dc17a873887c10bfdfdd6e11002107d8b30d279159f69e406134191c2d13541221eafb11fa41f48bad1a1a391fc50a2e57f41d87b55f0c1082e0827f1b7ce3d0 config-postmarketos-qcom-sc7280.aarch64 +765901ffef62ff9c45907ac49533ff0feb42bb809aabb0f62e39df6751c8d07620a54433f5255c94facf83534e53680ad074dd3fddfe634940045a1a95a9b36f config-postmarketos-qcom-sc7280.aarch64 " diff --git a/device/testing/linux-postmarketos-qcom-sc7280/config-postmarketos-qcom-sc7280.aarch64 b/device/testing/linux-postmarketos-qcom-sc7280/config-postmarketos-qcom-sc7280.aarch64 index cc17fa754..4c2293051 100644 --- a/device/testing/linux-postmarketos-qcom-sc7280/config-postmarketos-qcom-sc7280.aarch64 +++ b/device/testing/linux-postmarketos-qcom-sc7280/config-postmarketos-qcom-sc7280.aarch64 @@ -523,7 +523,9 @@ CONFIG_PM_SLEEP=y CONFIG_PM_SLEEP_SMP=y # CONFIG_PM_AUTOSLEEP is not set # CONFIG_PM_USERSPACE_AUTOSLEEP is not set -# CONFIG_PM_WAKELOCKS is not set +CONFIG_PM_WAKELOCKS=y +CONFIG_PM_WAKELOCKS_LIMIT=100 +CONFIG_PM_WAKELOCKS_GC=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_CLK=y @@ -853,7 +855,7 @@ CONFIG_ARCH_USE_GNU_PROPERTY=y CONFIG_ELFCORE=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_BINFMT_SCRIPT=y -# CONFIG_BINFMT_MISC is not set +CONFIG_BINFMT_MISC=m CONFIG_COREDUMP=y # end of Executable file formats @@ -1176,7 +1178,7 @@ CONFIG_NETFILTER_XT_MATCH_IPVS=m # CONFIG_NETFILTER_XT_MATCH_SCTP is not set # CONFIG_NETFILTER_XT_MATCH_SOCKET is not set # CONFIG_NETFILTER_XT_MATCH_STATE is not set -# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m # CONFIG_NETFILTER_XT_MATCH_STRING is not set CONFIG_NETFILTER_XT_MATCH_TCPMSS=m # CONFIG_NETFILTER_XT_MATCH_TIME is not set @@ -4127,6 +4129,8 @@ CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_PCM_ELD=y CONFIG_SND_PCM_IEC958=y +CONFIG_SND_HWDEP=m +CONFIG_SND_RAWMIDI=m CONFIG_SND_COMPRESS_OFFLOAD=y CONFIG_SND_JACK=y CONFIG_SND_JACK_INPUT_DEV=y @@ -4160,7 +4164,9 @@ CONFIG_SND_DRIVERS=y CONFIG_SND_HDA_PREALLOC_SIZE=64 CONFIG_SND_SPI=y CONFIG_SND_USB=y -# CONFIG_SND_USB_AUDIO is not set +CONFIG_SND_USB_AUDIO=m +# CONFIG_SND_USB_AUDIO_MIDI_V2 is not set +CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y # CONFIG_SND_USB_UA101 is not set # CONFIG_SND_USB_CAIAQ is not set # CONFIG_SND_USB_6FIRE is not set @@ -4466,7 +4472,7 @@ CONFIG_HID_SUPPORT=y CONFIG_HID=y # CONFIG_HID_BATTERY_STRENGTH is not set # CONFIG_HIDRAW is not set -# CONFIG_UHID is not set +CONFIG_UHID=m CONFIG_HID_GENERIC=y # @@ -4773,13 +4779,14 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 CONFIG_USB_LIBCOMPOSITE=y CONFIG_USB_U_ETHER=y +CONFIG_USB_F_NCM=y CONFIG_USB_F_RNDIS=y CONFIG_USB_F_FS=y CONFIG_USB_CONFIGFS=y # CONFIG_USB_CONFIGFS_SERIAL is not set # CONFIG_USB_CONFIGFS_ACM is not set # CONFIG_USB_CONFIGFS_OBEX is not set -# CONFIG_USB_CONFIGFS_NCM is not set +CONFIG_USB_CONFIGFS_NCM=y # CONFIG_USB_CONFIGFS_ECM is not set # CONFIG_USB_CONFIGFS_ECM_SUBSET is not set CONFIG_USB_CONFIGFS_RNDIS=y @@ -4979,7 +4986,7 @@ CONFIG_LEDS_TRIGGER_TIMER=y # CONFIG_LEDS_TRIGGER_CAMERA is not set # CONFIG_LEDS_TRIGGER_PANIC is not set # CONFIG_LEDS_TRIGGER_NETDEV is not set -# CONFIG_LEDS_TRIGGER_PATTERN is not set +CONFIG_LEDS_TRIGGER_PATTERN=y # CONFIG_LEDS_TRIGGER_AUDIO is not set # CONFIG_LEDS_TRIGGER_TTY is not set @@ -6290,6 +6297,8 @@ CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y # # Caches # +CONFIG_NETFS_SUPPORT=m +# CONFIG_NETFS_STATS is not set # CONFIG_FSCACHE is not set # end of Caches @@ -6383,8 +6392,18 @@ CONFIG_NETWORK_FILESYSTEMS=y # CONFIG_NFS_FS is not set # CONFIG_NFSD is not set # CONFIG_CEPH_FS is not set -# CONFIG_CIFS is not set +CONFIG_CIFS=m +CONFIG_CIFS_STATS2=y +CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y +# CONFIG_CIFS_UPCALL is not set +# CONFIG_CIFS_XATTR is not set +CONFIG_CIFS_DEBUG=y +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set +# CONFIG_CIFS_DFS_UPCALL is not set +# CONFIG_CIFS_SWN_UPCALL is not set # CONFIG_SMB_SERVER is not set +CONFIG_SMBFS=m # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set CONFIG_NLS=y @@ -6438,6 +6457,7 @@ CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_MAC_ROMANIAN is not set # CONFIG_NLS_MAC_TURKISH is not set # CONFIG_NLS_UTF8 is not set +CONFIG_NLS_UCS2_UTILS=m # CONFIG_DLM is not set # CONFIG_UNICODE is not set CONFIG_IO_WQ=y @@ -6589,8 +6609,8 @@ CONFIG_CRYPTO_XTS=y # # CONFIG_CRYPTO_AEGIS128 is not set # CONFIG_CRYPTO_CHACHA20POLY1305 is not set -CONFIG_CRYPTO_CCM=m -CONFIG_CRYPTO_GCM=m +CONFIG_CRYPTO_CCM=y +CONFIG_CRYPTO_GCM=y CONFIG_CRYPTO_GENIV=y # CONFIG_CRYPTO_SEQIV is not set CONFIG_CRYPTO_ECHAINIV=y @@ -6601,11 +6621,11 @@ CONFIG_CRYPTO_ESSIV=y # Hashes, digests, and MACs # CONFIG_CRYPTO_BLAKE2B=m -CONFIG_CRYPTO_CMAC=m -CONFIG_CRYPTO_GHASH=m +CONFIG_CRYPTO_CMAC=y +CONFIG_CRYPTO_GHASH=y CONFIG_CRYPTO_HMAC=y # CONFIG_CRYPTO_MD4 is not set -CONFIG_CRYPTO_MD5=m +CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MICHAEL_MIC=m # CONFIG_CRYPTO_POLY1305 is not set # CONFIG_CRYPTO_RMD160 is not set