projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[platform/kernel/linux-starfive.git]
/
arch
/
arm64
/
kvm
/
arm.c
diff --git
a/arch/arm64/kvm/arm.c
b/arch/arm64/kvm/arm.c
index
a391b98
..
7f06ba7
100644
(file)
--- a/
arch/arm64/kvm/arm.c
+++ b/
arch/arm64/kvm/arm.c
@@
-1971,6
+1971,9
@@
static int __init early_kvm_mode_cfg(char *arg)
return 0;
}
+ if (strcmp(arg, "nvhe") == 0 && !WARN_ON(is_kernel_in_hyp_mode()))
+ return 0;
+
return -EINVAL;
}
early_param("kvm-arm.mode", early_kvm_mode_cfg);