[PATCH v5 1/6] arm64: rsi: Add RSI host call structure and helper function

Kameron Carr kameroncarr at linux.microsoft.com
Wed Oct 28 17:48:23 PDT 2026


Hello ARM maintainers,

On 10/22/2026 12:41 AM, Wei Liu wrote:
> On Fri, Oct 02, 2026 at 02:57:20PM -0700, Kameron Carr wrote:
>> Add struct rsi_host_call to arm-smccc-rsi.h, which represents the host
>> call data structure used by the Realm Management Monitor (RMM) for the
>> RSI_HOST_CALL interface. The structure contains a 16-bit immediate field
>> and 31 general-purpose register values, aligned to 256 bytes as required
>> by the CCA RMM specification.
>>
>> Add rsi_host_call() static inline wrapper in arm-rsi-cmds.h that invokes
>> SMC_RSI_HOST_CALL with the physical address of the host call structure.
>> This will be used by Hyper-V guest code to route hypercalls through the
>> RSI interface when running inside an Arm CCA Realm.
>>
>> Reviewed-by: Michael Kelley <mhklinux at outlook.com>
>> Signed-off-by: Kameron Carr <kameroncarr at linux.microsoft.com>
>> ---
>>  include/linux/arm-rsi-cmds.h  | 22 ++++++++++++++++++++++
>>  include/linux/arm-smccc-rsi.h |  7 +++++++
> 
> ARM maintainers, I think this needs an ack from you?
> 
> Wei

Do you have any issues with this patch?

-- 
Regards,
Kameron



More information about the linux-arm-kernel mailing list