Re: [PATCH v3] Kernel selftests: Add check if TPM devices are supported

From: shuah
Date: Fri May 22 2020 - 15:23:30 EST


On 5/22/20 10:37 AM, Jarkko Sakkinen wrote:
On Fri, May 22, 2020 at 07:37:17PM +0300, Jarkko Sakkinen wrote:
On Thu, May 21, 2020 at 05:43:44PM +0300, Nikita Sobolev wrote:
TPM2 tests set uses /dev/tpm0 and /dev/tpmrm0 without check if they
are available. In case, when these devices are not available test
fails, but expected behaviour is skipped test.

Signed-off-by: Nikita Sobolev <Nikita.Sobolev@xxxxxxxxxxxx>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

Shuah, can you pick this up?

/Jarkko


Done. Applied to linux-kselftest next for Linux 5.8-rc1.

thanks,
-- Shuah