diff options
author | 2023-04-26 21:49:37 +0300 | |
---|---|---|
committer | 2023-04-28 13:06:36 +0000 | |
commit | 0c8862de05c1a087795ee0a87bf61a6394306cc0 (patch) | |
tree | 4995cd10c975c5a07c87c328f09f0a85f83229e6 /scripts/gdb/linux/proc.py | |
parent | Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (diff) | |
download | linux-rng-0c8862de05c1a087795ee0a87bf61a6394306cc0.tar.xz linux-rng-0c8862de05c1a087795ee0a87bf61a6394306cc0.zip |
tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
TPM chip bootstrapping was removed from tpm_chip_register(), and it
was relocated to tpm_tis_core. This breaks all drivers which are not
based on tpm_tis because the chip will not get properly initialized.
Take the corrective steps:
1. Rename tpm_chip_startup() as tpm_chip_bootstrap() and make it one-shot.
2. Call tpm_chip_bootstrap() in tpm_chip_register(), which reverts the
things as tehy used to be.
Cc: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Fixes: 548eb516ec0f ("tpm, tpm_tis: startup chip before testing for interrupts")
Reported-by: Pengfei Xu <pengfei.xu@intel.com>
Link: https://lore.kernel.org/all/ZEjqhwHWBnxcaRV5@xpf.sh.intel.com/
Tested-by: Pengfei Xu <pengfei.xu@intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions