On 02/16/2018 05:18 AM, Marc-André Lureau wrote:
On Thu, Feb 15, 2018 at 3:10 PM, Stefan Berger
<stef...@linux.vnet.ibm.com> wrote:
Move the TPM TIS related register and flag #defines into
include/hw/acpi/tpm.h for access by the test case.

Write a test case that covers the TIS functionality.

Add the tests cases to the MAINTAINERS file.

Signed-off-by: Stefan Berger <stef...@linux.vnet.ibm.com>
---
  MAINTAINERS            |   1 +
  hw/tpm/tpm_tis.c       | 101 ----------
  include/hw/acpi/tpm.h  | 105 +++++++++++
  tests/Makefile.include |   2 +
  tests/tpm-emu.c        |   7 +
  tests/tpm-tis-test.c   | 486 +++++++++++++++++++++++++++++++++++++++++++++++++
  6 files changed, 601 insertions(+), 101 deletions(-)
  create mode 100644 tests/tpm-tis-test.c

diff --git a/MAINTAINERS b/MAINTAINERS
index 57358a0..60a9ae9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1633,6 +1633,7 @@ F: include/hw/acpi/tpm.h
  F: include/sysemu/tpm*
  F: qapi/tpm.json
  F: backends/tpm.c
+F: tests/tpm-*-test
Doesnt' match tests/tpm-emu.c/.h

Make it tests/*tpm* ?

Did that. Thanks.


Reply via email to