mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
torture: Default --no-rcutasksflavors on arm64
Because arm64 does not support CONFIG_SMP=n kernels, --do-rcutasksflavors
gets Kconfig errors when running the TINY01 rcutorture scenario.
This commit therefore makes --no-rcutasksflavors be the default on
arm64. Once kvm.sh automatically deselects CONFIG_SMP=n rcutorture
scenarios on arm64, the two lines marked "FIXME" can be changed back
from "${ifnotaarch64}" to "yes".
Note that arm64 users can still specify --do-rcutasksflavors in order
to override this default.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
This commit is contained in:
parent
955a83469c
commit
1524f2032a
|
|
@ -30,6 +30,15 @@ then
|
|||
VERBOSE_BATCH_CPUS=0
|
||||
fi
|
||||
|
||||
# Machine architecture? ("uname -p" is said to be less portable.)1
|
||||
thisarch="`uname -m`"
|
||||
if test "${thisarch}" = aarch64
|
||||
then
|
||||
ifnotaarch64=no
|
||||
else
|
||||
ifnotaarch64=yes
|
||||
fi
|
||||
|
||||
# Configurations/scenarios.
|
||||
configs_rcutorture=
|
||||
configs_locktorture=
|
||||
|
|
@ -57,7 +66,7 @@ do_kasan=yes
|
|||
do_kcsan=no
|
||||
do_clocksourcewd=yes
|
||||
do_rt=yes
|
||||
do_rcutasksflavors=yes
|
||||
do_rcutasksflavors="${ifnotaarch64}" # FIXME: Back to "yes" when SMP=n auto-avoided
|
||||
do_srcu_lockdep=yes
|
||||
do_rcu_rust=no
|
||||
|
||||
|
|
@ -124,7 +133,7 @@ do
|
|||
;;
|
||||
--do-all|--doall)
|
||||
do_allmodconfig=yes
|
||||
do_rcutasksflavor=yes
|
||||
do_rcutasksflavors="${ifnotaarch64}" # FIXME: Back to "yes" when SMP=n auto-avoided
|
||||
do_rcutorture=yes
|
||||
do_locktorture=yes
|
||||
do_scftorture=yes
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user