[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22f6605c-7e24-423b-b4f3-df096b340674@alliedtelesis.co.nz>
Date: Mon, 27 Nov 2023 02:07:24 +0000
From: Angga <Hermin.Anggawijaya@...iedtelesis.co.nz>
To: Jarkko Sakkinen <jarkko@...nel.org>,
"peterhuewe@....de" <peterhuewe@....de>,
"jgg@...pe.ca" <jgg@...pe.ca>
CC: "linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tpm: Start the tpm2 before running a self test.
On 24/11/2023 2:42 pm, Jarkko Sakkinen wrote:
> On Wed Nov 22, 2023 at 8:55 AM EET, Hermin Anggawijaya wrote:
>> Before sending a command to attempt the self test, the TPM
>> may need to be started, otherwise the self test returns
>> TPM2_RC_INITIALIZE value causing a log as follows:
>> "tpm tpm0: A TPM error (256) occurred attempting the self test".
>>
>> Signed-off-by: Hermin Anggawijaya <hermin.anggawijaya@...iedtelesis.co.nz>
> Firmware does TPM power on.
>
> BR, Jarkko
Hello Jarkko
Thank you for your comment on the patch. As indicated in my previous
reply to Stefan's comment,
I have v2 version of the patch which also deals with multiple attempts
to start up the TPM gracefully,
for example, once by the firmware and another by the kernel during tpm2
auto-startup.
If you think the idea is OK, I can send the v2 of the patch.
Kind regards
Hermin
Powered by blists - more mailing lists