From: Kent Yoder <key@linux.vnet.ibm.com>
To: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
"mail@srajiv.net" <mail@srajiv.net>,
"jeremy@goop.org" <jeremy@goop.org>,
"tpmdd-devel@lists.sourceforge.net"
<tpmdd-devel@lists.sourceforge.net>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver
Date: Wed, 7 Nov 2012 08:48:31 -0600 [thread overview]
Message-ID: <20121107144831.GB14628@ennui.austin.ibm.com> (raw)
In-Reply-To: <509A6AA6.2000208@jhuapl.edu>
> >>+static struct attribute *vtpm_attrs[] = {
> >>+ &dev_attr_pubek.attr,
> >>+ &dev_attr_pcrs.attr,
> >>+ &dev_attr_enabled.attr,
> >>+ &dev_attr_active.attr,
> >>+ &dev_attr_owned.attr,
> >>+ &dev_attr_temp_deactivated.attr,
> >>+ &dev_attr_caps.attr,
> >>+ &dev_attr_cancel.attr,
> >>+ NULL,
> >So are these going to show up in SysFS? If so, there should also be
> >a corresponding file in Documentation/.../sysfs/something.
> These are similar to the entries made by the other tpm drivers. I
> don't see any documentation about those either. TPM maintainers, any
> guidance there?
Yep, those show up in sysfs. I'll put docs on my todo list.
Kent
> >
> >>+#include "tpm.h"
> >>+#include "tpm_vtpm.h"
> >>+
> >>+#undef DEBUG
> >>+
> >>+#define GRANT_INVALID_REF 0
> >Interesting. The 0 grant value is actually a valid one. I think you
> >want (-1ULL).
> Is it?
> drivers/block/xen-blkfront.c and
> drivers/net/xen-netfront.c
>
> do the exact same thing
> >>+
> >>+ init_tpm_xenbus();
> >>+ return 0;
> >>+}
> >>+
> >>+
> >>+module_init(tpmif_init);
> >no module_exit?
> Will fix
>
>
next prev parent reply other threads:[~2012-11-07 14:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 15:09 Matthew Fioravante
2012-11-06 19:39 ` Konrad Rzeszutek Wilk
2012-11-07 14:05 ` Matthew Fioravante
2012-11-07 14:48 ` Kent Yoder [this message]
2012-11-07 16:07 ` Konrad Rzeszutek Wilk
2012-11-08 15:40 ` Fioravante, Matthew E.
2012-11-07 14:46 ` Kent Yoder
2012-11-07 18:14 ` Matthew Fioravante
2012-11-08 1:10 ` Konrad Rzeszutek Wilk
2012-11-08 8:46 ` [Xen-devel] " Ian Campbell
2012-11-08 13:31 ` Konrad Rzeszutek Wilk
2012-11-08 8:17 ` Jan Beulich
2012-11-08 15:28 ` Kent Yoder
2012-11-08 15:36 ` Fioravante, Matthew E.
2012-11-08 22:06 ` [tpmdd-devel] " Kent Yoder
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=20121107144831.GB14628@ennui.austin.ibm.com \
--to=key@linux.vnet.ibm.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@srajiv.net \
--cc=matthew.fioravante@jhuapl.edu \
--cc=tpmdd-devel@lists.sourceforge.net \
--cc=xen-devel@lists.xensource.com \
/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®