Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-08-01 Thread Igor Opaniuk
Hi Stefano, On Thu, Aug 1, 2019, 16:19 Stefano Babic wrote: > On 24/07/19 14:19, Igor Opaniuk wrote: > > Hi Stefan > > > > On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: > >> > >> On 2019-07-03 15:50, Igor Opaniuk wrote: > >>> From: Igor Opaniuk > >>> > >>> NXP downstream kernel uses lega

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-08-01 Thread Stefano Babic
On 24/07/19 14:19, Igor Opaniuk wrote: > Hi Stefan > > On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: >> >> On 2019-07-03 15:50, Igor Opaniuk wrote: >>> From: Igor Opaniuk >>> >>> NXP downstream kernel uses legacy method to enable other cores, >>> which requires kernel to run in a security

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Igor Opaniuk
Hi Stefan On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: > > On 2019-07-03 15:50, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream kernel > > uses PSCI f

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Stefan Agner
On 2019-07-03 15:50, Igor Opaniuk wrote: > From: Igor Opaniuk > > NXP downstream kernel uses legacy method to enable other cores, > which requires kernel to run in a security mode (althought upstream kernel > uses PSCI for this). > > As we're using NXP kernel in our BSPs, lets enable this by def

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Stefan Agner
On 2019-07-23 15:29, Tobias Junghans wrote: > Hi Igor, > > thanks for your comments! Is there any solution, patch or workaround I can > try > to power on the 2nd CPU core in secure mode with mainline kernel? I am afraid that is not possible since without PSCI mainline simply lacks the code how

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-23 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode > > Hi Igor, > > thanks for your comments! Is there any solution, patch or workaround I can > try to power on the 2nd CPU core in secure mode with mainline kernel? The upstream maintainer rejected the

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-23 Thread Tobias Junghans
Hi Igor, thanks for your comments! Is there any solution, patch or workaround I can try to power on the 2nd CPU core in secure mode with mainline kernel? Thanks and best regards Tobias > I'm afraid you're right. > Just after a bit of time researching and discussing with Stefan, seems > that we

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-11 Thread Philippe Schenker
On Wed, 2019-07-10 at 12:19 +, Philippe Schenker wrote: > On Wed, 2019-07-03 at 16:50 +0300, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream kernel > > us

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-11 Thread Igor Opaniuk
Hi Tobias, On Wed, Jul 10, 2019 at 3:35 PM Tobias Junghans wrote: > > > > NXP downstream kernel uses legacy method to enable other cores, > > > which requires kernel to run in a security mode (althought upstream > > > kernel > > > uses PSCI for this). > > > > > > As we're using NXP kernel in our

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-10 Thread Philippe Schenker
On Wed, 2019-07-10 at 14:35 +0200, Tobias Junghans wrote: > > > NXP downstream kernel uses legacy method to enable other cores, > > > which requires kernel to run in a security mode (althought upstream > > > kernel > > > uses PSCI for this). > > > > > > As we're using NXP kernel in our BSPs, lets

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-10 Thread Tobias Junghans
> > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream > > kernel > > uses PSCI for this). > > > > As we're using NXP kernel in our BSPs, lets enable this by default. > > > > Signed-off-by: Igor Opaniuk How doe

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-10 Thread Philippe Schenker
On Wed, 2019-07-03 at 16:50 +0300, Igor Opaniuk wrote: > From: Igor Opaniuk > > NXP downstream kernel uses legacy method to enable other cores, > which requires kernel to run in a security mode (althought upstream kernel > uses PSCI for this). > > As we're using NXP kernel in our BSPs, lets enab

[U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-03 Thread Igor Opaniuk
From: Igor Opaniuk NXP downstream kernel uses legacy method to enable other cores, which requires kernel to run in a security mode (althought upstream kernel uses PSCI for this). As we're using NXP kernel in our BSPs, lets enable this by default. Signed-off-by: Igor Opaniuk --- include/confi