On VHE-enabled system, the kernel runs in EL2.
Signed-off-by: AKASHI Takahiro <takahiro.akashi(a)linaro.org>
---
arm64.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arm64.c b/arm64.c
index bad36aa..b9fa14d 100644
--- a/arm64.c
+++ b/arm64.c
@@ -1414,6 +1414,8 @@ arm64_is_kernel_exception_frame(struct bt_info *bt, ulong stkptr)
{
case PSR_MODE_EL1t:
case PSR_MODE_EL1h:
+ case PSR_MODE_EL2t:
+ case PSR_MODE_EL2h:
return TRUE;
}
}
--
2.9.0