All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <dvrabel@cantab.net>
To: jbowler@acm.org
Cc: "'Deepak Saxena'" <dsaxena@plexity.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.6.14-rc3 ixp4xx_copy_from little endian/alignment
Date: Fri, 28 Oct 2005 21:34:08 +0100	[thread overview]
Message-ID: <43628B40.50902@cantab.net> (raw)
In-Reply-To: <003d01c5dbdd$25ef6af0$1001a8c0@kalmiopsis>

John Bowler wrote:
> 
>>Also, I've noticed that the PCI_CSR is mis-configured when the XScale 
>>core is in little-endian mode.  ABE (AHB is big-endian) /must/ always be 
>>set -- remember that the NPEs are always big-endian devices.
> 
> 
> This doesn't affect the flash (we've verified that - i.e. *with* the
> patch the flash works in LE regardless of the patch for the PCI_CSR
> setting).

Now that you mention it I do remember seeing this patch floating around.

>>Since I'd never run an IXP4xx in little-endian mode I've not looked at 
>>this issue in any great depth so I could be wrong here.  Regardless, the 
>>proposed hack to the flash map driver is wrong since all expansion bus 
>>peripherals are affected not just flash (i.e., the solution needs to be 
>>more generic rather than flash driver specific).
> 
> 
> No, that's incorrect.  The patch has been demonstrated to be correct with
> all devices (along with the PCI_CSR patch, which Deepak has already pushed
> upstream).  I.e. *without* the patch everything works (BE and LE) except
> the flash is unuseable, *with* the patch the flash works too.

It appears that the NSLU2 only has the flash on the expansion bus which 
is why you believe it's a flash specific problem.

> So I'm effectively saying we need data coherency in the flash, but what we
> have in everything *else* is working just find with address coherency.

Data coherency can be set on a per 1 Mibyte page basis so all other (APB 
and PCI) peripherals would continue to use address coherency and thus 
would continue to function as they are now.

David Vrabel

  reply	other threads:[~2005-10-28 20:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28  6:09 [PATCH] 2.6.14-rc3 ixp4xx_copy_from little endian/alignment John Bowler
2005-10-28  8:13 ` Lennert Buytenhek
2005-10-28 12:40 ` David Vrabel
2005-10-28 16:32   ` John Bowler
2005-10-28 20:34     ` David Vrabel [this message]
2005-10-29  0:16       ` John Bowler

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=43628B40.50902@cantab.net \
    --to=dvrabel@cantab.net \
    --cc=dsaxena@plexity.net \
    --cc=jbowler@acm.org \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.