Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp178951pxf; Wed, 10 Mar 2021 03:48:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJySGFnL5Rule3OPQkcJrG4g1xtqudD+GheqHs79h4vqlOr+TWtoSg8YgNGmN4A2PYAvM2QN X-Received: by 2002:a05:6402:9:: with SMTP id d9mr2740561edu.67.1615376889501; Wed, 10 Mar 2021 03:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615376889; cv=none; d=google.com; s=arc-20160816; b=yL1cmA7loqhFtGham2cSmg70ocVgW+5s7p4cdg2aUP1fp6cfY07vns1pQ4iwl25EX0 cyXS50bYkMB1alxsxU2SfwrLxvEavEeGRaP5mvXfideMmUS/2eeH2do+zeVa1Pkksbtk 3ZmLpmhLbE3mNI5+TCd4xUoBobI8WFvUNEfb4U57LBnQ9pjvwGktzUE4kykPdU9/POSS CXmpEEagx9K/VQgxoENwL6xglTWEK0A2nkP0MXbrwshRbR1SBVwPuALjHgKl7h5SFTmt ozB40F4CktEq6nco7P4J6XPULoA2RY2b8s1mV1kNW3FX0mLDX9csY5457Wgim8yYbPUI 7TLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7MDculd5PWLFOFwl290sy7CTqICAtBb0zJmC/83JNiY=; b=NVtBxacN0GcrtIW8zjVY+551Ra/FueOoYLMpzWVVZw6NOmNQeus8xlyDPXcz9Nk5vJ IkbSEN20zOV5sMq+JElQnmJMI1HE5mg1lA4Io/cKN58U2wAPWWl+QSoSPaQ7gnkkAifw IVfxVpvMPC3fIm0SWmW19bJL554CIaL2ZP8kwvOA1Qr5YFUoHrRqAEvRBGPT/yiryRny IwpSel43Z1NUc5wfKjoa03N+tYZHh/dsBPFTSusEdKuwyERo/Imcx1uaSn5NHmZSVL9D LdQsXjjsIS+PVc4vBdU5j7KI0Rb0sKTo7LI5b5Gto4gUPoLBMFjxxON2zW739FES2UNe Gyww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jyhuw1uU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bz20si7422367ejc.368.2021.03.10.03.47.46; Wed, 10 Mar 2021 03:48:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jyhuw1uU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232535AbhCJLoW (ORCPT + 99 others); Wed, 10 Mar 2021 06:44:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231356AbhCJLnn (ORCPT ); Wed, 10 Mar 2021 06:43:43 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F002FC06174A; Wed, 10 Mar 2021 03:43:41 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id p16so17578718ioj.4; Wed, 10 Mar 2021 03:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7MDculd5PWLFOFwl290sy7CTqICAtBb0zJmC/83JNiY=; b=jyhuw1uUViTVh9mqzgoJ/J29crJCPM2TJeyX7WB/RlRW8RVVbQjnWXpzdkbCZfVK7y RRrsVERxnfxdAdkz2Wf6fgMQwHQl2It5TUvgjZbP1buY9VW1KR7M/9aF3D/QnUKV/wEi 0eV7hG5BSbChAnQSi7vhkbAdfpTyn3eiIwZbKdRdU1FMzRH0XrE0EyxjNo5CgF+fzKAm i08ouwrBHH3ksVRAE7HJ7qX2f2p4KcP8AQz2XuiChoZ72uOpj1oWu0rCxwH1MzwczzzS lDyySAebm6U41iADqPqpRAQMBt1vPFmbIYT316NfnAOljlhkKJhuins3NibQAaRdQNd0 0cOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7MDculd5PWLFOFwl290sy7CTqICAtBb0zJmC/83JNiY=; b=bgI/AnZRt/Y+uj0t1U4nQfKI70HPpvSYx//HoIPgEP1EaQvisDECBfZw/8CV+DWTtN U3zxSRtukGrF9nrvEuaSQSKXWYU9AlUe0EfX959FRfyb8wDDCzfiTxHlaSPe5aeosHfd 3KKDhlgv6AWCPuCNRJ6upbdPxiZApdf5vN+4yPnw04v7qmlouVqpMHXghMmp6ASnzEqw c6HCa39GWhuMQdSfoLeOZMRbIhBg3D6u+3zRNLKU+2TOx4EIDDBtJroSidg6B0Vue08+ adQeMNm6sy4WH9X2yaJxscrnZkkiPDqA3wHtVdESARYSlmIXXANKAasqDrMT++BOYZ7+ vR+g== X-Gm-Message-State: AOAM531fVtTa3lLU1OVK5eWjcO6p4IjdT00g58znKBIGqw8Ufn3l+sfN yhfWP0oIEkmS/gnVOHUF5Zk0qMNDQippnzPFEmA= X-Received: by 2002:a6b:4f09:: with SMTP id d9mr2013952iob.60.1615376621486; Wed, 10 Mar 2021 03:43:41 -0800 (PST) MIME-Version: 1.0 References: <1590564453-24499-1-git-send-email-dillon.minfei@gmail.com> <1590564453-24499-6-git-send-email-dillon.minfei@gmail.com> <159056850384.88029.10852284922297394339@swboyd.mtv.corp.google.com> In-Reply-To: <159056850384.88029.10852284922297394339@swboyd.mtv.corp.google.com> From: dillon min Date: Wed, 10 Mar 2021 19:43:05 +0800 Message-ID: Subject: Re: [PATCH v6 5/9] clk: stm32: Fix stm32f429's ltdc driver hang in set clock rate To: Stephen Boyd Cc: Dave Airlie , Alexandre Torgue , Andy Shevchenko , Mark Brown , Daniel Vetter , Linus Walleij , Maxime Coquelin , Michael Turquette , =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , p.zabel@pengutronix.de, Rob Herring , Sam Ravnborg , thierry.reding@gmail.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux Kernel Mailing List , linux-spi , linux-stm32@st-md-mailman.stormreply.com, "open list:DRM PANEL DRIVERS" , linux-clk , Hua Dillon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.minfei@gmail.com (2020-05-27 00:27:29) > > From: dillon min > > > > This is due to misuse \u2018PLL_VCO_SAI' and'PLL_SAI' in clk-stm32f4.c > > 'PLL_SAI' is 2, 'PLL_VCO_SAI' is 7(defined in > > include/dt-bindings/clock/stm32fx-clock.h). > > > > 'post_div' point to 'post_div_data[]', 'post_div->pll_num' > > is PLL_I2S or PLL_SAI. > > > > 'clks[PLL_VCO_SAI]' has valid 'struct clk_hw* ' return > > from stm32f4_rcc_register_pll() but, at line 1777 of > > driver/clk/clk-stm32f4.c, use the 'clks[post_div->pll_num]', > > equal to 'clks[PLL_SAI]', this is invalid array member at that time. > > > > Fixes: 517633ef630e ("clk: stm32f4: Add post divisor for I2S & SAI PLLs") > > Signed-off-by: dillon min > > --- > > Acked-by: Stephen Boyd