Re: [RFC 2/4] arm64: kexec: fix kvm issue

2015-03-24 Thread Geoff Levand
Hi Marc, On Tue, 2015-03-24 at 08:46 +, Marc Zyngier wrote: > "arm64: KVM: Allow EL2 context to be reset on shutdown" Sure, this sounds good. -Geoff -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majord

Re: [RFC 2/4] arm64: kexec: fix kvm issue

2015-03-24 Thread Marc Zyngier
On 23/03/15 15:56, Geoff Levand wrote: > On Mon, 2015-03-23 at 20:53 +0900, AKASHI Takahiro wrote: >> The current kvm implementation keeps EL2 vector table installed even >> when the system is shut down. This prevents kexec from putting the system >> with kvm back into EL2 when starting a new kerne

Re: [RFC 2/4] arm64: kexec: fix kvm issue

2015-03-24 Thread AKASHI Takahiro
On 03/24/2015 12:56 AM, Geoff Levand wrote: On Mon, 2015-03-23 at 20:53 +0900, AKASHI Takahiro wrote: The current kvm implementation keeps EL2 vector table installed even when the system is shut down. This prevents kexec from putting the system with kvm back into EL2 when starting a new kernel.

Re: [RFC 2/4] arm64: kexec: fix kvm issue

2015-03-23 Thread Geoff Levand
On Mon, 2015-03-23 at 20:53 +0900, AKASHI Takahiro wrote: > The current kvm implementation keeps EL2 vector table installed even > when the system is shut down. This prevents kexec from putting the system > with kvm back into EL2 when starting a new kernel. This is a kvm bug fix, so I think the su

[RFC 2/4] arm64: kexec: fix kvm issue

2015-03-23 Thread AKASHI Takahiro
The current kvm implementation keeps EL2 vector table installed even when the system is shut down. This prevents kexec from putting the system with kvm back into EL2 when starting a new kernel. This patch resolves this issue by calling a cpu tear-down function via reboot notifier, kvm_reboot_notif