public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@codemonkey.org.uk>
To: "Matt D. Robinson" <yakker@aparity.com>
Cc: "Donepudi, Suneeta" <sdonepudi@3eti.com>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: Kernel Panic during memcpy_toio to PCI card
Date: Fri, 1 Nov 2002 23:29:48 +0000	[thread overview]
Message-ID: <20021101232948.GA7650@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0211011527460.27345-100000@nakedeye.aparity.com>

On Fri, Nov 01, 2002 at 03:28:10PM -0800, Matt D. Robinson wrote:

 >It still caused the crash in the same manner and at the same location.
 >Could someone help me with pointers to where I should start looking ?
 >Disabling interrupts around the memcpy_toio() did not make any
 >difference. Is this a hardware problem with the PCI card ? We are using
 >a Xilinx core with out FPGA build into it.

memcpy_toio() in 2.4 is still using memcpy() which could use prefetch()
if you compile for certain processors.  Prefetching io space could do
all sorts of nasties.

2.5 changed this define (in include/asm-i386/io.h) to use __memcpy
instead, which doesn't use prefetching.

		Dave

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk

  reply	other threads:[~2002-11-01 23:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01 20:34 Kernel Panic during memcpy_toio to PCI card Donepudi, Suneeta
2002-11-01 23:28 ` Matt D. Robinson
2002-11-01 23:29   ` Dave Jones [this message]
2002-11-02  1:15     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2002-11-02 19:46 Donepudi, Suneeta
2002-11-01 20:06 Donepudi, Suneeta

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=20021101232948.GA7650@suse.de \
    --to=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sdonepudi@3eti.com \
    --cc=yakker@aparity.com \
    /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