crypto: hisilicon/qm - fix the uacce mmap failed
authorKai Ye <yekai13@huawei.com>
Sat, 28 Aug 2021 03:39:38 +0000 (11:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Sep 2021 03:05:11 +0000 (11:05 +0800)
commit8de8d4fe7d5a38e1ded234269f808898e72e9fb2
tree3be6cc4ccc8c870fe66c1d343006a260769b46d0
parentcbbb5f07ab737f868f90d429255d5d644280f6a9
crypto: hisilicon/qm - fix the uacce mmap failed

Allocate an extra memory page for qp. This extra page is
used to set the device or qp status. But this page not
be used currently. Meanwhile it leads to dus size not equal
to mmap size as using uacce sva mode, and cause the app task
broken.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c