Re: [PATCH v3 8/8] tpm: Disable interrupt support for TIS on sysbus

2020-06-17 Thread Marc-André Lureau
On Wed, Jun 17, 2020 at 12:58 AM Stefan Berger
 wrote:
>
> Disable interrupt support for the TIS on sysbus.
>
> Signed-off-by: Stefan Berger 

Reviewed-by: Marc-André Lureau 

> ---
>  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
>




[PATCH v3 8/8] tpm: Disable interrupt support for TIS on sysbus

2020-06-16 Thread Stefan Berger
Disable interrupt support for the TIS on sysbus.

Signed-off-by: Stefan Berger 
---
 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