Re: [PATCH] ARM: soft-reboot into same mode that we entered the kernel

2016-12-13 Thread Mark Rutland
On Tue, Dec 13, 2016 at 11:11:15AM +, Russell King - ARM Linux wrote: > On Tue, Dec 13, 2016 at 10:54:11AM +, Mark Rutland wrote: > > On Fri, Dec 09, 2016 at 07:49:37PM +, Russell King wrote: > > > ENTRY(__hyp_set_vectors) > > > + tst r0, #31 > > > + bne 1f > > > __HVC(0) >

Re: [PATCH] ARM: soft-reboot into same mode that we entered the kernel

2016-12-13 Thread Russell King - ARM Linux
On Tue, Dec 13, 2016 at 10:54:11AM +, Mark Rutland wrote: > Hi, > > On Fri, Dec 09, 2016 at 07:49:37PM +, Russell King wrote: > > When we soft-reboot (eg, kexec) from one kernel into the next, we need > > to ensure that we enter the new kernel in the same processor mode as > > when we

Re: [PATCH] ARM: soft-reboot into same mode that we entered the kernel

2016-12-13 Thread Mark Rutland
Hi, On Fri, Dec 09, 2016 at 07:49:37PM +, Russell King wrote: > When we soft-reboot (eg, kexec) from one kernel into the next, we need > to ensure that we enter the new kernel in the same processor mode as > when we were entered, so that (eg) the new kernel can install its own > hypervisor -