linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sudeep.holla@arm.com (Sudeep Holla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: move cpu_resume() to .text section
Date: Tue, 24 Mar 2015 17:23:52 +0000	[thread overview]
Message-ID: <55119DA8.1000707@arm.com> (raw)
In-Reply-To: <1427213430-28463-2-git-send-email-ard.biesheuvel@linaro.org>



On 24/03/15 16:10, Ard Biesheuvel wrote:
> Move cpu_resume() to the .text section where it belongs. Change
> the adr reference to sleep_save_sp to an explicit PC relative
> reference so sleep_save_sp itself can remain in .data.
>
> This helps prevent linker failure on large kernels, as the code
> in the .data section may be too far away to be in range for normal
> b/bl instructions.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

(Tested on Vexpress TC2 with CPUIdle enabled)
Tested-by: Sudeep Holla <sudeep.holla@arm.com>

Regards,
Sudeep

  parent reply	other threads:[~2015-03-24 17:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 16:10 [PATCH 0/3] ARM: move cpu_resume() to .text section Ard Biesheuvel
2015-03-24 16:10 ` [PATCH 1/3] " Ard Biesheuvel
2015-03-24 16:27   ` Nicolas Pitre
2015-03-24 17:23   ` Sudeep Holla [this message]
2015-03-24 16:10 ` [PATCH 2/3] ARM: exynos: move resume code " Ard Biesheuvel
2015-03-24 16:33   ` Nicolas Pitre
2015-03-24 16:34     ` Ard Biesheuvel
2015-03-24 16:10 ` [PATCH 3/3] ARM: s5pv210: " Ard Biesheuvel
2015-03-24 16:36   ` Nicolas Pitre

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=55119DA8.1000707@arm.com \
    --to=sudeep.holla@arm.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 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).