[PATCH v8 27/43] arm64: RME: support RSI_HOST_CALL
Gavin Shan
gshan at redhat.com
Wed Apr 30 19:57:24 PDT 2025
On 4/16/25 11:41 PM, Steven Price wrote:
> From: Joey Gouly <joey.gouly at arm.com>
>
> Forward RSI_HOST_CALLS to KVM's HVC handler.
>
> Signed-off-by: Joey Gouly <joey.gouly at arm.com>
> Signed-off-by: Steven Price <steven.price at arm.com>
> ---
> Changes since v7:
> * Avoid turning a negative return from kvm_smccc_call_handler() into a
> error response to the guest. Instead propogate the error back to user
> space.
> Changes since v4:
> * Setting GPRS is now done by kvm_rec_enter() rather than
> rec_exit_host_call() (see previous patch - arm64: RME: Handle realm
> enter/exit). This fixes a bug where the registers set by user space
> were being ignored.
> ---
> arch/arm64/kvm/rme-exit.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list