sched/topology: Verify SD_* flags setup when sched_debug is on
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 17 Aug 2020 11:29:51 +0000 (12:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Aug 2020 08:49:48 +0000 (10:49 +0200)
commit65c5e253168dbbb52c20026b0c5b7a2f344b9197
treec749e9a9823031f1564caf7e9830f50184dd59ba
parentb6e862f386722e0de6c37f85f1cf438a0efa7f93
sched/topology: Verify SD_* flags setup when sched_debug is on

Now that we have some description of what we expect the flags layout to
be, we can use that to assert at runtime that the actual layout is sane.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: https://lore.kernel.org/r/20200817113003.20802-6-valentin.schneider@arm.com
kernel/sched/topology.c