linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: greyham@research.canon.com.au (Graham Stoney)
To: darin_smith@adc.com (Darin Smith)
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: io write not working
Date: Fri, 8 Sep 2000 10:52:50 +1100 (EST)	[thread overview]
Message-ID: <20000907235251.14EC412C@elph.research.canon.com.au> (raw)
In-Reply-To: <39B7F7A7.1B36ACBD@adc.com> from "Darin Smith" at Sep 07, 2000 03:16:39 PM


Darin Smith writes:
> Maybe somebody out there sees something obvious that I'm doing / not
> doing?

Did you remember to invalidate the D-cache before trying to access the data
via the CPU?  It sounds like your CPU isn't cache snooping (8xx don't, for
example) the PCI master writes from your device.  I assume your PCI device is
writing directly to a pre-allocated skbuff, which you then pass up to
netif_rx.  The fill pattern may just be is sitting around in the cache, which
explains the symptoms you're seeing.

The other possibility is that your hardware isn't asserting the byte lane
enables on the PCI bus, but my first guess would be a missing call to
invalidate_dcache_range.

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2000-09-07 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-07 20:16 io write not working Darin Smith
2000-09-07 23:52 ` Graham Stoney [this message]

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=20000907235251.14EC412C@elph.research.canon.com.au \
    --to=greyham@research.canon.com.au \
    --cc=darin_smith@adc.com \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).