mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Taprogge <jens.taprogge@post.rwth-aachen.de>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: TPM on Thinkpad T43
Date: Fri, 10 Jun 2005 21:38:02 +0200	[thread overview]
Message-ID: <20050610193802.GA27033@ranger.taprogge.wh> (raw)

Hello Kylie,

I have followed your discussion on LKML titled "TPM on IBM thinkcenter
S51".  I seem to have a very similar problem with the TPM in a T43
laptop.

I added the additional PCI IDs but that is not enough to make the driver
detect the chip.  Additionally the value of NSC_SID_INDEX is 0xFF
instead of 0xFE. 

Changing that in the driver gives the following debug output:
	tpm_nsc 0000:00:1f.0: NSC TPM detected
	tpm_nsc 0000:00:1f.0: NSC LDN 0xff, SID 0xff, SRID 0xff
	tpm_nsc 0000:00:1f.0: NSC SIOCF1 0xff SIOCF5 0xff SIOCF6 0xff SIOCF8 0xff
	tpm_nsc 0000:00:1f.0: NSC IO Base0 0xffff
	tpm_nsc 0000:00:1f.0: NSC IO Base1 0xffff
	tpm_nsc 0000:00:1f.0: NSC Interrupt number and wakeup 0xff
	tpm_nsc 0000:00:1f.0: NSC IRQ type select 0xff
	tpm_nsc 0000:00:1f.0: NSC DMA channel select0 0xff, select1 0xff
	tpm_nsc 0000:00:1f.0: NSC Config 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
	tpm_nsc 0000:00:1f.0: NSC PC21100 TPM revision 31

Trying to read from /sys/class/misc/tpm0/device/pcrs results in:
	tpm_nsc 0000:00:1f.0: IBF timeout
	tpm_nsc 0000:00:1f.0: tpm_transmit: tpm_send: error 4294967291

I am guessing that this is indeed not a NSC chip. 

I also tried using the Atmel driver by adding the same PCI IDs. But
again the reading of registers 4..7 indicated it is not.

Do you have an idea on how to get the device working?

Best Regards
Jens

PS: I am not subscribed to LKML, so please send copies of replies to me.

             reply	other threads:[~2005-06-10 19:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 19:38 Jens Taprogge [this message]
     [not found] ` <1118432646.7200.24.camel@localhost.localdomain>
2005-06-11  9:29   ` Jens Taprogge
2005-06-13 14:25     ` Kylene Jo Hall

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=20050610193802.GA27033@ranger.taprogge.wh \
    --to=jens.taprogge@post.rwth-aachen.de \
    --cc=kjhall@us.ibm.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®