Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp132120ybl; Thu, 15 Aug 2019 14:07:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqytvgCDQpLN1zHZHn/leBy5G5SDMd5LgW7LUvKw1mStcSvs4XAwPS5SE497v9fQ4N2Km7Tq X-Received: by 2002:a17:902:4401:: with SMTP id k1mr6032766pld.193.1565903255485; Thu, 15 Aug 2019 14:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565903255; cv=none; d=google.com; s=arc-20160816; b=C00rCuugcuj0HW8Nx/El0jFbBaifQws+/b4OvAaS3TCkkbmY3QML5oVxPVMXZ2Pi6g 3RQvo7xQKYEXmF629OmLFcJyxjDk5C8iCMlKzXlMeAeKQRI10rQtMsHInWDE+iFB1ifv I0Wj9cfsuGWfQzQXLNUw3wUyr9RwyWDRwtcdmVct0GLhkYeYwsoKy/3FhSVQX0oSEF5V Bav7W9fQw6eSRxK7+d4aNgRT9HmCbHjG8OLYlLrADX7K70sRB3IRvDRPIZF/teOSE32q U11gJGehUcv5b4jbVf0TB9i/MWqlg6FSqnN3C4nE/jmpfy4Y2zjx8dsOWZ0dUDRbHVZe v4rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FlPTqXKhDMagwK5ZAQcDcRwcsAJCi6+5MUkf61vWMaY=; b=oo7PJ55gN8f5dZnT6E/eklyH5LHM+c+GPJiIbOM0RxfE41lkKZYxC9UTzmSLDLOZvD rYumUE9DULLoZMOAWFw3Koz2IYL15EtTscTOQjJTUSj1ua+bXMoHvEMWrZlyN1PRgTNG r8Brqmyxra3+Fkej0bxuYL4hDR6DIFGTg88Ugm/TRxh5x3PU+cqZ/2/GMoHpfQ3vHBXe Pa/dX88rbnBbXNBm4dmSoSSPGLURjxU61Zpd/oWausnXEdbJZ1rCgM+fB7LifuS77/Up fuFOjj6qGdkGeBdhvfMHnQr6KzAmUj0Y3H2ygvM+KUsfgpCraOpnTFOtKXmMAXOTO2Z/ olZQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si2449853pgn.360.2019.08.15.14.07.17; Thu, 15 Aug 2019 14:07:35 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732560AbfHOUrv (ORCPT + 99 others); Thu, 15 Aug 2019 16:47:51 -0400 Received: from mga04.intel.com ([192.55.52.120]:51418 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728728AbfHOUrv (ORCPT ); Thu, 15 Aug 2019 16:47:51 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2019 13:47:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,389,1559545200"; d="scan'208";a="179477483" Received: from kropac-mobl.ger.corp.intel.com (HELO localhost) ([10.252.52.236]) by orsmga003.jf.intel.com with ESMTP; 15 Aug 2019 13:47:45 -0700 Date: Thu, 15 Aug 2019 23:47:42 +0300 From: Jarkko Sakkinen To: Vanya Lazeev Cc: Jason Gunthorpe , Peter Huewe , Arnd Bergmann , Greg Kroah-Hartman , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] Fix fTPM on AMD Zen+ CPUs Message-ID: <20190815204742.f37or63zwqjll22i@linux.intel.com> References: <20190811185218.16893-1-ivan.lazeev@gmail.com> <20190812131003.GF24457@ziepe.ca> <20190812224242.GA3865@tazik.netherland> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812224242.GA3865@tazik.netherland> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 13, 2019 at 01:42:42AM +0300, Vanya Lazeev wrote: > fTPM on Zen+ not only needs multiple mappings, it can also return > inconsistent with ACPI values for range sizes (as for me and > mikajhe from the bug thread), so results of crb_containing_resource > are also used to fix the inconsistencies with crb_fixup_cmd_size. How do you think that just by your code change, without any explanation in the commit message, we could backtrack all this information? /Jarko