lkml.org 
[lkml]   [2002]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel Panic during memcpy_toio to PCI card
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.034 / U:2.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site