Centos-kernel-stream-9/arch
Waiman Long a369ab27be rcu: Fix undefined Kconfig macros
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2065994

commit 3ac858785231e2573d2964950738aac087ebf30c
Author: Zhouyi Zhou <zhouzhouyi@gmail.com>
Date:   Mon, 26 Jul 2021 05:43:33 +0800

    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>

Signed-off-by: Waiman Long <longman@redhat.com>
2022-03-24 17:15:39 -04:00
..
alpha Merge: mm: update generic MM code to upstream v5.15 2021-12-15 11:00:36 -03:00
arc sched: Add wrapper for get_wchan() to keep task blocked 2021-11-23 07:21:25 -05:00
arm printk: remove NMI tracking 2022-01-11 09:45:30 -05:00
arm64 crypto: arm64/aes-ce - stop using SIMD helper for skciphers 2022-03-14 21:10:23 +01:00
csky ftrace: disable preemption when recursion locked 2022-01-03 11:30:41 -03:00
h8300 sched: Add wrapper for get_wchan() to keep task blocked 2021-11-23 07:21:25 -05:00
hexagon sched: Add wrapper for get_wchan() to keep task blocked 2021-11-23 07:21:25 -05:00
ia64 Merge: mm: update generic MM code to upstream v5.15 2021-12-15 11:00:36 -03:00
m68k Merge: block: update to v5.16 2021-12-17 09:07:53 -03:00
microblaze Merge: mm: update generic MM code to upstream v5.15 2021-12-15 11:00:36 -03:00
mips Merge: drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION() 2021-12-21 20:12:36 -03:00
nds32 Merge: mm: update generic MM code to upstream v5.15 2021-12-15 11:00:36 -03:00
nios2 sched: Add wrapper for get_wchan() to keep task blocked 2021-11-23 07:21:25 -05:00
openrisc Merge: block: update to v5.16 2021-12-17 09:07:53 -03:00
parisc ftrace: disable preemption when recursion locked 2022-01-03 11:30:41 -03:00
powerpc Merge: powerpc: fix kernel panic on boot of PowerVM systems that are running on shared processing mode [Hash] 2022-03-20 08:03:33 +00:00
riscv ftrace: disable preemption when recursion locked 2022-01-03 11:30:41 -03:00
s390 KVM: s390: Return error on SIDA memop on normal guest 2022-03-08 11:42:05 +01:00
sh rcu: Fix undefined Kconfig macros 2022-03-24 17:15:39 -04:00
sparc Merge: mm: update generic MM code to upstream v5.15 2021-12-15 11:00:36 -03:00
um Merge: block: update to v5.16 2021-12-17 09:07:53 -03:00
x86 Merge: Fix bad page state in process qemu-kvm when using TDP_MMU 2022-03-22 09:35:06 +00:00
xtensa rcu: Fix undefined Kconfig macros 2022-03-24 17:15:39 -04:00
.gitignore
Kconfig signal: Add an optional check for altstack size 2021-11-29 12:25:08 -05:00