diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-28 15:18:19 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:07:55 +0100 |
commit | 49a3efa81147c088505baa35eca827c4df6d4c38 (patch) | |
tree | 19de5db714dec4b496ad4de1feac21ea80a7e53f /virt | |
parent | c05bbe5dc862789cbbc809a4c6b4422d0b158adb (diff) | |
download | linux-exynos-49a3efa81147c088505baa35eca827c4df6d4c38.tar.gz linux-exynos-49a3efa81147c088505baa35eca827c4df6d4c38.tar.bz2 linux-exynos-49a3efa81147c088505baa35eca827c4df6d4c38.zip |
kvm: arm: don't treat unavailable HYP mode as an error
[ Upstream commit 58d0d19a204604ca0da26058828a53558b265da3 ]
Since it is perfectly legal to run the kernel at EL1, it is not
actually an error if HYP mode is not available when attempting to
initialize KVM, given that KVM support cannot be built as a module.
So demote the kvm_err() to kvm_info(), which prevents the error from
appearing on an otherwise 'quiet' console.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/arm/arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c index 8b6c42dc1aa9..1366462a3ab2 100644 --- a/virt/kvm/arm/arm.c +++ b/virt/kvm/arm/arm.c @@ -1453,7 +1453,7 @@ int kvm_arch_init(void *opaque) bool in_hyp_mode; if (!is_hyp_mode_available()) { - kvm_err("HYP mode not available\n"); + kvm_info("HYP mode not available\n"); return -ENODEV; } |