public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] disabling d-cache in 'bootelf' for QNX
Date: Thu, 03 Jan 2008 17:45:58 +0100	[thread overview]
Message-ID: <20080103164558.B688F2476F@gemini.denx.de> (raw)
In-Reply-To: Your message of "Thu, 03 Jan 2008 11:30:25 +0100." <477CB941.2020001@semihalf.com>

Dear Rafal,

in message <477CB941.2020001@semihalf.com> you wrote:
> 
> Indeed, in certain cases it does actually (e.g. 86xx), but it's not uniform
> unfortunatelly. In my case (85xx) dcache_disable() does not flush the cache
> before disabling.

I consider this a bug in the 85xx code, then. The bug should be fixed,
and not worked around it.

> Yeah, after a second thought I tend to agree. Maybe the way to go is doing
> data cache flush from within dcache_disable() properly i.e. bring it in for
> arch variations that don't do it currently like 85xx... Actually to confirm my
> observations I tested a working patch that flushes d-cache at cache_disable()
> just like 86xx and it works for me, this is: my problems disappear. Do you
> think this is a better option?

Yes, indeed.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human race has one really effective weapon, and that is laughter.
                                                         - Mark Twain

      parent reply	other threads:[~2008-01-03 16:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 17:40 [U-Boot-Users] disabling d-cache in 'bootelf' for QNX Rafal Jaworowski
2008-01-03 10:16 ` Stefan Roese
2008-01-03 10:30   ` Rafal Jaworowski
2008-01-03 11:12     ` Stefan Roese
2008-01-05 22:18       ` Rafal Jaworowski
2008-01-06  1:58         ` Josh Boyer
2008-01-06 14:11           ` Rafal Jaworowski
2008-01-07  9:14             ` Matthias Fuchs
2008-01-07  9:35               ` Stefan Roese
2008-01-03 16:45     ` Wolfgang Denk [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=20080103164558.B688F2476F@gemini.denx.de \
    --to=wd@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox