lkml.org 
[lkml]   [2021]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4] tpm_tis: Add missing tpm_request/relinquish_locality calls
    On Tue, Feb 02, 2021 at 08:57:24PM +0100, Lukasz Majczak wrote:
    > There are missing calls to tpm_request_locality before the calls to
    > the tpm_get_timeouts() and tpm_tis_probe_irq_single() - both functions
    > internally send commands to the tpm. As the current
    > approach might work for tpm2, it fails for tpm1.x - in that case
    > call to tpm_get_timeouts() or tpm_tis_probe_irq_single()
    > without acquired locality fails and in turn causes tpm_tis_core_init()
    > to fail, it can be observed in the log with the following warning
    > trace:

    Ignoring this version.

    /Jarkko

    \
     
     \ /
      Last update: 2021-02-02 22:52    [W:6.685 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site