From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] ARM926ejs: Add routines to invalidate D-Cache
Date: Wed, 10 Aug 2011 09:13:25 +0200 [thread overview]
Message-ID: <201108100913.25489.marek.vasut@gmail.com> (raw)
In-Reply-To: <4E422836.10104@atmel.com>
On Wednesday, August 10, 2011 08:41:58 AM Hong Xu wrote:
> Hi Albert,
>
> On 08/10/2011 02:36 PM, Albert ARIBAUD wrote:
> > Hi Hong Xu,
> >
> > Le 10/08/2011 08:17, Hong Xu a ?crit :
> >> There are some ARM926 specific code in arch/arm/lib/cache.c; So I also
> >> put the stuff there. ;-) I think Albert Aribaud or the original
> >> contributor of cache part shall have clearer view.So, I'll keep neutral
> >> to hear more ideas.
> >
> > Basically, cache operations are CP15 commands which are defined for each
> > ARM architecture, not for each ISA, so Marek is right about the best
> > place for this being in arm926ejs. Actually, I think
> > arch/arm/lib/cache.c should only contain the weak defaults (i.e., no
> > real cache action) and each architecture should provide overrides to the
> > defaults. Currently this is almost the case, with (apart from arm926ejs
> > which you're already touching) only one arm1136 specific implementation
> > to move.
> >
> > So please move the arm926ejs specific implementations to
> > arch/arm/cpu/arm926ejs/cache.c as suggested by Marek, keeping only the
> > weak default in arch/arm/lib/cache.c.
>
> Ok, I'll manage a basic version for review.
Can you also make a separate patch for the arm1136 possibly (to move the stuff
from lib/cache.c)?
Anyway, thanks a lot for your endurance.
>
> Thanks
>
> BR,
> Eric
>
> > Amicalement,
next prev parent reply other threads:[~2011-08-10 7:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 2:49 [U-Boot] [PATCH v4] ARM926ejs: Add routines to invalidate D-Cache Hong Xu
2011-08-10 5:52 ` Marek Vasut
2011-08-10 5:56 ` Heiko Schocher
2011-08-10 6:17 ` Hong Xu
2011-08-10 6:36 ` Albert ARIBAUD
2011-08-10 6:41 ` Hong Xu
2011-08-10 7:13 ` Marek Vasut [this message]
2011-08-11 7:02 ` Aneesh V
2011-08-11 7:30 ` Marek Vasut
2011-08-12 9:57 ` Albert ARIBAUD
2011-08-12 10:04 ` Marek Vasut
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=201108100913.25489.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/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.