diff mbox

KVM: PPC: Turn "KVM guest htab" message into a debug message

Message ID 1487279232-17669-1-git-send-email-thuth@redhat.com
State Accepted
Headers show

Commit Message

Thomas Huth Feb. 16, 2017, 9:07 p.m. UTC
The average user likely does not know what a "htab" or "LPID" is,
and it's annoying that these messages are quickly filling the dmesg
log when you're doing boot cycle tests, so let's turn it into a debug
message instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 arch/powerpc/kvm/book3s_64_mmu_hv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Laurent Vivier Feb. 20, 2017, 10:27 a.m. UTC | #1
On 16/02/2017 22:07, Thomas Huth wrote:
> The average user likely does not know what a "htab" or "LPID" is,
> and it's annoying that these messages are quickly filling the dmesg
> log when you're doing boot cycle tests, so let's turn it into a debug
> message instead.

I agree

> Signed-off-by: Thomas Huth <thuth@redhat.com>

Reviewed-by: Laurent Vivier <lvivier@redhat.com>

> ---
>  arch/powerpc/kvm/book3s_64_mmu_hv.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> index b795dd1..2fb8616 100644
> --- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
> +++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> @@ -99,8 +99,8 @@ long kvmppc_alloc_hpt(struct kvm *kvm, u32 *htab_orderp)
>  	kvm->arch.revmap = rev;
>  	kvm->arch.sdr1 = __pa(hpt) | (order - 18);
>  
> -	pr_info("KVM guest htab at %lx (order %ld), LPID %x\n",
> -		hpt, order, kvm->arch.lpid);
> +	pr_debug("KVM guest htab at %lx (order %ld), LPID %x\n",
> +		 hpt, order, kvm->arch.lpid);
>  
>  	if (htab_orderp)
>  		*htab_orderp = order;
> 

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
index b795dd1..2fb8616 100644
--- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
+++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
@@ -99,8 +99,8 @@  long kvmppc_alloc_hpt(struct kvm *kvm, u32 *htab_orderp)
 	kvm->arch.revmap = rev;
 	kvm->arch.sdr1 = __pa(hpt) | (order - 18);
 
-	pr_info("KVM guest htab at %lx (order %ld), LPID %x\n",
-		hpt, order, kvm->arch.lpid);
+	pr_debug("KVM guest htab at %lx (order %ld), LPID %x\n",
+		 hpt, order, kvm->arch.lpid);
 
 	if (htab_orderp)
 		*htab_orderp = order;