Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1071288pxt; Fri, 6 Aug 2021 23:33:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxSTHUJIi1zPfuE3TpCxHPipaw38RiRO3KK6Rv7gQNDvNdLXThG7M5kWBCPUQX6GFdrt1u X-Received: by 2002:a02:a117:: with SMTP id f23mr5435939jag.9.1628318003808; Fri, 06 Aug 2021 23:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628318003; cv=none; d=google.com; s=arc-20160816; b=CPKlbDq4ajXtWmyGhJJznKSpxsZM5x7zEIH5lIllvV0dssX8+JJt4ik276eiURAMUm wiAohevzlbKKOpLqcgsyS9oUuR5D25sxeTUaO7AJCyoMZvnXOrGaSe7WmHGoOALuj0Yn Z719Tm5stR8SdU1HkCb9n8d8SHDyOEEwe4QN+VHpjwwSvJChh1WkKBPeovY9NcLVINe9 Uj17HqzGE16aArwppFx9AkEA41feF2ZshIgnvqBW026oZDvrOcZ36Gp48PZlNCkNNtbD ZrlsRw0jbT6Z5xGaDrzxnG2Sas8cBYtRwX7eBiCWGGxAoG6pku0OKzw/wjM3p0o+/M6N QW4w== 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=sD37HvlyHsdIZ+rLLJ473YJ6pwLvF5iME2HkbnQzD7s=; b=KFb2QlBQg41neg0xUD7XBZ+RITL996yVx5NbKpID2WZN890/Vc/i6YLx9IkSgZYPa5 1P+Db/raoISztltyFbvLq/2vpFsvkJXdNCVagTXmlLkiopJtJryaM5SemfvhYbYOipQs KFQuq/LmspKfkh+TzUgDQvzUhxOgJPRkc96eEDJXDBMvlNOILx5yUZxnNEdGu2uwHnJn 692jlhH7bwHAXdPJQR4RB1ARQeXw8rQLWnm4Dogs/+saukuLeDGhJOHNsLqXCVNs72tS yBGtLMGojuqGzyrldMfK5T+NTxaDjt8XRjv32zUUfajW9tFvRFh2nwMlzwLIBPZY3EVV 7n6Q== 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 m18si2209903ilf.95.2021.08.06.23.33.01; Fri, 06 Aug 2021 23:33:23 -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 S230417AbhHGGdN (ORCPT + 99 others); Sat, 7 Aug 2021 02:33:13 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:13398 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbhHGGdM (ORCPT ); Sat, 7 Aug 2021 02:33:12 -0400 Received: from dggeme768-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GhXW14DFSzclMs; Sat, 7 Aug 2021 14:29:17 +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 14:32:53 +0800 From: Weili Qian To: , CC: , , , , Weili Qian Subject: [PATCH 0/3] crypto: hisilicon - enable clock gating for accelerator device Date: Sat, 7 Aug 2021 14:29:08 +0800 Message-ID: <1628317751-3396-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: dggems701-chm.china.huawei.com (10.3.19.178) 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 dynamic clock gating. This patchset enables clock gating for accelerator devices by writing hardware registers. Weili Qian (3): crypto: hisilicon - enable zip device clock gating crypto: hisilicon - enable sec device clock gating crypto: hisilicon - enable hpre device clock gating drivers/crypto/hisilicon/hpre/hpre_main.c | 63 +++++++++++++++++++++++++++++++ drivers/crypto/hisilicon/sec2/sec_main.c | 46 +++++++++++++++++++--- drivers/crypto/hisilicon/zip/zip_main.c | 26 +++++++++++++ 3 files changed, 130 insertions(+), 5 deletions(-) -- 2.8.1