Re: [PATCH] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-15 Thread Russell King - ARM Linux admin
On Fri, Feb 15, 2019 at 11:23:28AM +0100, Marek Szyprowski wrote: > > On 2019-02-14 17:58, Russell King - ARM Linux admin wrote: > > On Thu, Feb 14, 2019 at 03:31:14PM +0100, Marek Szyprowski wrote: > >> MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to > >> perform low-le

Re: [PATCH] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-15 Thread Marek Szyprowski
On 2019-02-14 17:58, Russell King - ARM Linux admin wrote: > On Thu, Feb 14, 2019 at 03:31:14PM +0100, Marek Szyprowski wrote: >> MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to >> perform low-level platform initialization. This results in a try to install >> HYP stubs

Re: [PATCH] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-14 Thread Russell King - ARM Linux admin
On Thu, Feb 14, 2019 at 03:31:14PM +0100, Marek Szyprowski wrote: > MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to > perform low-level platform initialization. This results in a try to install > HYP stubs for the second time for each CPU and results in false HYP/SVC > mo

Re: [PATCH] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-14 Thread Nicolas Pitre
On Thu, 14 Feb 2019, Marek Szyprowski wrote: > MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to > perform low-level platform initialization. This results in a try to install > HYP stubs for the second time for each CPU and results in false HYP/SVC > mode mismatch detectio

[PATCH] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-14 Thread Marek Szyprowski
MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to perform low-level platform initialization. This results in a try to install HYP stubs for the second time for each CPU and results in false HYP/SVC mode mismatch detection. The HYP stubs are already installed at the beginnin