[PATCH v3 6/7] firmware: arm_ffa: Setup in-kernel users of FFA partitions

Sudeep Holla sudeep.holla at arm.com
Tue Jan 12 13:04:14 EST 2021


(sorry for late reply)

On Fri, Dec 11, 2020 at 11:45:08AM +0100, Jens Wiklander wrote:
> On Fri, Dec 4, 2020 at 1:11 PM Sudeep Holla <sudeep.holla at arm.com> wrote:

[...]

Agreed on all the comments, so have just removed those context.

> We may need a way to indicate if we're to use the 32bit or 64bit
> calling convention. OP-TEE depends on being able to use 32bit calls
> here.

I assume it would be OP-TEE indicating it would like to use 32-bit.
I am thinking of API from the driver would be like:

int (*32bit_mode_only_set)(struct ffa_device *dev);

Let me know if that works for you. FF-A driver has no other way to evaluate
that and I really don't like that in DT 😉 

--
Regards,
Sudeep



More information about the linux-arm-kernel mailing list