lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-7d1849aff6687a135a8da3a75e32a00e3137a5e2@git.kernel.org>
Date:	Thu, 3 Dec 2009 15:36:37 GMT
From:	tip-bot for Mikael Pettersson <mikpe@...uu.se>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	joerg.roedel@....com, andreas.herrmann3@....com, mikpe@...uu.se,
	stable@...nel.org, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:x86/apic] x86, apic: Enable lapic nmi watchdog on AMD Family 11h

Commit-ID:  7d1849aff6687a135a8da3a75e32a00e3137a5e2
Gitweb:     http://git.kernel.org/tip/7d1849aff6687a135a8da3a75e32a00e3137a5e2
Author:     Mikael Pettersson <mikpe@...uu.se>
AuthorDate: Thu, 3 Dec 2009 15:52:44 +0100
Committer:  Ingo Molnar <mingo@...e.hu>
CommitDate: Thu, 3 Dec 2009 16:25:15 +0100

x86, apic: Enable lapic nmi watchdog on AMD Family 11h

The x86 lapic nmi watchdog does not recognize AMD Family 11h,
resulting in:

  NMI watchdog: CPU not supported

As far as I can see from available documentation (the BKDM),
family 11h looks identical to family 10h as far as the PMU
is concerned.

Extending the check to accept family 11h results in:

  Testing NMI watchdog ... OK.

I've been running with this change on a Turion X2 Ultra ZM-82
laptop for a couple of weeks now without problems.

Signed-off-by: Mikael Pettersson <mikpe@...uu.se>
Cc: Andreas Herrmann <andreas.herrmann3@....com>
Cc: Joerg Roedel <joerg.roedel@....com>
Cc: <stable@...nel.org>
LKML-Reference: <19223.53436.931768.278021@...spetsen.it.uu.se>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
 arch/x86/kernel/cpu/perfctr-watchdog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c
index fab786f..898df97 100644
--- a/arch/x86/kernel/cpu/perfctr-watchdog.c
+++ b/arch/x86/kernel/cpu/perfctr-watchdog.c
@@ -712,7 +712,7 @@ static void probe_nmi_watchdog(void)
 	switch (boot_cpu_data.x86_vendor) {
 	case X86_VENDOR_AMD:
 		if (boot_cpu_data.x86 != 6 && boot_cpu_data.x86 != 15 &&
-		    boot_cpu_data.x86 != 16)
+		    boot_cpu_data.x86 != 16 && boot_cpu_data.x86 != 17)
 			return;
 		wd_ops = &k7_wd_ops;
 		break;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ