]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Demote SVE and LORegion warnings to debug only
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 26 Mar 2018 10:51:43 +0000 (11:51 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 17 Apr 2018 11:56:36 +0000 (12:56 +0100)
commit368cefe28a2d8b7b7f28ee07731de320fe8fb673
tree67e0b73607342024c4549ebcb512b440ee752551
parent433fe2940aaf5b702cb175d43885b0caf9501a77
arm64: KVM: Demote SVE and LORegion warnings to debug only

While generating a message about guests probing for SVE/LORegions
is a useful debugging tool, considering it an error is slightly
over the top, as this is the only way the guest can find out
about the presence of the feature.

Let's turn these message into kvm_debug so that they can only
be seen if CONFIG_DYNAMIC_DEBUG, and kept quiet otherwise.

Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c