Commit 2020ee7
committed
tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
JIRA: https://issues.redhat.com/browse/RHEL-72765
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
commit 955df4f
Author: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Date: Thu Nov 24 14:55:36 2022 +0100
tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
In tpm_tis_resume() make sure that the locality has been claimed when
tpm_tis_reenable_interrupts() is called. Otherwise the writings to the
register might not have any effect.
Fixes: 45baa1d ("tpm_tis: Re-enable interrupts upon (S3) resume")
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Štěpán Horáček <shoracek@redhat.com>1 parent d384ff9 commit 2020ee7
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1215 | 1219 | | |
1216 | 1220 | | |
1217 | 1221 | | |
1218 | 1222 | | |
1219 | 1223 | | |
1220 | | - | |
| 1224 | + | |
1221 | 1225 | | |
1222 | 1226 | | |
1223 | 1227 | | |
1224 | 1228 | | |
1225 | 1229 | | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
| 1230 | + | |
1231 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
1232 | 1234 | | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
1236 | | - | |
| 1235 | + | |
1237 | 1236 | | |
1238 | 1237 | | |
1239 | 1238 | | |
| |||
0 commit comments