diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-11-05 17:00:50 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 11:36:57 +0300 |
commit | 462519fc26996a619f7c9cc5f5a34a73934219b9 (patch) | |
tree | e4c519526b17ed5d46ba759429af73ea5086ab8e /drivers/crypto/s5p-sss.c | |
parent | c28817895464797a8299b24e35ead1085b3e40fb (diff) | |
download | linux-462519fc26996a619f7c9cc5f5a34a73934219b9.tar.xz |
crypto: omap-sham - split up data to multiple sg elements with huge data
When using huge data amount, allocating free pages fails as the kernel
isn't able to process get_free_page requests larger than MAX_ORDER.
Also, the DMA subsystem has an inherent limitation that data size
larger than some 2MB can't be handled properly. In these cases,
split up the data instead to smaller requests so that the kernel
can allocate the data, and also so that the DMA driver can handle
the separate SG elements.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions