Re: WARNING: Unimplemented Standard Service Call:

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Jun 20, 2025, at 16:51, Bjoern A. Zeeb <[email protected]> wrote:

> I am seeing these when booting main on arm64:
> 
> WARNING: Unimplemented Standard Service Call: 0x840000f0 WARNING: Unimplemented Standard Service Call: 0x84000050
> 
> Can anyone elaborate?

Other than the detailed file version, it looks to be from:

https://github.com/ARM-software/arm-trusted-firmware/blob/master/services/std_svc/std_svc_setup.c#L237

Blame shows it was changed from WARN to VERBOSE back on 
021-May-04, older line#: 169 .


For reference (modern):

arm-trusted-firmware/include/services/errata_abi_svc.h :

. . .
#define ARM_EM_VERSION			U(0x840000F0)
. . .

arm-trusted-firmware/include/services/trng_svc.h

. . .
#define ARM_TRNG_VERSION U(0x84000050)
. . .

/*
 * Top-level Standard Service SMC handler. This handler will in turn dispatch
 * calls to PSCI SMC handler
 */
static uintptr_t std_svc_smc_handler(uint32_t smc_fid,
			     u_register_t x1_arg,
			     u_register_t x2_arg,
			     u_register_t x3_arg,
			     u_register_t x4_arg,
			     void *cookie,
			     void *handle,
			     u_register_t flags)
. . .
	switch (smc_fid) {
	case ARM_STD_SVC_CALL_COUNT:
		/*
		 * Return the number of Standard Service Calls. PSCI is the only
		 * standard service implemented; so return number of PSCI calls
		 */
		SMC_RET1(handle, PSCI_NUM_CALLS);

	case ARM_STD_SVC_UID:
		/* Return UID to the caller */
		SMC_UUID_RET(handle, arm_svc_uid);

	case ARM_STD_SVC_VERSION:
		/* Return the version of current implementation */
		SMC_RET2(handle, STD_SVC_VERSION_MAJOR, STD_SVC_VERSION_MINOR);

	default:
		VERBOSE("Unimplemented Standard Service Call: 0x%x \n", smc_fid);
		SMC_RET1(handle, SMC_UNK);
	}
}

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.