From: Stephen Boyd <sboyd@codeaurora.org>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: Russell King <linux@arm.linux.org.uk>,
David Brown <davidb@codeaurora.org>,
lkml <linux-kernel@vger.kernel.org>,
linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs
Date: Sun, 24 Jul 2011 15:40:46 -0700 [thread overview]
Message-ID: <4E2C9F6E.9070207@codeaurora.org> (raw)
In-Reply-To: <alpine.LFD.2.00.1107241548170.1762@xanadu.home>
On 07/24/2011 12:56 PM, Nicolas Pitre wrote:
> On Sun, 24 Jul 2011, Stephen Boyd wrote:
>> +static void __init msm7x30_fixup(struct machine_desc *desc, struct tag *tag,
>> + char **cmdline, struct meminfo *mi)
>> +{
>> + for (; tag->hdr.size; tag = tag_next(tag))
>> + if (tag->hdr.tag == ATAG_MEM && tag->u.mem.start == 0x200000)
>> + tag->u.mem.start = 0;
>> +}
> Don't you need to also increase tag->u.mem.size by 2MB ?
Thanks. I was fixated on the start address.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs
Date: Sun, 24 Jul 2011 15:40:46 -0700 [thread overview]
Message-ID: <4E2C9F6E.9070207@codeaurora.org> (raw)
In-Reply-To: <alpine.LFD.2.00.1107241548170.1762@xanadu.home>
On 07/24/2011 12:56 PM, Nicolas Pitre wrote:
> On Sun, 24 Jul 2011, Stephen Boyd wrote:
>> +static void __init msm7x30_fixup(struct machine_desc *desc, struct tag *tag,
>> + char **cmdline, struct meminfo *mi)
>> +{
>> + for (; tag->hdr.size; tag = tag_next(tag))
>> + if (tag->hdr.tag == ATAG_MEM && tag->u.mem.start == 0x200000)
>> + tag->u.mem.start = 0;
>> +}
> Don't you need to also increase tag->u.mem.size by 2MB ?
Thanks. I was fixated on the start address.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2011-07-24 22:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-24 17:39 [PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs Stephen Boyd
2011-07-24 17:39 ` Stephen Boyd
2011-07-24 19:56 ` Nicolas Pitre
2011-07-24 19:56 ` Nicolas Pitre
2011-07-24 22:40 ` Stephen Boyd [this message]
2011-07-24 22:40 ` Stephen Boyd
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=4E2C9F6E.9070207@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=davidb@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=nico@fluxnic.net \
/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.