aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorGeorge Wilson <[email protected]>2020-03-20 03:27:58 +0000
committerJarkko Sakkinen <[email protected]>2020-04-20 21:06:13 +0000
commiteba5cf3dcb844c82f54d4a857e124824e252206d (patch)
tree4c0420325bc07e302226baf59cb052fe6026bec9 /tools/perf/scripts/python/check-perf-trace.py
parenttpm: Export tpm2_get_cc_attrs_tbl for ibmvtpm driver as module (diff)
downloadkernel-eba5cf3dcb844c82f54d4a857e124824e252206d.tar.gz
kernel-eba5cf3dcb844c82f54d4a857e124824e252206d.zip
tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
tpm_ibmvtpm_send() can fail during PowerVM Live Partition Mobility 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. Cc: [email protected] # 3.7.x Fixes: 132f76294744 ("drivers/char/tpm: Add new device driver to support IBM vTPM") Reported-by: Linh Pham <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Signed-off-by: George Wilson <[email protected]> Tested-by: Linh Pham <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions