]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
kvm: arm: don't treat unavailable HYP mode as an error
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 28 Nov 2017 15:18:19 +0000 (15:18 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 29 Nov 2017 17:17:48 +0000 (18:17 +0100)
commit58d0d19a204604ca0da26058828a53558b265da3
treee7fceafbd6b60a1b9117c6ab741e63166f6306e5
parent22601127c0faa5db70ab88f23af11cb23c8f6cdf
kvm: arm: don't treat unavailable HYP mode as an error

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>
virt/kvm/arm/arm.c