Re: [U-Boot] [PATCH 13/22] imx8m: Fix MMU table issue for OPTEE memory

2019-08-13 Thread Peng Fan
> Subject: Re: [PATCH 13/22] imx8m: Fix MMU table issue for OPTEE memory > > On Fri, 9 Aug 2019 04:15:21 + > Peng Fan wrote: > > > When running with OPTEE, the MMU table in u-boot does not remove the > > OPTEE memory from its settings. So ARM speculative prefetch in u-boot > > may access tha

Re: [U-Boot] [PATCH 13/22] imx8m: Fix MMU table issue for OPTEE memory

2019-08-11 Thread Lukasz Majewski
On Fri, 9 Aug 2019 04:15:21 + Peng Fan wrote: > When running with OPTEE, the MMU table in u-boot does not remove the > OPTEE memory from its settings. So ARM speculative prefetch in u-boot > may access that OPTEE memory. Due to trust zone is enabled by OPTEE > and that memory is set to secure

[U-Boot] [PATCH 13/22] imx8m: Fix MMU table issue for OPTEE memory

2019-08-08 Thread Peng Fan
When running with OPTEE, the MMU table in u-boot does not remove the OPTEE memory from its settings. So ARM speculative prefetch in u-boot may access that OPTEE memory. Due to trust zone is enabled by OPTEE and that memory is set to secure access, then the speculative prefetch will fail and cause v