From: Yeoreum Yun <yeoreum.yun@arm.com>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Jason Gunthorpe <jgg@ziepe.ca>,
Suzuki Poulose <suzuki.poulose@arm.com>,
Steven Price <steven.price@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
thuth@redhat.com
Subject: [PATCH v2 2/3] arm64: rsi: Add realm hash algorithm defines
Date: Tue, 29 Sep 2026 17:57:48 +0100 [thread overview]
Message-ID: <20260929-arm_cca_mr-v2-2-1d98bba187fd@arm.com> (raw)
In-Reply-To: <20260929-arm_cca_mr-v2-0-1d98bba187fd@arm.com>
From: Sami Mujawar <sami.mujawar@arm.com>
Add macro definitions for the hash algorithm identifiers, as
specified in the Realm Management Monitor (RMM) specification.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
---
include/linux/arm-smccc-rsi.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/linux/arm-smccc-rsi.h b/include/linux/arm-smccc-rsi.h
index fddb77986f70..a83df2655808 100644
--- a/include/linux/arm-smccc-rsi.h
+++ b/include/linux/arm-smccc-rsi.h
@@ -144,6 +144,13 @@ struct realm_config {
#endif /* __ASSEMBLER__ */
+/*
+ * The RSI definition of the Hash Algorithm (as specified by the Secure
+ * Hash Standard) returned in the realm_config data structure.
+ */
+#define RSI_HASH_SHA_256 0
+#define RSI_HASH_SHA_512 1
+
/*
* Read configuration for the current Realm.
*
--
2.43.0
next prev parent reply other threads:[~2026-09-29 16:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 16:57 [PATCH v2 0/3] arm64/virt: Add Arm CCA measurement register support Yeoreum Yun
2026-09-29 16:57 ` [PATCH v2 1/3] arm64: rsi: Add helpers for Arm CCA measurement register operations Yeoreum Yun
2026-09-30 2:04 ` Kohei Enju
2026-09-30 5:13 ` Yeoreum Yun
2026-09-29 16:57 ` Yeoreum Yun [this message]
2026-09-30 2:39 ` [PATCH v2 2/3] arm64: rsi: Add realm hash algorithm defines Kohei Enju
2026-09-30 5:10 ` Yeoreum Yun
2026-09-29 16:57 ` [PATCH v2 3/3] virt: arm-cca-guest: Add support for measurement registers Yeoreum Yun
2026-09-30 3:24 ` Kohei Enju
2026-09-30 4:45 ` Kohei Enju
2026-09-30 5:09 ` Yeoreum Yun
2026-09-30 5:59 ` Kohei Enju
2026-09-30 6:40 ` Yeoreum Yun
2026-09-30 7:04 ` Kohei Enju
2026-09-30 7:54 ` Yeoreum Yun
2026-09-30 13:54 ` Jason Gunthorpe
2026-09-30 14:12 ` Yeoreum Yun
2026-09-30 14:17 ` Jason Gunthorpe
2026-09-30 14:28 ` Yeoreum Yun
2026-10-01 1:33 ` Kohei Enju
2026-09-29 19:20 ` [PATCH v2 0/3] arm64/virt: Add Arm CCA measurement register support Jason Gunthorpe
2026-09-29 19:42 ` Yeoreum Yun
2026-09-29 19:45 ` Jason Gunthorpe
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=20260929-arm_cca_mr-v2-2-1d98bba187fd@arm.com \
--to=yeoreum.yun@arm.com \
--cc=catalin.marinas@arm.com \
--cc=jgg@ziepe.ca \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sami.mujawar@arm.com \
--cc=steven.price@arm.com \
--cc=suzuki.poulose@arm.com \
--cc=thuth@redhat.com \
--cc=will@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.