Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-05 Thread Igor Opaniuk
On Thu, Mar 5, 2020 at 12:46 PM Peng Fan wrote: > > > Subject: Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for > > OPTEE memory > > > > Hi Peng, > > > > On Thu, Mar 5, 2020 at 2:50 AM Peng Fan wrote: > > > > > > > Subje

RE: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-05 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for > OPTEE memory > > Hi Peng, > > On Thu, Mar 5, 2020 at 2:50 AM Peng Fan wrote: > > > > > Subject: Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue > > > for OPTEE memory &g

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-05 Thread Igor Opaniuk
Hi Peng, On Thu, Mar 5, 2020 at 2:50 AM Peng Fan wrote: > > > Subject: Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for > > OPTEE memory > > > > Hi Peng, > > > > On Tue, Aug 27, 2019 at 9:38 AM Peng Fan wrote: > > > > > >

RE: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-04 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for > OPTEE memory > > Hi Peng, > > On Tue, Aug 27, 2019 at 9:38 AM Peng Fan wrote: > > > > When running with OPTEE, the MMU table in u-boot does not remove the > > OPTEE memory from its sett

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-04 Thread Igor Opaniuk
Added Clement Faure to the discussion On Wed, Mar 4, 2020 at 4:34 PM Igor Opaniuk wrote: > > Hi Peng, > > On Tue, Aug 27, 2019 at 9:38 AM 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 i

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-04 Thread Igor Opaniuk
Hi Peng, On Tue, Aug 27, 2019 at 9:38 AM 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

[U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2019-08-26 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