Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp498687imb; Fri, 1 Mar 2019 06:25:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IYIqWFKRZQI7iyE32QuqLCcsC7+FqfHL/CT0Ea/aBJk6/0j/tdalnKYvSQ7Y89Bt4/AsrUx X-Received: by 2002:a62:5385:: with SMTP id h127mr5725562pfb.10.1551450318017; Fri, 01 Mar 2019 06:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551450318; cv=none; d=google.com; s=arc-20160816; b=sbHmfwxqjcpcGku1uIrvct/hR/L9MlB5TxJ6HVv4/aNlwut/rcFs6+et4jLBWrFNuT 16a3gzKn6liMp9mSMY0sZwdos1oQ3lSxxbj+hyzA8zd6vvTKJ4XMUFiwNsNkz+65xdvm 70ULW9v1AuxdaE80tKmbumstol+m0vhN/VCHCKOpdWJepFJqVj/I66f/4GuXTVkCpgq+ F2GlC2Zd5XGQUbRA5eMzL8ecW0ZJWDQeNJGT82z6oEH7t/Zd3h5EPHRY7dqYxF3ITCnC AgnlXw9rExmjkVlULK6+6XsWzCTg8LjYG380zpXUmvrcVrtK090LZNzZo/Fs9gq56wpe GIEQ== 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=VJiVvlMF6LQxklH7pxWd0vT84Na8hTikTOqpFMnC9zc=; b=Rf7nSt1GQF7CrOvZFNY0MooT/6S4UKp2H1BpNntdD4vb+C1EugBCqDOxXVxeKEMLzX ghemXe4jBZUErrl7C+U0tin3e3l1cDCCSdGgDHQCy2EAsO0xu98QCnEYN98msKVsiFfD tHOZzzQzmV+4HfdtzZjPsw+O+96fgCxzs9md3p1njixn0Xdzk1iMXgX8OmzvFhB0Po/w euyxEx3dGWBQBAqawNwLbWkmnTQqzSjBH0fcX6dWES3Dagk00baNVgxXcZYWAMBYeaVh z7ULfi3oiUhaixWUHAvX+LzdCYAlFnQIv/Nrqz28TsMPMGTLyUYrkhQh8EqXr7dy6hBW dHOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ct01i9Vx; 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 q20si19820174pgl.268.2019.03.01.06.25.01; Fri, 01 Mar 2019 06:25:18 -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=ct01i9Vx; 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 S2388181AbfCAOTZ (ORCPT + 99 others); Fri, 1 Mar 2019 09:19:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:45832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbfCAOS0 (ORCPT ); Fri, 1 Mar 2019 09:18:26 -0500 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 1EE432186A; Fri, 1 Mar 2019 14:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551449905; bh=t99BW6mR9B3G7g9uDs5UKsOOZe7MrNKyijbNAv48ZY8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ct01i9Vx/TfZQAq7ZC03Gt/2zM7EghWpqRjuLxDEfzva/qlrYWUjEuU1bH0JjxdIX OJg8eeVNjZdV8BI96xjNqaQPSdjIDSwAp82khQM5/osIqyby2L/W0ZSUonYMqZn+0w rQWhYw2wmTMinf3zd6cxkUi3Bd2DZPh+G2S+Tkqo= Received: by mail-lj1-f169.google.com with SMTP id v16so20500037ljg.13; Fri, 01 Mar 2019 06:18:25 -0800 (PST) X-Gm-Message-State: APjAAAWPc77qehiHiYPMDhLgiwWDZRELvTELprqX/Tn/I1F9oaCRKwBK s4XGAHvbRBa/K5P5FFxYVBA66cTQ2svjQhGOx8E= X-Received: by 2002:a2e:780a:: with SMTP id t10mr2499245ljc.19.1551449903224; Fri, 01 Mar 2019 06:18:23 -0800 (PST) MIME-Version: 1.0 References: <20190301140254.19341-1-k.konieczny@partner.samsung.com> In-Reply-To: <20190301140254.19341-1-k.konieczny@partner.samsung.com> From: Krzysztof Kozlowski Date: Fri, 1 Mar 2019 15:18:11 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] crypto: s5p-sss - fix AES support for Exynos5433 To: Kamil Konieczny Cc: Herbert Xu , "David S. Miller" , Vladimir Zapolskiy , Bartlomiej Zolnierkiewicz , Marek Szyprowski , linux-crypto@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , linux-kernel@vger.kernel.org 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 Fri, 1 Mar 2019 at 15:03, Kamil Konieczny wrote: > > Commit 0918f18c7179 ("crypto: s5p - add AES support for Exynos5433") > introduced bug in dereferencing clk_names[1] on platforms different from > Exynos5433. On Exynos board XU3 call trace is: > > "Unable to handle kernel paging request at virtual address 00004000" > (strcmp) from [] (of_property_match_string+0x58/0xd0) > ... > (devm_clk_get) from [] (s5p_aes_probe+0xd4/0x4a0) > (s5p_aes_probe) from [] (platform_drv_probe+0x6c/0xa4) > > Fix this by setting array clk_names size to 2. > > Fixes: 0918f18c7179 ("crypto: s5p - add AES support for Exynos5433") > Reported-by: Krzysztof Kozlowski > Signed-off-by: Kamil Konieczny > --- > drivers/crypto/s5p-sss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks for fast fix! Reviewed-by: Krzysztof Kozlowski Tested on Exynos5422 Odroid HC1: Tested-by: Krzysztof Kozlowski Best regards, Krzysztof