Re: [PATCH v10 6/7] firmware: smccc: arm-cca-guest: Bind the TSM provider to an SMCCC device
From: Jason Gunthorpe
Date: Fri Sep 11 2026 - 11:24:07 EST
On Fri, Sep 11, 2026 at 03:55:45PM +0100, Suzuki K Poulose wrote:
> > There is no standard defining how the various SMCCC VERSION calls are
> > expected to work. For example, ARM_SMCCC_TRNG_VERSION does not use x1,
> > while SMC_RSI_ABI_VERSION does. Another VERSION call could use both x1
> > and x2. The only consistent behavior is to return
> > SMCCC_RET_NOT_SUPPORTED when the SMCCC function ID is not supported.
>
> True, relying on "SMCCC_RET_NOT_SUPPORTED" => Function ID is not
> supported is the safe way. If one of the parameters are not supported,
> then the call should return INVALID_PARAMETER.
If the FW is perfect :)
Jason