Re: [PATCH] libata: use ATAPI dma even for data transfers not aligned to 16 bytes

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

 



On Mon, 16 Jun 2008 16:26:44 +0900
Tejun Heo <tj@xxxxxxxxxx> wrote:

> Most ATAPI DMA failures are due to controller issues including choking
> on data buffer w/o proper padding or draining areas and should be
> worked around in LLDs.  The default 16 byte alignment check in
> ata_check_atapi_dma() only partially hides problems (well, that was
> the conclusion back then, at least).

You need to modify some of the drivers before you can remove this check
now. At least AMD, and probably nvidia (but who knows) require 4
byte alignment for internal buffering unless you reconfigure the FIFO
(actually we should be using inl/outl as well in the AMD case it seems -
docs are not 100% clear). I'm currently investigating this bit.

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux