George Wilson
3fc644fd61
tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
...
commit eba5cf3dcb844c82f54d4a857e124824e252206d upstream.
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: 132f762947 ("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] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2020-04-29 16:33:16 +02:00
..
agp
ia64: remove support for machvecs
2019-08-16 14:32:26 -07:00
hw_random
hwrng: imx-rngc - fix an error path
2020-04-13 10:48:08 +02:00
ipmi
ipmi: fix hung processes in __get_guid()
2020-04-17 10:50:22 +02:00
mwave
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
pcmcia
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18
2019-05-21 11:28:46 +02:00
tpm
tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
2020-04-29 16:33:16 +02:00
xilinx_hwicap
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
xillybus
PCI: Move ASPM declarations to linux/pci.h
2019-08-28 08:28:39 -05:00
adi.c
apm-emulation.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
applicom.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
applicom.h
bsr.c
Merge 5.2-rc4 into char-misc-next
2019-06-09 09:11:21 +02:00
ds1620.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
dsp56k.c
dtlk.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
efirtc.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
hangcheck-timer.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 405
2019-06-05 17:37:13 +02:00
hpet.c
char: hpet: Fix out-of-bounds read bug
2020-02-24 08:36:59 +01:00
Kconfig
ia64 for v5.4 - big change here is removal of support for SGI Altix
2019-09-16 15:32:01 -07:00
lp.c
lp: fix sparc64 LPSETTIMEOUT ioctl
2019-12-13 08:42:17 +01:00
Makefile
char: remove the SGI tiocx/mbcs driver
2019-08-16 11:33:56 -07:00
mem.c
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
misc.c
char: misc: Move EXPORT_SYMBOL immediately next to the functions/varibles
2019-05-24 18:00:41 +02:00
mspec.c
char/mspec: remove SGI SN2 support
2019-08-16 11:33:56 -07:00
nsc_gpio.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
nvram.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
nwbutton.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
nwbutton.h
nwflash.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
pc8736x_gpio.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
powernv-op-panel.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
ppdev.c
ppdev: fix PPGETTIME/PPSETTIME ioctls
2019-12-17 19:56:41 +01:00
ps3flash.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 164
2019-05-30 11:26:38 -07:00
random.c
random: always use batched entropy for get_random_u{32,64}
2020-04-13 10:48:06 +02:00
raw.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
rtc.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
scx200_gpio.c
treewide: Add SPDX license identifier for more missed files
2019-05-21 10:50:45 +02:00
sonypi.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61
2019-05-24 17:36:45 +02:00
tb0219.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
2019-05-30 11:26:35 -07:00
tlclk.c
toshiba.c
toshiba: Add correct printk log level while emitting error log
2019-09-04 13:42:43 +02:00
ttyprintk.c
ttyprintk: fix a potential deadlock in interrupt context issue
2020-02-05 21:22:41 +00:00
uv_mmtimer.c
virtio_console.c
virtio_console: allocate inbufs in add_port() only if it is needed
2019-11-19 05:13:49 -05:00