diff options
author | Marc Zyngier <maz@kernel.org> | 2021-12-16 13:54:12 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-12-16 13:54:12 +0100 |
commit | ce5b5b05c16802a27cbf12fbce1446eb4998f975 (patch) | |
tree | 9668884ed75cb03667d687bb374489aa57748ccb /arch/arm64/kvm/vgic/vgic-v3.c | |
parent | Merge branch kvm-arm64/pkvm-cleanups-5.17 into kvmarm-master/next (diff) | |
parent | KVM: arm64: vgic: Demote userspace-triggered console prints to kvm_debug() (diff) | |
download | linux-ce5b5b05c16802a27cbf12fbce1446eb4998f975.tar.xz linux-ce5b5b05c16802a27cbf12fbce1446eb4998f975.zip |
Merge branch kvm-arm64/vgic-fixes-5.17 into kvmarm-master/next
* kvm-arm64/vgic-fixes-5.17:
: .
: A few vgic fixes:
: - Harden vgic-v3 error handling paths against signed vs unsigned
: comparison that will happen once the xarray-based vcpus are in
: - Demote userspace-triggered console output to kvm_debug()
: .
KVM: arm64: vgic: Demote userspace-triggered console prints to kvm_debug()
KVM: arm64: vgic-v3: Fix vcpu index comparison
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/vgic/vgic-v3.c')
-rw-r--r-- | arch/arm64/kvm/vgic/vgic-v3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kvm/vgic/vgic-v3.c b/arch/arm64/kvm/vgic/vgic-v3.c index debad4e6e6c9..78cf674c1230 100644 --- a/arch/arm64/kvm/vgic/vgic-v3.c +++ b/arch/arm64/kvm/vgic/vgic-v3.c @@ -554,12 +554,12 @@ int vgic_v3_map_resources(struct kvm *kvm) } if (IS_VGIC_ADDR_UNDEF(dist->vgic_dist_base)) { - kvm_err("Need to set vgic distributor addresses first\n"); + kvm_debug("Need to set vgic distributor addresses first\n"); return -ENXIO; } if (!vgic_v3_check_base(kvm)) { - kvm_err("VGIC redist and dist frames overlap\n"); + kvm_debug("VGIC redist and dist frames overlap\n"); return -EINVAL; } |