From nobody Sat Feb 7 17:54:56 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6EA911C173F; Tue, 29 Apr 2025 22:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745964930; cv=none; b=Lah1pXPk3IM2t4kvZZ/kBkxt/n84sEofIHvvtqEuukioBgqBi+fmPTn7yH3/lrmGbJZK/rUqsyie0p9WUP27wbO7cL4QVcO5LAlJKzavD8zVPDZrgd3UGjyy0hRuHPXYsEtN3IF6gPKvlbteaolD1xbjRAYNbUmtM6TlSGNOLEg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745964930; c=relaxed/simple; bh=wrBHs/aqHxzTH+bd+y8ax+TSaJ65FScsY+QL7p5N2eY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aSVGLZoMj1knSrWA6VbgIW+yrmxrg7gzZ/Ot+U5ULFpkaoVKUwIht52HW93wgCBZDGYUtBkbRNbkHj072KSlf3xw9C0JdC+Aig7yxzqH762pQ3qitCsfV5c3GA7pd8A1Qrqss9q9UpkNpTcN4/diSFGsiZfcf2Yp1kLLCZZF8Yo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B5BF31515; Tue, 29 Apr 2025 15:15:20 -0700 (PDT) Received: from beelzebub.ast.arm.com (u203013-lin.austin.arm.com [10.118.28.29]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A48E63F77D; Tue, 29 Apr 2025 15:15:27 -0700 (PDT) From: Stuart Yoder To: linux-integrity@vger.kernel.org, jarkko@kernel.org, peterhuewe@gmx.de, jgg@ziepe.ca, sudeep.holla@arm.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH] tpm_crb: ffa_tpm: update comment to include 64-bit calling convention Date: Tue, 29 Apr 2025 17:15:18 -0500 Message-Id: <20250429221519.1022170-2-stuart.yoder@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250429221519.1022170-1-stuart.yoder@arm.com> References: <20250429221519.1022170-1-stuart.yoder@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The comment for DIRECT_REQ and DIRECT_RESP only mentioned AArch32 and listed 32-bit function IDs. Update to include 64-bit. Signed-off-by: Stuart Yoder --- drivers/char/tpm/tpm_crb_ffa.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/char/tpm/tpm_crb_ffa.c b/drivers/char/tpm/tpm_crb_ffa.c index 65b01a46d4b88..134747911ba38 100644 --- a/drivers/char/tpm/tpm_crb_ffa.c +++ b/drivers/char/tpm/tpm_crb_ffa.c @@ -38,9 +38,11 @@ * messages. * * All requests with FFA_MSG_SEND_DIRECT_REQ and FFA_MSG_SEND_DIRECT_RESP - * are using the AArch32 SMC calling convention with register usage as - * defined in FF-A specification: - * w0: Function ID (0x8400006F or 0x84000070) + * are using the AArch32 or AArch64 SMC calling convention with register u= sage + * as defined in FF-A specification: + * w0: Function ID + * -for 32-bit: 0x8400006F or 0x84000070 + * -for 64-bit: 0xC400006F or 0xC4000070 * w1: Source/Destination IDs * w2: Reserved (MBZ) * w3-w7: Implementation defined, free to be used below --=20 2.34.1