linux-stable/arch/sh/configs
Zhouyi Zhou 3ac8587852 rcu: Fix undefined Kconfig macros
Invoking scripts/checkkconfigsymbols.py in the Linux-kernel source tree
located the following issues:

1. TREE_PREEMPT_RCU
Referencing files: arch/sh/configs/sdk7786_defconfig

It should now be CONFIG_PREEMPT_RCU. Except that the CONFIG_PREEMPT=y in
that same file implies CONFIG_PREEMPT_RCU=y.  Therefore, delete the
CONFIG_TREE_PREEMPT_RCU=y line.

The reason is as follows:

In kernel/rcu/Kconfig, we have
config PREEMPT_RCU
        bool
        default y if PREEMPTION

https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt says,
"The default value is only assigned to the config symbol if no other value
 was set by the user (via the input prompt above)."
there is no prompt in config PREEMPT_RCU entry, so we are guaranteed to
get CONFIG_PREEMPT_RCU=y when CONFIG_PREEMPT is present.

2. RCU_CPU_STALL_INFO
Referencing files: arch/xtensa/configs/nommu_kc705_defconfig

The old Kconfig option RCU_CPU_STALL_INFO was removed by commit
75c27f119b ("rcu: Remove CONFIG_RCU_CPU_STALL_INFO"), and the kernel
now acts as if this Kconfig option was unconditionally enabled.

3. RCU_NOCB_CPU_ALL
Referencing files:
Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst

This is an old snapshot of the code. I update this from the real
rcu_prepare_for_idle() function in kernel/rcu/tree_plugin.h.
This change was tested by invoking "make htmldocs".

4. RCU_TORTURE_TESTS
Referencing files: kernel/rcu/rcutorture.c

Forward-progress checking conflicts with CPU-stall testing, so we should
complain at "modprobe rcutorture" when both are enabled.

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-09-13 16:32:46 -07:00
..
ap325rxa_defconfig arch/sh/configs: remove obsolete CONFIG_SOC_CAMERA* 2020-08-14 22:05:12 -04:00
apsh4a3a_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
apsh4ad0a_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
dreamcast_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
ecovec24-romimage_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
ecovec24_defconfig arch/sh/configs: remove obsolete CONFIG_SOC_CAMERA* 2020-08-14 22:05:12 -04:00
edosk7705_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
edosk7760_defconfig module: remove EXPORT_UNUSED_SYMBOL* 2021-02-08 12:28:07 +01:00
espt_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
hp6xx_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
j2_defconfig sh: add earlycon support to j2_defconfig 2016-10-18 18:54:56 -04:00
kfr2r09-romimage_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
kfr2r09_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
landisk_defconfig sh: remove CONFIG_IDE from most defconfig 2021-01-06 19:55:25 -05:00
lboxre2_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
magicpanelr2_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
microdev_defconfig sh: remove CONFIG_IDE from most defconfig 2021-01-06 19:55:25 -05:00
migor_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
polaris_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
r7780mp_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
r7785rp_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
rsk7201_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
rsk7203_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
rsk7264_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
rsk7269_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
rts7751r2d1_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
rts7751r2dplus_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
sdk7780_defconfig Modules updates for v5.12 2021-02-23 10:15:33 -08:00
sdk7786_defconfig rcu: Fix undefined Kconfig macros 2021-09-13 16:32:46 -07:00
se7206_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
se7343_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7619_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7705_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7712_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
se7721_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
se7722_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
se7724_defconfig arch/sh/configs: remove obsolete CONFIG_SOC_CAMERA* 2020-08-14 22:05:12 -04:00
se7750_defconfig sh: remove CONFIG_IDE from most defconfig 2021-01-06 19:55:25 -05:00
se7751_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
se7780_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
secureedge5410_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh03_defconfig Remove oprofile and dcookies support 2021-02-21 10:40:34 -08:00
sh2007_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7710voipgw_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh7724_generic_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7757lcr_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh7763rdp_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
sh7770_generic_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7785lcr_32bit_defconfig drivers/char: remove /dev/kmem for good 2021-05-07 00:26:34 -07:00
sh7785lcr_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00
shmin_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
shx3_defconfig arch: sh: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
titan_defconfig all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
ul2_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
urquell_defconfig sh: configs: Remove useless UEVENT_HELPER_PATH 2019-06-10 15:49:20 +09:00