From mboxrd@z Thu Jan 1 00:00:00 1970 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 2A939136995; Thu, 7 Mar 2024 20:00:15 +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=1709841615; cv=none; b=KqAGhqdSwKaJ4rCz6KQOwMLzBwBn4MFBTz1EcA+VpSWte5uqWG/z0JsSwphDsCblmA0tulWgHzNELjsXp8i+P0bBgZaUubbwAShkdI4UA9sVNXcPhSdIMnUgpkiV8gMc1QJccQE63eCd5wgvDAo5alB5c1WHaVHQ1t7ucqFeBA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709841615; c=relaxed/simple; bh=hHVUKE05J5hWZW3aCoiEn6Z8Rlg4XXsS0ZJFK6atvm4=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=MjRWONakNCwbKnVrgn7GurO2as6U6GcBEDear6nJbHxWqSR7Kc923IcUDEyW363dO9Su1OrP8Gf8b6IfkHF99FYrd65xP0odKjdzOyBBC3V5sXcTTSOoRiqAhKDrwTWNKxhcqBg3fOIh9YqvcrTpaZ6H70T9UzlqJ24ihtxkzVs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EB5ihk9x; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EB5ihk9x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6863C433C7; Thu, 7 Mar 2024 20:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709841614; bh=hHVUKE05J5hWZW3aCoiEn6Z8Rlg4XXsS0ZJFK6atvm4=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=EB5ihk9xAs3LimzpDSuTx86WiERojQbp6l23Uruma8ryd5emdLC6GWdpaR/Pah6Gz /nJx8NvseHYj6MPnjrjQ2vZsPXw79kBh97MIb/YkzvIP6XmALSmqwGWVizRc2ZCe92 z/VEbsToQl+nqJXgdl583vnahIVoUG30MGmRa3vdDd9HMPEtDPdEDlTOvDvrxYfNNm alCJZBe08I1sunPYH/WVQIjuoZxJUjNC33lThq85LUus45sPfI23YzduxwNeM3c+LT AKaiszpmyG7d/TIQMaCS95CjLDMFyjDR9pxg9EkaRLwrtIAUqpp7+Ai/1ADAC/b2RV X5et78TkappFw== Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 07 Mar 2024 22:00:10 +0200 Message-Id: Subject: Re: [PATCH 2/2] tpm: of: If available Use linux,sml-log to get the log and its size From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Stefan Berger" , , , Cc: , , , X-Mailer: aerc 0.17.0 References: <20240306155511.974517-1-stefanb@linux.ibm.com> <20240306155511.974517-3-stefanb@linux.ibm.com> In-Reply-To: On Thu Mar 7, 2024 at 9:57 PM EET, Jarkko Sakkinen wrote: > in short summary: s/Use/use/ > > On Wed Mar 6, 2024 at 5:55 PM EET, Stefan Berger wrote: > > If linux,sml-log is available use it to get the TPM log rather than the > > pointer found in linux,sml-base. This resolves an issue on PowerVM and = KVM > > on Power where after a kexec the memory pointed to by linux,sml-base ma= y > > have been corrupted. Also, linux,sml-log has replaced linux,sml-base an= d > > linux,sml-size on these two platforms. > > > > Signed-off-by: Stefan Berger > > So shouldn't this have a fixed tag, or not? In English: do we want this to be backported to stable kernel releases or n= ot? BR, Jarkko 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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F451C54E4A for ; Thu, 7 Mar 2024 20:01:07 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=EB5ihk9x; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TrKtT5pt5z3vXK for ; Fri, 8 Mar 2024 07:01:05 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=EB5ihk9x; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:4641:c500::1; helo=dfw.source.kernel.org; envelope-from=jarkko@kernel.org; receiver=lists.ozlabs.org) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TrKsY0vSgz3brl for ; Fri, 8 Mar 2024 07:00:17 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 2F0AC617D9; Thu, 7 Mar 2024 20:00:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6863C433C7; Thu, 7 Mar 2024 20:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709841614; bh=hHVUKE05J5hWZW3aCoiEn6Z8Rlg4XXsS0ZJFK6atvm4=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=EB5ihk9xAs3LimzpDSuTx86WiERojQbp6l23Uruma8ryd5emdLC6GWdpaR/Pah6Gz /nJx8NvseHYj6MPnjrjQ2vZsPXw79kBh97MIb/YkzvIP6XmALSmqwGWVizRc2ZCe92 z/VEbsToQl+nqJXgdl583vnahIVoUG30MGmRa3vdDd9HMPEtDPdEDlTOvDvrxYfNNm alCJZBe08I1sunPYH/WVQIjuoZxJUjNC33lThq85LUus45sPfI23YzduxwNeM3c+LT AKaiszpmyG7d/TIQMaCS95CjLDMFyjDR9pxg9EkaRLwrtIAUqpp7+Ai/1ADAC/b2RV X5et78TkappFw== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 07 Mar 2024 22:00:10 +0200 Message-Id: Subject: Re: [PATCH 2/2] tpm: of: If available Use linux,sml-log to get the log and its size From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Stefan Berger" , , , X-Mailer: aerc 0.17.0 References: <20240306155511.974517-1-stefanb@linux.ibm.com> <20240306155511.974517-3-stefanb@linux.ibm.com> In-Reply-To: X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peterhuewe@gmx.de, viparash@in.ibm.com, linux-kernel@vger.kernel.org, rnsastry@linux.ibm.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu Mar 7, 2024 at 9:57 PM EET, Jarkko Sakkinen wrote: > in short summary: s/Use/use/ > > On Wed Mar 6, 2024 at 5:55 PM EET, Stefan Berger wrote: > > If linux,sml-log is available use it to get the TPM log rather than the > > pointer found in linux,sml-base. This resolves an issue on PowerVM and = KVM > > on Power where after a kexec the memory pointed to by linux,sml-base ma= y > > have been corrupted. Also, linux,sml-log has replaced linux,sml-base an= d > > linux,sml-size on these two platforms. > > > > Signed-off-by: Stefan Berger > > So shouldn't this have a fixed tag, or not? In English: do we want this to be backported to stable kernel releases or n= ot? BR, Jarkko