Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbdCNS7A convert rfc822-to-8bit (ORCPT ); Tue, 14 Mar 2017 14:59:00 -0400 Received: from mout.gmx.net ([212.227.17.22]:63653 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbdCNS67 (ORCPT ); Tue, 14 Mar 2017 14:58:59 -0400 Date: Tue, 14 Mar 2017 19:58:37 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <9f67321b-50bd-9e6f-61f8-c29ae14f261f@linux.vnet.ibm.com> References: <1489382517-9078-1-git-send-email-Meng.Li@windriver.com> <29B2C361-A0C0-410E-ACCA-07AFA382A251@gmx.de> <9f67321b-50bd-9e6f-61f8-c29ae14f261f@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [tpmdd-devel] [PATCH] tpm: Add sysfs interface to show TPM hardware version To: tpmdd-devel@lists.sourceforge.net, Ken Goldman , linux-kernel@vger.kernel.org From: Peter Huewe Message-ID: <074515F2-51E7-485B-B1AB-11B913CC4B46@gmx.de> X-Provags-ID: V03:K0:0ab6JZkLy+pDZwps4lsQ4zYHJlQ54mO5yrYvZfJkfIh54Xg/QDb sDbp8ZTEZjpdAK4tbZJqAlyrVyrinRCRk8ghZsC97fvAxuTJNtenrmnFdQO28CgEqZAaQrN OXlQRu3ATxETMUxxyJNnJHxoGCy56KRVQ9nP9HXEEtsWJBsvBaTMMAO+xyiKcIMR2Odp1un IkZSJsdTspRJmvWwLxpsg== X-UI-Out-Filterresults: notjunk:1;V01:K0:S/TyA3PJYtI=:zGT3Hj36CpoAqNx9gcghZy kMOdWaQfGyn5dS0oLOzvC5bBrH44YcDj+YmQeG+sJVJi3E10LhPNu7pWuTWI/+YBxeAVN2EU0 iw2LGnzFV+g6nPKMEZLHGHPDWi45/f3nn2UPOxZrj7TJ32g82+hXcYvi5X1tGISxNLS841W+X Z62+uUIQPnobZ+wN31rPAahi8o8zZR/UJAD8D6N5llvSG/K2s+P7/kOYDQxiS/kFEafk2tCFY W+UjDWm7B+88/CHAM1sSJpK3ujXAQbNVYKdEhl7/yD+gnco3rsPWTupc5mWveq8nYKzKZj5oq hubdi+WKGAMOsHVx1IR66kTJLus3Djn+AoKP1hlUg7xlaOslY/QRLplqgdzwtBOU4FlapvxoA mJOVfxrVc9h9EJakDE8pRiraud5820ctvweoAMGUzl6SdytmDmZAOPzSc26O5PO88rQJTqV1R tZ/mWVRrJCC4XX58/WOLsZ9kkx4TbaVUjU/4a31OnLV9Z0Xx9yyZerwp8IYQa8G+hQTzAY0QV FLlQp2bOy6PmEXtFptzQYZihBf10t+HjVfBMoN7tBgp3/tmazU93IJVlz3UPBq9/mWJeVqg4C d9ESYIhU3yNHG0kqAusKBp9Ji3UjIQaGlgT7zhAyGnZaEieqXnR+k3mrcYDuF6MHOdpguGCxd 3mfBYzXNT+5fNwZTt8IhciWOtXZ69Sz+yhWUEEOKupoUb8c617nAN6YrQFuREFT7NoNrwiEKH zfHZFipPU6gpcOqFIJUunSlIkLZQriV7VNGKm9Yd2lFpoEsWC+nu1WTbboO6QYnkJAcqddHln Ek/nt3I Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 34 Am 14. März 2017 19:18:15 MEZ schrieb Ken Goldman : >On 3/13/2017 3:10 AM, Peter Huewe wrote: > >> And yes you are right there is currently no way, except for trial and >> error, for the userspace to determine this. So an interface to get >> this information makes sense to me. > >In practice, I suspect that a single user space application won't >support both TPMs. Think of init scripts. Which daemon should it start? > It will send the first command, get an error >response code that says it's the wrong TPM, and exit. > >Note that, although there is no overlap in the command API, the packet >format is compatible enough that a meaningful response can be returned. > > > > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot >_______________________________________________ >tpmdd-devel mailing list >tpmdd-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/tpmdd-devel -- Sent from my mobile