]> Gentwo Git Trees - linux/.git/commit
rcutorture: Add CFcommon.arch for arch-specific Kconfig options
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Wed, 19 Jun 2024 23:06:58 +0000 (23:06 +0000)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Mon, 29 Jul 2024 02:05:44 +0000 (07:35 +0530)
commitdc86460e77e8cea4896ff19de905001922653311
treeda84319b4306e5cf0b53c304b4b5c1b6d552e8cb
parent72ed29f68e6370841ba10edce5b9a213259eb9a9
rcutorture: Add CFcommon.arch for arch-specific Kconfig options

Add CFcommon.arch for arch-specific Kconfig options.

In accordance with [1], [2] and [3], move the x86-specific kernel option
CONFIG_HYPERVISOR_GUEST to CFcommon.i686 and CFcommon.x86_64, and also
move the x86/PowerPC CONFIG_KVM_GUEST Kconfig option to CFcommon.i686,
CFcommon.x86_64, and CFcommon.ppc64le.

The "arch" in CFcommon.arch is taken from the "uname -m" command.

[1] https://lore.kernel.org/all/20240427005626.1365935-1-zhouzhouyi@gmail.com/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/

Tested in x86_64 and PPC VM of Open Source Lab of Oregon State University.

Fixes: a6fda6dab93c ("rcutorture: Tweak kvm options")
Suggested-by: Paul E. McKenney <paulmck@kernel.org>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/configs/rcu/CFcommon
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 [new file with mode: 0644]