Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp347659ybk; Fri, 15 May 2020 02:15:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcoNBzTjxPY81amv5VBMQA5A5mP23QPUbWAaixAqFXNd6dvfMrgKkcg67cEZDXslpA9a9E X-Received: by 2002:a17:906:a984:: with SMTP id jr4mr1779076ejb.3.1589534149661; Fri, 15 May 2020 02:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589534149; cv=none; d=google.com; s=arc-20160816; b=dPEtFFeYVSn/rzDcW+dPYUH7NPIZvHI4NZboFUoVmZNeKGY03ps5jaHus+p7yH9K2b qg1VjmwaQzlEItAlsO8UFQw5qNF+MLjlStqaOCPB+wYUb5jQbgTf6ZFmMZ7gfEasnD9d UFWwAz8XNPUc7atmIOPa8wzp4a2u39zQw1hMOIONoHSMpk1aLMeN2Kb3snV5uMTMpERL 0tXMphiIId/E8NiuOeTfLwZd3u56lNn4P9V7m4pCSpjvHllI4Uj96vmWfq3ahy1HV28V kO2tRUQbx/iCD8iKtlKnx4rYFaD8B2YFM2LmkiODI6186w4D5Rgh1ypJ6M1s3uejFGlS +JCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=6Tv3o4QIbxiNtQUESrq82s/gKOEDRJu/tsH3EhUwjI4=; b=OAtCw8F2NkSSaIcokDa47RVIpeQNohaqcr4mHy4YLcwfTs2/+QgcWNMp+P867RTGDS Jie7x5nodagBEGoa1gz7QQHC4ls5Ioeok+066C7ygo5asw5MOjO1B5zC9BbvN8H66P3S Asl79PJtd8OYdE8a10T4PE/tPGFz+v2nxXXWJoMp7/AIdrKYIrRzPsiWZ1vtlTaZUhH0 T+W2WhLG5CxVYDpYlJPkfsbCHJtJYwQdcBLGp7A3eihtwBux+bUau0Kis4EPF0+Ej1L+ 6H4raY77WD+LJD2PXP/CAcEgWA5vjxkwBJodNCXWdAGhT8iV+qcF9k6zKa65vqHejssp RsFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck13si796727ejb.403.2020.05.15.02.15.24; Fri, 15 May 2020 02:15:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727869AbgEOJPU (ORCPT + 99 others); Fri, 15 May 2020 05:15:20 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:58008 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727857AbgEOJPU (ORCPT ); Fri, 15 May 2020 05:15:20 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id AAFC6E93C06EF95C7B6F; Fri, 15 May 2020 17:15:18 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 15 May 2020 17:15:08 +0800 From: Shukun Tan To: , CC: , , Subject: [PATCH 0/7] crypto: hisilicon - add debugfs for DFX Date: Fri, 15 May 2020 17:13:53 +0800 Message-ID: <1589534040-50725-1-git-send-email-tanshukun1@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org In order to quickly locate bugs of the accelerator driver, this series add some DebugFS files. Add counters for accelerator's IO operation path, count all normal IO operations and error IO operations. Add dump information of QM state and SQC/CQC/EQC/AEQC/SQE/CQE/EQE/AEQE. Hui Tang (1): crypto: hisilicon/hpre - add debugfs for Hisilicon HPRE Kai Ye (1): crypto: hisilicon/sec2 - add debugfs for Hisilicon SEC Longfang Liu (3): crypto: hisilicon/qm - add debugfs for QM crypto: hisilicon/qm - add debugfs to the QM state machine crypto: hisilicon/zip - add debugfs for Hisilicon ZIP Shukun Tan (2): crypto: hisilicon/qm - add DebugFS for xQC and xQE dump crypto: hisilicon/qm - change debugfs file name from qm_regs to regs Documentation/ABI/testing/debugfs-hisi-hpre | 89 ++++- Documentation/ABI/testing/debugfs-hisi-sec | 94 ++++- Documentation/ABI/testing/debugfs-hisi-zip | 70 +++- drivers/crypto/hisilicon/hpre/hpre.h | 17 + drivers/crypto/hisilicon/hpre/hpre_crypto.c | 99 ++++- drivers/crypto/hisilicon/hpre/hpre_main.c | 60 +++ drivers/crypto/hisilicon/qm.c | 598 ++++++++++++++++++++++++++-- drivers/crypto/hisilicon/qm.h | 11 + drivers/crypto/hisilicon/sec2/sec.h | 4 + drivers/crypto/hisilicon/sec2/sec_crypto.c | 15 +- drivers/crypto/hisilicon/sec2/sec_main.c | 49 ++- drivers/crypto/hisilicon/zip/zip.h | 8 + drivers/crypto/hisilicon/zip/zip_crypto.c | 9 +- drivers/crypto/hisilicon/zip/zip_main.c | 58 +++ 14 files changed, 1097 insertions(+), 84 deletions(-) -- 2.7.4