[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220518101109.xdmiuj5gjqg3drhm@bogus>
Date: Wed, 18 May 2022 11:11:09 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Gyorgy Szing <Gyorgy.Szing@....com>
Cc: Sumit Garg <sumit.garg@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"op-tee@...ts.trustedfirmware.org" <op-tee@...ts.trustedfirmware.org>,
Sudeep Holla <sudeep.holla@....com>
Subject: Re: [PATCH] tee: Add Arm FF-A TEE driver
On Tue, May 17, 2022 at 06:55:47PM +0100, Gyorgy Szing wrote:
> Hi Sumit,
>
> The best way to test the driver is to use the PSA SPs from Trusted Services
> similarly as described on the wiki page above. We have merged the TEE driver
> enablement patches to integration branch of TS recently, and as a result the
> set-up and build instructions above will build an end-to-end config using
> the TEE driver.
> The TEE driver integration needs to be changed though. Instead of building
> the TEE driver as an out of tree module from our fork [2], you might want to
> change the config to use the driver posted by Sudeep. If you wish to use the
> op-tee build flow, the makefiles in OP-TEE/build repo part of the above
> set-up need modification too.
Correct I have done something similar when testing as a module.
> TS will build multiple test executables targeting the Linux user-space. For
> TEE driver testing any of these targeting the "arm-linux" environment will
> do, but I suggest using the "ts-service-test".
>
> AFAIK Sudeep is testing with TS too using a similar set-up.
>
Indeed. I just made couple of minor changes to the way app checks the presence
of the driver and dropped the version check.
Ref: ffarpc_caller_check_version in components/rpc/ffarpc/caller/linux/ffarpc_caller.c
to make progress.
> [2] https://gitlab.arm.com/linux-arm/linux-trusted-services
>
--
Regards,
Sudeep
Powered by blists - more mailing lists