Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1237434
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Yingjoe Chen <yingjoe.chen@mediatek.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 3/5] ARM: mediatek: add smp bringup code |
| Date | Thu, 01 Oct 2015 15:50:02 +0200 |
| Message-ID | <qeMpc-66l-9@gated-at.bofh.it> (permalink) |
| References | <qcgMN-7bv-1@gated-at.bofh.it> <qcgWu-7mP-11@gated-at.bofh.it> <qcU7w-4qo-3@gated-at.bofh.it> |
| X-Original-To | Russell King - ARM Linux <linux@arm.linux.org.uk> |
| X-Listener-Flag | 11101 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.2.3-0ubuntu6 |
| Content-Transfer-Encoding | 7bit |
| MIME-Version | 1.0 |
| X-Mtk | N |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Matthias Brugger <matthias.bgg@gmail.com>, <devicetree@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>, Stephen Boyd <sboyd@codeaurora.org>, <linux-kernel@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, <linux-mediatek@lists.infradead.org>, Sascha Hauer <kernel@pengutronix.de>, Olof Johansson <olof@lixom.net>, <srv_heupstream@mediatek.com>, <linux-arm-kernel@lists.infradead.org> |
| X-Original-Date | Thu, 1 Oct 2015 21:45:49 +0800 |
| X-Original-Message-ID | <1443707149.22188.1.camel@mtksdaap41> |
| X-Original-References | <1443109140-5406-1-git-send-email-yingjoe.chen@mediatek.com> <1443109140-5406-4-git-send-email-yingjoe.chen@mediatek.com> <20150926093835.GA20255@n2100.arm.linux.org.uk> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1237434 |
Show key headers only | View raw
On Sat, 2015-09-26 at 10:38 +0100, Russell King - ARM Linux wrote:
> On Thu, Sep 24, 2015 at 11:38:58PM +0800, Yingjoe Chen wrote:
> > +struct mtk_smp_boot_info {
> > + unsigned long smp_base;
> ...
> > +static const struct mtk_smp_boot_info mtk_mt8135_tz_boot = {
> > + 0x80002000, 0x3fc,
> ...
> > +static const struct mtk_smp_boot_info mtk_mt6589_boot = {
> > + 0x10002000, 0x34,
> ...
> > + if (trustzone) {
> > + /* smp_base(trustzone-bootinfo) is reserved by device tree */
> > + mtk_smp_base = phys_to_virt(mtk_smp_info->smp_base);
>
> I can't say whether this is correct or not, as we've got rid of most of
> the information that would allow me to make that decision.
>
> The address passed to phys_to_virt() _must_ be one which is mapped by
> the kernel as lowmem. I've no idea if the above would fall into that
> category though.
>
Currently only mt8127/mt8135 trustzone firmware use this reserve
location. The reserved memory is before kernel code, so it will
definitely in lowmem.
Joe.C
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/5] Add SMP bringup support for mt65xx socs Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:40 +0200
[PATCH v4 2/5] devicetree: bindings: add new SMP enable method Mediatek SoC Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:50 +0200
Re: [PATCH v4 2/5] devicetree: bindings: add new SMP enable method Mediatek SoC Rob Herring <robherring2@gmail.com> - 2015-09-28 19:50 +0200
[PATCH v4 3/5] ARM: mediatek: add smp bringup code Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:50 +0200
Re: [PATCH v4 3/5] ARM: mediatek: add smp bringup code Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-26 11:40 +0200
Re: [PATCH v4 3/5] ARM: mediatek: add smp bringup code Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-01 15:50 +0200
[PATCH v4 5/5] ARM: dts: mt8127: enable basic SMP bringup for mt8127 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:50 +0200
[PATCH v4 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:50 +0200
Re: [PATCH v4 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-25 07:50 +0200
[PATCH v4 1/5] ARM: mediatek: enable gpt6 on boot up to make arch timer working Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-09-24 17:50 +0200
csiph-web