mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
2e424c33d8
As it's not always obvious what PSP bootloader or TEE version are present in OEM systems, add the ability to get this information from sysfs for supported platforms. Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
106 lines
2.9 KiB
Plaintext
106 lines
2.9 KiB
Plaintext
What: /sys/bus/pci/devices/<BDF>/fused_part
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/fused_part file reports
|
|
whether the CPU or APU has been fused to prevent tampering.
|
|
0: Not fused
|
|
1: Fused
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/debug_lock_on
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/debug_lock_on reports
|
|
whether the AMD CPU or APU has been unlocked for debugging.
|
|
Possible values:
|
|
0: Not locked
|
|
1: Locked
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/tsme_status
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/tsme_status file reports
|
|
the status of transparent secure memory encryption on AMD systems.
|
|
Possible values:
|
|
0: Not active
|
|
1: Active
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/anti_rollback_status
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/anti_rollback_status file reports
|
|
whether the PSP is enforcing rollback protection.
|
|
Possible values:
|
|
0: Not enforcing
|
|
1: Enforcing
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/rpmc_production_enabled
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/rpmc_production_enabled file reports
|
|
whether Replay Protected Monotonic Counter support has been enabled.
|
|
Possible values:
|
|
0: Not enabled
|
|
1: Enabled
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/rpmc_spirom_available
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/rpmc_spirom_available file reports
|
|
whether an Replay Protected Monotonic Counter supported SPI is installed
|
|
on the system.
|
|
Possible values:
|
|
0: Not present
|
|
1: Present
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/hsp_tpm_available
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/hsp_tpm_available file reports
|
|
whether the HSP TPM has been activated.
|
|
Possible values:
|
|
0: Not activated or present
|
|
1: Activated
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/rom_armor_enforced
|
|
Date: June 2022
|
|
KernelVersion: 5.19
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/rom_armor_enforced file reports
|
|
whether RomArmor SPI protection is enforced.
|
|
Possible values:
|
|
0: Not enforced
|
|
1: Enforced
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/bootloader_version
|
|
Date: June 2023
|
|
KernelVersion: 6.4
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/bootloader_version
|
|
file reports the firmware version of the AMD AGESA
|
|
bootloader.
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/tee_version
|
|
Date: June 2023
|
|
KernelVersion: 6.4
|
|
Contact: mario.limonciello@amd.com
|
|
Description:
|
|
The /sys/bus/pci/devices/<BDF>/tee_version
|
|
file reports the firmware version of the AMD Trusted
|
|
Execution Environment (TEE).
|