Closed etienne-lms closed 7 years ago
As many changes for renaming "unmaped"=>"unmapped", i will squash the commit and propose a new version...
rebased to latest 'optee' branch.
Just some minor cleanup needed (spellings etc), when that is done:
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
comments addressed, tag applied.
Hi there, may I know that :
Have this pull been merged into main branch ?
No, as long as the PR is open it hasn't been merged, having that said, the intention is to merge it to get it included in the OP-TEE 2.4.0 (April 7th).
Is there any demo dts or config file defined SDP memory start and size ?
I guess this should be it, @etienne-lms can confirm: https://github.com/OP-TEE/build/pull/112/files
@ken1979, @jbech-linaro I confirm. Current PR provides SDP memory pool allocation on REE side. build PR#112 enables this SDP support, and sets a test configuration for playing SDP of the QEMU config (for qemu_virt and qemu_armv8). This because is hard codes in the kernel config the SDP memory pool location. In optee_os, a default configuration makes the same area reserved to the SDP memory pool: df05d4e.
@etienne-lms can you please rebase? (the OP-TEE driver v15 and v16 deltas have been merged since).
oups...
OP-TEE/build#112 also rebased.
Adding a ION heap type dedicated to "secure data path buffer pools": buffers unmaped in linux world.
Add ION "umaped heap" creation support in ION dummy driver: possibly get "unmaped" heaps from DT.
This is currently a patch in the ION staging directory. ION implementation does not allow registering heap types from external (non ION) drivers.
This patchset was tested on k4.6 and k4.9 (ION integration changes)
SDP test setup on vexpress-qemu: see also https://github.com/OP-TEE/build/pull/112 and https://github.com/linaro-swg/bios_qemu_tz_arm/pull/10 and https://github.com/OP-TEE/optee_test/pull/148.