Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1995902imu; Thu, 24 Jan 2019 05:38:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN7fuC1L9LKX9UvygMOyYLSX33MoDv1Tq9nvmEXlx1RC0rLhAYwmbngu0/WQ84GXKpX2W3xJ X-Received: by 2002:a65:4904:: with SMTP id p4mr6012636pgs.384.1548337120417; Thu, 24 Jan 2019 05:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548337120; cv=none; d=google.com; s=arc-20160816; b=o1oM9WrNAxUUTr0WFNTepiuIg8z4TqZdR/h6oOTGSlbwoKj1hqVZVyZm7ZgVFNgpGh L+GS9c9466BpHPBvXoiX9en9PjuYtsjQqbfZsX6AUVIiMPZf5HncLVrdz6Zi3IznbBkE EcOEElGZX2/sSBz06dk+LA/VII7RFo6oPXfdL+/PVYiduKEOQM/ve/CkrsAn+mGOf/R7 jmXEDtb5INwYCA1V3nkBbg3FOwd7plaGGY5isl6A6PXG0SkQbMrLAzQLiqyXGk2LkcAc jRz0n/WrX6CKyXhBYpsjhySJ1CO4LuyKf1p/n07JD8Ni2IT/2ran4gkPN73mmzFynioE RA9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BIDDLjD93Q01EvenNmgx9BUIgFyDjV26ppaBH0sFIj4=; b=XD+pQNPSCMzhiPWpri9aEYjE5huvQXErr7su4Fy4HXy9lPHKFIFdBHiQqHrMyGqz9d WtD8hKd0PaiKKKHqTO5EEfvhq+S5EJUtrnSHnA/hImjUiJxPAntYKezVb8TbSrj9OT6L bnMyexNywoeZQjitFp9msbgmHufC8Ws+xIW08ySAfmOAleMWXW5BShszSuzkH5Rg2Epb lFSPMZvrK4Mw7Pp6GK3Wc33qH6W8FauyfBlu3whGBUznfQRgZ4xice3YBh5pFDwF0rW/ 2X7D6b/Og+iJDvOqmxv5dtSvqvgF9vbh7cQM71F97/ki4w/TPluZRUR0BRLeghs8kvas EXSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X4ODp44o; 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 e6si5283823pgp.504.2019.01.24.05.38.23; Thu, 24 Jan 2019 05:38:40 -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=@gmail.com header.s=20161025 header.b=X4ODp44o; 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 S1728037AbfAXNhf (ORCPT + 99 others); Thu, 24 Jan 2019 08:37:35 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52940 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbfAXNhe (ORCPT ); Thu, 24 Jan 2019 08:37:34 -0500 Received: by mail-wm1-f67.google.com with SMTP id m1so3161207wml.2; Thu, 24 Jan 2019 05:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BIDDLjD93Q01EvenNmgx9BUIgFyDjV26ppaBH0sFIj4=; b=X4ODp44oi24V/eF5iUqt4WipJz1jPMxQ6jmDloHS9F63EaC3TmeWpbAmVeSY+cMvgX mU/TjWgmqMDFXKgz2qRr7OxVxat+8h3m/umvULeEwhrPVcTENZO6qxeRXNTLb6U0VwvT DwQ+oFkgLrZ8GUpJloOEsSnhVBi8/0U2ufTVYqrIe1KuRX++V3ggO2meJbHj10Dt3y0+ lO2ClFNyTUkW9tXhKKdck7UNLtMj+8uf5C1Bak/AQuElf5gu2HWHX89ukTHriBCsfCwy e+VDrKE8QCdAZeRftSkE77/Q/InWNzcNc6TsEEad28lra3IE9nTqUil4j3Zdxy80dj0t f0zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BIDDLjD93Q01EvenNmgx9BUIgFyDjV26ppaBH0sFIj4=; b=L4Eovvh5kdq9S5VtkxmsOXlq0Ouucdpigorl17sY9RjfFPH7sFIrxw74rmidJ0IQAT ErG8KZ4xP+aGOJt61bxXUlLrZLRVtLPgo5L13tLcxZpZwI+BxYgHDb9ft0FDszBMEUDz CV0hW1jZgxPVLDhkSjBmPZx3rO5IH2U+/yFRMLz827SP6AxEXiArsWI+I8wRrCF3qSoL EOvAoQrwbftCyzhKcW2lcuqq8zwSX6Nhyg+J4RShNBihiLkcZOk5nYDp8M53mHJK0eZ2 Rssw8uC8jj8xivqUEEkLD/lhf2umpXYRQxs7gy2LnyD3gHnEn92FlNqc4ZtRbKBL4RV0 6tlQ== X-Gm-Message-State: AHQUAuaZPod2x9/p20Oi2KLadRcsmAaSabMkrL+bWYhLKUCL+j7YXKl3 /NPoN//Dsz6YBXuG5f4gnvY= X-Received: by 2002:a1c:1b8d:: with SMTP id b135mr2730107wmb.115.1548337052684; Thu, 24 Jan 2019 05:37:32 -0800 (PST) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id a132sm71829930wmh.5.2019.01.24.05.37.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 05:37:31 -0800 (PST) Date: Thu, 24 Jan 2019 14:37:29 +0100 From: Corentin Labbe To: Kamil Konieczny Cc: Krzysztof Kozlowski , 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 Subject: Re: [PATCH v2 3/3] crypto: s5p: add AES support for Exynos5433 Message-ID: <20190124133729.GB13624@Red> References: <20190123165533.29645-1-k.konieczny@partner.samsung.com> <20190123165533.29645-4-k.konieczny@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190123165533.29645-4-k.konieczny@partner.samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, 2019 at 05:55:33PM +0100, Kamil Konieczny wrote: > Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. > > 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..e2d247f59254 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; > + char *clk_names[]; Hello this could be set as const Regards