RE: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-15 Thread Wang, Yalin
ail.com'; 'linux...@kvack.org'; 'Joe Perches'; 'linux-arm- > ker...@lists.infradead.org' > Subject: Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction > > On Fri, Jan 09, 2015 at 08:40:56PM +0800, Wang, Yalin wrote: > > Oh, I s

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-14 Thread Russell King - ARM Linux
On Fri, Jan 09, 2015 at 08:40:56PM +0800, Wang, Yalin wrote: > Oh, I see, > How about change like this: > + select HAVE_ARCH_BITREVERSE if ((CPU_V7M || CPU_V7) && !CPU_V6 && > !CPU_V6K) > I am not sure if I also need add some older CPU types like !CPU_ARM9TDMI &&  > !CPU_ARM940T ? > > Another

RE: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-09 Thread Wang, Yalin
ail.com'; 'linux...@kvack.org'; 'Joe Perches'; 'linux-arm- > ker...@lists.infradead.org' > Subject: Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction > > On Fri, Jan 09, 2015 at 10:16:32AM +0800, Wang, Yalin wrote: > > > -

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-09 Thread Russell King - ARM Linux
rd Biesheuvel'; 'linux-kernel@vger.kernel.org'; > > 'akinobu.m...@gmail.com'; 'linux...@kvack.org'; 'Joe Perches'; 'linux-arm- > > ker...@lists.infradead.org' > > Subject: Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit in

RE: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-08 Thread Wang, Yalin
ail.com'; 'linux...@kvack.org'; 'Joe Perches'; 'linux-arm- > ker...@lists.infradead.org' > Subject: Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction > > On Mon, Nov 17, 2014 at 10:38:58AM +0800, Wang, Yalin wrote: > > Joe ha

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2015-01-08 Thread Russell King - ARM Linux
On Mon, Nov 17, 2014 at 10:38:58AM +0800, Wang, Yalin wrote: > Joe has submitted patches to maintainers, > So we need wait for them to be accepted . I ran these patches through my autobuilder, and while most builds didn't seem to be a problem, the randconfigs found errors: /tmp/ccbiuDjS.s:137: Er

RE: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-16 Thread Wang, Yalin
'linux...@kvack.org'; 'Joe Perches'; 'linux-arm- > ker...@lists.infradead.org' > Subject: Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction > > > Is it possible to build a kernel that support both CPU_V6 and CPU_V7? > > Absolutely it is. > &

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-14 Thread Russell King - ARM Linux
On Fri, Nov 14, 2014 at 10:01:34AM +0800, Wang, Yalin wrote: > > -Original Message- > > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > > Sent: Friday, November 14, 2014 7:53 AM > > To: Wang, Yalin > > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > Thi

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-14 Thread Russell King - ARM Linux
On Thu, Nov 13, 2014 at 05:26:34PM -0800, Joe Perches wrote: > On Fri, 2014-11-14 at 01:18 +, Russell King - ARM Linux wrote: > > On Thu, Nov 13, 2014 at 04:45:43PM -0800, Joe Perches wrote: > > > I think you shouldn't apply these patches or updated > > > ones either until all the current uses

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Takashi Iwai
At Thu, 13 Nov 2014 22:55:09 -0800, Joe Perches wrote: > > On Fri, 2014-11-14 at 07:37 +0100, Takashi Iwai wrote: > > At Thu, 13 Nov 2014 16:05:30 -0800, > > Joe Perches wrote: > > > > > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > > On Fri, Oct 31, 2014 at 01:42:44P

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 07:37 +0100, Takashi Iwai wrote: > At Thu, 13 Nov 2014 16:05:30 -0800, > Joe Perches wrote: > > > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > > This patch add bitrev.h file to su

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Takashi Iwai
At Thu, 13 Nov 2014 16:05:30 -0800, Joe Perches wrote: > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > This patch add bitrev.h file to support rbit instruction, > > > so that we can do bitrev operation by

RE: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Wang, Yalin
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Friday, November 14, 2014 7:53 AM > To: Wang, Yalin > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > This patch add bitrev.h file to support rbit instruction, so that we > > can

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 01:18 +, Russell King - ARM Linux wrote: > On Thu, Nov 13, 2014 at 04:45:43PM -0800, Joe Perches wrote: > > I think you shouldn't apply these patches or updated > > ones either until all the current uses are converted. > > Where are the dependencies mentioned? I mentione

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Russell King - ARM Linux
On Thu, Nov 13, 2014 at 04:45:43PM -0800, Joe Perches wrote: > On Fri, 2014-11-14 at 00:17 +, Russell King - ARM Linux wrote: > > On Thu, Nov 13, 2014 at 04:05:30PM -0800, Joe Perches wrote: > > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > > On Fri, Oct 31, 2014 at

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 00:17 +, Russell King - ARM Linux wrote: > On Thu, Nov 13, 2014 at 04:05:30PM -0800, Joe Perches wrote: > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > > This patch add bitrev.h

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Russell King - ARM Linux
On Thu, Nov 13, 2014 at 04:05:30PM -0800, Joe Perches wrote: > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > This patch add bitrev.h file to support rbit instruction, > > > so that we can do bitrev operation

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Joe Perches
On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > This patch add bitrev.h file to support rbit instruction, > > so that we can do bitrev operation by hardware. > > Signed-off-by: Yalin Wang > > --- > > arch/arm/Kc

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Russell King - ARM Linux
On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > This patch add bitrev.h file to support rbit instruction, > so that we can do bitrev operation by hardware. > Signed-off-by: Yalin Wang > --- > arch/arm/Kconfig | 1 + > arch/arm/include/asm/bitrev.h | 21 +++