From patchwork Wed Oct 23 20:05:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 177343 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1213512ill; Wed, 23 Oct 2019 13:05:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUW0TpyH+ZuRswjRUDiQUkxCXXgc4YUmHYPfCtrbkLa9+83NsQXuRvMJ8BUybGDaARndFK X-Received: by 2002:a17:906:e0b:: with SMTP id l11mr14344534eji.245.1571861126214; Wed, 23 Oct 2019 13:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571861126; cv=none; d=google.com; s=arc-20160816; b=xN/w4lX79nEzl94vvpy5OGameFbyepfeQLjeieYLIbL9lNUzAib5a79nMQsLMwrf6n 9HlNcKwgQGXtR9xIZ2tqWKsP7lFjedR6JzGMItZMoZQmGK/lhtnJzlMehqBZsDXs3nRo VbBbKkta1t+xh6r5Qa6WTQWw+fnavjjqAWm3GuRltBCcz3CkzrpSva9Ae5U9gDZ4kuMn 5SHZI9zrKwRETI1qsa/wNAsu+x8fD3Tlf0bDFidhqQXuex9KO24yeKIB7NYEjQWsEPB8 le+6nW2l3G/ciV2ZYOZV/+5upQgq/lodYfCvsYWAKT4gepra7/m0qgZhazGB2S8f6d+0 JZLg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VpdEp2zf81VBM+LhkWglZ2eMDIpA3da8iXPWPqvvAdE=; b=n5MfDoMqOKG0aIcAVC02ki0BBNho1kCT2anwTl3Ot1E0hoAujni3m8RBfreQRw/CmA jYiEoMl5c4mYHFslQnfb9EkQFfoQY+/SUcjfpgISz16m9nIaOcTln/73K1gTVi0fOWGH Yvy6l0V91jvaky0L/aPuC/znqT7QIaa0MruBz0GysSrHn1C6H4yU5opL0WPTXMpy4/3W uVT8dzqmNJKKLpT7n4sYoCrYIZeXGguSKnHAkV3y55fG5KIUMjzwsJ3iS7Hgc2sqlsg7 pNmcQZjexfEZGSNcn3NKE4fq8Hc/BVxXQc4+7sXYK54zhQJ/gi0einj0EkkFzNZxdkNQ 329g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iQu7jlUI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 hb23si4103927ejb.377.2019.10.23.13.05.25; Wed, 23 Oct 2019 13:05:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=iQu7jlUI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2405427AbfJWUFW (ORCPT + 26 others); Wed, 23 Oct 2019 16:05:22 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:51665 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbfJWUFV (ORCPT ); Wed, 23 Oct 2019 16:05:21 -0400 Received: by mail-wm1-f66.google.com with SMTP id q70so282451wme.1; Wed, 23 Oct 2019 13:05:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=VpdEp2zf81VBM+LhkWglZ2eMDIpA3da8iXPWPqvvAdE=; b=iQu7jlUIO+uRonAxUB1Yx/zCvI7R9gqlIv6hs5hMa10GoZ9yMocX6c8lzjgiiROvGC 5IgEt+kBt6COaVuTTZTGS/F4QmaItAyvKlgheV1AGOe1K0uS7j7wPdMIKk1bRxbm2kdP jLbpQ0ksy4rlQTR6QtsKKR/s9X09TZL+1JY4+Kz/nuZgA/Qlsbdlrqsu21/WVXGwSmvM 45M+z+SV3g2kYXAL69simQkHrA+ZpIbn6bZDcFbzPGtDBO4AprqSQKJ3Y2+GpQHhgQni B5QPBz93lpzs25cyEmZ6LVuUTUrT65vJll93p1oXZB7Hasuvcqqv3fQHFiQ5nayK+Icn h2hw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VpdEp2zf81VBM+LhkWglZ2eMDIpA3da8iXPWPqvvAdE=; b=VZ8su123BBtgHh6gYJ2aodVC4COcIGF2zV+LuKh3Q2fcqFcedVl9ow32M9/JiU0fwP tBav2xIwXo8a2wfZ8mtHThjH1hsIBBnleULsjiNmo7ddCRS67p9IMyA0UXqiNWdV/cT/ memSnN7CtL4LwfhKRScXr4UFKksQeUyzkQcGYGe9SIZEe1GoE4tW4CbMmIdYeGbx8AF5 m++5Wx4KL2xdddV8qrXBjLtn54PwBOZ28CviqSySX23VtGSBPym5mx8WpTYgmut0k/Rk gu/vghH3nd8dmc6ZE35CQDv9R9DBQljq+qjqL0BRi42cRMyaXLypGQlnVlZdXcPaTVt2 obrw== X-Gm-Message-State: APjAAAV9Btr3/ks8tsPrqQ99p8uyXBmEEUFj0gdxtyNBX/WgpMW+qt1Q /B08YMx+vlYRLwnt54FyNLc= X-Received: by 2002:a1c:9dd3:: with SMTP id g202mr1532122wme.43.1571861119604; Wed, 23 Oct 2019 13:05:19 -0700 (PDT) Received: from Red.localdomain (lfbn-1-7036-79.w90-116.abo.wanadoo.fr. [90.116.209.79]) by smtp.googlemail.com with ESMTPSA id b5sm177555wmj.18.2019.10.23.13.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 13:05:19 -0700 (PDT) From: Corentin Labbe To: catalin.marinas@arm.com, davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org, will@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v6 01/11] crypto: Add allwinner subdirectory Date: Wed, 23 Oct 2019 22:05:03 +0200 Message-Id: <20191023200513.22630-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191023200513.22630-1-clabbe.montjoie@gmail.com> References: <20191023200513.22630-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since a second Allwinner crypto driver will be added, it is better to create a dedicated subdirectory. Acked-by: Maxime Ripard Signed-off-by: Corentin Labbe --- MAINTAINERS | 6 ++++++ drivers/crypto/Kconfig | 2 ++ drivers/crypto/Makefile | 1 + drivers/crypto/allwinner/Kconfig | 6 ++++++ 4 files changed, 15 insertions(+) create mode 100644 drivers/crypto/allwinner/Kconfig -- 2.21.0 diff --git a/MAINTAINERS b/MAINTAINERS index c7b48525822a..9153c02e1f63 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -690,6 +690,12 @@ L: linux-crypto@vger.kernel.org S: Maintained F: drivers/crypto/sunxi-ss/ +ALLWINNER CRYPTO DRIVERS +M: Corentin Labbe +L: linux-crypto@vger.kernel.org +S: Maintained +F: drivers/crypto/allwinner/ + ALLWINNER VPU DRIVER M: Maxime Ripard M: Paul Kocialkowski diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 3e51bae191ec..610bb52d77d6 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -11,6 +11,8 @@ menuconfig CRYPTO_HW if CRYPTO_HW +source "drivers/crypto/allwinner/Kconfig" + config CRYPTO_DEV_PADLOCK tristate "Support for VIA PadLock ACE" depends on X86 && !UML diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index afc4753b5d28..90d60eff5ecc 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_CRYPTO_DEV_ALLWINNER) += allwinner/ obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o diff --git a/drivers/crypto/allwinner/Kconfig b/drivers/crypto/allwinner/Kconfig new file mode 100644 index 000000000000..0c8a99f7959d --- /dev/null +++ b/drivers/crypto/allwinner/Kconfig @@ -0,0 +1,6 @@ +config CRYPTO_DEV_ALLWINNER + bool "Support for Allwinner cryptographic offloader" + depends on ARCH_SUNXI || COMPILE_TEST + default y if ARCH_SUNXI + help + Say Y here to get to see options for Allwinner hardware crypto devices