lkml.org 
[lkml]   [2017]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2] tpm: return a TPM_RC_COMMAND_CODE response if a command isn't implemented
    On 11/29/2017 09:57 AM, Jarkko Sakkinen wrote:
    > On Wed, Nov 29, 2017 at 12:08:46PM +0100, Javier Martinez Canillas wrote:
    >> +#define TPM2_RC_LAYER_SHIFT 16
    >> +#define TPM2_RESMGRTPM_RC_LAYER (11 << TPM2_RC_LAYER_SHIFT)
    >
    > I got this spec from Philip [1].

    As part of this I've been doing a pass back over the current draft spec
    fixing up all of the places where the we were using 'ERROR_LEVEL',
    'RESPONSE_LEVEL' etc interchangeably. Everything will be 'RC_LAYER' in
    the next published draft. Apologies if this caused any confusion here
    but it looks like Javier was able to work around this regardless Next
    time around the spec should be more clear.

    Philip

    > Couple of remarks:
    >
    > * What is the difference between TSS2_RESMGR_RC_LAYER and
    > TSS2_RESMGR_TPM_RC_LAYER?
    > * Should the driver code use TSS2 or TPM2 prefix?
    >
    > [1] https://trustedcomputinggroup.org/wp-content/uploads/TCG-TSS-2.0-Overview-and-Common-Structures-Specification-Version-0.90-Revision-02.pdf
    >
    > /Jarkko
    >

    \
     
     \ /
      Last update: 2017-11-30 02:46    [W:4.198 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site