Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2014-11-03 10:36:38
Also in:
linux-arm-kernel, linux-crypto, lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2014-11-03 10:36:38
Also in:
linux-arm-kernel, linux-crypto, lkml
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 [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt