From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions
Date: Mon, 11 Nov 2013 18:35:56 -0800 [thread overview]
Message-ID: <5281940C.3040705@codeaurora.org> (raw)
In-Reply-To: <20131111074633.GG14892@pengutronix.de>
On 11/10/13 23:46, Uwe Kleine-K?nig wrote:
> Hello,
>
> On Fri, Nov 08, 2013 at 03:00:32PM -0800, Stephen Boyd wrote:
>> diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
>> index bd454b0..38621729 100644
>> --- a/arch/arm/lib/Makefile
>> +++ b/arch/arm/lib/Makefile
>> @@ -15,6 +15,12 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
>> io-readsb.o io-writesb.o io-readsl.o io-writesl.o \
>> call_with_stack.o
>>
>> +lib-$(CONFIG_CPU_V7) += div-v7.o
> CPU_V7M could make use of that, too.
> (If you follow Nico's advice to use runtime patching I cannot test it
> for you on v7-M though as my machine has to use an XIP kernel.)
>
It already is runtime patching so I suspect you won't be able to test it
anyway. I suppose we need another config like MIGHT_HAVE_IDIV or
something that both v7 and v7M select?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org,
"Måns Rullgård" <mans@mansr.com>,
"Russell King - ARM Linux" <linux@arm.linux.org.uk>,
linux-kernel@vger.kernel.org,
"Christopher Covington" <cov@codeaurora.org>,
"Jean-Christophe PLAGNIOL-VILLARD" <plagnioj@jcrosoft.com>
Subject: Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions
Date: Mon, 11 Nov 2013 18:35:56 -0800 [thread overview]
Message-ID: <5281940C.3040705@codeaurora.org> (raw)
In-Reply-To: <20131111074633.GG14892@pengutronix.de>
On 11/10/13 23:46, Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Nov 08, 2013 at 03:00:32PM -0800, Stephen Boyd wrote:
>> diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
>> index bd454b0..38621729 100644
>> --- a/arch/arm/lib/Makefile
>> +++ b/arch/arm/lib/Makefile
>> @@ -15,6 +15,12 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
>> io-readsb.o io-writesb.o io-readsl.o io-writesl.o \
>> call_with_stack.o
>>
>> +lib-$(CONFIG_CPU_V7) += div-v7.o
> CPU_V7M could make use of that, too.
> (If you follow Nico's advice to use runtime patching I cannot test it
> for you on v7-M though as my machine has to use an XIP kernel.)
>
It already is runtime patching so I suspect you won't be able to test it
anyway. I suppose we need another config like MIGHT_HAVE_IDIV or
something that both v7 and v7M select?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-11-12 2:35 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 23:00 [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions Stephen Boyd
2013-11-08 23:00 ` Stephen Boyd
2013-11-09 6:46 ` Matt Sealey
2013-11-09 6:46 ` Matt Sealey
2013-11-09 18:20 ` Måns Rullgård
2013-11-09 18:20 ` Måns Rullgård
2013-11-12 1:23 ` Stephen Boyd
2013-11-12 1:23 ` Stephen Boyd
2013-11-10 5:03 ` Nicolas Pitre
2013-11-10 5:03 ` Nicolas Pitre
2013-11-12 2:34 ` Stephen Boyd
2013-11-12 2:34 ` Stephen Boyd
2013-11-12 11:28 ` Måns Rullgård
2013-11-12 11:28 ` Måns Rullgård
2013-11-12 14:01 ` Nicolas Pitre
2013-11-12 14:01 ` Nicolas Pitre
2013-11-12 14:04 ` Russell King - ARM Linux
2013-11-12 14:04 ` Russell King - ARM Linux
2013-11-12 14:16 ` Nicolas Pitre
2013-11-12 14:16 ` Nicolas Pitre
2013-11-12 14:17 ` Ben Dooks
2013-11-12 14:17 ` Ben Dooks
2013-11-12 14:32 ` Nicolas Pitre
2013-11-12 14:32 ` Nicolas Pitre
2013-11-12 14:40 ` Måns Rullgård
2013-11-12 14:40 ` Måns Rullgård
2013-11-12 14:55 ` Nicolas Pitre
2013-11-12 14:55 ` Nicolas Pitre
2013-11-12 15:20 ` Nicolas Pitre
2013-11-12 15:20 ` Nicolas Pitre
2013-11-12 18:03 ` Måns Rullgård
2013-11-12 18:03 ` Måns Rullgård
2013-11-12 14:22 ` Måns Rullgård
2013-11-12 14:22 ` Måns Rullgård
2013-11-12 14:36 ` Nicolas Pitre
2013-11-12 14:36 ` Nicolas Pitre
2013-11-11 7:46 ` Uwe Kleine-König
2013-11-11 7:46 ` Uwe Kleine-König
2013-11-12 2:35 ` Stephen Boyd [this message]
2013-11-12 2:35 ` 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=5281940C.3040705@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.