On Mon, Nov 03, 2014 at 10:34:46AM +0100, Maxime Ripard wrote: > What I mean is that since you are saying that drivers should do the > kmap themselves, then *all* of the drivers are broken if they are not > using it. And all of them are missing this kmap.
kmap is used by the software implementations to map the input/output into virtual address space. Drivers typically use DMA and operate on physical addresses so they don't need kmap. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/