This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] [vTPM] Update for switch to 2.6.16-rc4 or later

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [vTPM] Update for switch to 2.6.16-rc4 or later
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Thu, 18 May 2006 13:31:34 -0400
Delivery-date: Thu, 18 May 2006 10:33:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch should be applied the source tree once the 2.6.16-rc4 or
2.6.17 or a later kernel is used. I am sending it now in order not to
break the build when switching. 
I am updating tpm.c and tpm.h to follow the changes in mainline. As a
result of the patch, all changes to these two files (when compared to
mainline) are surrounded by #ifdef CONFIG_XEN.
Since now the chip structure is returned when registering with the
generic driver, I extend that structure to allow private data to be
stored in there. This is what most of the rest of the change is about.
Further, the sysfs entries created by the driver move
to /sys/devices/xen/vtpm-0/

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

Attachment: tpm_2.6.17.up.diff
Description: Text Data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [vTPM] Update for switch to 2.6.16-rc4 or later, Stefan Berger <=