Message ID | 20200616205721.1191408-9-stefanb@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tpm: Enable usage of TPM TIS with interrupts | expand |
On Wed, Jun 17, 2020 at 12:58 AM Stefan Berger <stefanb@linux.vnet.ibm.com> wrote: > > Disable interrupt support for the TIS on sysbus. > > Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > include/hw/acpi/tpm.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/hw/acpi/tpm.h b/include/hw/acpi/tpm.h > index d356f2e06e..21f81690a5 100644 > --- a/include/hw/acpi/tpm.h > +++ b/include/hw/acpi/tpm.h > @@ -25,7 +25,7 @@ > #define TPM_TIS_ADDR_SIZE 0x5000 > > #define TPM_TIS_ISA_IRQ 13 /* only one possible */ > -#define TPM_TIS_SYSBUS_IRQ 5 > +#define TPM_TIS_SYSBUS_IRQ TPM_IRQ_DISABLED > > #define TPM_TIS_NUM_LOCALITIES 5 /* per spec */ > #define TPM_TIS_LOCALITY_SHIFT 12 > -- > 2.24.1 >
diff --git a/include/hw/acpi/tpm.h b/include/hw/acpi/tpm.h index d356f2e06e..21f81690a5 100644 --- a/include/hw/acpi/tpm.h +++ b/include/hw/acpi/tpm.h @@ -25,7 +25,7 @@ #define TPM_TIS_ADDR_SIZE 0x5000 #define TPM_TIS_ISA_IRQ 13 /* only one possible */ -#define TPM_TIS_SYSBUS_IRQ 5 +#define TPM_TIS_SYSBUS_IRQ TPM_IRQ_DISABLED #define TPM_TIS_NUM_LOCALITIES 5 /* per spec */ #define TPM_TIS_LOCALITY_SHIFT 12
Disable interrupt support for the TIS on sysbus. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> --- include/hw/acpi/tpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)