Re: [PATCH v2] tee: optee: sync cache on pre-reloc OP-TEE invocation

2021-07-23 Thread Tom Rini
On Wed, May 19, 2021 at 04:27:41PM +0200, Etienne Carriere wrote: > This change ensures both U-Boot and OP-TEE see the same content > from shared memory when OP-TEE is invoked prior U-Boot relocation. > > This change is required since U-Boot may execute with data cache off > while OP-TEE always e

Re: [PATCH v2] tee: optee: sync cache on pre-reloc OP-TEE invocation

2021-05-24 Thread Ilias Apalodimas
On Wed, May 19, 2021 at 04:27:41PM +0200, Etienne Carriere wrote: > This change ensures both U-Boot and OP-TEE see the same content > from shared memory when OP-TEE is invoked prior U-Boot relocation. > > This change is required since U-Boot may execute with data cahce off > while OP-TEE always en

Re: [PATCH v2] tee: optee: sync cache on pre-reloc OP-TEE invocation

2021-05-20 Thread Jens Wiklander
On Wed, May 19, 2021 at 4:28 PM Etienne Carriere wrote: > > This change ensures both U-Boot and OP-TEE see the same content > from shared memory when OP-TEE is invoked prior U-Boot relocation. > > This change is required since U-Boot may execute with data cahce off cache > while OP-TEE always en

[PATCH v2] tee: optee: sync cache on pre-reloc OP-TEE invocation

2021-05-19 Thread Etienne Carriere
This change ensures both U-Boot and OP-TEE see the same content from shared memory when OP-TEE is invoked prior U-Boot relocation. This change is required since U-Boot may execute with data cahce off while OP-TEE always enables cache on memory shared with U-Boot. Signed-off-by: Etienne Carriere