From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB709C742CF for ; Fri, 12 Jul 2019 15:48:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7EAC520863 for ; Fri, 12 Jul 2019 15:48:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbfGLPsl (ORCPT ); Fri, 12 Jul 2019 11:48:41 -0400 Received: from mga05.intel.com ([192.55.52.43]:16948 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbfGLPsl (ORCPT ); Fri, 12 Jul 2019 11:48:41 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2019 08:48:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,483,1557212400"; d="scan'208";a="318032692" Received: from yanbeibe-mobl2.ger.corp.intel.com ([10.249.32.118]) by orsmga004.jf.intel.com with ESMTP; 12 Jul 2019 08:48:37 -0700 Message-ID: Subject: Re: [PATCH] tpm_crb - workaround broken ACPI tables From: Jarkko Sakkinen To: Jason Gunthorpe , "Safford, David (GE Global Research, US)" Cc: Matthew Garrett , "linux-integrity@vger.kernel.org" , "Wiseman, Monty (GE Global Research, US)" Date: Fri, 12 Jul 2019 18:48:36 +0300 In-Reply-To: <20190712150656.GF27512@ziepe.ca> References: <20190711145850.GC25807@ziepe.ca> <20190711185027.GG25807@ziepe.ca> <20190712150656.GF27512@ziepe.ca> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Fri, 2019-07-12 at 12:06 -0300, Jason Gunthorpe wrote: > I wonder if the CRB in the nvs actually needs to be save/restored in > AMD's implementation? > > Sounds like the answer is to have TPM CRB somehow detect NVS and > acquire the resource from it, while somehow sequencing suspend/resume > properly. Would be cool if we would be able to get someone from AMD to give some details just to ensure that we are doing the right thing. /Jarkko