]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/sec - fix the process of disabling sva prefetching
authorKai Ye <yekai13@huawei.com>
Sat, 26 Jun 2021 02:50:33 +0000 (10:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Jun 2021 03:28:09 +0000 (11:28 +0800)
commitbe55a9e1aad49c478582d4cdcef4fb28e301bbf9
tree1d4e9380442a2898ee92c81ce7adb6d4b2a3b1d8
parent6fe4d5c624a0a7715033411be25b5dea93a77fd8
crypto: hisilicon/sec - fix the process of disabling sva prefetching

The open interface of the sva prefetching function is distinguish the chip
version. But the close interface of the sva prefetching function doesn't
distinguish the chip version. As a result, the sva prefetching close
operation is also performed on Kunpeng920, those registers are important
on Kunpeng920, which eventually leads to abnormal hardware problems. So
need to fix it immediately.

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