From: Stuart Yoder <stuart.yoder@arm.com>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: linux-integrity@vger.kernel.org, peterhuewe@gmx.de, jgg@ziepe.ca,
sudeep.holla@arm.com, rafael@kernel.org, lenb@kernel.org,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 4/5] tpm_crb: add support for the Arm FF-A start method
Date: Mon, 17 Feb 2025 09:56:20 -0600 [thread overview]
Message-ID: <aba6e089-2b70-465f-a0a0-01274da268f9@arm.com> (raw)
In-Reply-To: <Z678u1yp2Wx_cIUR@kernel.org>
>> @@ -119,7 +130,8 @@ static inline bool tpm_crb_has_idle(u32 start_method)
>> {
>> if ((start_method == ACPI_TPM2_START_METHOD) ||
>> (start_method == ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD) ||
>> - (start_method == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC))
>> + (start_method == ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC) ||
>> + (start_method == ACPI_TPM2_CRB_WITH_ARM_FFA))
>
> Now that we have a chance, let's rip of the parentheses clutter.
Will do that throughout.
>> return false;
>> else
>> return true;
>> @@ -261,6 +273,7 @@ static int crb_cmd_ready(struct tpm_chip *chip)
>> static int __crb_request_locality(struct device *dev,
>> struct crb_priv *priv, int loc)
>> {
>> + int rc;
>> u32 value = CRB_LOC_STATE_LOC_ASSIGNED |
>> CRB_LOC_STATE_TPM_REG_VALID_STS;
>
> Declaration order + put to the same line.
Ack.
Thanks,
Stuart
next prev parent reply other threads:[~2025-02-17 15:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 0:27 [PATCH v3 0/5] Add support for the TPM FF-A start method Stuart Yoder
2025-02-14 0:27 ` [PATCH v3 1/5] tpm_crb: implement driver compliant to CRB over FF-A Stuart Yoder
2025-02-14 7:44 ` Jarkko Sakkinen
2025-02-17 15:53 ` Stuart Yoder
2025-02-17 15:59 ` Jarkko Sakkinen
2025-02-14 0:27 ` [PATCH v3 2/5] tpm_crb: refactor check for idle support into TPM into inline function Stuart Yoder
2025-02-14 8:18 ` Jarkko Sakkinen
2025-02-17 15:54 ` Stuart Yoder
2025-02-14 0:27 ` [PATCH v3 3/5] ACPICA: add start method for Arm FF-A Stuart Yoder
2025-02-14 0:27 ` [PATCH v3 4/5] tpm_crb: add support for the Arm FF-A start method Stuart Yoder
2025-02-14 8:20 ` Jarkko Sakkinen
2025-02-17 15:56 ` Stuart Yoder [this message]
2025-02-14 0:27 ` [PATCH v3 5/5] Documentation: tpm: add documentation for the CRB FF-A interface Stuart Yoder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aba6e089-2b70-465f-a0a0-01274da268f9@arm.com \
--to=stuart.yoder@arm.com \
--cc=jarkko@kernel.org \
--cc=jgg@ziepe.ca \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--cc=rafael@kernel.org \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox