Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1598314
| From | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RFC,v2] tpm_crb: request and relinquish locality 0 |
| Date | 2017-03-11 13:40 +0100 |
| Message-ID | <tjOtr-2Kw-3@gated-at.bofh.it> (permalink) |
| References | <tjMUF-1Aj-1@gated-at.bofh.it> <tjMUF-1Aj-7@gated-at.bofh.it> |
| Organization | Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo |
On Sat, Mar 11, 2017 at 12:55:43PM +0200, Jarkko Sakkinen wrote: > On Sat, Mar 11, 2017 at 12:53:36PM +0200, Jarkko Sakkinen wrote: > > Added two new callbacks to struct tpm_class_ops: > > > > - request_locality > > - relinquish_locality > > > > These are called before sending and receiving data from the TPM. > > > > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> > > --- > > This not yet v2 of this patch. I'm checking that this is what needs to be done > > for tpm_tis_core before I go through testing etc. Thank you. > > And apparently I did not amend tpm-interface.c change :( Anyway, I'm > merely sanity checking that I'm doing the right thing. If check_locality fails request_locality returns locality number but it's not used for anything. Would it be OK to change it to just return -EBUSY in this case? /Jarkko
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH RFC,v2] tpm_crb: request and relinquish locality 0 Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-11 12:00 +0100
Re: [PATCH RFC,v2] tpm_crb: request and relinquish locality 0 Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-11 12:00 +0100
Re: [PATCH RFC,v2] tpm_crb: request and relinquish locality 0 Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-03-11 13:40 +0100
csiph-web