Re: [PATCH] sparc64: Add CRC32C driver making use of the new crc32c opcode.

2012-08-23 Thread David Miller
From: Herbert Xu Date: Thu, 23 Aug 2012 16:36:54 +0800 > On Wed, Aug 22, 2012 at 08:52:31PM -0700, David Miller wrote: >> >> Signed-off-by: David S. Miller > > Looks good to me. Thanks for reviewing. >> This was largely straightforward, except for two things. >> >> 1) The tests assume that

Re: [PATCH] sparc64: Add CRC32C driver making use of the new crc32c opcode.

2012-08-23 Thread Herbert Xu
On Wed, Aug 22, 2012 at 08:52:31PM -0700, David Miller wrote: > > Signed-off-by: David S. Miller Looks good to me. > This was largely straightforward, except for two things. > > 1) The tests assume that the 32-bit crc is stored in the context in >cpu endian. The sparc64 crc32c opcode want

[PATCH] sparc64: Add CRC32C driver making use of the new crc32c opcode.

2012-08-22 Thread David Miller
Signed-off-by: David S. Miller --- This was largely straightforward, except for two things. 1) The tests assume that the 32-bit crc is stored in the context in cpu endian. The sparc64 crc32c opcode wants to work with a little endian mode, but sparc64 is big-endian. This requirement i