Re: [PATCH v2 1/2] tpm: tpm_spapr: Exit on TPM backend failures

2020-07-07 Thread Philippe Mathieu-Daudé
On 7/7/20 2:52 PM, Stefan Berger wrote: > On 7/7/20 12:20 AM, Philippe Mathieu-Daudé wrote: >> Hi Stefan, >> >> On 7/7/20 6:05 AM, Stefan Berger wrote: >>> Exit on TPM backend failures in the same way as the TPM CRB and TIS >>> device >>> models do. >> Maybe the other models are not the best exampl

Re: [PATCH v2 1/2] tpm: tpm_spapr: Exit on TPM backend failures

2020-07-07 Thread Stefan Berger
On 7/7/20 12:20 AM, Philippe Mathieu-Daudé wrote: Hi Stefan, On 7/7/20 6:05 AM, Stefan Berger wrote: Exit on TPM backend failures in the same way as the TPM CRB and TIS device models do. Maybe the other models are not the best examples ;) At least they are known to report the error... S

Re: [PATCH v2 1/2] tpm: tpm_spapr: Exit on TPM backend failures

2020-07-07 Thread David Gibson
On Tue, Jul 07, 2020 at 06:20:49AM +0200, Philippe Mathieu-Daudé wrote: > Hi Stefan, > > On 7/7/20 6:05 AM, Stefan Berger wrote: > > Exit on TPM backend failures in the same way as the TPM CRB and TIS device > > models do. > > Maybe the other models are not the best examples ;) > > > > > Signed

Re: [PATCH v2 1/2] tpm: tpm_spapr: Exit on TPM backend failures

2020-07-06 Thread Philippe Mathieu-Daudé
Hi Stefan, On 7/7/20 6:05 AM, Stefan Berger wrote: > Exit on TPM backend failures in the same way as the TPM CRB and TIS device > models do. Maybe the other models are not the best examples ;) > > Signed-off-by: Stefan Berger > --- > hw/tpm/tpm_spapr.c | 5 - > 1 file changed, 4 insertion

[PATCH v2 1/2] tpm: tpm_spapr: Exit on TPM backend failures

2020-07-06 Thread Stefan Berger
Exit on TPM backend failures in the same way as the TPM CRB and TIS device models do. Signed-off-by: Stefan Berger --- hw/tpm/tpm_spapr.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/tpm/tpm_spapr.c b/hw/tpm/tpm_spapr.c index cb4dfd1e6a..8288ab0a15 100644 --- a/hw/t