From patchwork Sat Mar 20 11:27:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weili Qian X-Patchwork-Id: 405507 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 21365C433E5 for ; Sat, 20 Mar 2021 11:31:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F12EF61997 for ; Sat, 20 Mar 2021 11:31:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbhCTLaz (ORCPT ); Sat, 20 Mar 2021 07:30:55 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14107 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbhCTLaY (ORCPT ); Sat, 20 Mar 2021 07:30:24 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F2dmm3lytz17NQ2; Sat, 20 Mar 2021 19:28:24 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Sat, 20 Mar 2021 19:30:11 +0800 From: Weili Qian To: , CC: , , , , Weili Qian Subject: [PATCH 0/4] crypto: hisilicon/qm - support doorbell isolation and queue number configuration Date: Sat, 20 Mar 2021 19:27:42 +0800 Message-ID: <1616239666-43572-1-git-send-email-qianweili@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 Kunpeng930 supports getting the number of queues from hardware registers and queue doorbell isolation. This patchset configures the total number of hardware queues and the maximum number of function queues, and supports queue doorbell isolation. Weili Qian (4): crypto: hisilicon/qm - set the total number of queues crypto: hisilicon/qm - move 'CURRENT_QM' code to qm.c crypto: hisilicon/qm - set the number of queues for function crypto: hisilicon/qm - add queue isolation support for Kunpeng 930 drivers/crypto/hisilicon/hpre/hpre.h | 1 - drivers/crypto/hisilicon/hpre/hpre_main.c | 64 ------ drivers/crypto/hisilicon/qm.c | 332 +++++++++++++++++++++++------- drivers/crypto/hisilicon/qm.h | 17 +- drivers/crypto/hisilicon/sec2/sec.h | 1 - drivers/crypto/hisilicon/sec2/sec_main.c | 65 +----- drivers/crypto/hisilicon/zip/zip_main.c | 65 +----- include/uapi/misc/uacce/hisi_qm.h | 1 + 8 files changed, 272 insertions(+), 274 deletions(-)