Re: [PATCH 02/37] KVM: arm64: Rework hyp_panic for VHE and non-VHE

2017-10-12 Thread Christoffer Dall
On Thu, Oct 12, 2017 at 04:55:16PM +0100, Marc Zyngier wrote: > On 12/10/17 11:41, Christoffer Dall wrote: > > VHE actually doesn't rely on clearing the VTTBR when returning to the > > hsot kernel, and that is the current key mechanism of hyp_panic to > > host > > > figure out how to attempt to r

Re: [PATCH 02/37] KVM: arm64: Rework hyp_panic for VHE and non-VHE

2017-10-12 Thread Marc Zyngier
On 12/10/17 11:41, Christoffer Dall wrote: > VHE actually doesn't rely on clearing the VTTBR when returning to the > hsot kernel, and that is the current key mechanism of hyp_panic to host > figure out how to attempt to return to a state good enough to print a > panic statement. > > Therefore, w

[PATCH 02/37] KVM: arm64: Rework hyp_panic for VHE and non-VHE

2017-10-12 Thread Christoffer Dall
VHE actually doesn't rely on clearing the VTTBR when returning to the hsot kernel, and that is the current key mechanism of hyp_panic to figure out how to attempt to return to a state good enough to print a panic statement. Therefore, we split the hyp_panic function into two functions, a VHE and a