Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1193093pxt; Sat, 7 Aug 2021 03:37:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySivjI05BR+cRLWBfaMKyCSn3wEftsFbpX4hy69OH84pcfemCsGEv8Tqb9AyC1sjI26+qZ X-Received: by 2002:a05:6402:4312:: with SMTP id m18mr18245945edc.211.1628332630103; Sat, 07 Aug 2021 03:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628332630; cv=none; d=google.com; s=arc-20160816; b=t/Sp8u2cL4ooUSwv09ISEcqv6y8r6n8T2yWcIqRKIaCE3k8SD5Wf3xFwmy3OEYUW5E 9CEox1EIg1KJr5TnrJ2c3E6MAHECXpqV09fuFAgFsn6XN2eTsbmFmjMRyBo6PIjAPaT6 KhPhAodc8DYp0erh1oH0d99pAO7tCecoG83F34z1aFWCvAlUVyAxIB4APe834Xj5NscC 7gUNMOIyw56XXvhjOuAp0kFfUTyYVGsqA4iBox+LdSCK5Ym8f6Jppe3aMoRewvw5578H lf1n/kLVMcjFPXIPmyjfIczF9IjDE4BMXdXqlZrQuswv1XvLYTUNudj/0sWhr6t0GFwN VJIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Ism5bT8eyNoI66vDmB8/GY1PsD3jnfdMTuIp847Qttc=; b=Qi+edGHjnw/vgRjrRoZRtxuPVu9FS3ut5bGlpciXn5lvDN9CQSb+lBagEwHpjixrtw DVw3myg3lgVHuNZxK7LZsYf7rXIqzQ4CoZccDljH6lCGyxcffNMkYPpItTeNRXovKgII r1wa0DUKlngVzebElNQ7tBN5cVXDGZ4x4SkMWPQcufoUU1rXlWNKLm8RLj+B5PPuIeTi OXUYW7Bhb9LBKWihlLYTozZJNp8D6djhYON1s8gEowR1WZSEiVzgH1BdmTLzI0y/fi7K NhWL7yFxXsy49rnH6+qjiSKXafOM/QhTiSqXfHGhsOQvJGYw8CFTyUuz7jT+Wgv5TB60 I6vw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si10172991edz.204.2021.08.07.03.36.33; Sat, 07 Aug 2021 03:37:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231846AbhHGKgg (ORCPT + 99 others); Sat, 7 Aug 2021 06:36:36 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:16991 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231687AbhHGKgf (ORCPT ); Sat, 7 Aug 2021 06:36:35 -0400 Received: from dggeme768-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Ghdvs1M17zZxjW; Sat, 7 Aug 2021 18:32:41 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by dggeme768-chm.china.huawei.com (10.3.19.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 7 Aug 2021 18:36:17 +0800 From: Weili Qian To: , CC: , , , Subject: [PATCH 0/5] crypto: hisilicon - support runtime PM for accelerator devices Date: Sat, 7 Aug 2021 18:32:31 +0800 Message-ID: <1628332356-33278-1-git-send-email-qianweili@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggeme768-chm.china.huawei.com (10.3.19.114) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Kunpeng930 accelerator devices support runtime power management, this patchset enables runtime PM for accelerator devices. Weili Qian (5): crypto: hisilicon - using 'debugfs_create_file' instead of 'debugfs_create_regset32' crypto: hisilicon - add runtime PM ops crypto: hisilicon - support runtime PM for accelerator device crypto: hisilicon - change parameter passing of debugfs function crypto: hisilicon - check _PS0 and _PR0 method drivers/crypto/hisilicon/hpre/hpre_main.c | 60 ++++- drivers/crypto/hisilicon/qm.c | 430 +++++++++++++++++++++++++----- drivers/crypto/hisilicon/qm.h | 8 + drivers/crypto/hisilicon/sec2/sec_main.c | 58 +++- drivers/crypto/hisilicon/zip/zip_main.c | 57 +++- 5 files changed, 521 insertions(+), 92 deletions(-) -- 2.8.1