From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: PeterHuewe@gmx.de, Stefan Berger <stefanb@linux.vnet.ibm.com>,
mst@redhat.com
Subject: [Qemu-devel] [PATCH 1/5] tpm: Extend sts register to 32 bit
Date: Tue, 9 Dec 2014 09:18:55 -0500 [thread overview]
Message-ID: <1418134739-21627-2-git-send-email-stefanb@linux.vnet.ibm.com> (raw)
In-Reply-To: <1418134739-21627-1-git-send-email-stefanb@linux.vnet.ibm.com>
More recent TIS specs extend the STS register to 32 bit. While
we don't store the TIS interface state, yet, we can extend it
without sideeffects.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
---
hw/tpm/tpm_tis.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
index 1a0db23..db78d51 100644
--- a/hw/tpm/tpm_tis.h
+++ b/hw/tpm/tpm_tis.h
@@ -41,7 +41,7 @@ typedef enum {
typedef struct TPMLocality {
TPMTISState state;
uint8_t access;
- uint8_t sts;
+ uint32_t sts;
uint32_t inte;
uint32_t ints;
--
1.9.3
next prev parent reply other threads:[~2014-12-09 14:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 14:18 [Qemu-devel] [PATCH 0/5] tpm: Extend the TPM TIS implementation Stefan Berger
2014-12-09 14:18 ` Stefan Berger [this message]
2014-12-09 14:18 ` [Qemu-devel] [PATCH 2/5] tpm: Allow 32 & 16 bit accesses to the registers Stefan Berger
2014-12-09 14:18 ` [Qemu-devel] [PATCH 3/5] tpm: Support for XFIFO register Stefan Berger
2014-12-09 14:18 ` [Qemu-devel] [PATCH 4/5] tpm: Support for TIS selftest done flag Stefan Berger
2014-12-09 14:18 ` [Qemu-devel] [PATCH 5/5] tpm: Support for capability flags of TIS 1.3 Stefan Berger
2014-12-09 14:35 ` [Qemu-devel] [PATCH 0/5] tpm: Extend the TPM TIS implementation Michael S. Tsirkin
2014-12-09 14:40 ` Stefan Berger
2014-12-09 14:45 ` Michael S. Tsirkin
2014-12-09 14:48 ` Stefan Berger
2014-12-11 21:15 ` Stefan Berger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418134739-21627-2-git-send-email-stefanb@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=PeterHuewe@gmx.de \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).