Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp170110lqc; Thu, 7 Mar 2024 13:43:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVrVQ/aonS6Ff7aWVkGWA7sN7dJHARqmKRe7aabunn4B9OgOe50O3bDH3qbNvMrGzvGJZYEjZbH/12PPERsyCNcVpvTHHe6K5E/SW49pg== X-Google-Smtp-Source: AGHT+IHXMVvwOvcTMDhpTPJWs30HdCnVbwVYogKlHdMck7sxYQa6w8yTACqoinCBcWYa0btTWoBM X-Received: by 2002:a17:902:684d:b0:1dd:6899:397a with SMTP id f13-20020a170902684d00b001dd6899397amr66983pln.64.1709847812012; Thu, 07 Mar 2024 13:43:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709847812; cv=pass; d=google.com; s=arc-20160816; b=OybpU0t8jDYj+FAyWBcOmgKKKI4F4ObgkuY7iF07GS/oKCmyz6ITdYWbH8oAvsbyQY T8ZDw4VNKSpJM+6km2YlZpCxRy5H4usyMHDrc4WEdq/MsshoUBHgtdp4msvWpXPDW96L UvgAfIDMl+Ot+GASf/u0X2QynUjVEU/ryY4AaT3wWssMxxSG6YPT6vgZ+z+Ims7fZ7j9 vWrLhdk2IZAaC354/hbx66u0YfeJN2QQzfDNYJBHAKky9YLQ0qohO5qpm2XtWSKHh3P3 yF+FIGo1x5Xf5dlfNlMOlAqBY+R7dkpbieryTWutt3h6R/+v0rajETj8/MduPylHKF00 JZIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A418+3Zl6XbPmUwDUl1MPGByOMZEvGelHr4x/o10aKk=; fh=4wY6SlC0/x+ACmia5ULKaLwXA7wmdHSg3/R06KuX9Dg=; b=rxOHiViaDp2RDYE2HJj2kjmSr/c42J959pcOixFnYBai6Y0i+6jMCxlt3AG1D99Xn0 gX0QdBvn3j4z8+w9iyYkwxuDmiTLK9inuKk8zHYQ3DONJ4pUZdANXtmEJIp8L+zZLUZR XEpS6cQnoWVtb3rj9/DVm7NAn6YZ2Z2TBumMR77jZslOaaP1ieWvQ1VcbLvvPsNDoINf 8lU2oPYTLtVEWnY1csIv24hV1Cf2fCxtouwUuTSH+asnONy/mUKFmAVfo33JJbaVmYZ+ L7ReB9XuoTEJtSILgbdy2RBFyRBEwQZoUcuU5k+qUkt6ZreS1lLc1MR7A+PVI5k6f89/ 5qQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h6/UN6Dd"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96272-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v4-20020a170902f0c400b001dba67e1d81si14145578pla.647.2024.03.07.13.43.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 13:43:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96272-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h6/UN6Dd"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96272-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0AD3F28858E for ; Thu, 7 Mar 2024 21:42:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FCCA13B7A2; Thu, 7 Mar 2024 21:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h6/UN6Dd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 971F318B1B; Thu, 7 Mar 2024 21:42:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709847769; cv=none; b=n6nQFSqSWE3qWCI6j5379xIlgX2QKkH3so93ppt6yaP0twnzFQoGSIJU/nTt1nbZz25VhhvH7EJ8TMTv/4uLOApLn7ApCWax1eBHlX9E26Cw1atDEPLSOK5eNi7BAl0+5iqK7kYMAZNZCBuPmGiY91ob5yU7dx/UAQP70IWFdGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709847769; c=relaxed/simple; bh=8XuCVPF590rPxYXu7ldG9ZXSXyPh8TaCqTdhQ8IANrM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GvJf1DQRYNmD2FFYdAMQldYEvl2ULMIi/fWPK/wWr8/Hn9icxWolJuG4txE1D6dYrPuSrQhPlW/5k8jJ5nvo/QxqngYvsp9XLnUaT+j39hnocdhtHD3PDiE1UhseXBF8WLK5KIIXNcOWUYRj0Y6euyIPJF4Y0PTtgIxd1fHArjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h6/UN6Dd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5321C433F1; Thu, 7 Mar 2024 21:42:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709847769; bh=8XuCVPF590rPxYXu7ldG9ZXSXyPh8TaCqTdhQ8IANrM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h6/UN6DdfOsJsNGmfnzXYMCgBGPlJvcjNckhZgIRgoh2u07kuVeRK/HYaRxWJcpWy lyR8w5F12v8+Qos5W7JU1+EtXyXU2y03etFcD6m0HA7t46l/QB+ALkTCpSlS/f3Kt3 NIcSPG2I8WfQb276HDQ52lhfDvRVzN6IP+Np0wglKRKiqnBwHRY1yoLbQlv7TlXI79 2QBhmf0httu9RA9NaggO8HlkmkCF3k/8X1b9Gx5RUKUqK+GYs7JPrz2h7S8nyd3h3s C+01rVNmlNzRBJ4SHRrOgy1xcU9AVQj7mFfqhpd7RxR5Dyv1du5+O+am+MdFDhod50 2po77yHPtX6zg== Date: Thu, 7 Mar 2024 15:42:45 -0600 From: Rob Herring To: Stefan Berger Cc: mpe@ellerman.id.au, linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, jarkko@kernel.org, rnsastry@linux.ibm.com, peterhuewe@gmx.de, viparash@in.ibm.com Subject: Re: [PATCH 0/2] Preserve TPM log across kexec Message-ID: <20240307214245.GA3110385-robh@kernel.org> References: <20240306155511.974517-1-stefanb@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 06, 2024 at 11:08:20AM -0500, Stefan Berger wrote: > > > On 3/6/24 10:55, Stefan Berger wrote: > > This series resolves an issue on PowerVM and KVM on Power where the memory > > the TPM log was held in may become inaccessible or corrupted after a kexec > > soft reboot. The solution on these two platforms is to store the whole log > > in the device tree because the device tree is preserved across a kexec with > > either of the two kexec syscalls. > > > FYI: This was the previous attempt that didn't work with the older kexec > syscall: https://lore.kernel.org/lkml/4afde78d-e138-9eee-50e0-dbd32f4dcfe0@linux.ibm.com/T/#m158630d214837e41858b03d4b025e6f96cb8f251 Doesn't everyone else still need that? Is powerpc the only ones that care about the old kexec syscall? Rob