[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171018205422.7fc8cbce@alans-desktop>
Date: Wed, 18 Oct 2017 20:54:22 +0100
From: Alan Cox <gnomes@...rguk.ukuu.org.uk>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: Huacai Chen <chenhc@...ote.com>, Christoph Hellwig <hch@....de>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Fuxin Zhang <zhangfx@...ote.com>, linux-kernel@...r.kernel.org,
Ralf Baechle <ralf@...ux-mips.org>,
James Hogan <james.hogan@...tec.com>,
linux-mips@...ux-mips.org,
"James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, Tejun Heo <tj@...nel.org>,
linux-ide@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH V8 5/5] libata: Align DMA buffer to
dma_get_cache_alignment()
> This function is called only for the PIO mode commands, so I doubt this is
> necessary...
That is true but there are platforms out there that issue disk level PIO
commands via DMA (or can do so). Indeed the Cyrix MediaGX could do that
in the 1990s but I never add support 8)
So I think it makes sense to allocate the buffers DMA aligned, but it
doesn't seem to explain the situation in this case and I think it would
be helpful to know what platform and ATA driver is tripping this and wny
they are the only people in the universe to have the problem.
Alan
Powered by blists - more mailing lists