From: Will Deacon <will.deacon@arm.com>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: Russell King <linux@arm.linux.org.uk>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
David Daney <david.daney@cavium.com>
Subject: Re: [PATCHv3] ARM: Sort exception table at compile time
Date: Thu, 25 Oct 2012 13:27:55 +0100 [thread overview]
Message-ID: <20121025122754.GF11267@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <1351125882-13046-1-git-send-email-sboyd@codeaurora.org>
On Thu, Oct 25, 2012 at 01:44:42AM +0100, Stephen Boyd wrote:
> Add the ARM machine identifier to sortextable and select the
> config option so that we can sort the exception table at compile
> time. sortextable relies on a section named __ex_table existing
> in the vmlinux, but ARM's linker script places the exception
> table in the data section. Give the exception table its own
> section so that sortextable can find it.
>
> This allows us to skip the sorting step during boot.
>
> Cc: David Daney <david.daney@cavium.com>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
Just had a play with this for my A15 platform and it seems to work fine when
targetting either ARM or Thumb-2 kernels.
Tested-by: Will Deacon <will.deacon@arm.com>
Cheers,
Will
prev parent reply other threads:[~2012-10-25 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-25 0:44 [PATCHv3] ARM: Sort exception table at compile time Stephen Boyd
2012-10-25 12:27 ` Will Deacon [this message]
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=20121025122754.GF11267@mudshark.cambridge.arm.com \
--to=will.deacon@arm.com \
--cc=david.daney@cavium.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=sboyd@codeaurora.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).