RE: [PATCH] mptsas: fix dma alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, September 08, 2009 8:23 AM,  James Bottomley wrote:
> On Tue, 2009-09-08 at 13:49 +0530, Desai, Kashyap wrote:
> > After seeing original commit from James, this patch looks OK to me.
> > Please consider this patch as ACKed by me.
> 
> If you're sure it's a problem.  The reason for the original 
> was that all
> DMA engines (including the old LSI 1010) can transfer on word
> boundaries.  I didn't realise the 1030 had regressed in terms of DMA
> alignment requirements.
> 

James, correct.  The scatter gather elements themselfs have to be on 4 byte boundary.    Thus I don't believe this patch is required.

However the alignment restrictions are for Request Message Frames, chains, and sense buffer can't cross 4GB boundary.  The reason is the driver reports the upper 32bit address in the ioc_init request at driver load time.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux