[PATCH 1/2] selftests/pidfd: Fix missing header

2025-03-02 Thread Siddharth Menon
Fix compilation errors caused by the missing sys/mount.h header --- tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c b/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c index f062a986e382..f718a

[PATCH 0/2] selftests/pidfd: Fix missing headers

2025-03-02 Thread Siddharth Menon
Fix compilation errors caused by missing headers in the pidfd selftest. The errors include: pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’ pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’ Siddharth Menon (2): selftests/pidfd: Fix missing

[PATCH 2/2] selftests/pidfd: Fix missing header

2025-03-02 Thread Siddharth Menon
Fix compilation errors caused by the missing sys/ioctl.h header --- tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c index 222f8131283b..4c8a0253

[PATCH v3 2/2] selftests/lib.mk: Introduce check to validate required dependencies

2025-02-26 Thread Siddharth Menon
Signed-off-by: Siddharth Menon --- v1->v2: - Moved the logic to check for required configurations to an external script v2 -> v3: - Add SKIP_CHECKS flag to skip checking the dependencies if required - Updated the test skip statement to be more meaningful tools/testing/selftests/lib.m

[PATCH v3 0/2 RESEND] update kselftest framework to check for required configs

2025-02-26 Thread Siddharth Menon
Currently, kselftests does not have a generalised mechanism to skip compilation and run tests when required kernel configuration options are disabled. This patch series adresses this issue by checking whether all required configs from selftest//config are enabled in the current kernel Siddharth

[PATCH v3 1/2 RESEND] selftests: Introduce script to validate required dependencies

2025-02-26 Thread Siddharth Menon
. Suggested-by: Petr Mladek Suggested-by: Miroslav Benes Signed-off-by: Siddharth Menon --- v1->v2: - check selftest/config directly rather than a separate set in the test makefile v2->v3: - Integrate kselftest_deps.sh to check for missing libraries (I have not set it to skip the

Re: [PATCH] dt-bindings: hwlock: Convert to dtschema

2025-02-20 Thread Siddharth Menon
th the YAML file and correct incorrect paths? Regards, Siddharth Menon

[PATCH] dt-bindings: hwlock: Convert to dtschema

2025-02-18 Thread Siddharth Menon
From: BiscuitBobby Convert the generic hwspinlock bindings to DT schema. --- This is my first time converting bindings to dt schema, please let me know if I have overlooked anything. .../devicetree/bindings/hwlock/hwlock.txt | 59 - .../devicetree/bindings/hwlock/hwlock.yam

[PATCH v3 2/2] selftests/lib.mk: Introduce check to validate required dependencies

2025-01-16 Thread Siddharth Menon
Signed-off-by: Siddharth Menon --- v1->v2: - Moved the logic to check for required configurations to an external script v2 -> v3: - Add SKIP_CHECKS flag to skip checking the dependencies if required - Updated the test skip statement to be more meaningful tools/testing/selftests/lib.m

[PATCH v3 1/2] selftests: Introduce script to validate required dependencies

2025-01-16 Thread Siddharth Menon
. Suggested-by: Petr Mladek Suggested-by: Miroslav Benes Signed-off-by: Siddharth Menon --- v1->v2: - check selftest/config directly rather than a separate set in the test makefile v2->v3: - Integrate kselftest_deps.sh to check for missing libraries (I have not set it to skip the