Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3534006imb; Tue, 5 Mar 2019 11:54:06 -0800 (PST) X-Google-Smtp-Source: APXvYqyPOJCTja7dtOe/46GjF3t9/lV2JlGWbJ8xF/gQSxMKYSDz/V10UgK86TaLymQidWWXUQ2n X-Received: by 2002:a63:a5b:: with SMTP id z27mr2881881pgk.78.1551815646260; Tue, 05 Mar 2019 11:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551815646; cv=none; d=google.com; s=arc-20160816; b=u5VVKDV4x8hFCmfRQDNOompZd29f4Jb09Nj6CuW/UftZWyEtX7rVdxpuxNBol6nzdA +dZmuPnyC5G8KtuXcTp4FVPtqNTg8FXilTcNfbhuoDZ4l7mbls5lmlaOoLbLP3OySAS1 7tcdN4u1r4VpKHeXfeaVngkjTsDBSO8I9kuuS8/hQDcshfDJN+2+FnOEncr0S6frtvGa lvLR7+JnlX14RWzJOAE1sQ5CExaLCTh6VCtUR+bMqjr2MIXFp+BiTk5XxhgzHbtewjRu ulaDh7NIGobL8AVtJstYz3BOvwo7fyet1v9M+1TNJxItd074BCSBUfPue8YwkG4BNJ79 KtZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lx+3qqDw+OmlftJDiQqmfXz46RCActQatXsrbxkgI+o=; b=lv9qdTDAuo6miUW2KyFZSXfkORxvKxYoEjjGvRCva20pYyn+E5eUCrg+ym1kxSg5jp ELKrx5KWlc88FuYqiqnaS8k+EJARexEm2Q2gVTPuZG752Bbvzz8rl/YgfpetKClZ+t2J yrsf6Z/gUSk55yqokty/rDNFv7LdFKWl5Syv22CUcruOoOyXBOezoL47Unr/PX4/iK6O RBD8UQAZtK0+1zRmrlxM6PufSBoO60/DEpgEwRZVP8Feyt2ZKotjwT/aq902/apy/QJF lLUx/QQXnBqIqkNfI6b43ay/bFVbjokcx9xqeNCAIUBe4l6UeHaiuwOkF6tCLu1QGcpH IPgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cRJaB6PP; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e67si9556076plb.107.2019.03.05.11.53.50; Tue, 05 Mar 2019 11:54:06 -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=pass header.i=@kernel.org header.s=default header.b=cRJaB6PP; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbfCETv4 (ORCPT + 99 others); Tue, 5 Mar 2019 14:51:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:38490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbfCETvz (ORCPT ); Tue, 5 Mar 2019 14:51:55 -0500 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EDBC220842; Tue, 5 Mar 2019 19:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551815515; bh=mi62H2Z9HgxxB2LjGwmgEcpoR5XIi5Q8qy64Uok/YtE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cRJaB6PPlcsgJLZD/Ii3ZGe6kWFd5M0c1+W24H9A5Pj4/bOmvWBXtFLkqF1Ce1bxp +gyjHhOdMT3BHsudYwBMKnEEnTZfytNHPcD/FLpKeRbISRXzB1d6yENHX/TvaQUewv uoOzvnw7LcCCTxrwYUd6rKTcUHBGX09TIW1J8DFw= Received: by mail-lj1-f178.google.com with SMTP id t13so8700489lji.2; Tue, 05 Mar 2019 11:51:54 -0800 (PST) X-Gm-Message-State: APjAAAWfwamYjQGfMC6mI9n6jJsvCe1esMfZ86j3681bMQUNuuAYu+GI LbriRU25Zt5EP9Sxo65hDLVDqAJZumLP6vVR+kI= X-Received: by 2002:a2e:93cf:: with SMTP id p15mr203624ljh.184.1551815513130; Tue, 05 Mar 2019 11:51:53 -0800 (PST) MIME-Version: 1.0 References: <20190222122144.19024-1-k.konieczny@partner.samsung.com> <20190222122144.19024-4-k.konieczny@partner.samsung.com> <20190305171303.GA29802@roeck-us.net> In-Reply-To: <20190305171303.GA29802@roeck-us.net> From: Krzysztof Kozlowski Date: Tue, 5 Mar 2019 20:51:41 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 3/3] crypto: s5p: add AES support for Exynos5433 To: Guenter Roeck 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ Best regards, Krzysztof