[SeaBIOS] [PATCH 4/4] WIP: add TPM CRB device support

2017-10-06 Thread marcandre . lureau
From: Marc-André Lureau The CRB device was introduced with TPM 2.0 to be physical-bus agnostic and defined in TCG PC Client Platform TPM Profile (PTP) Specification Family “2.0” Level 00 Revision 01.03 v22 It seems to be required with Windows 10. It is also a

[SeaBIOS] [PATCH 0/4] RFC: add CRB TPM device

2017-10-06 Thread marcandre . lureau
From: Marc-André Lureau Hi, The following series implements a limited TPM CRB driver. The TIS device with a TPM 2.0 seems to be ignored by Windows 10, so I implemented a simple CRB device that I will send shortly on the qemu-devel. With the CRB device, Windows 10

[SeaBIOS] [PATCH 1/4] x86: add readq()

2017-10-06 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau --- src/x86.h | 5 + 1 file changed, 5 insertions(+) diff --git a/src/x86.h b/src/x86.h index 4aea65c..c7bb60d 100644 --- a/src/x86.h +++ b/src/x86.h @@ -211,6 +211,11 @@

[SeaBIOS] [PATCH 3/4] tpm: use get_tpm_version() callback

2017-10-06 Thread marcandre . lureau
From: Marc-André Lureau As originally intended, I guess. Signed-off-by: Marc-André Lureau --- src/hw/tpm_drivers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hw/tpm_drivers.c b/src/hw/tpm_drivers.c index

[SeaBIOS] [PATCH 2/4] tpm: generalize init_timeout()

2017-10-06 Thread marcandre . lureau
From: Marc-André Lureau It seems both TIS & CRB devices share the same timeout. Make initialization function generic for now. Signed-off-by: Marc-André Lureau --- src/hw/tpm_drivers.c | 25 +++-- 1 file changed, 15