[PATCH v3 6/7] firmware: arm_ffa: Setup in-kernel users of FFA partitions
Jens Wiklander
jens.wiklander at linaro.org
Wed Jan 13 02:10:08 EST 2021
On Tue, Jan 12, 2021 at 06:04:14PM +0000, Sudeep Holla wrote:
> (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 😉
That should work for OP-TEE.
Thanks,
Jens
More information about the linux-arm-kernel
mailing list