Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3742080pxb; Mon, 1 Feb 2021 03:35:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlpRTniT0TjzdRK8PaHa9VMbXygAKOC5EyXnhmaXRDenb0Y8yw04fhCwQ2vO+GmQQYq5UD X-Received: by 2002:a17:906:5857:: with SMTP id h23mr16722806ejs.465.1612179302130; Mon, 01 Feb 2021 03:35:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612179302; cv=none; d=google.com; s=arc-20160816; b=HpmQEwo2sipM4EnHTcestdoM2bkBneDg/cTZrcA3Sulab0DMamiBcUAw8opLFJogLx MWqzWi8wAOPWLcNduvl2/X92Lc/qqorfHH/KYgbk2Z2g7VAZS5/UFpfveG9bH9aAqfUT nld0qurknKtJ74xDKiPmSI30HSdrLiXpFE6xKSy61KQJRe6XH98/kQu/3Aq50RsT9DBl rcq4ZxJHSbgTgGOfuKkfmV3j/VlZ5wl2ttQIWDNZ1tu3pobT0v+PTa/TW82oz/sLxcns xYYX/IXHlsxcHiGtTGAaUMUtFUk5H7mreYz/lHA7le62DivYgy/uLFAT1RxpQCv3t+Vo 28NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cSQbOQJ4cEIg0R1HDPTqIRkBiUWdXqU/Y6EIj9fY7Ek=; b=QlDUf8ygy+yn/nrmYlBvXupeZ36NZOFBKZgOIsb+S7CFQ7jvVo5FMjNWEKILQBP9GN 9XJnzgJJCpMYIdctfIRwXr7fskoMbAIbvQtJPz7mkS1vb96ajytUKPBdiHzKla2JKrxs uXNW7N+cG1lwT4/Thw08CO4EdtHnzt+Yst2oXXszSUztF/ABzdmJXObRRViTO0ItK17E RNnIVjaV4VIoUguIDFWs2siXKyuWDRxPBnw5GWQMPM2/DJw4B/DOsplckf8x69cWMDzB 3Buw+rJ0ZcpSK9Nf/iuPqYlPn2wmXrw1oHUH8cNaTxC2DfJPX9KxhQ/jVGCOvNXLkqHk FeTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gvAfdnzg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt6si9301464ejb.133.2021.02.01.03.34.33; Mon, 01 Feb 2021 03:35:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gvAfdnzg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbhBALbK (ORCPT + 99 others); Mon, 1 Feb 2021 06:31:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:48330 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbhBALay (ORCPT ); Mon, 1 Feb 2021 06:30:54 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A07A264D90; Mon, 1 Feb 2021 11:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612179013; bh=QQz4O2D5S55JH+J3HkSd4DfftLbA8u+Bn7/UfRzp8wE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gvAfdnzgD+vtmhm21xrYJNu7rRgdRW2+a+IcbwrXcqUj9utrHCu0jFNIxkHMZrec7 d6I9Auy1V5vGVdKmS9Lbkei1tmbEiK60iRBQcbt5LjBpUJuLwogQeNzoO7KE63sgx3 CzE5IA7cKQwaIASkDtohipUnYGNlqE4QyscO28OChe/wW6FHYI+nXccZ766U7n9imK dioFM3Hr1BDon91LDxE8WaiVhKloz2uBse/a4fMOsqz8fAwBBqh8i1wC2Lnk3nnB2X +swMa0Ctfex/cj6f6J71CHH+6vGLkNe5j55RqPoKog9H5rUjl7o6L+aGVRpT39h9j5 IQkDO/jXnYjdQ== Date: Mon, 1 Feb 2021 13:30:07 +0200 From: Jarkko Sakkinen To: James Bottomley Cc: Linus Torvalds , Linux Kernel Mailing List , linux-integrity , James Morris James Morris , David Howells , Peter Huewe Subject: Re: [GIT PULL] tpmdd updates for v5.12-rc1 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 30, 2021 at 09:33:47AM -0800, James Bottomley wrote: > On Sat, 2021-01-30 at 19:15 +0200, Jarkko Sakkinen wrote: > > On Thu, Jan 28, 2021 at 07:38:21PM -0800, Linus Torvalds wrote: > > > On Thu, Jan 28, 2021 at 4:54 PM Jarkko Sakkinen > > > wrote: > > > > This contains bug fixes for tpm_tis driver, which had a racy wait > > > > for hardware state change to be ready to send a command to the > > > > TPM chip. The bug has existed already since 2006, but has only > > > > made itself known in recent past. > > > > > > Hmm. Is this for the next merge window? The subject line implies > > > that, as does the addition of the cr50 driver. > > > > > > But the commentary about fixes implies that at least part of it > > > should be in 5.11? > > > > This was meant for 5.12 but the timing was *way* too early. I'll take > > this one back. Just to unambiguity reasons I'll use tpmdd-next-v5.12- > > rc1-v2 tag for my final v5.12 PR, once I send it. > > > > I considered a bit, and I really think that it would make a lot of > > sense to do a late 5.11 just containing the two commits from James, > > namely: > > > > 1. tpm_tis: Fix check_locality for correct locality acquisition > > 2. tpm_tis: Clean up locality release > > > > James: Does this make sense to you? > > Yes, that's fine with me. It will quiet the warning we've had several > bug reports about, so it's definitely a bug fix. Thanks, this is exactly what I wanted to sanity check. I figured that those should be enough, but unfortunately I do not have any hardware triggering the issue in my possession. > James /Jarkko