WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] [Linux] Transfer TPM locality info in the ringst

To: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] [Linux] Transfer TPM locality info in the ringstructure
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Thu, 3 Jan 2008 21:26:08 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, keir@xxxxxxxxxxxxx
Delivery-date: Thu, 03 Jan 2008 18:26:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D936D925018D154694D8A362EEB0892003507AAF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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

"Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote on 01/03/2008 08:48:41 PM:

> On Wednesday, January 02, 2008 11:27 AM, Stefan Berger wrote:
> > Transfer TPM locality information in the ring structure. Add a version
> > identifier to the ring structure for possible future extensions.
> >
> > Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
>
> Stefan,
>
> How do you expect to use the locality value and how would it get set (to
> a non-zero value)?


The TIS interface offers the different address ranges for using a locality. A TIS driver can make the localities available through an ioctl(). A similar ioctl() could exist for the xen driver that allows the client to choose which locality to use.

>
> Since the locality value is provided by the originating domain, it can't
> really be "trusted" by the backend without some other type of
> validation.


Except for maybe checking that the value of the locality is not out of range I don't see what else would need to be checked or is there maybe some restriction for an OS to let applications use any other locality than locality '0'?

   Stefan

>
> Joe
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel