Skip to content

Commit bafa451

Browse files
shenkipalmer-dabbelt
authored andcommitted
riscv: defconfig: Remove EXPERT
The setting of EXPERT is a leftover from when the riscv defconfig was first added. As mentioned in the EXPERT Kconfig help text it is not intended to be set in the usual case. Upon removal a bunch of intrusive debug-related kernel options are no longer set, which is good. A few may want to come back in the future but let those be advocated for on a case by case basis. NAMESPACES, SYSFS_SYSCALL and MEDIA_SUPPORT_FILTER default on and thus fall out of the defconfig. Set VIDEO_CADENCE_CSI2RX=y to ensure VIDEO_CADENCE_CSI2RX stays enabled. Set DEBUG_KERNEL=y in line with other arch defconfigs. This turns on tracing. Signed-off-by: Joel Stanley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8907952 commit bafa451

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

arch/riscv/configs/defconfig

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ CONFIG_CGROUP_DEVICE=y
1818
CONFIG_CGROUP_CPUACCT=y
1919
CONFIG_CGROUP_PERF=y
2020
CONFIG_CGROUP_BPF=y
21-
CONFIG_NAMESPACES=y
2221
CONFIG_USER_NS=y
2322
CONFIG_CHECKPOINT_RESTORE=y
2423
CONFIG_BLK_DEV_INITRD=y
25-
CONFIG_EXPERT=y
26-
# CONFIG_SYSFS_SYSCALL is not set
2724
CONFIG_PROFILING=y
2825
CONFIG_ARCH_MICROCHIP=y
2926
CONFIG_ARCH_SIFIVE=y
@@ -181,6 +178,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y
181178
CONFIG_REGULATOR_AXP20X=y
182179
CONFIG_REGULATOR_GPIO=y
183180
CONFIG_MEDIA_SUPPORT=m
181+
CONFIG_MEDIA_PLATFORM_SUPPORT=y
184182
CONFIG_VIDEO_CADENCE_CSI2RX=m
185183
CONFIG_DRM=m
186184
CONFIG_DRM_RADEON=m
@@ -294,25 +292,7 @@ CONFIG_DEFAULT_SECURITY_DAC=y
294292
CONFIG_CRYPTO_USER_API_HASH=y
295293
CONFIG_CRYPTO_DEV_VIRTIO=y
296294
CONFIG_PRINTK_TIME=y
295+
CONFIG_DEBUG_KERNEL=y
297296
CONFIG_DEBUG_FS=y
298-
CONFIG_DEBUG_PAGEALLOC=y
299-
CONFIG_SCHED_STACK_END_CHECK=y
300-
CONFIG_DEBUG_VM=y
301-
CONFIG_DEBUG_VM_PGFLAGS=y
302-
CONFIG_DEBUG_MEMORY_INIT=y
303-
CONFIG_DEBUG_PER_CPU_MAPS=y
304-
CONFIG_SOFTLOCKUP_DETECTOR=y
305-
CONFIG_WQ_WATCHDOG=y
306-
CONFIG_DEBUG_RT_MUTEXES=y
307-
CONFIG_DEBUG_SPINLOCK=y
308-
CONFIG_DEBUG_MUTEXES=y
309-
CONFIG_DEBUG_RWSEMS=y
310-
CONFIG_DEBUG_ATOMIC_SLEEP=y
311-
CONFIG_DEBUG_LIST=y
312-
CONFIG_DEBUG_PLIST=y
313-
CONFIG_DEBUG_SG=y
314-
# CONFIG_RCU_TRACE is not set
315-
CONFIG_RCU_EQS_DEBUG=y
316-
# CONFIG_FTRACE is not set
317297
# CONFIG_RUNTIME_TESTING_MENU is not set
318298
CONFIG_MEMTEST=y

0 commit comments

Comments
 (0)