From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 6BA7F3644C1 for ; Thu, 23 Apr 2026 10:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776941312; cv=none; b=b/4qzrelhmWk4/J+AP7PRpvpPvhHHuY3bC0E68xkwC0dl2si5HPl+z7CZbtHfDNQlBIVWWcOe6xQ0bxvjqp3A1X0Tmi70Vx5m/BZ9RVz62ZsqulvYuwI4DXaWkuT6FHZMnQLKPdzGxaZzbudcxjav5/G8HmYRUhogp5kVw8BYHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776941312; c=relaxed/simple; bh=e3JpOMecabnf0ynxVynL0y5KoWFr1eXjbdJMDsNKqeA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F2Rw5doYYu30KuL+45FGPCbsfaCUM4nEKqdWKbXrlrCNLERaRLhwB+RAKw8MfLYzlGzwq2kfzVxjw4VfDPnOY2YSQmO8kUms23wzhkOT6mS9Pv1nv93hISwl6D/XDjXYzEOz1knvMnwUrBs66PjcaeRcbKrxCT/33Hcbt+cGYeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=AMiHGZWN; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=rkssEZMb; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="AMiHGZWN"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="rkssEZMb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1776941310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vdQE12F5F+nVKkR36QQ3Ryy6QgSHPeBKTx4cGIBi8Tw=; b=AMiHGZWNbs9NCwY/UYGrjKbQdS7Nhh8FMUMDo9n14ZOpVFIdWmZuC7mpgdfNGec73f2Vfm cnopmYbMQ4Y+W7eO6DP181fqzqFXanTopL1aUMWcA2bd8a6ZIX91TY5hSaFtA3Hk5f/Zq3 v1Oa4shBjFWkBvnBJAkM3faVUzL7gH8= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-623-_cyyZURcNzST-pIMtsyH_Q-1; Thu, 23 Apr 2026 06:48:29 -0400 X-MC-Unique: _cyyZURcNzST-pIMtsyH_Q-1 X-Mimecast-MFC-AGG-ID: _cyyZURcNzST-pIMtsyH_Q_1776941307 Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-35da4795b3cso12337195a91.2 for ; Thu, 23 Apr 2026 03:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1776941307; x=1777546107; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vdQE12F5F+nVKkR36QQ3Ryy6QgSHPeBKTx4cGIBi8Tw=; b=rkssEZMbfxIDDbXb6X3Gd9+61Xq3WKC6Q5RFnyKkU9O3vkQhxJHbiI8ZsTLNRvP5NV YJ9mzIuxDH93cR0DgafHsCriPYZ27dUOoGzZXjX4+3p28YGfgv15W1Qn/CnuTiC19K+J DFUMXKODgxtlRX3B3QT0Nz8hqrkNCA5+nivSYWGNHnMxUdAPhjX3teHbyWRQj7/AHs8b TpPAH13Yphj50FsF5i15AP0icFlTI9y0BjJuUD63PGTrM9So3C5Q0UrhGyu18A7SvPNO XMiZV8e8lWvks6A+CfjYHu4A8JDGf/WS1YcOLQMbEVCkhDszNNYs5tIfQTr2o1KNm1WL ZdNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776941307; x=1777546107; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vdQE12F5F+nVKkR36QQ3Ryy6QgSHPeBKTx4cGIBi8Tw=; b=Q5VW+N9+kO8rNsOjLIhTvaCHcAV0ZpJs2fqsqU5+lHtllqNBmrOjUwTIu1u7DqoRM3 NWyxBLICkJjR3P3cIGwZbkRejDmL7OzJ0I8ma0iDfg5UiwwJV1cslLIqLjeKMNAjyYbT kY3aENL6+kdtuo6FjdTZSANyZWFZaFSQCfxpqEDwcgCwftFoeQN88E1/SVP5mdibMJ0o 8y/IQvKR4ALg7YlruhtkMTE3/n/7xnekmrmgo6ElEmUOLV1fzu4jRG2m7FJjLJ2aTaS5 Hi0+23SXcZcgR0qZH1OW1zh4/nI0nIvGTKDXpEAl4eBhfoeKcXaZcKfs83k8KPVF/09F jjsQ== X-Gm-Message-State: AOJu0YzGumuHV3eQctr9OpC7aTwBRG4i4AKUq13bagXKZoFcB9TYlXh7 onmCBnd4Oq/2F4im5DToAAnxQtgjYtqvW6b3FSUG3H2OgZIUcqiSuySrPnmx8xnu/UYfKYsgTfF xKgvXXM4K+Z0D+knHKZ09CszUJTy/mstF6GFcnd9VwZqgKzxDnKz2LVuHAcctqmeP5Q== X-Gm-Gg: AeBDieuykaWSMhuMU6+4wWC9lhycVDu4v2cREpfHihtSEeLyEM4/QHBP+THk+CNT3ns S88uVnnV4+BQX41npYP2PzyDh4nUuO8MmGvfPWgjJyji/pd6I66lpYUG9En9MiEon8RDJT8rYhE Bv1MjQI6mVVEmZJgFVvq5w7zgtNO1LFWJqIZJaOpqWmcoApwazl0TjvVxRg7iMTBm/lzxGfoBMJ 0Km0qCo9NWD+SVU5T/LEMkJVfXaxdAcBag1Qzy5JCVBpBkXpCruCSmbKaml5/sSb/nIBbS0jlbd InHv3/dYhDlPuxNRiiF9mISGxjDUJfpb4bApgnwtLIdkuKhXeWqPKEvLcl4+LHAiec3Yf+sHnHj foXz0XdI9uAHXflScN/qODsw= X-Received: by 2002:a17:90b:8cb:b0:35b:b52d:f34d with SMTP id 98e67ed59e1d1-361403b01b9mr19878792a91.5.1776941306790; Thu, 23 Apr 2026 03:48:26 -0700 (PDT) X-Received: by 2002:a17:90b:8cb:b0:35b:b52d:f34d with SMTP id 98e67ed59e1d1-361403b01b9mr19878776a91.5.1776941306350; Thu, 23 Apr 2026 03:48:26 -0700 (PDT) Received: from fedora ([49.36.110.230]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3614195a92asm19457122a91.10.2026.04.23.03.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2026 03:48:25 -0700 (PDT) Date: Thu, 23 Apr 2026 16:18:08 +0530 From: Arun Menon To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, Jason Gunthorpe , Peter Huewe Subject: Re: [RFC 2/4] tpm_crb: Add new wrapper function to invoke start method Message-ID: References: <20260324071803.324774-1-armenon@redhat.com> <20260324071803.324774-3-armenon@redhat.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, Apr 08, 2026 at 11:36:06AM +0300, Jarkko Sakkinen wrote: > On Tue, Mar 24, 2026 at 06:13:20PM +0530, Arun Menon wrote: > > > > On Tue, Mar 24, 2026 at 12:42:19PM +0200, Jarkko Sakkinen wrote: > > > On Tue, Mar 24, 2026 at 12:48:01PM +0530, Arun Menon wrote: > > > > - Extract start invocation code into a separate function called > > > > crb_trigger_tpm. This will be helpful in repeatedly calling the > > > > start method with different bits set to toggle between start, > > > > nextChunk or crbRspRetry behaviours. > > > > - Based on the bit set, we signal the TPM to consume > > > > contents of the command/response buffer. > > > > - No functional change intended. > > > > > > Please write a proper commit message, which is not a task list. > > > > Yes, I shall do that. Thank you for taking a look. > > Yeah, and now is good time to improve cosmetic details like this. > > I rather take closer look at code when I can run it as I'm not LLM > coding agent, I need to run to understand cannot hallucinate it :-) Makes total sense. I have updated the commit messages in v2. https://lore.kernel.org/lkml/20260324181244.17741-2-armenon@redhat.com/ > > BR, Jarkko Regards, Arun Menon