tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Georges Savoundararadj
	<gsavoundararadj-svHpOmPGTvqcqzYg7KEe8g@public.gmane.org>
Cc: peter.huewe-d0qZbvYSIPpWk0Htik3J/w@public.gmane.org,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: About the SLB9670 TPM 2.0 driver status
Date: Wed, 26 Apr 2017 13:37:40 +0300	[thread overview]
Message-ID: <20170426103740.b5fdgrezwq35hnnz@intel.com> (raw)
In-Reply-To: <e7ee0491-3f29-5578-7cc4-af9c0a73dcb3-svHpOmPGTvqcqzYg7KEe8g@public.gmane.org>

On Tue, Apr 25, 2017 at 07:12:25PM -0700, Georges Savoundararadj wrote:
> Hello,
> 
> I am working with on Infineon SLB9670 TPM 2.0 on SPI.
> 
> How well is this chip supported in the mainline kernel?
> 
> I am currently using the linux-socfpga kernel (version 4.8.0; branch 
> socfpga-4.8) [1]
> on which I applied the following patches from patchwork:
> 
> aacabbe0d5ec tpm_tis_spi: Add small delay after last transfer [2]
> a4a011be786f tpm_tis_spi: Remove limitation of transfers to 
> MAX_SPI_FRAMESIZE bytes [3]
> 840157e08b2f tpm_tis_spi: Check correct byte for wait state indicator [4]
> 10cb31aec536 tpm_tis_spi: Abort transfer when too many wait states are 
> signaled [5]
> 3ad7d9172a8c tpm_tis_spi: Use single function to transfer data [6]
> 4a809ec34a0f tpm_tis_core: Choose appropriate timeout for reading 
> burstcount [7]
> 
> With these patches, I can read the Vendor ID properly.
> But, the driver initialization fails in the tpm2_probe function.
> 
> Did I miss an important patch?
> 
> Regards,
> 
> Georges

Please try it out with the mainline kernel. Thank you.

> [1] https://github.com/altera-opensource/linux-socfpga/tree/socfpga-4.8
> [2] https://patchwork.kernel.org/patch/9600213/
> [3] https://patchwork.kernel.org/patch/9600209/
> [4] https://patchwork.kernel.org/patch/9600207/
> [5] https://patchwork.kernel.org/patch/9600211/
> [6] https://patchwork.kernel.org/patch/9600203/
> [7] https://patchwork.kernel.org/patch/9682259/

/Jarkko

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

  parent reply	other threads:[~2017-04-26 10:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26  2:12 About the SLB9670 TPM 2.0 driver status Georges Savoundararadj
     [not found] ` <e7ee0491-3f29-5578-7cc4-af9c0a73dcb3-svHpOmPGTvqcqzYg7KEe8g@public.gmane.org>
2017-04-26 10:37   ` Jarkko Sakkinen [this message]
2017-04-26 16:04   ` Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w
     [not found]     ` <a5616ca471a64e5ab4809a231966987b-nFblLGNE8XKJSz+rYg/bSJowlv4uC7bZ@public.gmane.org>
2017-04-26 18:47       ` Georges Savoundararadj
     [not found]         ` <39067149-b6e1-04e2-7677-5dc054475140-svHpOmPGTvqcqzYg7KEe8g@public.gmane.org>
2017-04-27 15:40           ` Alexander.Steffen-d0qZbvYSIPpWk0Htik3J/w
     [not found]             ` <4b9a97a8d4164d0b9fa8d8c99618b7fc-nFblLGNE8XKJSz+rYg/bSJowlv4uC7bZ@public.gmane.org>
2017-04-27 23:36               ` Georges Savoundararadj

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=20170426103740.b5fdgrezwq35hnnz@intel.com \
    --to=jarkko.sakkinen-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=gsavoundararadj-svHpOmPGTvqcqzYg7KEe8g@public.gmane.org \
    --cc=peter.huewe-d0qZbvYSIPpWk0Htik3J/w@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).