From 65234032c92181cb58c9cfd7c7dda13077a63836 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 21 Feb 2021 13:14:48 +0000 Subject: One CPUs that implement the VHE extension and have the E2H bit set, keep running the kernel in EL2. ok patrick@ --- sys/arch/arm64/include/hypervisor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm64/include') diff --git a/sys/arch/arm64/include/hypervisor.h b/sys/arch/arm64/include/hypervisor.h index 8a7ee6ce4e3..0b91a2afc84 100644 --- a/sys/arch/arm64/include/hypervisor.h +++ b/sys/arch/arm64/include/hypervisor.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hypervisor.h,v 1.2 2016/12/18 14:40:25 patrick Exp $ */ +/* $OpenBSD: hypervisor.h,v 1.3 2021/02/21 13:14:47 kettenis Exp $ */ /*- * Copyright (c) 2013, 2014 Andrew Turner * All rights reserved. @@ -81,6 +81,7 @@ #define HCR_RW 0x0000000080000000 #define HCR_CD 0x0000000100000000 #define HCR_ID 0x0000000200000000 +#define HCR_E2H 0x0000000400000000 #endif -- cgit v1.2.3