mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 12:34:19 +00:00
fix(xilinx): deprecate SiP service count query
As per SMCCC Section 6.2, the call count query for all the services has been deprecated from SMCCC v1.2 onwards. Inline with above change, AMD-Xilinx SiP service count query has been deprecated and now onwards will return unknown function identifier error. Change-Id: I296d119d65549fdb01718d08351d255550e4ead0 Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
This commit is contained in:
parent
a4fab36d51
commit
6a80c20eff
3 changed files with 0 additions and 15 deletions
|
@ -17,7 +17,6 @@
|
||||||
#include "pm_svc_main.h"
|
#include "pm_svc_main.h"
|
||||||
|
|
||||||
/* SMC function IDs for SiP Service queries */
|
/* SMC function IDs for SiP Service queries */
|
||||||
#define VERSAL_SIP_SVC_CALL_COUNT U(0x8200ff00)
|
|
||||||
#define VERSAL_SIP_SVC_UID U(0x8200ff01)
|
#define VERSAL_SIP_SVC_UID U(0x8200ff01)
|
||||||
#define VERSAL_SIP_SVC_VERSION U(0x8200ff03)
|
#define VERSAL_SIP_SVC_VERSION U(0x8200ff03)
|
||||||
|
|
||||||
|
@ -100,10 +99,6 @@ uintptr_t sip_svc_smc_handler(uint32_t smc_fid,
|
||||||
|
|
||||||
/* Let PM SMC handler deal with PM-related requests */
|
/* Let PM SMC handler deal with PM-related requests */
|
||||||
switch (smc_fid) {
|
switch (smc_fid) {
|
||||||
case VERSAL_SIP_SVC_CALL_COUNT:
|
|
||||||
/* PM functions + default functions */
|
|
||||||
SMC_RET1(handle, 2);
|
|
||||||
|
|
||||||
case VERSAL_SIP_SVC_UID:
|
case VERSAL_SIP_SVC_UID:
|
||||||
SMC_UUID_RET(handle, versal_sip_uuid);
|
SMC_UUID_RET(handle, versal_sip_uuid);
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include "pm_svc_main.h"
|
#include "pm_svc_main.h"
|
||||||
|
|
||||||
/* SMC function IDs for SiP Service queries */
|
/* SMC function IDs for SiP Service queries */
|
||||||
#define VERSAL_NET_SIP_SVC_CALL_COUNT (0x8200ff00U)
|
|
||||||
#define VERSAL_NET_SIP_SVC_UID (0x8200ff01U)
|
#define VERSAL_NET_SIP_SVC_UID (0x8200ff01U)
|
||||||
#define VERSAL_NET_SIP_SVC_VERSION (0x8200ff03U)
|
#define VERSAL_NET_SIP_SVC_VERSION (0x8200ff03U)
|
||||||
|
|
||||||
|
@ -88,10 +87,6 @@ static uintptr_t sip_svc_smc_handler(uint32_t smc_fid,
|
||||||
|
|
||||||
/* Let PM SMC handler deal with PM-related requests */
|
/* Let PM SMC handler deal with PM-related requests */
|
||||||
switch (smc_fid) {
|
switch (smc_fid) {
|
||||||
case VERSAL_NET_SIP_SVC_CALL_COUNT:
|
|
||||||
/* PM functions + default functions */
|
|
||||||
SMC_RET1(handle, 2);
|
|
||||||
|
|
||||||
case VERSAL_NET_SIP_SVC_UID:
|
case VERSAL_NET_SIP_SVC_UID:
|
||||||
SMC_UUID_RET(handle, versal_net_sip_uuid);
|
SMC_UUID_RET(handle, versal_net_sip_uuid);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include "zynqmp_pm_svc_main.h"
|
#include "zynqmp_pm_svc_main.h"
|
||||||
|
|
||||||
/* SMC function IDs for SiP Service queries */
|
/* SMC function IDs for SiP Service queries */
|
||||||
#define ZYNQMP_SIP_SVC_CALL_COUNT U(0x8200ff00)
|
|
||||||
#define ZYNQMP_SIP_SVC_UID U(0x8200ff01)
|
#define ZYNQMP_SIP_SVC_UID U(0x8200ff01)
|
||||||
#define ZYNQMP_SIP_SVC_VERSION U(0x8200ff03)
|
#define ZYNQMP_SIP_SVC_VERSION U(0x8200ff03)
|
||||||
|
|
||||||
|
@ -100,10 +99,6 @@ static uintptr_t sip_svc_smc_handler(uint32_t smc_fid,
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (smc_fid) {
|
switch (smc_fid) {
|
||||||
case ZYNQMP_SIP_SVC_CALL_COUNT:
|
|
||||||
/* PM functions + default functions */
|
|
||||||
SMC_RET1(handle, PM_API_MAX + 2);
|
|
||||||
|
|
||||||
case ZYNQMP_SIP_SVC_UID:
|
case ZYNQMP_SIP_SVC_UID:
|
||||||
SMC_UUID_RET(handle, zynqmp_sip_uuid);
|
SMC_UUID_RET(handle, zynqmp_sip_uuid);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue