From patchwork Thu Jan 24 15:45:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10779395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01D6491E for ; Thu, 24 Jan 2019 15:45:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E358431646 for ; Thu, 24 Jan 2019 15:45:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E10FC31643; Thu, 24 Jan 2019 15:45:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0DEA31644 for ; Thu, 24 Jan 2019 15:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728588AbfAXPpm (ORCPT ); Thu, 24 Jan 2019 10:45:42 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55951 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727933AbfAXPpm (ORCPT ); Thu, 24 Jan 2019 10:45:42 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190124154540euoutp0146d23b84291b93e3c0745c5301b1f351~801ZrPE7w2677026770euoutp01U for ; Thu, 24 Jan 2019 15:45:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190124154540euoutp0146d23b84291b93e3c0745c5301b1f351~801ZrPE7w2677026770euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548344740; bh=/xQzUe1GHbNvEygIbIWpOEY0rI+f8gn66bnkBqO7RWE=; h=From:To:Cc:Subject:Date:References:From; b=FopoulafwqgZETWNA10pnlp6HNJ34ak/O6P/AVZuQMiue9XLu9W6ZtzXZ9Vmvn/pP 9ZuC9wuZS1/anv6ztC4ehhC4h4/AC5O9pa5/hRF0Yc5QpR9cECnSMc+QBL0OprlAP1 RYBdcH+pwpkQKCm9smw+UIC53q7+g4T4qCrmnv7g= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190124154538eucas1p2458e0c48b348536c983cdc8b80566cbe~801Yp2-5_0298402984eucas1p2x; Thu, 24 Jan 2019 15:45:38 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 67.25.04441.2ADD94C5; Thu, 24 Jan 2019 15:45:38 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190124154538eucas1p17664bc2380e0d458b9ab33f79e55e810~801X4C_oR0082100821eucas1p1q; Thu, 24 Jan 2019 15:45:38 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190124154537eusmtrp1f9967cf7f88b8c50a3f2c0fdd1ade2a1~801XpKUlE0583105831eusmtrp1c; Thu, 24 Jan 2019 15:45:37 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-c1-5c49dda268ce Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 89.9F.04128.1ADD94C5; Thu, 24 Jan 2019 15:45:37 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190124154536eusmtip20871651ce915b9250dde2dfa7835bae6~801WrJu6-2591025910eusmtip2n; Thu, 24 Jan 2019 15:45:36 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com Cc: "David S. Miller" , devicetree@vger.kernel.org, Herbert Xu , Krzysztof Kozlowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Mark Rutland , Rob Herring , Vladimir Zapolskiy , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH v3 0/3] add AES support for Exynos5433 Date: Thu, 24 Jan 2019 16:45:18 +0100 Message-Id: <20190124154521.13589-1-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01SfyyUcRjv+77v3fu6dXodmydMda1arcjW6lukWrJXq6Y/qq2orrxhcXTn R/IHDc2PkqUhSVhUiHN+NUq5lKTuphanhkbzh5YKiZu53L2U/z7P5/N8nl97GFLWK3JiQpVR vEqpCJOLJVTDq2n9ppI+v4DNrfp1uCavWoQLDMkUvtumF+GMERec2WJG+PrQNxIbDBoaa4e6 RXigf5rAH5oKxDjP0ELgR219NC7t6SJwytM2GptNSeTuZVxlYSXi6h72ElzD8zWctjxNzNXe S+Bmi29SXOvoE4LLrCtH3LjW1d/muMQriA8LjeFV7t6nJSGjZdepyHb6YkrfIJ2IpkXpyIYB dgv0DxjF6UjCyNgHCCpeFxJCMIEgeaIfCcE4Ao3pPblgqU2rpQThPoLHmgryn6XvxyyyZInZ bTDY+JawYAd2NWT351qTSDaXAuPUbdoi2LNb4Zf5hRVT7BrQpaZRFixlfaChvIcS2q2AnIp0 QuDtoOPWVytPzvFJ9betRYF9Q0NOSjUSDD6QOd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ivODG3uDQvXS85P3cTIzCyth37uWUHY9e74EOMAhyMSjy8 HYc8Y4RYE8uKK3MPMUpwMCuJ8LpedIsR4k1JrKxKLcqPLyrNSS0+xGgKdOxEZinR5Hxg1OeV xBuaGppbWBqaG5sbm1koifOeN6iMEhJITyxJzU5NLUgtgulj4uCUamDMcemx1RDfxOVg99s1 OK3g2P4KvqlTFzhdW5qyYwbPl5W1ATyOrGJ1qW5xjTtKun8arzsTnGv0/6M7Z/eM35l2Tqfu tN9h19Y/d9O483xAlOGdT6cePj88T0f4yWEbDq9D1msbmyd8sboipXjzfO/sX48nzJqQcHJN 83r3bNtjcz8oWH35E+uuxFKckWioxVxUnAgAXT6g1MICAAA= X-CMS-MailID: 20190124154538eucas1p17664bc2380e0d458b9ab33f79e55e810 X-Msg-Generator: CA X-RootMTR: 20190124154538eucas1p17664bc2380e0d458b9ab33f79e55e810 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190124154538eucas1p17664bc2380e0d458b9ab33f79e55e810 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add slimSSS node to DT and crypto AES support for Exynos5433. Tested on Exynos5433 board with crypto run-time self tests and with tcrypt with command insmod tcrypt.ko mode=500 sec=1 Changes since v2: - address Corentine Labbe note: add "const" to char* in declaration of struct samsung_aes_variant Changes since v1: - address Krzysztof Kozlowski review: add missing comma in struct definition, add goto for error code path, correct indentation, in documentation add that Exynos5433 has both slimSSS and SSS IPs. Kamil Konieczny (3): arm64: dts: exynos: add SlimSSS for Exynos5433 dt-bindings: crypto: document Exynos5433 SlimSSS crypto: s5p: add AES support for Exynos5433 .../bindings/crypto/samsung-sss.txt | 14 ++++-- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 ++++ drivers/crypto/s5p-sss.c | 50 +++++++++++++++++-- 3 files changed, 66 insertions(+), 7 deletions(-)