All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Emil Condrea <emilcondrea@gmail.com>
Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov>, xen-devel@lists.xen.org
Subject: Re: vtpmmgr bug: fails to start if locality!=0
Date: Wed, 5 Nov 2014 10:00:01 +0000	[thread overview]
Message-ID: <1415181601.11486.69.camel@citrix.com> (raw)
In-Reply-To: <CAAULxKL1vcz3bjzGAW7=7yB6dz4w=96nJYXWP1r1HaV-Nupdxw@mail.gmail.com>

CCing Daniel.

On Fri, 2014-10-31 at 17:37 +0200, Emil Condrea wrote:
> 
> I am wondering if this is known issue that when I set locality!=0 to
> vtpmmgr it does not start. It is a bit strange that every call to
> tpm_tis_status returns 255 and device-id is also FFFF: 
> 1.2 TPM (device-id=0xFFFF vendor-id = FFFF rev-id = FF).
> TPM interface capabilities (0xffffffff):
> 
> I am configuring vtpmmgr using:
> 
> kernel="/usr/local/lib/xen/boot/vtpmmgr-stubdom.gz"
> memory=8
> disk=["file:/var/vtpmmgr-stubdom.img,hda,w"]
> name="vtpmmgr"
> iomem=["fed40,5"]
> extra="tpmlocality=2"
> 
> 
> I also tried using :
> iomem=["fed40,1"]
> extra="tpmlocality=0"//works well
> 
> or
> iomem=["fed42,1"]
> extra="tpmlocality=2"
> It seems that everything that is not mapped at fed40-fed41 is
> FFFFFFFF.
> 
> I have an Atmel TPM chipset. 
> 
> Could it be a chipset problem to not handle well different localities?
> 
> When I use locality=0, the device driver info is correct and
> everything works fine:
> 1.2 TPM (device-id=0x3204 vendor-id = 1114 rev-id = 40)
> TPM interface capabilities (0xfd)
> 
> In linux kernel this information is obtained using locality 0 and
> after that other commands execute using specified locality.
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/char/tpm/tpm_tis.c#n558
> 
> 
> Thanks,
> 
> Emil
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2014-11-05 10:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 15:37 vtpmmgr bug: fails to start if locality!=0 Emil Condrea
2014-11-05 10:00 ` Ian Campbell [this message]
2014-11-06 21:55   ` Daniel De Graaf
2014-11-07  1:46     ` Xu, Quan
2014-11-07 10:42       ` Emil Condrea
2014-11-09  8:30         ` Xu, Quan
2014-11-16  7:15           ` Xu, Quan
2014-11-16 10:46             ` Emil Condrea
2014-11-07 10:40     ` Emil Condrea
2014-11-07 23:31       ` Daniel De Graaf
2014-11-14 14:22         ` Emil Condrea
2014-11-14 18:01           ` Daniel De Graaf

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=1415181601.11486.69.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=emilcondrea@gmail.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.