mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Donepudi, Suneeta" <sdonepudi@3eti.com>
To: "'Dave Jones '" <davej@codemonkey.org.uk>,
	"'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: Sat, 2 Nov 2002 14:46:17 -0500	[thread overview]
Message-ID: <EF5625F9F795C94BA28B150706A215480DF84F@MAIL> (raw)



Hi Dave,

I am not sure if the problem is with memcpy_toio() itself because
I found that the kernel crash occurred even when I replaced the
memcpy_xxio() calls with readl() and writel(). The panic occured
during the memory transfer. We tried looking at the PCI bus
using an analyzer but found nothing wrong.

Thanks,
Suneeta 

-----Original Message-----
From: Dave Jones
To: Matt D. Robinson
Cc: Donepudi, Suneeta; 'linux-kernel@vger.kernel.org'
Sent: 11/1/02 6:29 PM
Subject: Re: 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

             reply	other threads:[~2002-11-02 19:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-02 19:46 Donepudi, Suneeta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-01 20:34 Donepudi, Suneeta
2002-11-01 23:28 ` Matt D. Robinson
2002-11-01 23:29   ` Dave Jones
2002-11-02  1:15     ` Alan Cox
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=EF5625F9F795C94BA28B150706A215480DF84F@MAIL \
    --to=sdonepudi@3eti.com \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®