From patchwork Thu Feb 4 08:59:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Tang X-Patchwork-Id: 376470 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBBC7C433E0 for ; Thu, 4 Feb 2021 09:03:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9072364F48 for ; Thu, 4 Feb 2021 09:03:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234195AbhBDJDI (ORCPT ); Thu, 4 Feb 2021 04:03:08 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:12023 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233876AbhBDJCp (ORCPT ); Thu, 4 Feb 2021 04:02:45 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DWXZc3Xk8zjJnP; Thu, 4 Feb 2021 17:00:40 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Thu, 4 Feb 2021 17:01:49 +0800 From: Hui Tang To: , CC: , , , , Subject: [PATCH 0/4] crypto: hisilicon - some updates to adapt Kunpeng930 Date: Thu, 4 Feb 2021 16:59:32 +0800 Message-ID: <1612429176-28084-1-git-send-email-tanghui20@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 1.Update clusters number for both Kunpeng920 and Kunpeng930. 2.Some bugfixs only on Kunpeng920, so added hardware version wrap. 3.Fix use of 'dma_map_single'. 4.Fix PASID on Kunpeng930. Hui Tang (2): crypto: hisilicon/hpre - adapt the number of clusters crypto: hisilicon/hpre - tiny fix Weili Qian (2): crypto:hisilicon/qm - fix use of "dma_map_single" crypto:hisilicon - PASID fixed on Kupeng 930 drivers/crypto/hisilicon/hpre/hpre.h | 8 ++- drivers/crypto/hisilicon/hpre/hpre_main.c | 100 +++++++++++++++++++----------- drivers/crypto/hisilicon/qm.c | 61 +++++++++++------- drivers/crypto/hisilicon/qm.h | 1 + drivers/crypto/hisilicon/sec2/sec_main.c | 2 +- drivers/crypto/hisilicon/zip/zip_main.c | 2 +- 6 files changed, 110 insertions(+), 64 deletions(-) --- 2.8.1