mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Marco d'Itri" <md@Linux.IT>
Cc: linux-kernel@vger.kernel.org
Subject: Re: an oops in 2.6-test2 (oops)
Date: Sat, 16 Aug 2003 12:26:40 -0700	[thread overview]
Message-ID: <20030816122640.69650c65.akpm@osdl.org> (raw)
In-Reply-To: <20030816112719.GA1073@wonderland.linux.it>

"Marco d'Itri" <md@Linux.IT> wrote:
>
> I've got another one yesterday:
> 
> ...
> 
> Aug 16 07:26:51 wonderland kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
> ...
> Code;  c015c80a <find_inode_fast+1a/60>   <=====
>    0:   0f 18 02                  prefetchnta (%edx)   <=====

And you'll continue to get them until someone does something about it. 
Discussion seemed to die off on this problem.

Until it is sorted, something like this is needed.


diff -puN include/asm-i386/processor.h~disble-athlon-prefetch include/asm-i386/processor.h
--- 25/include/asm-i386/processor.h~disble-athlon-prefetch	2003-08-16 12:22:32.000000000 -0700
+++ 25-akpm/include/asm-i386/processor.h	2003-08-16 12:23:29.000000000 -0700
@@ -568,6 +568,8 @@ static inline void rep_nop(void)
 #define ARCH_HAS_PREFETCH
 extern inline void prefetch(const void *x)
 {
+	if (current_cpu_data.x86_vendor == X86_VENDOR_AMD)
+		return;
 	alternative_input(ASM_NOP4,
 			  "prefetchnta (%1)",
 			  X86_FEATURE_XMM,

_


  reply	other threads:[~2003-08-16 19:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16 11:27 Marco d'Itri
2003-08-16 19:26 ` Andrew Morton [this message]
2003-08-17 16:47   ` prefetchnta on athlon was: " Mike Fedyk
  -- strict thread matches above, loose matches on Subject: below --
2003-08-08 16:29 Karol 'grzywacz' Nowak
2003-08-12 12:07 ` Marco d'Itri

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=20030816122640.69650c65.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=md@Linux.IT \
    /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

Powered by JetHome