Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp528484ybe; Wed, 18 Sep 2019 22:48:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxACNHJMP8jEpcxbXvVRGECY/i3CyW+R5FTZdxH9ntxlb3AfyjXlVTBsYUknH5/bgupnToJ X-Received: by 2002:aa7:dd11:: with SMTP id i17mr14577900edv.147.1568872101259; Wed, 18 Sep 2019 22:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568872101; cv=none; d=google.com; s=arc-20160816; b=tRWhhOfmPUe3Lft6NM9i3+8uo992oufh3dUdf/Hm96zeoIzIm+GResWCGMIyavL3MQ /HR3hgIfaQ4DK8kE+iWGrjlnnX9I5196jua9AIu8TLXw/fbclvog13dIGUgn2yMjn56D cavjg8yWcUFuGCJqetRBpBhHTD0NVSli5EoeNuN+jEnyFFMGqoO4TotsG8s3mzsMYyEM GwN+LZIGNToD/u0m0VOfBir+r3aFDin7c8DUdRrMs1utX2hT8vDe1LEEy4kX+800uYp2 ZEmJaLqKY774ByioAH2lYeSZUSsaX5q2fjv/CtZRaOfqhVQz7uX0wV1tdknUP67gXmLT gvqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ttCTUHrEZ8RqxMqrfUks/MJVxPs2athVlNQVJH23ON0=; b=nn6BifoXRUcKFD2Hd1wDwBg/n8hB8tU9oxWMW+FYBSV6QrFRd0CPVfs5c7lYaHW2Pd h6ZN8R9d7XfVFYxhx6eD8xWdQWw5HMglSrPtIm9DSgucSVNzJ1FTscTNgf4YcsmvUt9k t8RFbG4yalM5whd/446NuGB/C5CwSRABn7TuPPgZAz3uE1EVpovo5+5t4RoXOuMD047s b5duGWK8Y1H7fl2fnZlmJG0aYr2faUlW/GNvHiV/DRJzxWBSxOShQG7iWr5lOc5CMVhF wxkc4yuRWVPsoc8vd3jVGJDCUZGGByuQzIDiRoyHzb1l3JwpidwvGU7QinOpm918na30 hpsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pdgjowYL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20si4620457edo.436.2019.09.18.22.47.47; Wed, 18 Sep 2019 22:48:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pdgjowYL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731757AbfISFKk (ORCPT + 99 others); Thu, 19 Sep 2019 01:10:40 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43157 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730949AbfISFKk (ORCPT ); Thu, 19 Sep 2019 01:10:40 -0400 Received: by mail-wr1-f68.google.com with SMTP id q17so1556049wrx.10; Wed, 18 Sep 2019 22:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ttCTUHrEZ8RqxMqrfUks/MJVxPs2athVlNQVJH23ON0=; b=pdgjowYLRCsuSv+iBZ5rHqIu+XC7Y9/cD2khPCOXEgPLOtByZUabXyd+pJgoS/hJjp 5Ang/uWeIaLhscF6XMOZNYeYPwVJZ6BVKxSZj6aQLbLJxrzjx7GMceAcyq6bi+JjOKah pnZZq33rabWGrHt4TwpO+ApAcTm2EbXb1pVqCRVjWE8wiI4zPoUNfnjv76JJeiVc6CcW towxbanDYZi+wCkEt0gUi8excCGijYHtQyPGRzGC/YFBiQ0k3GBlaQO8jQStkzutmkdv c+UMU7Dtd54b6Y5hndx9o3L9vusx8IPqMHjWjYDrcuPaYzQkv5zVKKngNE5988Ire5rz UK2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ttCTUHrEZ8RqxMqrfUks/MJVxPs2athVlNQVJH23ON0=; b=KnMs6F5eYUghZ02TkS6cnbJwKupU11CW421YmCI17Jxao1Q03lstBnO+g2kR3VAC68 OjtNziVcY3dK/Mgv7Yf1BUxD1C7s1ocfW4RDH3EWn/bqOFXzhzY7Qmz+GHccKf8HzK4U NWOfyiaKV9Kas8xUk1uGaVM57iQYgXPilj9YuE9uum7GEA7yNrs0jwkqs7vnrrpPtJtM K7Rxqa9h/z+ICMqWZsboXEW+LtGqF2xnzArDpkR2tGmGZZ71Y7xVZjZ4KOZ9oNaBV9Wt Imb0w+D+XpgfmGZgMXQmRJytaYmb+mdAUM3FuA6ct8MeJ4L/K9Zw/549fDkLI1eIOIK1 dkcw== X-Gm-Message-State: APjAAAVBDD1cCZno1RHYXBFqLMtQp08I+gFYPlvQzUaDAztyaKmrg2b0 Q+Cvareccy8nift3WZim3QA= X-Received: by 2002:adf:f401:: with SMTP id g1mr5140106wro.275.1568869839395; Wed, 18 Sep 2019 22:10:39 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id 94sm6575552wrk.92.2019.09.18.22.10.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2019 22:10:38 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, mripard@kernel.org, wens@csie.org Cc: linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v2 0/2] crypto: sun4i-ss: Enable power management Date: Thu, 19 Sep 2019 07:10:33 +0200 Message-Id: <20190919051035.4111-1-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hello This serie enables power management in the sun4i-ss driver. Regards Changes since v1: - Fixed style in patch #1 - Check more return code of PM functions - Add PM support in hash/prng - reworked the probe order of PM functions and the PM strategy Corentin Labbe (2): crypto: sun4i-ss: simplify enable/disable of the device crypto: sun4i-ss: enable pm_runtime drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 9 ++ drivers/crypto/sunxi-ss/sun4i-ss-core.c | 157 ++++++++++++++++------ drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 12 ++ drivers/crypto/sunxi-ss/sun4i-ss-prng.c | 9 +- drivers/crypto/sunxi-ss/sun4i-ss.h | 2 + 5 files changed, 149 insertions(+), 40 deletions(-) -- 2.21.0