From: van.freenix@gmail.com (Peng Fan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: Do not overwrite __machine_arch_type
Date: Tue, 19 Aug 2014 16:12:23 +0800 [thread overview]
Message-ID: <53F306E7.8020701@gmail.com> (raw)
In-Reply-To: <20140819074344.GA30401@n2100.arm.linux.org.uk>
On 08/19/2014 03:43 PM, Russell King - ARM Linux wrote:
> On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote:
>> If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0.
>> The value of __machine_arch_type is passsed from bootloader using reigster
>> r1, and assigned in head-common.S. Remove this line to avoid overwrite it.
>
> No. The idea here is that the machine_is_xxx() methods are not used when
> using DT, so this disables them.
>
Got it. Thanks.
Regards,
Peng.
WARNING: multiple messages have this Message-ID (diff)
From: Peng Fan <van.freenix@gmail.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Rob Herring <robh@kernel.org>,
Laura Abbott <lauraa@codeaurora.org>,
Mark Rutland <mark.rutland@arm.com>,
Santosh Shilimkar <santosh.shilimkar@ti.com>,
Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>,
Stephen Boyd <sboyd@codeaurora.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm: Do not overwrite __machine_arch_type
Date: Tue, 19 Aug 2014 16:12:23 +0800 [thread overview]
Message-ID: <53F306E7.8020701@gmail.com> (raw)
In-Reply-To: <20140819074344.GA30401@n2100.arm.linux.org.uk>
On 08/19/2014 03:43 PM, Russell King - ARM Linux wrote:
> On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote:
>> If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0.
>> The value of __machine_arch_type is passsed from bootloader using reigster
>> r1, and assigned in head-common.S. Remove this line to avoid overwrite it.
>
> No. The idea here is that the machine_is_xxx() methods are not used when
> using DT, so this disables them.
>
Got it. Thanks.
Regards,
Peng.
next prev parent reply other threads:[~2014-08-19 8:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 3:21 [PATCH] arm: Do not overwrite __machine_arch_type Peng Fan
2014-08-19 3:21 ` Peng Fan
2014-08-19 7:43 ` Russell King - ARM Linux
2014-08-19 7:43 ` Russell King - ARM Linux
2014-08-19 8:12 ` Peng Fan [this message]
2014-08-19 8:12 ` Peng Fan
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=53F306E7.8020701@gmail.com \
--to=van.freenix@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 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.