-
Notifications
You must be signed in to change notification settings - Fork 52.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACPI/sysfs: Enable ACPI sysfs support for TDEL
Currently, all ACPI tables can be accessed via entries under '/sys/firmware/acpi/tables/'. The TDEL(Trust Domain Event Log)[1] table simply provide the address and length of the TDEL records area in UEFI reserved memory. To access these records, userspace can use /dev/mem to retrieve them. But '/dev/mem' is not enabled on many systems for security reasons. The ACPI driver has provided read only access to BERT records area via '/sys/firmware/acpi/tables/data/BERT' in sysfs. So follow the same way, this patch create a new file /sys/firmware/acpi/tables/data/TDEL to enable read-only access to the TDEL records area. [1] https://software.intel.com/content/dam/develop/external/us/en/ documents/intel-tdx-guest-hypervisor-communication-interface- 1.0-344426-002.pdf Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters