Re: [PATCH v2 4/5] tpm: ppi: Possibly show command parameter if TPM PPI 1.3 is used

From: Jarkko Sakkinen
Date: Tue Jan 22 2019 - 07:01:39 EST


On Thu, Jan 17, 2019 at 12:41:34PM -0500, Stefan Berger wrote:
> TPM PPI 1.3 introduces an additional optional command parameter
> that may be needed for some commands. Display the parameter if the
> command requires such a parameter. Only command 23 needs one.
>
> The PPI request file will show output like this then:
>
> # echo "23 16" > request
> # cat request
> 23 16
>
> # echo "5" > request
> # cat request
> 5
>
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
> Tested-by: David Safford <david.safford@xxxxxx>

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

/Jarkko