Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4378749imw; Tue, 12 Jul 2022 07:02:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1va7Cjts0+YjsfwPovLbVMUMOCxoZfUGZyQf4je8pv0R0LDiUea94G7bn+ij3vu5iQU9ifh X-Received: by 2002:a05:6402:3988:b0:434:e2a8:8459 with SMTP id fk8-20020a056402398800b00434e2a88459mr32064524edb.253.1657634576958; Tue, 12 Jul 2022 07:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657634576; cv=none; d=google.com; s=arc-20160816; b=WD9aIYqvbtUqt2RWVmVQ3BX0IfuGrWhBkZHjZUd9zSFqQcW5xo6q1kbUtLcdnv7VXW LeySF8CrwaDQ2jL8nMaX4z6F9Q1VhOopLpmKaLhGrZiDVwGovWz+A9/brDik8GN4yT0b 4QKvHscfPoPCE5PR9O2P1auocZW04yx/1bW2vptCJRoxo3uPf3l1zLIua2HiQMrv+lN1 Zr3edPJ+umIQiNfPsKSy0+45GFsLNEpQaBESzgsqWTcY8RxCyyk4Yz1W3vOYC9w8EiKK VAMUMTLwoShxTjelOnj+WOFxAH9YVVoSKMpQLo9EG02+Rx/uQDmjr0dkgV6BUdgJIKqp 4h1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=YAEFtiMD5+u10/+PC1Fc0a9VR8y5YIWCiK8+QDE6278=; b=sREtwXlJ0T+ZDyOnyTQwipLkNVG1vxs/mphLLi07nLpq3OqDcN7W9aMl2/FHjAupVA 6l7r6sAmm15wLADzfxXWrIuXe7hARRL5MBMa3wJuSEfNnu8Ft1FS0/rszgnNhCMQHr8Q iAaQdwOIpNSKC+sZVLcB3dsRIUJx48DvxCy0HOaaJhUTAml8fPyGafTICd0oSE9qCVQZ 1xiE9EIyerFxaN2ESz7+QCOcWt1Pqn4jNr93jMTKJ1LI7hea5OPt/merTdedMaV/3bM9 SYO1pZM7nthVEy0sfBSSTyU4lC7rBK34nBLewMWJNFl+fL3Z0VLGTDkKakPeDCJlh/m2 ijSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=YQCXjN+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a170906385100b0072a84044156si12896455ejc.849.2022.07.12.07.02.24; Tue, 12 Jul 2022 07:02:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=YQCXjN+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232801AbiGLNZY (ORCPT + 99 others); Tue, 12 Jul 2022 09:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbiGLNZW (ORCPT ); Tue, 12 Jul 2022 09:25:22 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11A0361B07; Tue, 12 Jul 2022 06:25:22 -0700 (PDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26CD5GUM002635; Tue, 12 Jul 2022 13:25:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=YAEFtiMD5+u10/+PC1Fc0a9VR8y5YIWCiK8+QDE6278=; b=YQCXjN+zxjMWouvwYt0wSGdpTlAOYv62daxUtlavi8c2wXbU4HaE7cXBmXFhhv4neuKj IuLiUukqO6HSnQJcXyZKEU21BByKeh3ddRM0qTCnTk6BWuhMEx08/yo1YSvbShIWVLOf i6cu52ldc0XWvges4uJ/NiFIyIQh38ka8BZYXbxKQr+vXKv00eLL63v0f5ti14aqGALL noGYtkzRNoIoYCxr4/EDbepTFobko8Rb/KCCiB3hdWJPuPCDpDWSUl+r1jwuDfH1/1i8 WKaHqiDJDLBIsiy7KUX2og7X+y58A1dPphySJKLB0FjapPvl5wBZfvjHrjYTCe8kDooW 4Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3h99hh0pma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jul 2022 13:25:04 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 26CD6E4V007126; Tue, 12 Jul 2022 13:25:04 GMT Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3h99hh0pkw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jul 2022 13:25:04 +0000 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 26CDKX5e003548; Tue, 12 Jul 2022 13:25:03 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma03dal.us.ibm.com with ESMTP id 3h71a9kae9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jul 2022 13:25:03 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 26CDP19S13042006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Jul 2022 13:25:01 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4ADE78060; Tue, 12 Jul 2022 13:25:01 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F31C278063; Tue, 12 Jul 2022 13:25:00 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 12 Jul 2022 13:25:00 +0000 (GMT) Message-ID: <3780329f-0197-0e47-81a1-22ceae28fd1c@linux.ibm.com> Date: Tue, 12 Jul 2022 09:25:00 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v6 4/6] tpm: of: Make of-tree specific function commonly available Content-Language: en-US To: Mimi Zohar , kexec@lists.infradead.org, devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: nayna@linux.ibm.com, nasastry@in.ibm.com, mpe@ellerman.id.au, Jarkko Sakkinen , Jason Gunthorpe , Rob Herring , Frank Rowand References: <20220707172026.831614-1-stefanb@linux.ibm.com> <20220707172026.831614-5-stefanb@linux.ibm.com> <9fc4f6dc2ee497a4d4998df17392ac73ebdf3d63.camel@linux.ibm.com> From: Stefan Berger In-Reply-To: <9fc4f6dc2ee497a4d4998df17392ac73ebdf3d63.camel@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: zfIXDZutaERNnJii3LMuF_IWJx2l4fhv X-Proofpoint-GUID: ywZSBDORtiUmK_Pr09djCcNdU0Gi5d3h Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-12_08,2022-07-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=953 priorityscore=1501 clxscore=1015 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207120051 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/11/22 18:04, Mimi Zohar wrote: > Hi Stefan, > > On Thu, 2022-07-07 at 13:20 -0400, Stefan Berger wrote: >> - /* >> - * For both vtpm/tpm, firmware has log addr and log size in big >> - * endian format. But in case of vtpm, there is a method called >> - * sml-handover which is run during kernel init even before >> - * device tree is setup. This sml-handover function takes care >> - * of endianness and writes to sml-base and sml-size in little >> - * endian format. For this reason, vtpm doesn't need conversion >> - * but physical tpm needs the conversion. >> - */ > > This comment is dropped. Perhaps not in such detail, but shouldn't a > comment or function description exist in the new function. I am adding back the comment in v7. > > Otherwise, > Reviewed-by: Mimi Zohar > > thanks, > > Mimi > > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec