Re: [PATCH v4 04/40] KVM: arm64: Rework hyp_panic for VHE and non-VHE

2018-02-21 Thread Andrew Jones
On Thu, Feb 15, 2018 at 10:02:56PM +0100, Christoffer Dall wrote: > VHE actually doesn't rely on clearing the VTTBR when returning to the > host 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. >

[PATCH v4 04/40] KVM: arm64: Rework hyp_panic for VHE and non-VHE

2018-02-15 Thread Christoffer Dall
VHE actually doesn't rely on clearing the VTTBR when returning to the host 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