From ec86c0f678a9402fb4265c8874bd2ec712b33127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 15 Jan 2019 02:27:53 +0400 Subject: acpi: add ACPI memory clear interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The interface is described in the "TCG Platform Reset Attack Mitigation Specification", chapter 6 "ACPI _DSM Function". According to Laszlo, it's not so easy to implement in OVMF, he suggested to do it in qemu instead. See specification documentation for more details, and next commit for memory clear on reset handling. The underlying TCG specification is accessible from the following page. https://trustedcomputinggroup.org/resource/pc-client-work-group-platform-reset-attack-mitigation-specification-version-1-0/ This patch implements version 1.0. Signed-off-by: Marc-André Lureau Reviewed-by: Michael S. Tsirkin Reviewed-by: Igor Mammedov Tested-by: Stefan Berger Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- docs/specs/tpm.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/specs/tpm.txt b/docs/specs/tpm.txt index 424d151..5d8c26b 100644 --- a/docs/specs/tpm.txt +++ b/docs/specs/tpm.txt @@ -136,6 +136,8 @@ layout: | next_step| 0x1 | 0x159 | Operation to execute after reboot by | | | | | firmware. Used by firmware. | +----------+--------+--------+-------------------------------------------+ + | movv | 0x1 | 0x15a | Memory overwrite variable | + +----------+--------+--------+-------------------------------------------+ The following values are supported for the 'func' field. They correspond to the values used by ACPI function index 8. -- cgit v1.1