Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp506144lqc; Fri, 8 Mar 2024 04:18:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUkG2WvYntufkYDsAD77paPKGMRqwHUTkRpW3n5zWAPugh3SnTYQfaXdZS6eQv1X3nr3U74h4O+BBtYIh7sTMqwNDphpRuGflbjbXOUjQ== X-Google-Smtp-Source: AGHT+IF7y25SpYCXxBgHKixzZQEjOx4q8SVMMlrG0xwmlzq8YddJRGxHBKG3vypMWuhljg+WRU69 X-Received: by 2002:a50:cd45:0:b0:566:9fef:1ee9 with SMTP id d5-20020a50cd45000000b005669fef1ee9mr2128311edj.22.1709900306408; Fri, 08 Mar 2024 04:18:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709900306; cv=pass; d=google.com; s=arc-20160816; b=sxrAOx8083rTGIq3UBA8LkUXPDvjvGbtLRYYA3lWBGcLHRnLA+lB+Y5PH0MmuGA83y ajG3umqX31P8U7NOrZqldfN7/eEAF6HKcaSeKWZqKzrUDOGJ+RwwmE4RKQTujog3MdI8 0YkySKjKSNJHcSbvi/miDkOzkqO4JOJhXLLiVo61dKL6toqtG3LdctY6tBBiC8z5o03G S7CSQPoa3fZp/G1VtbX+b/afsa2y5uhliyf7JwSE2eA9BnbP/yCLMwQ62Sh1+u38Scdv LCfQaK3ujkstBBIJTCqMqyBPldj1szmH9aGBuegni+AytT0DVQiTLLUq2b8xN/oX9BqN YfeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KKMjeR24UGellnxvB5iyXOooY2JUzoMu5FnU+SZGzGI=; fh=EhRO2abgWGyxCZJMvZD9Jf5rJKVgXZl6Haus0bi47Jg=; b=LshVsk+bIwyDOjnWeRx2rDX4sdZZr7JkrllkguSlOqZkvXiIgyIyQcUMWNjxxSkCIB r9wwkxv7WTMIe+wvpYbJFYFcy3a3qvdPFqn2G1/lua0oBwG1gnNcQuDspY3iyjCy5xtp ppkYwsXpvH7ougr8dsMmX7ADeM0MyHJUW+a/HjMvhIxJUxMxv4/yqXNsbNFStc8jgN3B SAooYKic6TwzOPqtnU2Q9P0s/dko4o2nLSX/klvl8jxPG9jQm16l5khJfOtuQsCteSaQ 4mh7p442ehLAOiW8uqW0hC/u76X6J7rPTR+efITGImzPswQDB+K9j9odyQSyy2g0WjS+ pvjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="P+GKrmv/"; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-96992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 11-20020a508e0b000000b00567140fec8asi5700612edw.477.2024.03.08.04.18.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:18:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="P+GKrmv/"; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-96992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 26A671F221C3 for ; Fri, 8 Mar 2024 12:18:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A882457332; Fri, 8 Mar 2024 12:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="P+GKrmv/" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 5AF0A56466; Fri, 8 Mar 2024 12:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709900298; cv=none; b=lMGf+SgR1SwwLPGNzsc6IpUveGenMi0imIWclMzJnnAsPk1QviOP9b6UPcI/lsn/1EYt/W8kpF7U7I5EKvFhHrwUS8b0IF3SlBSbYf72v2Qwl3XsWzGnS55pqIRTHlyDjJdwLb/w5vmegyKKOhjg36VW/7xesFH+FLZ7Jh0LaSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709900298; c=relaxed/simple; bh=ryAH+UXntmOjAQ7f+Pj9dI6DwKfuyWMgBKrIV14iSsg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=i1kH7zjAekaNMMVMVLIhGctffhghsVj/WXp95NvTrfIMCP32OASL49juqicHRMLF8ds3VRbLgMi6PoXElnsXpdPryO43ArLlh1cmfzM88BTNIqgx4ItfY57zcgyjFbT7MGiB6zc56cdrt91Mk/Je199hjH15A3EvVrT+FWO0Dmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=P+GKrmv/; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 428C0TWi022718; Fri, 8 Mar 2024 12:18:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=KKMjeR24UGellnxvB5iyXOooY2JUzoMu5FnU+SZGzGI=; b=P+GKrmv/0c8DxlSX+1QHKc6Pyqou38ShhCC/PoJi9NLo0VZfgrWvEBTRbg6QasFocO4G n+qliY1rf/olC/pBUemgvpa3XwW/nH8jbYUriERZW56TiRyHPOdhqeDDqpF2HCsVDfz4 EyLA2N0p7359JXG+L/0iTDERj7Z2t8ea2+EDMOzeEGhFZkG82P3n25KmFiLeu/xc8gUU 5tYFpOmmA26lQcebeHv1f4OgqitJa+vAYoVMOod6CO88LixP67ycN8HzdOkovpCa6JZQ 40rmG8SAUXOMWKBrUIBj55al3hOL9SXU/E0RVzZ4nfTYUxJHu1MyEFtTtkuhJCrPTHmW AQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wr29ygatp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Mar 2024 12:18:00 +0000 Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 428C0vWU024195; Fri, 8 Mar 2024 12:18:00 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wr29ygat7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Mar 2024 12:17:59 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 428AMXsJ010881; Fri, 8 Mar 2024 12:17:59 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3wmh52uucm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Mar 2024 12:17:59 +0000 Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 428CHt8D44695854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 8 Mar 2024 12:17:57 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8B8D95805D; Fri, 8 Mar 2024 12:17:55 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DD52C58057; Fri, 8 Mar 2024 12:17:54 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by smtpav01.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 8 Mar 2024 12:17:54 +0000 (GMT) Message-ID: <663a3834-056e-4dda-99dd-16ee8734100e@linux.ibm.com> Date: Fri, 8 Mar 2024 07:17:54 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] tpm: of: If available Use linux,sml-log to get the log and its size Content-Language: en-US To: Jarkko Sakkinen , mpe@ellerman.id.au, linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, rnsastry@linux.ibm.com, peterhuewe@gmx.de, viparash@in.ibm.com References: <20240306155511.974517-1-stefanb@linux.ibm.com> <20240306155511.974517-3-stefanb@linux.ibm.com> From: Stefan Berger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: fQ0Cg3BPTV8qwm4qw1s1S5qH-6tityYA X-Proofpoint-ORIG-GUID: sxLXNkFTHmlMFRKfS2nJ5fWkTigrko1o X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-08_08,2024-03-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 phishscore=0 mlxscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2403080098 On 3/7/24 15:00, Jarkko Sakkinen wrote: > 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 may >>> have been corrupted. Also, linux,sml-log has replaced linux,sml-base and >>> 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 not? Ideally, yes. v3 will have 3 patches and all 3 of them will have to be backported *together* and not applied otherwise if any one of them fails. Can this be 'guaranteed'? > > BR, Jarkko