From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ross Philipson <Ross.Philipson@citrix.com>
Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov>,
Jordi Cucurull Juan <jordi.cucurull@scytl.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: vTPM Manager shuts down
Date: Wed, 22 May 2013 16:54:03 -0400 [thread overview]
Message-ID: <20130522205403.GA12923@phenom.dumpdata.com> (raw)
In-Reply-To: <92B37F2487AE0841841737618F25AC1A0FF6A34A@FTLPEX01CL03.citrite.net>
On Wed, May 22, 2013 at 07:14:04PM +0000, Ross Philipson wrote:
> > -----Original Message-----
> > From: xen-devel-bounces@lists.xen.org [mailto:xen-devel-
> > bounces@lists.xen.org] On Behalf Of Ross Philipson
> > Sent: Wednesday, May 22, 2013 3:06 PM
> > To: Konrad Rzeszutek Wilk; Daniel De Graaf
> > Cc: Jordi Cucurull Juan; xen-devel@lists.xen.org
> > Subject: Re: [Xen-devel] vTPM Manager shuts down
> >
> > > -----Original Message-----
> > > From: xen-devel-bounces@lists.xen.org [mailto:xen-devel-
> > > bounces@lists.xen.org] On Behalf Of Konrad Rzeszutek Wilk
> > > Sent: Wednesday, May 22, 2013 2:00 PM
> > > To: Daniel De Graaf
> > > Cc: Jordi Cucurull Juan; xen-devel@lists.xen.org
> > > Subject: Re: [Xen-devel] vTPM Manager shuts down
> > >
> > > > (XEN) General information for domain 5:
> > > > (XEN) refcnt=3 dying=0 pause_count=0
> > > > (XEN) nr_pages=7168 xenheap_pages=5 shared_pages=0 paged_pages=0
> > > dirty_cpus={} max_pages=7424
> > > > (XEN) handle=3097d8b9-8d80-4bde-94b6-978c98c37296
> > > vm_assist=00000000
> > > > (XEN) Rangesets belonging to domain 5:
> > > > (XEN) I/O Ports { }
> > > > (XEN) Interrupts { }
> > > > (XEN) I/O Memory { fed40 }
> > > >
> > > > Note: my config contains "iomem=['fed40,1']" not "iomem=['fed40,5']"
> > > so your
> > > > output will differ there.
> > >
> > > Is that address (fed40) standard? Are there other TPM devices at other
> > > locations?
> >
> > Yes that is defined in the TCG's TPM spec. That is the beginning of the
> > PCRs
> > for locality 0 and they range up to locality 4: FED4_0xxxh - FED4_4xxxh
> >
> > If you search for something like TCG_PCClientTPMSpecification_1-21_1-
> > 00_FINAL.pdf
> > you can find that information (chapter 9 is on locality).
> >
> > > How does one find them? lspci?
> >
> > The TPM lives on the LPC bus. Some of its features are exported in
> > sysfs:
> >
> > /sys/class/misc/tpm0
>
> Oh and sorry I sent it before I finished what I was going to say. You can
> find information about it in ACPI. E.g. this Dell I have has a Broadcom
> 1.2 TPM:
>
> Device (\_SB.PCI0.LPCB.TPM)
> {
> Name (_HID, EisaId ("BCM0102"))
> Name (_CID, 0x310CD041)
> Name (_STR, Unicode ("TPM 1.2 Device"))
> Name (_CRS, ResourceTemplate ()
> {
> Memory32Fixed (ReadOnly,
> 0xFED40000, // Address Base
> 0x00005000, // Address Length
> )
> })
> ...
> }
Would it make sense to have libxl when creating one of the TPM manager
domains to automatically get that info from /sys/class/misc/tpm0?
Hm, I guess it wouldn't really work unless you added some new
config option called 'vtpm_manager=1' to do this.
next prev parent reply other threads:[~2013-05-22 20:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 11:16 vTPM Manager shuts down Jordi Cucurull Juan
2013-04-18 14:41 ` Daniel De Graaf
2013-04-18 16:42 ` Jordi Cucurull Juan
2013-04-18 21:12 ` Daniel De Graaf
2013-05-22 17:59 ` Konrad Rzeszutek Wilk
2013-05-22 19:05 ` Ross Philipson
2013-05-22 19:14 ` Ross Philipson
2013-05-22 20:54 ` Konrad Rzeszutek Wilk [this message]
2013-05-23 14:35 ` Ross Philipson
2013-05-28 20:54 ` 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=20130522205403.GA12923@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ross.Philipson@citrix.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=jordi.cucurull@scytl.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.