Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2450710rwd; Fri, 9 Jun 2023 11:20:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HCP1WaNkXT65o4UQ6FHvFCPOqAllNL4MGC5J1KVfdXGMhdzEu4Oq55rHs/HlkgnTDF5pP X-Received: by 2002:a05:6808:1310:b0:397:fbe7:a0fb with SMTP id y16-20020a056808131000b00397fbe7a0fbmr2746602oiv.18.1686334852423; Fri, 09 Jun 2023 11:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686334852; cv=none; d=google.com; s=arc-20160816; b=vd63wCllbkr/vjKUSqLEdtAFZX7CD1EW7xyl83Xuy6CxkcYNwOzUyg5HKDzQw6Es+i wiM9QRxN8Fpr1pD5FnfzAXsWqxUVfmqMtxHDsbKSi8ipa4wHouL+BuuTKWADv6B1OWqK 8uYXv2bRVH1pJhxJt869XKsMojsoUERRuAbl15tJhogX3niPBP1XgD/xyY3l5doSoTJx HjKC8t3bBdlVJH+LqXgzZqElHdApO0TkiSUGcZCwuivoUf/u0nmCSSmCuK2BGveWTDLE qfCh9VkjNJF9lcPYkDJMabA+orKLuCQqDOZpAIha4rzChTrGfchTDao2Gcoe96Z5Yj5S gB2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=OkmOjAVxbADsnonDXUvbpbOYXcARtzlVbMXpej3Goow=; b=jfDcvMq+4l+Icgvjmibduzb+wesETj7DruKBDV1aJH9wFMwlpTSnXenVYnt0dRHiH2 g9cXJ6qPDZseoJks9Vy2zH9viDQeNR5jso3oAD+RhOhOjiIWto9jUhW531QxLYcgkvRW fBZJs4A7sO1HWxDOtVmFTwb3Fujkrxa5hR4GRZ6iIABLTwZjvZbg/wrgRxfKF6jNFBbZ IkIDrfcpWdx03G6u/FEhNjonx3MHYhyvgYSbGe2CJ8rXip90JlfawLmGXTueqN4FYc5X gHbud3zzDt4nBHPpwsXX04HS4I5zeAKRWmeT8oNGbWfAHLUSqs/CGkiqQzXkVljAewFH En7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VHEpsPG3; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r4-20020a17090a438400b00259b5211a16si2938944pjg.103.2023.06.09.11.20.07; Fri, 09 Jun 2023 11:20:52 -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=@kernel.org header.s=k20201202 header.b=VHEpsPG3; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229596AbjFISSs (ORCPT + 99 others); Fri, 9 Jun 2023 14:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjFISSm (ORCPT ); Fri, 9 Jun 2023 14:18:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC853586; Fri, 9 Jun 2023 11:18:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3BF4560EE2; Fri, 9 Jun 2023 18:18:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4399CC433EF; Fri, 9 Jun 2023 18:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686334720; bh=OkmOjAVxbADsnonDXUvbpbOYXcARtzlVbMXpej3Goow=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=VHEpsPG36fQdX2HQ9TT0HQ9jlHnjzogNa/lG/M/U4MsI+8OH1QctOr/lFeVxpv00H H3jciWKo96iS5xmSem0O6kK3DoFkad3DOfv/TkT9nJy6t2lxdaCnZlucGLT7x8kX43 amZotwt2agJT2CpLoo5KlM9Wx/DaMAyIHZPO+BSpNd/7kn0D5ew8j6JNG50t6OIHqm VDSbFNl74YwT6PRF1zZY++oGKfuI2VVhgKwiaY8HtlKNHlgrqVVxiTfv0TQNgAKzPy uIIsouM91WugRN7xVTMIjD7syzE/iggxPvHdbbogiXfIizohEOprbInhYH+re8OGfr o8WrwnGESMgYg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 09 Jun 2023 21:18:32 +0300 Message-Id: Cc: , , , , , , , , "Jason Gunthorpe" , "Rob Herring" , "Frank Rowand" , "Mimi Zohar" , "Nageswara R Sastry" , "Coiby Xu" Subject: Re: [PATCH v9 2/4] tpm: of: Make of-tree specific function commonly available From: "Jarkko Sakkinen" To: "Jerry Snitselaar" , "Stefan Berger" X-Mailer: aerc 0.14.0 References: <20230418134409.177485-1-stefanb@linux.ibm.com> <20230418134409.177485-3-stefanb@linux.ibm.com> In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Thu May 25, 2023 at 1:56 AM EEST, Jerry Snitselaar wrote: > On Tue, Apr 18, 2023 at 09:44:07AM -0400, Stefan Berger wrote: > > Simplify tpm_read_log_of() by moving reusable parts of the code into > > an inline function that makes it commonly available so it can be > > used also for kexec support. Call the new of_tpm_get_sml_parameters() > > function from the TPM Open Firmware driver. > >=20 > > Signed-off-by: Stefan Berger > > Cc: Jarkko Sakkinen > > Cc: Jason Gunthorpe > > Cc: Rob Herring > > Cc: Frank Rowand > > Reviewed-by: Mimi Zohar > > Tested-by: Nageswara R Sastry > > Tested-by: Coiby Xu > > Acked-by: Jarkko Sakkinen > >=20 > > Reviewed-by: Jerry Snitselaar If I just pick tpm only patches they won't apply so maybe TPM changes should be better separated if that is by any means possible. Open for counter proposals. Just my thoughts... I.e. I'm mainly wondering why TPM patches depend on IMA patches? BR, Jarkko