From patchwork Sat Apr 9 08:03:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "yekai (A)" X-Patchwork-Id: 12807732 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C493C433F5 for ; Sat, 9 Apr 2022 08:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239097AbiDIILU (ORCPT ); Sat, 9 Apr 2022 04:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233079AbiDIILS (ORCPT ); Sat, 9 Apr 2022 04:11:18 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1087DDDE; Sat, 9 Apr 2022 01:09:11 -0700 (PDT) Received: from dggpeml500021.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Kb76b0dw3z1HBW1; Sat, 9 Apr 2022 16:08:39 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggpeml500021.china.huawei.com (7.185.36.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 9 Apr 2022 16:09:09 +0800 Received: from huawei.com (10.67.165.24) by dggpeml100012.china.huawei.com (7.185.36.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 9 Apr 2022 16:09:09 +0800 From: Kai Ye To: CC: , , , , Subject: [PATCH 00/11] add regitser checking and last word dumping for ACC Date: Sat, 9 Apr 2022 16:03:17 +0800 Message-ID: <20220409080328.15783-1-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml100012.china.huawei.com (7.185.36.121) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add register detection function to accelerator. Add last word dumping function during acc engines controller reset. It can help to improve debugging capability. Kai Ye (11): crypto: hisilicon/qm - add register checking for ACC crypto: hisilicon/hpre - support register checking crypto: hisilicon/sec - support register checking crypto: hisilicon/zip - support register checking Documentation: update debugfs doc for Hisilicon HPRE Documentation: update debugfs doc for Hisilicon SEC Documentation: update debugfs doc for Hisilicon ZIP crypto: hisilicon/qm - add last word dumping for ACC crypto: hisilicon/sec - support last word dumping crypto: hisilicon/hpre - support last word dumping crypto: hisilicon/zip - support last word dumping Documentation/ABI/testing/debugfs-hisi-hpre | 14 ++ Documentation/ABI/testing/debugfs-hisi-sec | 14 ++ Documentation/ABI/testing/debugfs-hisi-zip | 14 ++ drivers/crypto/hisilicon/hpre/hpre_main.c | 222 ++++++++++++++---- drivers/crypto/hisilicon/qm.c | 239 +++++++++++++++++++- drivers/crypto/hisilicon/sec2/sec_main.c | 108 ++++++++- drivers/crypto/hisilicon/zip/zip_main.c | 185 ++++++++++++++- include/linux/hisi_acc_qm.h | 18 ++ 8 files changed, 765 insertions(+), 49 deletions(-)