Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4325621imb; Wed, 6 Mar 2019 10:33:58 -0800 (PST) X-Google-Smtp-Source: APXvYqwe1cqxj4kStIXkIrQMwy+LD11eXwNoXx2Xx0RuMvsCQavSKiDgXdxVGa8eTz2h5k/+Fnya X-Received: by 2002:a62:465d:: with SMTP id t90mr8796493pfa.181.1551897238051; Wed, 06 Mar 2019 10:33:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551897238; cv=none; d=google.com; s=arc-20160816; b=sEwkOW4DZkT+wvpRREgHBuyzYBztIQDVH37IZ4x4jH+DcyI4MZzO2TPixkNXD/unLi EAK+1ttEI7K7CeCLkobt+Sm/46C0W6NCghEMGgmzudqDwCQxMz+37qmmyXFU5SiRHjNC smsI7LV6EGWNrppVBT61KCzMbPMcnr/00LT74WoZ/U5stAgoJ/Y7I5X+WngXc69C3m2f BE4rtF4Vpb911FAkEcBdCIKUECoN0su2OoL7/BZ/12tBrwvOamfqIIi3pkGK34RSHASP zvxGURHfd0oRD2U6A50+cJGbSeH0Z78oUmDa1w0RcoKiklyX3VXxAmcpyc8PPf49jsFk naNA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=QEnwC5zQV6B0f1JWqNUn4NI17gvaaqipfmZp43yIiEU=; b=Nks2nvhV/zxaKO26Q07WZR64Rlz6hXthfsCjwhIzjsX6xwC36T9NjEbADc2MjF9in4 THFUYt+9CQt+EwKt5QCFA3GwqFXXtzDfFaY1f+vh1RiBsPwp71gwZPeRYMvB5Nymys/N FV9jddLQKXw6CxRB+cQpYtN252G3xzXmap6kV2X3jjI9rURYnRwkmahIBXBDATfsG+/5 2K0g6Qv3HU78eLZex8NuAWvgJetpEWjxqRec6gHkKnfZZYj+oeE2MHq9S+VulrzaOii1 OwqqNi3QD+cD5f/xQVmWY/FVtDnXSZf9BFXHQwNflwIm2b8FwCJ6LndOM7mxG3Vk26JC 7UDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iddYJEMT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q65si2149801pfi.185.2019.03.06.10.33.42; Wed, 06 Mar 2019 10:33:58 -0800 (PST) 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=fail header.i=@gmail.com header.s=20161025 header.b=iddYJEMT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730441AbfCFRcC (ORCPT + 99 others); Wed, 6 Mar 2019 12:32:02 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:43483 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbfCFRcC (ORCPT ); Wed, 6 Mar 2019 12:32:02 -0500 Received: by mail-pg1-f195.google.com with SMTP id l11so8945473pgq.10; Wed, 06 Mar 2019 09:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QEnwC5zQV6B0f1JWqNUn4NI17gvaaqipfmZp43yIiEU=; b=iddYJEMTU6gnrSxyxP1PnOV0f9Cat4RNd0GbcKPOKDWN3b6BY35V3Ny2a0sDtD9/SP HHaw5rup6U3Gyvn0amMVCpCnxaIPR1LaTw6u7c1qDb9d2mOwHiBpESo4q47KjYD/uf2I TLqIOosAtK3gCJnB5sjX+NCbDuiOSZbAPw5X302LT6MYDtJAsGtcxlboixRsMWXhKrDP hZM3tP9R5hBHZ5lLoI0QTKfm4qUAcofn7JK/xcxdKpT64cXVTahpdv/S/ScIkhJXExp7 4WJ7l9OjJOnaThWApjiTkCbUi/7df1judbSjFZ5LqSOUhFNv/xWvFfPbv/pc2/7oqKGf A/ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QEnwC5zQV6B0f1JWqNUn4NI17gvaaqipfmZp43yIiEU=; b=bTA5EdbqrXi+6aJi+XWF95dDUmOD6v2Fd0PldfT5v3D3+73edUmHDxdim5k2ZoLeyb WVFB9bn1XiUwj3YkQgGBeVZxs0EqXWnOgSMPtCDZL9yqc0CXkm1tvKZ7UqJVL6DRHjJG TyfjwLSkQ080reG2m2DMo+6R5DUa4s638D48vR+F3VbE1G+yoa2YDptU6QPL51Xy1BXE ABeS21MudaMoLxMs65AhNk7zeBz2IoZkMgkqk5hgZqFcXZgqxrh3vWwCGyc6fjkxgdcz 706UmruHrEZ6bg0eeHyzEQzQ5jG0I5b11SLSs8277wn+Bm5wh5xOgpTaDcQU4onJqsUs /QoA== X-Gm-Message-State: APjAAAVb98vnyuAmkHuHocPZC1YQivYFsWlD2i3aaQ4w0NbxK0Gvl+Cf fCIViSi9Qto+iQr2cxP1Ic8= X-Received: by 2002:a17:902:7b85:: with SMTP id w5mr8232067pll.288.1551893521313; Wed, 06 Mar 2019 09:32:01 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id x8sm8093642pfe.1.2019.03.06.09.31.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 09:32:00 -0800 (PST) Subject: Re: [PATCH v4 3/3] crypto: s5p: add AES support for Exynos5433 To: Krzysztof Kozlowski Cc: Kamil Konieczny , Vladimir Zapolskiy , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , Marek Szyprowski References: <20190222122144.19024-1-k.konieczny@partner.samsung.com> <20190222122144.19024-4-k.konieczny@partner.samsung.com> <20190305171303.GA29802@roeck-us.net> From: Guenter Roeck Message-ID: <873d345a-4893-412d-78d7-58c3e8cd61c2@roeck-us.net> Date: Wed, 6 Mar 2019 09:31:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/5/19 11:51 AM, Krzysztof Kozlowski wrote: > On Tue, 5 Mar 2019 at 18:13, Guenter Roeck wrote: >> >> On Fri, Feb 22, 2019 at 01:21:44PM +0100, Kamil Konieczny wrote: >>> Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. >>> >>> Reviewed-by: Krzysztof Kozlowski >>> Signed-off-by: Kamil Konieczny >>> --- >>> drivers/crypto/s5p-sss.c | 50 ++++++++++++++++++++++++++++++++++++---- >>> 1 file changed, 46 insertions(+), 4 deletions(-) >>> >>> diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c >>> index 0064be0e3941..3f45cc5cb94a 100644 >>> --- a/drivers/crypto/s5p-sss.c >>> +++ b/drivers/crypto/s5p-sss.c >>> @@ -232,6 +232,7 @@ >>> * struct samsung_aes_variant - platform specific SSS driver data >>> * @aes_offset: AES register offset from SSS module's base. >>> * @hash_offset: HASH register offset from SSS module's base. >>> + * @clk_names: names of clocks needed to run SSS IP >>> * >>> * Specifies platform specific configuration of SSS module. >>> * Note: A structure for driver specific platform data is used for future >>> @@ -240,6 +241,7 @@ >>> struct samsung_aes_variant { >>> unsigned int aes_offset; >>> unsigned int hash_offset; >>> + const char *clk_names[]; >> >> This array does not have a fixed size. > > Yes, correct. Kamil already sent a fix: > https://patchwork.kernel.org/patch/10835389/ > Excellent. Note that the offending patch is now in mainline. Guenter