Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp639013pxb; Fri, 13 Aug 2021 03:05:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN8BiUhk8VzQHCGfrdVU+0bKI3G3lXy0vD1h8OY+rRIm1kCf6ZQJvswdH50uzjLyz1JZbT X-Received: by 2002:a92:6605:: with SMTP id a5mr1319799ilc.15.1628849135540; Fri, 13 Aug 2021 03:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628849135; cv=none; d=google.com; s=arc-20160816; b=Kvq6ecgs0YZbni461mY3BqVbFDEYjjVLevBXYa6TRcgzc84fV0HUASbxKcR15NzJuM Tz1Mrig1r5iCZbUhHvH6G7AOxrf0I841uOepjrnbJk3eXUrbGEFEwWxyGiocLXXHD54C yiAtVdZj5x5HhOkPFxlTdahxoTk7B9MZmVCkQ5IPslwJ6Lx98Q5i3nKHtA1+2zQpL2ET kMwrdZK7JiqvYNmJQLL9Rq8D+T0crBBDeHMdm3z9wptxD17DFWnMz8xjafd1sP0kZHEy oZR8r/Cd3142iK0EzWh3pl7g2QPFdByzOkcS8Yn/sU5s+9L9+qNHnmyvDPNyOxU056BU K13g== 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=cvQBogNPzoE8EPH/OChwI+8T8UP1QIBLjYSLCQOkn54=; b=wyljVUhGPMmJulfvtGfAqPBR0QNc0bejkCOT/wqlGfIhWhWQuYTezrb0erIcsl7PjH hQySf+jm044HsL5af1nBnFQ8zIAKzpgqkWcZCcN+MoggfDBqEDlJQf0OPfNSMVcs0FUw yFowpD+v2rBFZLDk1YtoBGjx4QsPRtx8t2t+O70EN6uw/ktxpojARZcMaLirGzco5lSZ 8USF0WH5kTWihms/Q/EHabHWecHnuS2MgZ18q9OFZPyAPS2YyEBuHMrfp2lhxRdMOJVc QVIcgzBSz+CB51AmQj9oji40L6GJaHqwwE1mPOEq1GnNGI1jtlpljxjJVVFUVDzG+4OD wI1A== 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 l8si1038305jap.104.2021.08.13.03.05.24; Fri, 13 Aug 2021 03:05:35 -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 S239913AbhHMJyV (ORCPT + 99 others); Fri, 13 Aug 2021 05:54:21 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:14202 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239318AbhHMJyV (ORCPT ); Fri, 13 Aug 2021 05:54:21 -0400 Received: from dggeme768-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4GmJlz3bkwz1CW0m; Fri, 13 Aug 2021 17:53:35 +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; Fri, 13 Aug 2021 17:53:52 +0800 From: Weili Qian To: , CC: , , , Subject: [PATCH v2 0/5] crypto: hisilicon - support runtime PM for accelerator devices Date: Fri, 13 Aug 2021 17:50:04 +0800 Message-ID: <1628848209-26398-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: dggems706-chm.china.huawei.com (10.3.19.183) 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. --- v1->v2: fix warning --- 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