WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] x86/amd-ucode: further turn down verbosity

To: Jan Beulich <JBeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86/amd-ucode: further turn down verbosity
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 11 Nov 2011 13:13:34 +0000
Cc:
Delivery-date: Fri, 11 Nov 2011 05:15:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=o5Rte4plN4kaH1FxpygRthkdb8sJehSMsbD90lNRFrc=; b=ZlbFsOfyffKRkYgfG50B+qaNeYGxiVMqb5iM2OAAdU/qx2zwciWCeYxWMN9LsJ/Ar9 UT6xhzLO1FM1bvgZ2GyvS0KOA8ELAKW1bLjGay9RthFQzL+ODVCM8qToDYeLEwoodBdc Xz0zgAI8N+zC845VLjgYbp4XjAMylp4K+5G5w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EBD11920200007800060668@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acygc7cScKvPIeJPokGYS32eVEZ96Q==
Thread-topic: [Xen-devel] [PATCH] x86/amd-ucode: further turn down verbosity
User-agent: Microsoft-Entourage/12.31.0.110725
On 11/11/2011 11:14, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> Turn up the log level on various (mostly debug-only) messages.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/arch/x86/microcode_amd.c
> +++ b/xen/arch/x86/microcode_amd.c
> @@ -59,7 +59,7 @@ static int collect_cpu_info(int cpu, str
>  
>      rdmsrl(MSR_AMD_PATCHLEVEL, csig->rev);
>  
> -    printk(KERN_INFO "microcode: collect_cpu_info: patch_id=0x%x\n",
> +    printk(KERN_DEBUG "microcode: collect_cpu_info: patch_id=0x%x\n",
>             csig->rev);
>  
>      return 0;
> @@ -92,7 +92,7 @@ static int microcode_fits(void *mc, int
>  
>      if ( (mc_header->processor_rev_id) != equiv_cpu_id )
>      {
> -        printk(KERN_INFO "microcode: CPU%d patch does not match "
> +        printk(KERN_DEBUG "microcode: CPU%d patch does not match "
>                 "(patch is %x, cpu base id is %x) \n",
>                 cpu, mc_header->processor_rev_id, equiv_cpu_id);
>          return -EINVAL;
> @@ -101,7 +101,7 @@ static int microcode_fits(void *mc, int
>      if ( mc_header->patch_id <= uci->cpu_sig.rev )
>          return -EINVAL;
>  
> -    printk(KERN_INFO "microcode: CPU%d found a matching microcode "
> +    printk(KERN_DEBUG "microcode: CPU%d found a matching microcode "
>             "update with version 0x%x (current=0x%x)\n",
>             cpu, mc_header->patch_id, uci->cpu_sig.rev);
>  
> @@ -139,8 +139,7 @@ static int apply_microcode(int cpu)
>          return -EIO;
>      }
>  
> -    printk("microcode: CPU%d updated from revision "
> -           "0x%x to 0x%x \n",
> +    printk(KERN_INFO "microcode: CPU%d updated from revision %#x to %#x\n",
>             cpu, uci->cpu_sig.rev, mc_amd->hdr.patch_id);
>  
>      uci->cpu_sig.rev = rev;
> @@ -170,7 +169,7 @@ static int get_next_ucode_from_buffer_am
>  
>      total_size = (unsigned long) (bufp[off+4] + (bufp[off+5] << 8));
>  
> -    printk(KERN_INFO "microcode: size %lu, total_size %lu, offset %ld\n",
> +    printk(KERN_DEBUG "microcode: size %lu, total_size %lu, offset %ld\n",
>             (unsigned long)size, total_size, off);
>  
>      if ( (off + total_size) > size )
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>