arm64: defconfig: Enable some (hopefully) useful options
cover arm64: defconfig: Enable some (hopefully) useful options
The aim of this series is make the arm64 'make defconfig' kernel more useful for debugging and daily usage. I'm aware that expectations there diff widely so I went for things I found in other defconigs as well.
It enables ftrace, more filesystems and more dm/md modules.
Since it's not board specific I have no idea which tree I would target so I picked next-20201218.
Guido Günther (3):
arm64: defconfig: Enable function tracer
arm64: defconfig: Enable more filesystems
arm64: defconfig: Enable more DM/MD targets as modules
arch/arm64/configs/defconfig | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-)
Signature · 1 line
2.29.2
PATCH 1/3 arm64: defconfig: Enable function tracer
This allows for way easier runtime inspection and debugging.
--- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
@@ -1135,5 +1135,5 @@ CONFIG_DEBUG_FS=y CONFIG_DEBUG_KERNEL=y # CONFIG_SCHED_DEBUG is not set # CONFIG_DEBUG_PREEMPT is not set -# CONFIG_FTRACE is not set +CONFIG_FUNCTION_TRACER=y CONFIG_MEMTEST=y
Signature · 1 line
2.29.2
PATCH 2/3 arm64: defconfig: Enable more filesystems
In reply to Guido Güntherxfs, f2fs and iso are common enough to have them everywhere.
--- arch/arm64/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/configs/defconfig +5 -0
@@ -1092,8 +1092,10 @@ CONFIG_INTERCONNECT_QCOM_SM8250=m CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_XFS_FS=m CONFIG_BTRFS_FS=m CONFIG_BTRFS_FS_POSIX_ACL=y +CONFIG_F2FS_FS=m CONFIG_FANOTIFY=y CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y CONFIG_QUOTA=y
@@ -1101,6 +1103,9 @@ CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m CONFIG_OVERLAY_FS=m +CONFIG_ISO9660_FS=m +CONFIG_JOLIET=y +CONFIG_UDF_FS=m CONFIG_VFAT_FS=y CONFIG_HUGETLBFS=y CONFIG_CONFIGFS_FS=y
Signature · 1 line
2.29.2
PATCH 3/3 arm64: defconfig: Enable more DM/MD targets as modules
In reply to Guido GüntherMost notably DM_CRYPT for disk encryption but things like snapshot, etc. are useful on embedded as well and the others make sense on arm64 servers.
CONFIG_BLK_DEV_MD gets dropped because other config options like CONFIG_MD_RAID0 depend on it.
--- arch/arm64/configs/defconfig | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
arch/arm64/configs/defconfig +18 -1
@@ -296,10 +296,27 @@ CONFIG_SATA_RCAR=y CONFIG_PATA_PLATFORM=y CONFIG_PATA_OF_PLATFORM=y CONFIG_MD=y -CONFIG_BLK_DEV_MD=m CONFIG_BLK_DEV_DM=m +CONFIG_DM_CRYPT=m +CONFIG_DM_SNAPSHOT=m +CONFIG_DM_THIN_PROVISIONING=m +CONFIG_DM_WRITECACHE=m CONFIG_DM_MIRROR=m +CONFIG_DM_LOG_USERSPACE=m +CONFIG_DM_RAID=m CONFIG_DM_ZERO=m +CONFIG_DM_MULTIPATH=m +CONFIG_DM_MULTIPATH_QL=m +CONFIG_DM_MULTIPATH_ST=m +CONFIG_DM_MULTIPATH_HST=m +CONFIG_DM_MULTIPATH_IOA=m +CONFIG_DM_DELAY=m +CONFIG_DM_DUST=m +CONFIG_DM_UEVENT=y +CONFIG_DM_FLAKEY=m +CONFIG_DM_VERITY=m +CONFIG_DM_LOG_WRITES=m +CONFIG_DM_INTEGRITY=m CONFIG_NETDEVICES=y CONFIG_MACVLAN=m CONFIG_MACVTAP=m
Signature · 1 line
2.29.2