Subject: Re: [PATCH v14 05/44] arm64: RMI: Add wrappers for RMI calls

From: Steven Price <[email-masked]>
Date: Thu, 21 May 2026 16:44:39 +0100

On 19/05/2026 06:35, Aneesh Kumar K.V wrote:
> Steven Price <[email-masked]> writes:
> 
>> The wrappers make the call sites easier to read and deal with the
>> boiler plate of handling the error codes from the RMM.
>>
>> Signed-off-by: Steven Price <[email-masked]>
>> +#define rmi_smccc(...) do {						\
>> +	arm_smccc_1_1_invoke(__VA_ARGS__);				\
>> +} while (RMI_RETURN_STATUS(res.a0) == RMI_BUSY ||			\
>> +	 RMI_RETURN_STATUS(res.a0) == RMI_BLOCKED)
>> +
> 
> I guess this is not used. Also, that would require the call site to have a struct arm_smccc_res res.

Ah good spot - yes this was replaced with a proper static inline
rmi_smccc_invoke() function. I missed removing this macro.

Thanks,
Steve