mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
acpi: Set TPM2 LAML to actual log area size
The LAML field should follow the TCG PC Client Platform Firmware Profile Specification Version. Version 1.06 Revision 52 says: 'The TCG ACPI specification uses the field name "Log Area Minimum Length", but the field value is the actual log area length reserved by Platform Firmware, not a lower bound.' Remove the now-unused TPM_LOG_AREA_MINIMUM_SIZE. No functional change. Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
739c004d36
commit
242a5f75ee
2 files changed
+1
-2
No files matched your search
@@ -140,7 +140,6 @@ struct acpi_20_tpm2 {
|
||||
|
||||
#define TPM_LOG_AREA_ADDRESS 0xFED50000
|
||||
|
||||
#define TPM_LOG_AREA_MINIMUM_SIZE (64 << 10)
|
||||
#define TPM_LOG_SIZE (64 << 10)
|
||||
|
||||
/*
|
||||
|
||||
@@ -473,7 +473,7 @@ static int construct_secondary_tables(struct acpi_ctxt *ctxt,
|
||||
tpm2->platform_class = TPM2_ACPI_CLASS_CLIENT;
|
||||
tpm2->control_area_address = TPM_CRB_CTRL_REQ;
|
||||
tpm2->start_method = TPM2_START_METHOD_CRB;
|
||||
tpm2->log_area_minimum_length = TPM_LOG_AREA_MINIMUM_SIZE;
|
||||
tpm2->log_area_minimum_length = TPM_LOG_SIZE;
|
||||
tpm2->log_area_start_address = TPM_LOG_AREA_ADDRESS;
|
||||
|
||||
set_checksum(tpm2,
|
||||
|
||||