Re: [PATCH] [SCSI] mvsas: Fix the kernel panic due to unaligned data access

2013-06-09 Thread Paul Guo
Ping. Anyone who knows the driver please speak up, either yes or no or need more info. This is a really small fix. Thanks, Paul It's easy to find the address and symbol that causes the unalignd data access according to the stack dump information. The following small patch will fix it. This

[PATCH 2/2] [SCSI] ufs: fix DMA mask setting

2013-06-09 Thread Akinobu Mita
If the controller doesn't support 64-bit addressing mode, it must not set the DMA mask to 64-bit. But it's unconditionally trying to set to 64-bit without checking 64-bit addressing support in the controller capabilities. It was correctly checked before commit

Re: [SCSI] mvsas: Fix the kernel panic due to unaligned data access

2013-06-09 Thread James Bottomley
On Wed, 2013-05-08 at 15:01 +0800, Paul Guo wrote: It's easy to find the address and symbol that causes the unalignd data access according to the stack dump information. The following small patch will fix it. Do you have the panic log? because it sounds like a bug in your platform code. All

[ANNOUNCE] sdparm 1.08 available

2013-06-09 Thread Douglas Gilbert
sdparm is a command line utility designed to get and set SCSI device parameters (cf hdparm for ATA disks). The parameters are held in mode pages. Apart from SCSI devices (e.g. disks, tapes and enclosures) sdparm can be used on any device that uses a SCSI command set. Almost all CD/DVD/BD drives

Re: [PATCH] [SCSI] mvsas: Fix the kernel panic due to unaligned data access

2013-06-09 Thread Paul Guo
Xiangliang, I do not have a chance to test on x86 now. Not sure whether I can find an available environment for x86 testing. But this change is so simple and in theory it is harmless to x86. For architectures which do need aligned data access, they should have the same symptom as arch/tile.

[SCSI] ufs: Add missing dependency on CONFIG_HAS_IOMEM

2013-06-09 Thread Ben Hutchings
The ufs driver doesn't build on s390 with CONFIG_PCI disabled as it requires MMIO functions. Marking for 3.9-stable only as CONFIG_SCSI_UFSHCD was previously dependent on CONFIG_PCI. Signed-off-by: Ben Hutchings b...@decadent.org.uk Cc: sta...@vger.kernel.org # 3.9 --- ---

Re: [PATCH 3/4] scsi: improved eh timeout handler

2013-06-09 Thread Baruch Even
On Thu, Jun 6, 2013 at 12:43 PM, Hannes Reinecke h...@suse.de wrote: When a command runs into a timeout we need to send an 'ABORT TASK' TMF. This is typically done by the 'eh_abort_handler' LLDD callback. Conceptually, however, this function is a normal SCSI command, so there is no need to

[PATCH RESEND] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-09 Thread Gu Zheng
There are four places convert system time in UTC to local time seconds as a time stamp in scsi-subsystem, so we introduce a help function local_time_seconds() to simplify these operations. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- drivers/scsi/3w-9xxx.c | 14 ++

Re: [PATCH 3/4] scsi: improved eh timeout handler

2013-06-09 Thread Hannes Reinecke
On 06/10/2013 02:12 AM, Baruch Even wrote: On Thu, Jun 6, 2013 at 12:43 PM, Hannes Reinecke h...@suse.de wrote: When a command runs into a timeout we need to send an 'ABORT TASK' TMF. This is typically done by the 'eh_abort_handler' LLDD callback. Conceptually, however, this function is a