Skip to content
  • Stefan Berger's avatar
    116694c3
    Extend TPM TIS interface to support TPM 2 · 116694c3
    Stefan Berger authored
    
    
    Following the recent upgrade to version 1.3, extend the TPM TIS
    interface with capabilities introduced for support of a TPM 2.
    
    TPM TIS for TPM 2 introduced the following extensions beyond the
    TPM TIS 1.3 (used for TPM 1.2):
    
    - A new 32bit interface Id register was introduced.
    - New flags for the status (STS) register were defined.
    - New flags for the capability flags were defined.
    
    Support the above if a TPM TIS 1.3 for TPM 2 is used with a TPM 2
    on the backend side. Support the old TPM TIS 1.3 configuration if a
    TPM 1.2 is being used. A subsequent patch will then determine which
    TPM version is being used in the backend.
    
    Signed-off-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    116694c3
    Extend TPM TIS interface to support TPM 2
    Stefan Berger authored
    
    
    Following the recent upgrade to version 1.3, extend the TPM TIS
    interface with capabilities introduced for support of a TPM 2.
    
    TPM TIS for TPM 2 introduced the following extensions beyond the
    TPM TIS 1.3 (used for TPM 1.2):
    
    - A new 32bit interface Id register was introduced.
    - New flags for the status (STS) register were defined.
    - New flags for the capability flags were defined.
    
    Support the above if a TPM TIS 1.3 for TPM 2 is used with a TPM 2
    on the backend side. Support the old TPM TIS 1.3 configuration if a
    TPM 1.2 is being used. A subsequent patch will then determine which
    TPM version is being used in the backend.
    
    Signed-off-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Loading