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

2020-05-22 Thread Jarkko Sakkinen
On Fri, May 22, 2020 at 01:23:26PM -0600, shuah wrote: > 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 witho

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

2020-05-22 Thread shuah
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 ava

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

2020-05-22 Thread Petr Vorel
Hi, > 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. Reviewed-by: Petr Vorel Kind regards, Petr ___ linux-snps-a

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

2020-05-22 Thread Jarkko Sakkinen
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 Reviewed-by

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

2020-05-22 Thread Jarkko Sakkinen
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 be

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

2020-05-21 Thread Nikita Sobolev
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 --- Changes for v2: - Coding Style cleanup Changes for v3: - Commit text mess