From: Stefan Berger stefanb@linux.vnet.ibm.com
Remove the check for a working TPM from the TPM interrupt handler. This then allows the individual API calls to return information even if the TPM was not working correctly. Some API calls will still run into the check.
Signed-off-by: Stefan Berger stefanb@linux.vnet.ibm.com --- src/tcgbios.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/src/tcgbios.c b/src/tcgbios.c index d1a7f6b..c17d80d 100644 --- a/src/tcgbios.c +++ b/src/tcgbios.c @@ -1102,11 +1102,6 @@ tpm_interrupt_handler32(struct bregs *regs)
set_cf(regs, 0);
- if (!has_working_tpm()) { - regs->eax = TCG_GENERAL_ERROR; - return; - } - switch ((enum irq_ids)regs->al) { case TCG_StatusCheck: if (is_tpm_present() == 0) {