From be5b1e22346c6d8ce4b0c56604c99f7a9d3676cc Mon Sep 17 00:00:00 2001 From: Govindraj Raja Date: Thu, 15 Feb 2024 15:29:02 -0600 Subject: [PATCH] feat(smccc): add vendor specific el3 id Add vendor specific el3 function id and update docs for the same. SMCCC Documentation reference: https://developer.arm.com/documentation/den0028/latest Change-Id: Ieeb63608ad74d7b764d7131d8a92ecf10053c50d Signed-off-by: Govindraj Raja --- docs/getting_started/rt-svc-writers-guide.rst | 9 ++++++--- include/lib/smccc.h | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/getting_started/rt-svc-writers-guide.rst b/docs/getting_started/rt-svc-writers-guide.rst index fe6455883..2383ceee0 100644 --- a/docs/getting_started/rt-svc-writers-guide.rst +++ b/docs/getting_started/rt-svc-writers-guide.rst @@ -49,8 +49,11 @@ legacy 32-bit software that predates the `SMCCC`_. Fast 1 CPU Service calls Fast 2 SiP Service calls Fast 3 OEM Service calls - Fast 4 Standard Service calls - Fast 5-47 Reserved for future use + Fast 4 Standard Secure Service calls + Fast 5 Standard Hypervisor Service Calls + Fast 6 Vendor Specific Hypervisor Service Calls + Fast 7 Vendor Specific EL3 Monitor Calls + Fast 8-47 Reserved for future use Fast 48-49 Trusted Application calls Fast 50-63 Trusted OS calls @@ -314,7 +317,7 @@ provide this information.... -------------- -*Copyright (c) 2014-2023, Arm Limited and Contributors. All rights reserved.* +*Copyright (c) 2014-2024, Arm Limited and Contributors. All rights reserved.* .. _SMCCC: https://developer.arm.com/docs/den0028/latest .. _PSCI: https://developer.arm.com/documentation/den0022/latest/ diff --git a/include/lib/smccc.h b/include/lib/smccc.h index c4931058d..775c2b21b 100644 --- a/include/lib/smccc.h +++ b/include/lib/smccc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2023, Arm Limited and Contributors. All rights reserved. + * Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -20,7 +20,7 @@ SMCCC_VERSION_MINOR_SHIFT)) #define SMCCC_MAJOR_VERSION U(1) -#define SMCCC_MINOR_VERSION U(4) +#define SMCCC_MINOR_VERSION U(5) /******************************************************************************* * Bit definitions inside the function id as per the SMC calling convention @@ -95,6 +95,8 @@ #define OEN_STD_HYP_END U(5) #define OEN_VEN_HYP_START U(6) /* Vendor Hypervisor Service calls */ #define OEN_VEN_HYP_END U(6) +#define OEN_VEN_EL3_START U(7) /* Vendor Specific EL3 Monitor Calls */ +#define OEN_VEN_EL3_END U(7) #define OEN_TAP_START U(48) /* Trusted Applications */ #define OEN_TAP_END U(49) #define OEN_TOS_START U(50) /* Trusted OS */