From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753893AbdKIQTo (ORCPT ); Thu, 9 Nov 2017 11:19:44 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:50533 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753821AbdKIQTe (ORCPT ); Thu, 9 Nov 2017 11:19:34 -0500 X-Google-Smtp-Source: AGs4zMZKi1xTLwEk/ReMAv50H43MijqBl6VPXvAsSynJvS3suHWEbxBvZn6zC/y+gfmk28438FHJC7HsZayCRlREcvQ= MIME-Version: 1.0 In-Reply-To: <20171107160404.GG21466@ziepe.ca> References: <20171031200503.GC18578@ziepe.ca> <20171105110506.usxmuzrvcjvxahr6@linux.intel.com> <20171106022704.GD26011@ziepe.ca> <20171107160404.GG21466@ziepe.ca> From: PrasannaKumar Muralidharan Date: Thu, 9 Nov 2017 21:49:33 +0530 Message-ID: Subject: Re: [PATCH v2] tpm: Move Linux RNG connection to hwrng To: Jason Gunthorpe Cc: Jarkko Sakkinen , Stefan Berger , linux-integrity@vger.kernel.org, David Howells , Herbert Xu , Dmitry Kasatkin , open list , "open list:INTEGRITY MEASUREMENT ARCHITECTURE (IMA)" , "open list:KEYS-TRUSTED" , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , James Morris , Matt Mackall , David Safford , Mimi Zohar , "Serge E. Hallyn" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jason, On 7 November 2017 at 21:34, Jason Gunthorpe wrote: > On Tue, Nov 07, 2017 at 08:50:44AM +0530, PrasannaKumar Muralidharan wrote: > >> I am assuming you are talking about the following patches - using >> struct tpm_chip instead of chip number and this patch. > > yes > >> I won't be able to test if struct tpm_chip usage as I don't have >> multiple tpm hw in one machine. In case of tpm rng changes I can test >> only the lifecycle of tpm rng device. Is that enough? I feel my test >> will be limited. Please provide your thoughts on this. > > That is certainly better than no testing. The struct tpm_chip patch partially applied on linux next. I had to manually change the code. In qemu tpm rng device did not show up on loading tpm module. My laptop has tpm hw but Linux next did not work properly in that. All my console were getting spammed with some USB log message and I could not do anything. X did not start either. I could not debug the issue as the logs were printing infinitely. Will get little more time this weekend. Will do a proper test and provide you the result. Regards, PrasannaKumar