rcutorture: Add CFcommon.arch for the various arch's need
Subsystems (3)
PATCH v4 1/1 rcutorture: Add CFcommon.arch for the various arch's need
Add CFcommon.arch for the various arch's need for rcutorture.
In accordance with [1], [2] and [3], move x86 specific kernel option CONFIG_HYPERVISOR_GUEST to CFcommon.arch, also move kernel option CONFIG_KVM_GUEST which only exists on x86 & PowerPC to CFcommon.arch.
[1] https://lore.kernel.org/all/[email protected]/
[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.
--- tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | 2 ++ tools/testing/selftests/rcutorture/configs/rcu/CFcommon | 2 -- tools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 | 2 ++ tools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le | 1 + tools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 | 2 ++ 5 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +2 -0
@@ -68,6 +68,8 @@ config_override_param "--gdb options" KcList "$TORTURE_KCONFIG_GDB_ARG" config_override_param "--kasan options" KcList "$TORTURE_KCONFIG_KASAN_ARG" config_override_param "--kcsan options" KcList "$TORTURE_KCONFIG_KCSAN_ARG" config_override_param "--kconfig argument" KcList "$TORTURE_KCONFIG_ARG" +config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \ + "`cat $config_dir/CFcommon.$(uname -m) 2> /dev/null`" cp $T/KcList $resdir/ConfigFragment base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`
tools/testing/selftests/rcutorture/configs/rcu/CFcommon +0 -2
@@ -1,7 +1,5 @@ CONFIG_RCU_TORTURE_TEST=y CONFIG_PRINTK_TIME=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_KVM_GUEST=y CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=n
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le new file +1 -0
@@ -0,0 +1 @@ +CONFIG_KVM_GUEST=y
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
Signature · 1 line
2.39.2
Paul E. McKenney
maintainerQuoted 10 lines · Zhouyi Zhou
Add CFcommon.arch for the various arch's need for rcutorture.
In accordance with [1], [2] and [3], move x86 specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.arch, also move kernel optionCONFIG_KVM_GUESTwhich only exists on x86 & PowerPC to CFcommon.arch.[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/
Quoted 6 lines
Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>
Thank you! I have reverted the earlier version to queue this one. Please check below to make sure that my usual wordsmithing did not mess things up.
Mark, any suggestions for any needed ARM CFcommon.arch files? Or does moving out the x86/PowerPC-specific Kconfig options take care of things for you guys? (Hey, I can dream, can't I?)
Thanx, Paul
------------------------------------------------------------------------
commit 9d6767c47ce4de2ef817e47a5882748d8008ebe9
Author: Zhouyi Zhou <[email protected]> Date: Wed Jun 19 23:06:58 2024 +0000
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/[email protected]/
[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.
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +2 -0
@@ -68,6 +68,8 @@ config_override_param "--gdb options" KcList "$TORTURE_KCONFIG_GDB_ARG" config_override_param "--kasan options" KcList "$TORTURE_KCONFIG_KASAN_ARG" config_override_param "--kcsan options" KcList "$TORTURE_KCONFIG_KCSAN_ARG" config_override_param "--kconfig argument" KcList "$TORTURE_KCONFIG_ARG" +config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \ + "`cat $config_dir/CFcommon.$(uname -m) 2> /dev/null`" cp $T/KcList $resdir/ConfigFragment base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`
tools/testing/selftests/rcutorture/configs/rcu/CFcommon +0 -2
@@ -1,7 +1,5 @@ CONFIG_RCU_TORTURE_TEST=y CONFIG_PRINTK_TIME=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_KVM_GUEST=y CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=n
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le new file +1 -0
@@ -0,0 +1 @@ +CONFIG_KVM_GUEST=y
tools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
Quoted 14 lines · Paul E. McKenney
Quoted 12 lines · Zhouyi Zhou
Add CFcommon.arch for the various arch's need for rcutorture.
In accordance with [1], [2] and [3], move x86 specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.arch, also move kernel optionCONFIG_KVM_GUESTwhich only exists on x86 & PowerPC to CFcommon.arch.[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.
Quoted 8 lines
Quoted 4 lines
Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>Thank you! I have reverted the earlier version to queue this one. Please check below to make sure that my usual wordsmithing did not mess things up.
I have studied the edition thoroughly, it is wonderful, and I learn a lot through this
process!
Quoted 4 lines
Mark, any suggestions for any needed ARM CFcommon.arch files? Or does moving out the x86/PowerPC-specific
Kconfigoptions take care of things for you guys? (Hey, I can dream, can't I?)
Thank you both for your guidance!
Regards
Zhouyi
Quoted 80 lines
Thanx, Paul
------------------------------------------------------------------------
commit
9d6767c47ce4de2ef817e47a5882748d8008ebe9Author: Zhouyi Zhou <[email protected]> Date: Wed Jun 19 23:06:58 2024 +0000rcutorture: Add CFcommon.arch for arch-specific
KconfigoptionsAdd CFcommon.arch for arch-specific
Kconfigoptions.In accordance with [1], [2] and [3], move the x86-specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.i686 and CFcommon.x86_64, and also move the x86/PowerPCCONFIG_KVM_GUESTKconfigoption 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/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>Signed-off-by Paul E. McKenney <[email protected]>tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +2
-0@@ -68,6 +68,8 @@ config_override_param "--gdb options" KcList "$TORTURE_KCONFIG_GDB_ARG" config_override_param "--kasan options" KcList "$TORTURE_KCONFIG_KASAN_ARG" config_override_param "--kcsan options" KcList "$TORTURE_KCONFIG_KCSAN_ARG" config_override_param "--kconfig argument" KcList "$TORTURE_KCONFIG_ARG" +config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \ + "`cat $config_dir/CFcommon.$(uname -m) 2> /dev/null`" cp $T/KcList $resdir/ConfigFragment base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`tools/testing/selftests/rcutorture/configs/rcu/CFcommon +0
-2@@ -1,7 +1,5 @@ CONFIG_RCU_TORTURE_TEST=y CONFIG_PRINTK_TIME=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_KVM_GUEST=y CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=ntools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le new file +1
-0@@ -0,0 +1 @@ +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
Mark Rutland
Acked-byQuoted 18 lines · Paul E. McKenney
Quoted 10 lines · Zhouyi Zhou
Add CFcommon.arch for the various arch's need for rcutorture.
In accordance with [1], [2] and [3], move x86 specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.arch, also move kernel optionCONFIG_KVM_GUESTwhich only exists on x86 & PowerPC to CFcommon.arch.[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/Quoted 6 lines
Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>
Quoted 7 lines
Thank you! I have reverted the earlier version to queue this one. Please check below to make sure that my usual wordsmithing did not mess things up.
Mark, any suggestions for any needed ARM CFcommon.arch files? Or does moving out the x86/PowerPC-specific
Kconfigoptions take care of things for you guys? (Hey, I can dream, can't I?)
I'm not aware of anything that we specifically need enabled, so pulling out those bits should be everything -- I've given my Ack below.
Quoted 23 lines
Thanx, Paul
------------------------------------------------------------------------
commit
9d6767c47ce4de2ef817e47a5882748d8008ebe9Author: Zhouyi Zhou <[email protected]> Date: Wed Jun 19 23:06:58 2024 +0000rcutorture: Add CFcommon.arch for arch-specific
KconfigoptionsAdd CFcommon.arch for arch-specific
Kconfigoptions.In accordance with [1], [2] and [3], move the x86-specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.i686 and CFcommon.x86_64, and also move the x86/PowerPCCONFIG_KVM_GUESTKconfigoption 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/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/
Quoted 7 lines
Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>Signed-off-by Paul E. McKenney <[email protected]>
Mark.
Quoted 49 lines
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +2
-0@@ -68,6 +68,8 @@ config_override_param "--gdb options" KcList "$TORTURE_KCONFIG_GDB_ARG" config_override_param "--kasan options" KcList "$TORTURE_KCONFIG_KASAN_ARG" config_override_param "--kcsan options" KcList "$TORTURE_KCONFIG_KCSAN_ARG" config_override_param "--kconfig argument" KcList "$TORTURE_KCONFIG_ARG" +config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \ + "`cat $config_dir/CFcommon.$(uname -m) 2> /dev/null`" cp $T/KcList $resdir/ConfigFragment base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`tools/testing/selftests/rcutorture/configs/rcu/CFcommon +0
-2@@ -1,7 +1,5 @@ CONFIG_RCU_TORTURE_TEST=y CONFIG_PRINTK_TIME=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_KVM_GUEST=y CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=ntools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le new file +1
-0@@ -0,0 +1 @@ +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y
Paul E. McKenney
maintainerQuoted 23 lines · Mark Rutland
Quoted 22 lines · Paul E. McKenney
Quoted 10 lines · Zhouyi Zhou
Add CFcommon.arch for the various arch's need for rcutorture.
In accordance with [1], [2] and [3], move x86 specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.arch, also move kernel optionCONFIG_KVM_GUESTwhich only exists on x86 & PowerPC to CFcommon.arch.[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/Quoted 6 lines
Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>Thank you! I have reverted the earlier version to queue this one. Please check below to make sure that my usual wordsmithing did not mess things up.
Quoted 6 lines
Quoted 3 lines
Mark, any suggestions for any needed ARM CFcommon.arch files? Or does moving out the x86/PowerPC-specific
Kconfigoptions take care of things for you guys? (Hey, I can dream, can't I?)I'm not aware of anything that we specifically need enabled, so pulling out those bits should be everything -- I've given my Ack below.
Sometimes dreams come true? ;-)
And thank you -- I will apply your ack on my next rebase.
Thanx, Paul
Quoted 83 lines
Quoted 21 lines
------------------------------------------------------------------------
commit
9d6767c47ce4de2ef817e47a5882748d8008ebe9Author: Zhouyi Zhou <[email protected]> Date: Wed Jun 19 23:06:58 2024 +0000rcutorture: Add CFcommon.arch for arch-specific
KconfigoptionsAdd CFcommon.arch for arch-specific
Kconfigoptions.In accordance with [1], [2] and [3], move the x86-specific kernel option
CONFIG_HYPERVISOR_GUESTto CFcommon.i686 and CFcommon.x86_64, and also move the x86/PowerPCCONFIG_KVM_GUESTKconfigoption 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/[email protected]/
[2] https://lore.kernel.org/all/059d36ce-6453-42be-a31e-895abd35d590@paulmck-laptop/
[3] https://lore.kernel.org/all/ZnBkHosMDhsh4H8g@J2N7QTR9R3/Quoted 7 lines
Tested in
x86_64and PPC VM of Open Source Lab of Oregon State University.Fixes a6fda6dab93c ("rcutorture: Tweak kvm options")Suggested-by Paul E. McKenney <[email protected]>Suggested-by Mark Rutland <[email protected]>Signed-off-by Zhouyi Zhou <[email protected]>Signed-off-by Paul E. McKenney <[email protected]>Acked-by Mark Rutland <[email protected]>Mark.
Quoted 49 lines
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +2
-0@@ -68,6 +68,8 @@ config_override_param "--gdb options" KcList "$TORTURE_KCONFIG_GDB_ARG" config_override_param "--kasan options" KcList "$TORTURE_KCONFIG_KASAN_ARG" config_override_param "--kcsan options" KcList "$TORTURE_KCONFIG_KCSAN_ARG" config_override_param "--kconfig argument" KcList "$TORTURE_KCONFIG_ARG" +config_override_param "$config_dir/CFcommon.$(uname -m)" KcList \ + "`cat $config_dir/CFcommon.$(uname -m) 2> /dev/null`" cp $T/KcList $resdir/ConfigFragment base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`tools/testing/selftests/rcutorture/configs/rcu/CFcommon +0
-2@@ -1,7 +1,5 @@ CONFIG_RCU_TORTURE_TEST=y CONFIG_PRINTK_TIME=y -CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_KVM_GUEST=y CONFIG_KCSAN_ASSUME_PLAIN_WRITES_ATOMIC=n CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=ntools/testing/selftests/rcutorture/configs/rcu/CFcommon.i686 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.ppc64le new file +1
-0@@ -0,0 +1 @@ +CONFIG_KVM_GUEST=ytools/testing/selftests/rcutorture/configs/rcu/CFcommon.x86_64 new file +2
-0@@ -0,0 +1,2 @@ +CONFIG_HYPERVISOR_GUEST=y +CONFIG_KVM_GUEST=y