qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v12 10/10] arm: tcg: Adhere to SMCCC 1.3 section 5.2


From: Peter Maydell
Subject: Re: [PATCH v12 10/10] arm: tcg: Adhere to SMCCC 1.3 section 5.2
Date: Mon, 27 Sep 2021 11:45:33 +0100

On Thu, 16 Sept 2021 at 16:54, Alexander Graf <agraf@csgraf.de> wrote:
>
> The SMCCC 1.3 spec section 5.2 says
>
>   The Unknown SMC Function Identifier is a sign-extended value of (-1)
>   that is returned in the R0, W0 or X0 registers. An implementation must
>   return this error code when it receives:
>
>     * An SMC or HVC call with an unknown Function Identifier
>     * An SMC or HVC call for a removed Function Identifier
>     * An SMC64/HVC64 call from AArch32 state
>
> To comply with these statements, let's always return -1 when we encounter
> an unknown HVC or SMC call.
>
> Signed-off-by: Alexander Graf <agraf@csgraf.de>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

Applied this final patch to target-arm.next now we've sorted out
the problem with the orangepi, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]