Re: [PATCH v2 5/5] tpm: ppi: Enable submission of optional command parameter for PPI 1.3

From: Jarkko Sakkinen
Date: Tue Jan 22 2019 - 07:02:04 EST


On Thu, Jan 17, 2019 at 12:41:35PM -0500, Stefan Berger wrote:
> This patch enables a user to specify the additional optional command
> parameter by writing it into the request file:
>
> # echo "23 16" > request
> # cat request
> 23 16
>
> For backwards compatibility:
>
> If only 1 parameter is given then we assume this is the operation request
> number.
>
> # 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