Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/acpi Add non-XPSS support for AMD family 15h a....



details:   https://anonhg.NetBSD.org/src/rev/df90c2f2aa1b
branches:  trunk
changeset: 773649:df90c2f2aa1b
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Feb 11 22:07:53 2012 +0000

description:
Add non-XPSS support for AMD family 15h a.k.a. "Bulldozer". Ok releng@.

diffstat:

 sys/arch/x86/acpi/acpi_cpu_md.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r a216fe74544b -r df90c2f2aa1b sys/arch/x86/acpi/acpi_cpu_md.c
--- a/sys/arch/x86/acpi/acpi_cpu_md.c   Sat Feb 11 18:59:41 2012 +0000
+++ b/sys/arch/x86/acpi/acpi_cpu_md.c   Sat Feb 11 22:07:53 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.69 2011/11/15 07:20:30 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.70 2012/02/11 22:07:53 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010, 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.69 2011/11/15 07:20:30 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.70 2012/02/11 22:07:53 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -68,7 +68,7 @@
 #define MSR_CMPHALT_BMSTS      __BIT(29)
 
 /*
- * AMD families 10h, 11h, 12h, and 14h.
+ * AMD families 10h, 11h, 12h, 14h, and 15h.
  */
 #define MSR_10H_LIMIT          0xc0010061
 #define MSR_10H_CONTROL                0xc0010062
@@ -275,6 +275,7 @@
 
                case 0x12:
                case 0x14: /* AMD Fusion */
+               case 0x15: /* AMD Bulldozer */
 
                        /*
                         * Like with Intel, detect invariant TSC,



Home | Main Index | Thread Index | Old Index