On 12.12.2025 23:29, Jason Andryuk wrote:
> Pass the TPM2 ACPI table so that the device can be found by a PVH dom0.
> 
> Otherwise dom0 shows:
> tpm_tis MSFT0101:00: [Firmware Bug]: failed to get TPM2 ACPI table
> tpm_tis MSFT0101:00: probe with driver tpm_tis failed with error -22
> 
> TCPA is "Trusted Computing Platform Alliance table", but it is really
> the table for a TPM 1.2.  Use that as the comment as it's more
> identifiable for readers.

Not sure about this particular aspect - this and ...

> --- a/xen/include/acpi/actbl3.h
> +++ b/xen/include/acpi/actbl3.h
> @@ -78,8 +78,10 @@
>  #define ACPI_SIG_CSRT           "CSRT"       /* Core System Resources Table 
> */
>  #define ACPI_SIG_MATR           "MATR"       /* Memory Address Translation 
> Table */
>  #define ACPI_SIG_MSDM           "MSDM"       /* Microsoft Data Management 
> Table */
> -#define ACPI_SIG_WPBT           "WPBT"       /* Windows Platform Binary 
> Table */
> +#define ACPI_SIG_TCPA           "TCPA"       /* TPM 1.2 Table */
> +#define ACPI_SIG_TPM2           "TPM2"       /* TPM 2.0 Table */

... the TPM2 comment bring us out of sync with what Linux has there.

Jan

>  #define ACPI_SIG_VFCT           "VFCT"       /* AMD Video BIOS */
> +#define ACPI_SIG_WPBT           "WPBT"       /* Windows Platform Binary 
> Table */
>  
>  /*
>   * All tables must be byte-packed to match the ACPI specification, since


Reply via email to