Messages in this thread | | | Date | Mon, 3 Nov 2014 18:35:28 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator |
| |
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 <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |