[PATCH 1/2] MAINTAINERS: Add selftest files to TPM section

2024-08-28 Thread Michal Suchanek
tools/testing/selftests/tpm2/ is TPM-specific test Signed-off-by: Michal Suchanek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 878dcd23b331..c2ee92c7c16c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23184,6 +23184,7 @@ Q: https

[PATCH 2/2] selftests: tpm2: test_smoke: Run only when TPM2 is avaialable.

2024-08-28 Thread Michal Suchanek
Since Linux 5.6 tpm_version_major sysfs file is avaialble which gives the TPM version. Using this file the test can be skipped on systems with TPM 1.2. Signed-off-by: Michal Suchanek --- tools/testing/selftests/tpm2/test_smoke.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools

[PATCH] selftests: powerpc: Add header symlinks for building papr character device tests

2024-02-15 Thread Michal Suchanek
From: root Without the headers the tests don't build. Fixes: 9118c5d32bdd ("powerpc/selftests: Add test for papr-vpd") Fixes: 76b2ec3faeaa ("powerpc/selftests: Add test for papr-sysparm") Signed-off-by: Michal Suchanek --- tools/testing/selftests/powerpc/inclu