RE: [PATCH 4/5] scsi: ufs: rework link start-up process

2013-04-29 Thread Seungwon Jeon
On Monday, April 29, 2013, Sujit Reddy Thumma wrote: > On 4/29/2013 3:54 PM, Seungwon Jeon wrote: > > On Monday, April 29, 2013, Sujit Reddy Thumma wrote: > >> On 4/26/2013 10:44 AM, Seungwon Jeon wrote: > >>> On Thursday, April 25, 2013 , Sujit Reddy Thumma wrote: > On 4/24/2013 9:36 PM, Seun

Re: [PATCH v2 1/4] Wrap crc_t10dif function all to use crypto transform framework

2013-04-29 Thread Herbert Xu
On Mon, Apr 29, 2013 at 01:40:30PM -0700, Tim Chen wrote: > > If I allocate the transform under the mod init instead, how can I make > sure that the fast version is already registered if I have it compiled > in? It is not clear to me how that's done looking at the libcrc32c > code. This is only

[GIT PULL] target updates for v3.10-rc1

2013-04-29 Thread Nicholas A. Bellinger
Hello Linus! Here are the target pending changes for the v3.10-rc1 merge window. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next-merge The highlights this round include: - Add fileio support for WRITE_SAME w/ UNMAP=1 discard (a

[PATCH]st: clear driver data from struct device when released

2013-04-29 Thread Seymour, Shane M
Patch to clear driver specific data from struct device associated with a tape drive when released by st unload or because there was a problem attaching to the device. Currently set in st_probe but never cleared. Signed-off-by: Shane Seymour Tested-by: Shane Seymour --- diff -uprN linux-3.9-vanil

RE: [PATCH RESEND^2] sd: fix infinite kernel/udev loop on non-removable Medium Not Present

2013-04-29 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Steven J. Magnani > Sent: Monday, 29 April, 2013 3:46 PM > To: James Bottomley > Cc: Tejun Heo; linux-ker...@vger.kernel.org; linux-scsi@vger.kernel.org; > sta...@vger.k

Re: [PATCH 10/21] [SCSI] nsp32: use mdelay instead of large udelay constants

2013-04-29 Thread Masanori Goto
Oops, you're absolutely correct. Thanks for the follow up! Please change it as follow as you mentioned: Acked-by: GOTO Masanori Best regrads, -- gotom 2013/4/29 Arnd Bergmann : > On Friday 26 April 2013, Masanori Goto wrote: >> 2013/4/25 Arnd Bergmann >> > >> > ARM cannot handle udelay for m

Re: [PATCH RESEND^2] sd: fix infinite kernel/udev loop on non-removable Medium Not Present

2013-04-29 Thread Steven J. Magnani
On Fri, 2013-04-26 at 10:30 -0700, James Bottomley wrote: On Fri, 2013-04-26 at 11:39 -0500, Steven J. Magnani wrote: > > Commit eface65c336eff420d70beb0fb6787a732e05ffb (2.6.38) altered > > set_media_not_present() in a way that prevents the sd driver from > > remembering that a non-removable devic

Re: [PATCH v2 1/4] Wrap crc_t10dif function all to use crypto transform framework

2013-04-29 Thread Tim Chen
On Sun, 2013-04-28 at 08:11 +0800, Herbert Xu wrote: > On Fri, Apr 26, 2013 at 09:44:17AM -0700, Tim Chen wrote: > > > > + old_tfm = crct10dif_tfm; > > + crc_t10dif_newalg = true; > > + /* make sure new alg flag is turned on before starting to switch tfm */ > > + mb(); > > + > > + new_tfm

Re: "WRITE SAME failed. Manually zeroing" with 3w-xxxx driver

2013-04-29 Thread Florian Westphal
Martin K. Petersen wrote: > Florian> After update to 3.8 dmesg is spammed with: kernel: [ > Florian> 280.272094] 3w-: scsi8: Unknown scsi opcode: 0x41 kernel: [ > Florian> 280.272107] sd 8:0:0:0: [sda] Unhandled error code kernel: > > Interesting. It looks like the 3ware handles this at the

Re: "WRITE SAME failed. Manually zeroing" with 3w-xxxx driver

2013-04-29 Thread Martin K. Petersen
> "Florian" == Florian Westphal writes: Florian> After update to 3.8 dmesg is spammed with: kernel: [ Florian> 280.272094] 3w-: scsi8: Unknown scsi opcode: 0x41 kernel: [ Florian> 280.272107] sd 8:0:0:0: [sda] Unhandled error code kernel: Interesting. It looks like the 3ware handles thi

"WRITE SAME failed. Manually zeroing" with 3w-xxxx driver

2013-04-29 Thread Florian Westphal
After update to 3.8 dmesg is spammed with: kernel: [ 280.272094] 3w-: scsi8: Unknown scsi opcode: 0x41 kernel: [ 280.272107] sd 8:0:0:0: [sda] Unhandled error code kernel: [ 280.272110] sd 8:0:0:0: [sda] kernel: [ 280.272112] Result: hostbyte=0x04 driverbyte=0x00 kernel: [ 280.272114] sd 8:0:0

Re: [PATCH 10/21] [SCSI] nsp32: use mdelay instead of large udelay constants

2013-04-29 Thread Arnd Bergmann
On Friday 26 April 2013, Masanori Goto wrote: > 2013/4/25 Arnd Bergmann > > > > ARM cannot handle udelay for more than 2 miliseconds, so we > > should use mdelay instead for those. > > > > Singed-off-by: GOTO Masanori Thanks. I assume you mean "Acked-by", not "Singed-off" as in "burnt" or "Sign

Re: [PATCH 4/5] scsi: ufs: rework link start-up process

2013-04-29 Thread Sujit Reddy Thumma
On 4/29/2013 3:54 PM, Seungwon Jeon wrote: On Monday, April 29, 2013, Sujit Reddy Thumma wrote: On 4/26/2013 10:44 AM, Seungwon Jeon wrote: On Thursday, April 25, 2013 , Sujit Reddy Thumma wrote: On 4/24/2013 9:36 PM, Seungwon Jeon wrote: Link start-up requires long time with multiphase hands

RE: [PATCH 4/5] scsi: ufs: rework link start-up process

2013-04-29 Thread Seungwon Jeon
On Monday, April 29, 2013, Sujit Reddy Thumma wrote: > On 4/26/2013 10:44 AM, Seungwon Jeon wrote: > > On Thursday, April 25, 2013 , Sujit Reddy Thumma wrote: > >> On 4/24/2013 9:36 PM, Seungwon Jeon wrote: > >>> Link start-up requires long time with multiphase handshakes > >>> between UFS host and