[Crash-utility] [PATCH v5 4/4] arm64: add VHE support

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Jun 28 04:57:23 UTC 2016


On VHE-enabled system, the kernel runs in EL2.

Signed-off-by: AKASHI Takahiro <takahiro.akashi at 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




More information about the Crash-utility mailing list