From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: fix regression in ixp4xx clocksource
Date: Sun, 26 Jun 2011 15:08:43 +0200 [thread overview]
Message-ID: <m3aad4pwo4.fsf@intrepid.localdomain> (raw)
In-Reply-To: <19955.20458.788309.51588@pilspetsen.it.uu.se> (Mikael Pettersson's message of "Sat, 11 Jun 2011 13:22:18 +0200")
Mikael Pettersson <mikpe@it.uu.se> writes:
> ARM cores often have software-controllable endianess (see the ARM ARM).
> Off the top of my head:
> - ixp4xx: natively BE core and peripherals, but some people like to
> switch the core to LE for user-space SW compatibility reasons
> (I run my ixp4xx in BE as intended though)
Ok I'm back to work.
IXP4xx have some problems working in LE mode, namely:
- the network drivers (at least Ethernet and HSS) have to swap buffers
because the NPE (network coprocessors) are BE,
- the hw crypto stuff doesn't mostly work on LE - parts work, but the
rest seems to be broken in firmware (NPE microcode) - or so it seems
(swapping the data buffers would work).
There is a special hardware in IXP4xx which makes it possible to
effectively switch the NPEs to LE. Unfortunately the first CPU revision
(IXP42x rev. A0) doesn't support it. And while I have the code working,
it's not "yet" upstream.
In short:
- all IXP4xx can work BE,
- IXP42x rev. A0 can work LE with impaired network transfers and hw
crypto,
- later IXP4xx can work "fully" LE (not upstream).
--
Krzysztof Halasa
next prev parent reply other threads:[~2011-06-26 13:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 8:43 [PATCH] arm: fix regression in ixp4xx clocksource Richard Cochran
2011-06-01 15:08 ` Krzysztof Halasa
2011-06-01 17:02 ` Richard Cochran
2011-06-06 8:43 ` Krzysztof Halasa
2011-06-01 22:58 ` Russell King - ARM Linux
2011-06-01 23:09 ` Thomas Gleixner
2011-07-04 9:21 ` Thomas Gleixner
2011-07-07 6:59 ` Krzysztof Halasa
2011-06-11 5:15 ` Richard Cochran
2011-06-11 11:22 ` Mikael Pettersson
2011-06-11 12:49 ` Richard Cochran
2011-06-11 13:18 ` Mikael Pettersson
2011-06-26 13:08 ` Krzysztof Halasa [this message]
2011-06-12 13:51 ` Russell King - ARM Linux
2011-06-13 5:58 ` Richard Cochran
2011-06-26 13:38 ` Krzysztof Halasa
2011-06-28 13:10 ` Richard Cochran
-- strict thread matches above, loose matches on Subject: below --
2011-07-06 21:02 [PATCH] ARM: fix regression in IXP4xx clocksource Krzysztof Halasa
2011-07-06 21:14 ` Russell King - ARM Linux
2011-07-07 7:06 ` Krzysztof Halasa
2011-07-12 8:05 ` Richard Cochran
2011-07-12 8:32 ` Russell King - ARM Linux
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=m3aad4pwo4.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--cc=linux-arm-kernel@lists.infradead.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