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

From: Catalin Marinas

Date: Mon Nov 02 2026 - 08:14:45 EST


On Sat, Oct 31, 2026 at 04:51:21AM +0000, Dexuan Cui wrote:
> > From: Kameron Carr <kameroncarr@xxxxxxxxxxxxxxxxxxx>
> > Sent: Friday, October 30, 2026 5:14 PM
> > To: Dexuan Cui <DECUI@xxxxxxxxxxxxx>; Haiyang Zhang
> > <haiyangz@xxxxxxxxxxxxx>; mhklinux@xxxxxxxxxxx; wei.liu@xxxxxxxxxx
> > Cc: arnd@xxxxxxxx; catalin.marinas@xxxxxxx; linux-arch@xxxxxxxxxxxxxxx;
> > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-hyperv@xxxxxxxxxxxxxxx; linux-
> > kernel@xxxxxxxxxxxxxxx; lpieralisi@xxxxxxxxxx; Mark.Rutland
> > <Mark.Rutland@xxxxxxx>; sudeep.holla@xxxxxxxxxx; thuth@xxxxxxxxxx;
> > will@xxxxxxxxxx
> > Subject: [PATCH v6 1/6] arm64: rsi: Add RSI host call structure and helper
> > function
> >
> > 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@xxxxxxxxxxx>
> > Signed-off-by: Kameron Carr <kameroncarr@xxxxxxxxxxxxxxxxxxx>
> > ---
>
> Catalin provided Reviewed-by to v5's patch #1, which is the same
> as v6's patch #1:
> https://lore.kernel.org/all/auPOxoaRbdOEHnv_@xxxxxxx/

Yes, my review still stands.

Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>