tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Christophe Ricard
	<christophe.ricard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: jean-luc.blanc-qxv4g6HH51o@public.gmane.org,
	ashley-fm2HMyfA2y6tG0bUXCXiUA@public.gmane.org,
	linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	christophe-h.ricard-qxv4g6HH51o@public.gmane.org,
	benoit.houyere-qxv4g6HH51o@public.gmane.org
Subject: Re: [PATCH v8 3/7] tpm_tis: Introduce intermediate layer for TPM access
Date: Tue, 24 May 2016 00:20:09 +0300	[thread overview]
Message-ID: <20160523212009.GA30456@intel.com> (raw)
In-Reply-To: <1463610953-2766-4-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>

On Thu, May 19, 2016 at 12:35:49AM +0200, Christophe Ricard wrote:
> From: Christophe Ricard <christophe.ricard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 
> This splits tpm_tis in a high-level protocol part and a low-level interface
> for the actual TPM communication. The low-level interface can then be
> implemented by additional drivers to provide access to TPMs using other
> mechanisms, for example native I2C or SPI transfers, while still reusing
> the same TIS protocol implementation.
> 
> Though the ioread/iowrite calls cannot fail, other implementations of this
> interface might want to return error codes if their communication fails.
> 
> This follows the usual pattern of negative values representing errors and
> zero representing success. Positive values are not used (yet).
> 
> Errors are passed back to the caller if possible. If the interface of a
> function does not allow that, it tries to do the most sensible thing it
> can, but this might also mean ignoring the error in this instance.
> 
> Signed-off-by: Alexander Steffen <Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w@public.gmane.org>
> Signed-off-by: Christophe Ricard <christophe-h.ricard-qxv4g6HH51o@public.gmane.org>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

/Jarkko

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

  parent reply	other threads:[~2016-05-23 21:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18 22:35 [PATCH v8 0/7] Rework of tpm_tis to share common logic across phy's (lpc/spi/-i2c-) Christophe Ricard
     [not found] ` <1463610953-2766-1-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-05-18 22:35   ` [PATCH v8 1/7] tpm: Add include guards in tpm.h Christophe Ricard
2016-05-18 22:35   ` [PATCH v8 5/7] devicetree: Add Trusted Computing Group to vendor-prefix.txt Christophe Ricard
     [not found]     ` <1463610953-2766-6-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-05-23 21:22       ` Jarkko Sakkinen
2016-05-18 22:35   ` [PATCH v8 7/7] tpm/tpm_tis_spi: Add support for spi phy Christophe Ricard
2016-06-17 18:05   ` [PATCH v8 0/7] Rework of tpm_tis to share common logic across phy's (lpc/spi/-i2c-) Jarkko Sakkinen
2016-05-18 22:35 ` [PATCH v8 2/7] tpm: tpm_tis: Share common data between phys Christophe Ricard
2016-05-18 22:35 ` [PATCH v8 3/7] tpm_tis: Introduce intermediate layer for TPM access Christophe Ricard
     [not found]   ` <1463610953-2766-4-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-05-23 21:20     ` Jarkko Sakkinen [this message]
2016-05-18 22:35 ` [PATCH v8 4/7] devicetree: Add infineon to vendor-prefix.txt Christophe Ricard
2016-05-23 21:21   ` Jarkko Sakkinen
2016-05-18 22:35 ` [PATCH v8 6/7] tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant phy Christophe Ricard
2016-05-23 21:24   ` Jarkko Sakkinen
2016-05-24  6:58   ` Jarkko Sakkinen
2016-05-23 21:31 ` [PATCH v8 0/7] Rework of tpm_tis to share common logic across phy's (lpc/spi/-i2c-) Jarkko Sakkinen
2016-05-26 12:26 ` Jarkko Sakkinen
     [not found]   ` <20160526122635.GA31557-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-05-26 13:19     ` Stefan Berger
2016-05-28  8:59     ` Peter Huewe
2016-05-30 18:36       ` Jarkko Sakkinen
     [not found]   ` <20160526131932.C95EDC6047@b03ledav006.gho.boulder.ibm.com>
     [not found]     ` <20160526131932.C95EDC6047-YTr1IC4v7wD031Vs2vNS4j5RcGG8+4aCqyM6JfAXOaQ@public.gmane.org>
2016-05-26 16:05       ` Christophe Ricard
     [not found]   ` <20160526131932.30F57112056@b01ledav004.gho.pok.ibm.com>
2016-05-26 16:35     ` [tpmdd-devel] " Jarkko Sakkinen

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=20160523212009.GA30456@intel.com \
    --to=jarkko.sakkinen-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=ashley-fm2HMyfA2y6tG0bUXCXiUA@public.gmane.org \
    --cc=benoit.houyere-qxv4g6HH51o@public.gmane.org \
    --cc=christophe-h.ricard-qxv4g6HH51o@public.gmane.org \
    --cc=christophe.ricard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jean-luc.blanc-qxv4g6HH51o@public.gmane.org \
    --cc=linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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).