Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13901283ybl; Sun, 29 Dec 2019 23:43:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxa5QAYnrMpZWynpMOmx2H3s5KWk0FQpXBZF8vuvfOXGe2VJKczPWtb+tMU1cZgwSryE26k X-Received: by 2002:a9d:6758:: with SMTP id w24mr8416786otm.155.1577691788213; Sun, 29 Dec 2019 23:43:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577691788; cv=none; d=google.com; s=arc-20160816; b=X09daEp7wharEWuhREGUHMYvBdjtSlpAwl9ll+PklvEMuzXyit/WIE4PRWh33lYF14 8FJQu4VJnvXqCl09S/sq9vWt6Snt1BkhpLz71e/DrN45tUDtKTLtOOa8NccvWcruEjee VaDax5xe+RaNnKMkCZLvvAhnGdnrBY0xqAU0235dxo63Hc7Epz56mVfZogDrHp8NmMUa B9GSTWUvQAHFaZjG8Q72MNiXMvr+TDCfI6r3GstAsxniRTYR2zYRYh/zQ/KVv8MyarxW 86Pj712luiTardSp8MfJtrdkq1grqPB9SP+GYnmMjzPJtMrbVmFYz9xAdrSlnr6fBaF1 JW4g== 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 :in-reply-to:references:mime-version:dkim-signature; bh=cwlK7F0OhgofZ2g1c0eZ3ZVDb9GpV5ov9doTgWC0/9U=; b=vCFqmxc2U8vha575vq3xxnOncX3kcG/+RvlAlwu/IvPCMhO0RRJfnaDFtRKbXNw0kr oyRT+yymEtmYNAs/klSOy2kXCMkS2U81KrCBo58JLYYwU0XE6VjSKHV09VJ3WW8j7JkL Lj7fLrl1woTm60zuGD+INJNFxa/fazjLGrJEvcYanWKuHd5MBNPmZTSLji1SdGbdUYu/ myMUl+bTAHizYTR4LbAGF4ZTv2Vgruvmhi5p/O48wyqIZr/dyOl/RS9Lg+kLeck5t5fg d3FxdH2oweftFNYj6g8wDuadA3uwiM+y9J3NlSrn/aPtRMRrO6HKcJxK7edT84aYywVp Dahw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=BIp45yVz; 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 h18si23706525otj.114.2019.12.29.23.42.56; Sun, 29 Dec 2019 23:43:08 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=BIp45yVz; 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 S1727297AbfL3HmJ (ORCPT + 99 others); Mon, 30 Dec 2019 02:42:09 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:39034 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727190AbfL3HmJ (ORCPT ); Mon, 30 Dec 2019 02:42:09 -0500 Received: by mail-ot1-f66.google.com with SMTP id 77so45212433oty.6 for ; Sun, 29 Dec 2019 23:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cwlK7F0OhgofZ2g1c0eZ3ZVDb9GpV5ov9doTgWC0/9U=; b=BIp45yVziKNxpjGFASN8D5v/1fT7LjBa4Qn8eNSmrBq3xaVgnM44DM6PK7rx3YeBNi BDWg9AfiT3EWhYCOfZdHIo3SkBFKNmNUONsZnmcUK7pdKNwI11KFuoPkBLfBAXS5n8Fr mud8KAX20EIHYtiOXNQY/ktuH9N97++24K9VBM7ShhN4uC68X1Ta0t/VTCvKUNwQwhdV kf4ZRtK6H5V1Z3I5V5BgOY7krjGLjDje15J+E3eKmtgyyS0N/uXeW19g4XAnM/Tqcdv5 jqhypWawBaFAHuyunqRhY0zOH+DDpiG8bRo7oS/Sx3iURFKo4RyorYe1PY4Q5ddsmfAZ Q3Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cwlK7F0OhgofZ2g1c0eZ3ZVDb9GpV5ov9doTgWC0/9U=; b=VunQCA0KCnT2iZ7Fidw8XpxOJQGM6JdAjyw40Uo9LGUo9AiFJrSGtHjbYV8ASUNg99 bp/VG+vAyM5HdtlM6qNO9iJbO/kDHI+OvQdlWB+L8UcSTHSkpKa/8LJMT2PjIEGun1NF Q61+Dj+nhudfEdjFpchcyLUQTy7Xix0T3khNPBlLWIIh/6OAeUoUtHhtsWai2tC8xuqN 4RDMK341DGW9+Kc/22GGgUtr9yjVLPnO/EBWDEBMmd9Xcfx4b3j3KcL58ngMzWN8LaI5 tpzH7KgeX5HAfgO8++PJyTgWzHxO+vVVTrkgs4xBmmHoRAiiTxm6Ud2bBLMdpEHqvsrC yPBg== X-Gm-Message-State: APjAAAVEsw50i/YvnNV5PkTIHJ5W6cnnzjJgvbvxqNbfN1WmuEq4rwUC FlJ4MDqQVOgwRuCO5QycCC4dhY8lKyVwShz/q0qEWQ== X-Received: by 2002:a9d:7852:: with SMTP id c18mr64344596otm.247.1577691728093; Sun, 29 Dec 2019 23:42:08 -0800 (PST) MIME-Version: 1.0 References: <1577122577157232@kroah.com> <50217a688ffa56cf5f150ffd358daba2a88cad48.camel@linux.intel.com> <20191228151526.GA6971@linux.intel.com> In-Reply-To: From: Dan Williams Date: Sun, 29 Dec 2019 23:41:56 -0800 Message-ID: Subject: Re: Patch "tpm_tis: reserve chip for duration of tpm_tis_core_init" has been added to the 5.4-stable tree To: Jarkko Sakkinen Cc: Greg KH , Christian Bundy , Jason Gunthorpe , Jerry Snitselaar , Peter Huewe , Stefan Berger , stable-commits@vger.kernel.org, linux-integrity@vger.kernel.org, Linux Kernel Mailing List 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 On Sat, Dec 28, 2019 at 9:17 AM Dan Williams wrote: > > On Sat, Dec 28, 2019 at 7:15 AM Jarkko Sakkinen > wrote: > > > > On Fri, Dec 27, 2019 at 08:11:50AM +0200, Jarkko Sakkinen wrote: > > > Dan, please also test the branch and tell if other patches are needed. > > > I'm a bit blind with this as I don't have direct access to the faulting > > > hardware. Thanks. [*] > > > > > > [*] https://lkml.org/lkml/2019/12/27/12 > > > > Given that: > > > > 1. I cannot reproduce the bug locally. > > 2. Neither of the patches have any appropriate tags (tested-by and > > reviewed-by). [*] > > > > I'm sorry but how am I expected to include these patches? > > Thanks for the branch, I'll get it tested on the failing hardware. > Might be a few days due to holiday lag. This looked like the wrong revert to me, and testing confirms that this does not fix the problem. As I mentioned in the original report [1] the commit that bisect flagged was: 5b359c7c4372 tpm_tis_core: Turn on the TPM before probing IRQ's That commit moved tpm_chip_start() before irq probing. Commit 21df4a8b6018 "tpm_tis: reserve chip for duration of tpm_tis_core_init" does not appear to change anything in that regard. Perhaps this hardware has always had broken interrupts and needs to be quirked off? I'm trying an experiment with tpm_tis_core.interrupts=0 workaround. [1]: https://lore.kernel.org/linux-integrity/CAA9_cmeLnHK4y+usQaWo72nUG3RNsripuZnS-koY4XTRC+mwJA@mail.gmail.com/