[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v1 1/8] tpm_tis: Allow lowering of IRQ also when locality is not a
From: |
Stefan Berger |
Subject: |
[PULL v1 1/8] tpm_tis: Allow lowering of IRQ also when locality is not active |
Date: |
Thu, 25 Jun 2020 09:23:18 -0400 |
From: Stefan Berger <stefanb@linux.ibm.com>
This patch fixes a bug that occurs when using interrupts. It
allows to lower the IRQ also when a locality is not active.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20200617142305.1198672-2-stefanb@linux.vnet.ibm.com
---
hw/tpm/tpm_tis_common.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/hw/tpm/tpm_tis_common.c b/hw/tpm/tpm_tis_common.c
index e700d82181..93667e7788 100644
--- a/hw/tpm/tpm_tis_common.c
+++ b/hw/tpm/tpm_tis_common.c
@@ -596,10 +596,6 @@ static void tpm_tis_mmio_write(void *opaque, hwaddr addr,
/* hard wired -- ignore */
break;
case TPM_TIS_REG_INT_STATUS:
- if (s->active_locty != locty) {
- break;
- }
-
/* clearing of interrupt flags */
if (((val & TPM_TIS_INTERRUPTS_SUPPORTED)) &&
(s->loc[locty].ints & TPM_TIS_INTERRUPTS_SUPPORTED)) {
--
2.24.1
- [PULL v1 0/8] Merge tpm 2020/06/25 v1, Stefan Berger, 2020/06/25
- [PULL v1 2/8] tpm: Extend TPMIfClass with get_irqnum() function, Stefan Berger, 2020/06/25
- [PULL v1 4/8] tpm: Split TPM_TIS_IRQ into TPM_TIS_ISA_IRQ and TPM_TIS_SYSBUS_IRQ, Stefan Berger, 2020/06/25
- [PULL v1 6/8] tests: Add updated DSDT, Stefan Berger, 2020/06/25
- [PULL v1 5/8] acpi: Enable TPM IRQ, Stefan Berger, 2020/06/25
- [PULL v1 3/8] tests: Temporarily ignore DSDT table differences, Stefan Berger, 2020/06/25
- [PULL v1 8/8] tpm: Disable interrupt support for TIS on sysbus, Stefan Berger, 2020/06/25
- [PULL v1 7/8] tpm: Guard irq related ops in case interrupts are disabled, Stefan Berger, 2020/06/25
- [PULL v1 1/8] tpm_tis: Allow lowering of IRQ also when locality is not active,
Stefan Berger <=
- Re: [PULL v1 0/8] Merge tpm 2020/06/25 v1, Stefan Berger, 2020/06/25