Revert "FROMGIT: KVM: arm64: vgic: Demote userspace-triggered console prints to kvm_debug()"
This reverts commit 60bd62a27a.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I18d82a911f6ab65b806eeb9894e72ba302ec779a
This commit is contained in:
@@ -293,12 +293,12 @@ int vgic_v2_map_resources(struct kvm *kvm)
|
|||||||
|
|
||||||
if (IS_VGIC_ADDR_UNDEF(dist->vgic_dist_base) ||
|
if (IS_VGIC_ADDR_UNDEF(dist->vgic_dist_base) ||
|
||||||
IS_VGIC_ADDR_UNDEF(dist->vgic_cpu_base)) {
|
IS_VGIC_ADDR_UNDEF(dist->vgic_cpu_base)) {
|
||||||
kvm_debug("Need to set vgic cpu and dist addresses first\n");
|
kvm_err("Need to set vgic cpu and dist addresses first\n");
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vgic_v2_check_base(dist->vgic_dist_base, dist->vgic_cpu_base)) {
|
if (!vgic_v2_check_base(dist->vgic_dist_base, dist->vgic_cpu_base)) {
|
||||||
kvm_debug("VGIC CPU and dist frames overlap\n");
|
kvm_err("VGIC CPU and dist frames overlap\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -554,12 +554,12 @@ int vgic_v3_map_resources(struct kvm *kvm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (IS_VGIC_ADDR_UNDEF(dist->vgic_dist_base)) {
|
if (IS_VGIC_ADDR_UNDEF(dist->vgic_dist_base)) {
|
||||||
kvm_debug("Need to set vgic distributor addresses first\n");
|
kvm_err("Need to set vgic distributor addresses first\n");
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vgic_v3_check_base(kvm)) {
|
if (!vgic_v3_check_base(kvm)) {
|
||||||
kvm_debug("VGIC redist and dist frames overlap\n");
|
kvm_err("VGIC redist and dist frames overlap\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user