From: Ian Campbell <ian.campbell@citrix.com>
To: Suriyan Ramasami <suriyan.r@gmail.com>
Cc: keir@xen.org, julien.grall@linaro.org, tim@xen.org,
xen-devel@lists.xen.org, jbeulich@suse.com,
ian.jackson@citrix.com
Subject: Re: [PATCH v4 1/1] Support Odroid-XU board (Exynos 5410)
Date: Tue, 26 Aug 2014 22:01:52 +0100 [thread overview]
Message-ID: <1409086912.28009.43.camel@citrix.com> (raw)
In-Reply-To: <1408490361-308-1-git-send-email-suriyan.r@gmail.com>
On Tue, 2014-08-19 at 16:19 -0700, Suriyan Ramasami wrote:
> +static int __init exynos5250_smp_init(void)
> +{
> + return exynos_smp_init(EXYNOS5250_PA_SYSRAM);
> +}
> +
> +static int __init exynos5_smp_init(void)
> +{
> + struct dt_device_node *node;
> + u64 sysram_ns_base_addr;
> + u64 size;
> + int rc;
> +
> + node = dt_find_compatible_node(NULL, NULL, "samsung,exynos4210-sysram-ns");
Looking at Documentation/devicetree/bindings/arm/exynos/smp-sysram.txt
in the Linx tree it seems that this node is supposed to be present on
all systems, including 5250 and it seems to be present in all the DTBs I
can see.
IOW I think exynos5_smp_init and exynos5250_smp_init can just be
exynos5_smp_init (perhaps even folding in exynos_smp_init too).
I'm unsure whether we should fallback to the existing PA_SYSRAM value,
but my initial feeling is that we can get away without.
My only concern is that right now EXYNOS5250_PA_SYSRAM == 0x02020000 but
the DTB contains:
sysram@02020000 {
[...]
smp-sysram@0 {
[...]
smp-sysram@2f000 {
compatible = "samsung,exynos4210-sysram-ns";
reg = <0x2f000 0x1000>;
};
};
IOW I think the final address for the NS sysram will be 0x204f000 and
not 0x2020000. I'm confused how this work{s,ed}. since the DT seem to
suggest that the sysram at 0x2020000 is secure mode, so we can't be
using it.
Ian.
next prev parent reply other threads:[~2014-08-26 21:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 23:19 [PATCH v4 1/1] Support Odroid-XU board (Exynos 5410) Suriyan Ramasami
2014-08-21 22:21 ` Ian Campbell
2014-08-25 21:45 ` Suriyan Ramasami
2014-08-25 22:06 ` Suriyan Ramasami
2014-08-26 17:34 ` Ian Campbell
2014-08-26 21:01 ` Ian Campbell [this message]
2014-08-27 19:27 ` Suriyan Ramasami
2014-09-03 10:03 ` Ian Campbell
2014-09-03 17:55 ` Suriyan Ramasami
2014-09-03 18:25 ` Julien Grall
2014-09-03 19:07 ` Suriyan Ramasami
2014-09-03 19:15 ` Julien Grall
[not found] ` <1409821081.15505.44.camel@kazak.uk.xensource.com>
2014-09-04 15:44 ` Suriyan Ramasami
2014-09-04 15:51 ` Ian Campbell
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=1409086912.28009.43.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien.grall@linaro.org \
--cc=keir@xen.org \
--cc=suriyan.r@gmail.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).