mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, torvalds@osdl.org
Subject: Re: [PATCH] Mobil Pentium 4 HT and the NMI
Date: Thu, 18 Aug 2005 20:23:00 -0700	[thread overview]
Message-ID: <20050818202300.254410f4.akpm@osdl.org> (raw)
In-Reply-To: <1124416748.5186.94.camel@localhost.localdomain>

Steven Rostedt <rostedt@goodmis.org> wrote:
>
> Hi,
> 
> I'm resending this since I don't see it in git yet, and I'm wondering if
> there is a problem with this patch.  I have a IBM ThinkPad G41 with a
> Mobile Pentium 4 HT.  Without this patch, the NMI won't be setup.  Is
> there a reason that if the x86_model is greater than 0x3 it will return.
> Since my processor has a 0x4 x86_model, I upped it to that. Otherwise my
> laptop won't be able to use the NMI.
> 

Well I was hoping that someone with knowledge of the low-level Intel model
differences would pipe up, but they all seem to be in hiding.  (Wildly
bcc's lots of x86 people).

> 
> Description:
>   This patch is to allow the Mobile Penitum 4 HT to use the NMI.
> 
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
> 
> --- linux-2.6.13-rc6-git10/arch/i386/kernel/nmi.c.orig	2005-08-18 21:51:11.000000000 -0400
> +++ linux-2.6.13-rc6-git10/arch/i386/kernel/nmi.c	2005-08-18 21:52:03.000000000 -0400
> @@ -195,7 +195,7 @@ static void disable_lapic_nmi_watchdog(v
>  			wrmsr(MSR_P6_EVNTSEL0, 0, 0);
>  			break;
>  		case 15:
> -			if (boot_cpu_data.x86_model > 0x3)
> +			if (boot_cpu_data.x86_model > 0x4)
>  				break;
>  
>  			wrmsr(MSR_P4_IQ_CCCR0, 0, 0);
> @@ -432,7 +432,7 @@ void setup_apic_nmi_watchdog (void)
>  			setup_p6_watchdog();
>  			break;
>  		case 15:
> -			if (boot_cpu_data.x86_model > 0x3)
> +			if (boot_cpu_data.x86_model > 0x4)
>  				return;
>  
>  			if (!setup_p4_watchdog())

  reply	other threads:[~2005-08-19  3:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-19  1:59 Steven Rostedt
2005-08-19  3:23 ` Andrew Morton [this message]
2005-08-19  3:34   ` [PATCH] " Steven Rostedt
2005-08-19  3:41   ` Zwane Mwaikambo
2005-08-19 11:21   ` Philippe Elie
2005-08-19 10:12 Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050818202300.254410f4.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®