public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: Remove 4095 enabling x2apic messages
@ 2009-12-11 16:08 Mike Travis
  2009-12-11 22:27 ` Cyrill Gorcunov
  2009-12-12  0:15 ` [tip:x86/urgent] x86: Remove enabling x2apic message for every CPU tip-bot for Mike Travis
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Travis @ 2009-12-11 16:08 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Thomas Gleixner, H. Peter Anvin, Cyrill Gorcunov, Suresh Siddha,
	x86, LKML, Jack Steiner

x86: Remove 4095 enabling x2apic messages

Print only once that the system is supporting x2apic mode.

Signed-off-by: Mike Travis <travis@sgi.com>
---
 arch/x86/kernel/apic/apic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux.orig/arch/x86/kernel/apic/apic.c
+++ linux/arch/x86/kernel/apic/apic.c
@@ -1358,7 +1358,7 @@
 
 	rdmsr(MSR_IA32_APICBASE, msr, msr2);
 	if (!(msr & X2APIC_ENABLE)) {
-		pr_info("Enabling x2apic\n");
+		printk_once(KERN_INFO "Enabling x2apic\n");
 		wrmsr(MSR_IA32_APICBASE, msr | X2APIC_ENABLE, 0);
 	}
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86: Remove 4095 enabling x2apic messages
  2009-12-11 16:08 [PATCH] x86: Remove 4095 enabling x2apic messages Mike Travis
@ 2009-12-11 22:27 ` Cyrill Gorcunov
  2009-12-12  0:15 ` [tip:x86/urgent] x86: Remove enabling x2apic message for every CPU tip-bot for Mike Travis
  1 sibling, 0 replies; 3+ messages in thread
From: Cyrill Gorcunov @ 2009-12-11 22:27 UTC (permalink / raw)
  To: Mike Travis
  Cc: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Suresh Siddha, x86,
	LKML, Jack Steiner

On Fri, Dec 11, 2009 at 08:08:50AM -0800, Mike Travis wrote:
> x86: Remove 4095 enabling x2apic messages
>
> Print only once that the system is supporting x2apic mode.
>
> Signed-off-by: Mike Travis <travis@sgi.com>
> ---
> arch/x86/kernel/apic/apic.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux.orig/arch/x86/kernel/apic/apic.c
> +++ linux/arch/x86/kernel/apic/apic.c
> @@ -1358,7 +1358,7 @@
>
> 	rdmsr(MSR_IA32_APICBASE, msr, msr2);
> 	if (!(msr & X2APIC_ENABLE)) {
> -		pr_info("Enabling x2apic\n");
> +		printk_once(KERN_INFO "Enabling x2apic\n");
> 		wrmsr(MSR_IA32_APICBASE, msr | X2APIC_ENABLE, 0);
> 	}
> }
>

FWIW, looks good to me,
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>

thanks!

	-- Cyrill

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:x86/urgent] x86: Remove enabling x2apic message for every CPU
  2009-12-11 16:08 [PATCH] x86: Remove 4095 enabling x2apic messages Mike Travis
  2009-12-11 22:27 ` Cyrill Gorcunov
@ 2009-12-12  0:15 ` tip-bot for Mike Travis
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Mike Travis @ 2009-12-12  0:15 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, gorcunov, travis, tglx

Commit-ID:  450b1e8dd10f41b5adad73f48ce8f6707d17c5c4
Gitweb:     http://git.kernel.org/tip/450b1e8dd10f41b5adad73f48ce8f6707d17c5c4
Author:     Mike Travis <travis@sgi.com>
AuthorDate: Fri, 11 Dec 2009 08:08:50 -0800
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Fri, 11 Dec 2009 14:32:31 -0800

x86: Remove enabling x2apic message for every CPU

Print only once that the system is supporting x2apic mode.

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <4B226E92.5080904@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
 arch/x86/kernel/apic/apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index efb2b9c..aa57c07 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1341,7 +1341,7 @@ void enable_x2apic(void)
 
 	rdmsr(MSR_IA32_APICBASE, msr, msr2);
 	if (!(msr & X2APIC_ENABLE)) {
-		pr_info("Enabling x2apic\n");
+		printk_once(KERN_INFO "Enabling x2apic\n");
 		wrmsr(MSR_IA32_APICBASE, msr | X2APIC_ENABLE, 0);
 	}
 }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-12  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 16:08 [PATCH] x86: Remove 4095 enabling x2apic messages Mike Travis
2009-12-11 22:27 ` Cyrill Gorcunov
2009-12-12  0:15 ` [tip:x86/urgent] x86: Remove enabling x2apic message for every CPU tip-bot for Mike Travis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox