From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: PJ4: move coprocessor register access sequences to iwmmxt.S
Date: Fri, 13 Nov 2015 10:48:07 -0800 [thread overview]
Message-ID: <20151113184807.GA21047@codeaurora.org> (raw)
In-Reply-To: <1447397933-13379-1-git-send-email-ard.biesheuvel@linaro.org>
On 11/13, Ard Biesheuvel wrote:
> The PJ4 inline asm sequences in pj4-cp0.c cannot be built in Thumb-2 mode,
> due to the way it performs arithmetic on the program counter, so it is
> built in ARM mode instead. However, building C files in ARM mode under
> CONFIG_THUMB2_KERNEL is problematic, since the instrumentation performed
> by subsystems like ftrace does not expect having to deal with interworking
> branches.
>
> So instead, revert to building pj4-cp0.c in Thumb-2 mode, and move the
> offending sequence to iwmmxt.S, which is not instrumented anyway, and is
> already built in ARM mode unconditionally.
>
> Reported-by: Stephen Boyd <sboyd@codeaurora.org>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-11-13 18:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 6:58 [PATCH] ARM: PJ4: move coprocessor register access sequences to iwmmxt.S Ard Biesheuvel
2015-11-13 18:48 ` Stephen Boyd [this message]
2015-11-13 19:23 ` Ard Biesheuvel
2015-12-17 10:27 ` Russell King - ARM Linux
2015-12-17 10:31 ` Ard Biesheuvel
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=20151113184807.GA21047@codeaurora.org \
--to=sboyd@codeaurora.org \
--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.