Re: [PATCH] spi: Fix per-page mapping of unaligned vmalloc-ed buffer

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

 



On Tue, Jun 30, 2015 at 06:37:07PM +0300, Andrew Gabbasov wrote:

> > The caller is supposed to be providing us with aligned memory here.
> > However it could be helpful to do this so...

> Well, actually the rest of spi code does not rely on having a transfer
> buffer
> page-aligned. And I don't see any reason to make such an assumption here.
> Especially that it is not fulfilled, at least by ubifs code.
> Anyway, this fix seems to be useful indeed.

The requirement comes more from the underlying DMA code than from SPI
itself, SPI mostly doesn't care.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux