Received: by 10.223.164.202 with SMTP id h10csp420208wrb; Thu, 9 Nov 2017 08:20:27 -0800 (PST) X-Google-Smtp-Source: ABhQp+RTbr1YNlIkBMSaullsM1kham4A3atFTjDrZdYEWFqSnH3k6F7KD6cx4eLZQYwoGiAbj/VM X-Received: by 10.84.149.102 with SMTP id b35mr922983plh.331.1510244427659; Thu, 09 Nov 2017 08:20:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510244427; cv=none; d=google.com; s=arc-20160816; b=N8ULg7veoMyUoxUcqSNvP2Uw+/mE6BpZcz0wuMhCIqTySTdpg1tr44qX92aVkl9utX 6woeajCB0SmwO/3+7TofQ+g2jG1+uY+yBcaa8pxunfFZWrnnR7GAdpvyGJjp2YqdWXrp TheImI1xxhd9b6cRTnDd6SdWuIZK+rAXPaP5wtLSr40r8OesaILdnei49G95VpSW8Fk6 /n2RlX6sHxbQVV5X/n3IMIiAMkLFqZa4bGn7cVDMQr6cZZb0YbDZW3Z/z0TOmOR56Kyb fwOj3NTTgJof7A9Q2NsXDnug4R9+bjJRlS/1nvXUWknVkUGyIHkKQi5BJuW5o4U31qjk K0/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=iPepfJfa+2TiY7ECLV7TgqRfvUKMu8wQRONjyrZx/Gg=; b=JitE03wGNTiXAzCLYVagfxnJmKPRLd3MG/vQojeHt/TlFREMGr1KP2ezzLaZZEyL+U 1wWa0biBH28Ug4pdIE7+YuwFPsDxoPVEjuaGPPUHEKieXM2Tkpar6+a3DuzaVGtTYvrA y29I2BAly8hXGYdgXZjHeQEe8GOvRV6k73y48c9mO1hiZc7JgucXJLyo0WCnRv9v5Z5D abvgNyu4jafUrTsYF9x6gx4gvCpQmj1Rz0f+ggbiLrv40P0OllD6DLWDJeyZITS3T5TY EZSfnG31xH45WGeNgj663nckltpvWg85KEYUXWu38j1YtoHUs8SDftdoWCeoqyVlKsQj iRQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TopX8FoY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g207si7100205pfb.8.2017.11.09.08.20.16; Thu, 09 Nov 2017 08:20:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TopX8FoY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753890AbdKIQTo (ORCPT + 81 others); 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 Received: by mail-io0-f180.google.com with SMTP id 97so10402797iok.7; Thu, 09 Nov 2017 08:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iPepfJfa+2TiY7ECLV7TgqRfvUKMu8wQRONjyrZx/Gg=; b=TopX8FoYOlufIGHBQIHqoVARrWRH2ssZsUBOOnp3z7s9faEoIr5lqJAKMzPHGXSfYz XFbdk5pYjQ/11jPnlB4xCS/XUqdRqD9OXouvQCI53BAgnS8ydWWt/fvxTXqnmfsCv4cV WIz8ud2qvV7niQFyp0hhKhjO7wXXRyhYi97Ryy/yjwEQNt79BZ8REt1116jdyh6gGJTA GyZhHO2zy4BScXX1WbBHFgUTYF3i96OXOvQLW49CY2OUB+SaTh1pZFuGQT6p9FyXsXqO /IBfTjHbwAg4iocuuDvGNgQLkhyS9J/qfzmhLeBaSJsjEuRRdvVhMz1RjAuwbBqx9Qg4 igvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iPepfJfa+2TiY7ECLV7TgqRfvUKMu8wQRONjyrZx/Gg=; b=jWjCv2HvoppSecz0+y8DXy0mojs8fCQru6X2safcBV6+QfAte3zTEIv701GvDuoBU4 ZwpnPhN/pYuD0AMfzoVO2h1cfSSCvELF7xHuPRZK+mbEP/8FRXuutNJWkNaz48YLxNFD HBUCXH2/GWD83WF0gFouPKYOASoWhrBMGHLIhQ+286tBezZxaaGzkluSGV25FO3m7hsw 0Xf4R1hXDlH2F1RtI3oj8AvGTBGxuKpOMHDNBRvegny+6ZBnCgMegtQt3eC5bCsSBVII tBDtY1fH/WK2vwGahqziFNqTx3VHbV1EvGGpSF4LU2BYcFEhMlSBh2COUVmZctacL90A q5iA== X-Gm-Message-State: AJaThX4xLHNny/YMRZjWh2LV6fE/JSHPMmJfxFUpD8AzLmpNG0c8Pj7z eWLTkZBtywm9Yr6fWc8FGUwgQt34PpIDhltgh1Q= X-Received: by 10.107.29.138 with SMTP id d132mr1242676iod.201.1510244373842; Thu, 09 Nov 2017 08:19:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.182.140 with HTTP; Thu, 9 Nov 2017 08:19:33 -0800 (PST) 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 Precedence: bulk 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 From 1583478316216791327@xxx Wed Nov 08 06:30:00 +0000 2017 X-GM-THRID: 1582805030856907824 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread