[PATCH v3 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-25 Thread Sinadin Shan
es and not because core scheduling isn't supported. Skip cs_prctl_test for systems with CONFIG_SCHED_CORE=n Signed-off-by: Sinadin Shan --- tools/testing/selftests/sched/cs_prctl_test.c | 34 ++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/tools/testing/

[PATCH v3 1/2] selftests: sched: add sched as a default selftest target

2025-02-25 Thread Sinadin Shan
. This was suggested by Shuah in this conversation Link: https://lore.kernel.org/linux-kselftest/60dd0240-8e45-4958-acf2-79177...@linuxfoundation.org/ Add support for sched selftests by adding sched as a default TARGET Signed-off-by: Sinadin Shan --- tools/testing/selftests/Makefile | 1 + 1

[PATCH v3 0/2] selftests: sched: Add default target support for sched

2025-02-25 Thread Sinadin Shan
1 selftests: sched: cs_prctl_test # SKIP Signed-off-by: Sinadin Shan --- v3: * Use prctl to check core sched support instead of config * v2 link: https://lore.kernel.org/all/20250221115750.631990-1-sinadin.s...@oracle.com/ v2: * Add patch to skip cs_prctl_test on core scheduling disabled systems

Re: [PATCH v2 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-25 Thread Sinadin Shan
On 25-02-2025 04:32 am, Chris Hyser wrote: From: Sinadin Shan Sent: Monday, February 24, 2025 7:10 AM To: Shrikanth Hegde; sh...@kernel.org Cc: linux-kselft...@vger.kernel.org; linux-kernel@vger.kernel.org; Chris Hyser Subject: Re: [PATCH v2 2/2] selftests: sched: skip cs_prctl_test for

Re: [PATCH v2 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-24 Thread Sinadin Shan
On 24-02-2025 01:49 pm, Shrikanth Hegde wrote: On 2/21/25 17:27, Sinadin Shan wrote: For kernels with CONFIG_SCHED_CORE=n, the sched selftest cs_prctl_test fails with "Not a core sched system" error. Change this to gracefully skip the test for systems with core scheduling disable

[PATCH v2 2/2] selftests: sched: skip cs_prctl_test for systems with core scheduling disabled

2025-02-21 Thread Sinadin Shan
nd not due to the config. Skip cs_prctl_test for systems with CONFIG_SCHED_CORE=n Signed-off-by: Sinadin Shan --- tools/testing/selftests/sched/cs_prctl_test.c | 29 ++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/sched/cs_prctl_test.

[PATCH v2 1/2] selftests: sched: add sched as a default selftest target

2025-02-21 Thread Sinadin Shan
. This was suggested by Shuah in this conversation Link: https://lore.kernel.org/linux-kselftest/60dd0240-8e45-4958-acf2-79177...@linuxfoundation.org/ Add support for sched selftests by adding sched as a default TARGET Signed-off-by: Sinadin Shan --- tools/testing/selftests/Makefile | 1 + 1

[PATCH v2 0/2] selftests: sched: Add default target support for sched

2025-02-21 Thread Sinadin Shan
: cs_prctl_test # SKIP and a successful run: TAP version 13 1..1 timeout set to 45 selftests: sched: cs_prctl_test Checking for CONFIG_SCHED_CORE support CONFIG_SCHED_CORE=y . . . SUCCESS !!! ok 1 selftests: sched: cs_prctl_test Signed-off-by: Sinadin Shan --- v2: * Add patch to skip

[PATCH] selftests: sched: add sched as a default selftest target

2025-02-18 Thread Sinadin Shan
. This was suggested by Shuah in this conversation Link: https://lore.kernel.org/linux-kselftest/60dd0240-8e45-4958-acf2-79177...@linuxfoundation.org/ Add support for sched selftests by adding sched as a default TARGET Signed-off-by: Sinadin Shan --- tools/testing/selftests/Makefile | 1