From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common/memsize.c: restore content of the base address
Date: Wed, 06 Dec 2017 22:06:08 +0100 [thread overview]
Message-ID: <20171206210608.925B51205D9@gemini.denx.de> (raw)
In-Reply-To: <1512575263-23010-1-git-send-email-patrick.delaunay@st.com>
Dear Patrick,
In message <1512575263-23010-1-git-send-email-patrick.delaunay@st.com> you wrote:
> In function get_ram_size() and for 2 last cases the content of
> the base address (*base) is not restored even it is
> correctly saved in stack (in save[i]).
>
> This patch solved this issue.
> The content of the base address is saved in new variable
> in stack (save_base) to avoid the need of other information
> (value of i) and restored in all the cases.
What exactly is the problem you are trying to fix? How exactly does
it manifest for you?
On which boards/architectures did you observe this problem, and on
which did you actually test your patch?
How exactly is your memory mapped and tested on the boards where
your patch fixes a problem?
The thing is, that this "fix" comes up again and again wevery coplu
of months / years, and IIRC so far all these patches broke some
system, while the code as is has been working fine of many systems.
See for example commit b8496cce and revert in 3ab270d5 in 2012, or
commit 8e7cba04 and revert in cc8d698f in 2016.
See also the threads starting at
Subject: [U-Boot-Users] memsize.c patch
From: "Sangmoon Kim" <dogoil@etinsys.com>
Date: Fri, 2 Apr 2004 13:08:50 +0900
and
Subject: [PATCH v2] memsize: Fix for bug in memory sizing code
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Tue, 21 Oct 2014 18:49:13 +0200
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
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
A supercomputer is a machine that runs an endless loop in 2 seconds.
next prev parent reply other threads:[~2017-12-06 21:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 15:47 [U-Boot] [PATCH] common/memsize.c: restore content of the base address Patrick Delaunay
2017-12-06 21:06 ` Wolfgang Denk [this message]
2017-12-07 15:48 ` Patrick DELAUNAY
2017-12-07 17:26 ` Wolfgang Denk
2017-12-08 15:12 ` Patrick DELAUNAY
2017-12-09 20:04 ` Wolfgang Denk
2017-12-13 13:45 ` Patrick DELAUNAY
2017-12-14 11:30 ` Wolfgang Denk
2017-12-14 13:17 ` Patrick DELAUNAY
2017-12-21 9:14 ` Wolfgang Denk
2018-01-25 17:06 ` Patrick DELAUNAY
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=20171206210608.925B51205D9@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