[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200227164046.GA1936@us.ibm.com>
Date: Thu, 27 Feb 2020 10:40:46 -0600
From: George Wilson <gcwilson@...ux.ibm.com>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: linux-integrity@...r.kernel.org,
Alexey Kardashevskiy <aik@...abs.ru>,
Stefan Berger <stefanb@...ux.ibm.com>,
Nayna Jain <nayna@...ux.vnet.ibm.com>,
Jason Gunthorpe <jgg@...pe.ca>, linux-kernel@...r.kernel.org,
Linh Pham <phaml@...ibm.com>
Subject: Re: [PATCH] tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
On Thu, Feb 27, 2020 at 06:23:39PM +0200, Jarkko Sakkinen wrote:
> On Thu, Feb 27, 2020 at 10:50:03AM -0500, George Wilson wrote:
> > tpm_ibmvtpm_send() can fail during LPM resume with an H_CLOSED return
> > from ibmvtpm_send_crq(). The PAPR says, 'The “partner partition
> > suspended” transport event disables the associated CRQ such that any
> > H_SEND_CRQ hcall() to the associated CRQ returns H_Closed until the CRQ
> > has been explicitly enabled using the H_ENABLE_CRQ hcall.' This patch
> > adds a check in tpm_ibmvtpm_send() for an H_CLOSED return from
> > ibmvtpm_send_crq() and in that case calls tpm_ibmvtpm_resume() and
> > retries the ibmvtpm_send_crq() once.
> >
> > Reported-by: Linh Pham <phaml@...ibm.com>
> > Reviewed-by: Stefan Berger <stefanb@...ux.ibm.com>
> > Signed-off-by: George Wilson <gcwilson@...ux.ibm.com>
>
> What is LPM anyway?
It's PowerVM Live Partition Mobility.
>
> /Jarkko
--
George Wilson
IBM Linux Technology Center
Security Development
Powered by blists - more mailing lists