diff options
author | Lino Sanfilippo <l.sanfilippo@kunbus.com> | 2022-11-24 16:55:26 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-04-24 16:15:53 +0300 |
commit | 282657a8bd7fddcf511b834f43705001668b33a7 (patch) | |
tree | e0a7d6fee17bad40a085fa26ec217dc852fcffe9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 858e8b792d06f45c427897bd90205a1d90bf430f (diff) | |
download | linux-282657a8bd7fddcf511b834f43705001668b33a7.tar.xz |
tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
In disable_interrupts() the TPM_GLOBAL_INT_ENABLE bit is unset in the
TPM_INT_ENABLE register to shut the interrupts off. However modifying the
register is only possible with a held locality. So claim the locality
before disable_interrupts() is called.
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Tested-by: Michael Niewöhner <linux@mniewoehner.de>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions