Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2564531rwb; Fri, 16 Dec 2022 03:58:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf5hi1e/5BuuXfDEW7I6UgGJtoOzuMtDGFJjZovCj/o6ZRdvxUvtnHa8rDL0s2TO4CzfUqEQ X-Received: by 2002:a17:906:8d08:b0:7c1:700:1e2d with SMTP id rv8-20020a1709068d0800b007c107001e2dmr42856963ejc.20.1671191887447; Fri, 16 Dec 2022 03:58:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671191887; cv=none; d=google.com; s=arc-20160816; b=DI61rCGC+JF6pir9fLuQIRLKgvLl3NR70ab8pquMo23q0RCkWOx+n5924ViTtnx132 dDibpuW7ud3mj2AUpJQn5p9Wj6l3k/5iwMQiTm0DgJGEJu4VsOFvkSIQ6wWhf595oEsM ijlniaofg8X8x6T02WBb6QXAR3paCnPTb4jk5yiGZy7HqSdtvQEQcbhtRCS2V2ZFg3VT InyOHcAcXqu+vlcr98Kqf6iv1214fA/aAWjIEMHtPy5V/lSzhLHf/UVnvHv+sKN8O0lu aqTIhd37/qdu0miX4B3b0ze2PeA6d6i85oCVcCBGYa+Npc5C+wej1tJjXqMY6d41cE+E sLQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=sO4cl5xjhBVd3+iJHoMx+vhvACtxqzk7PC5Y+IYSlGo=; b=EBvHGQ3mN1aqMS/9yGG9vWR0t5LMf0XHn7MOIcZYCjMsiEwZeIB7hcoGHkRJlb65PZ xwE+cKZfEays8uRTgBgEsP6i/jh1u0pAOBWdNurdJrMWr60wxdSOuiCtlWRaK1HDKMXF aMn5jSz01f672TbWU6pXZSKi8SU8JrwpW9N3Z24duKuKFO5NXV0Oiocf3tZ/I9t7mpQS wirvuJm5/rhKoxP8DJx3+krzFpJNr1CBLThCRFSc0d//QoVyE5q12S5YQMQ0NGzDTxRi ucXxHeKf5dfDJPYEDJ1fQzCJF/1KzOxrrFR/klVtBVJiyisnwmX12pkKwEz8RcoZJx2V USZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U+wbUqs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh34-20020a1709076ea200b00780ec98afafsi170949ejc.113.2022.12.16.03.57.51; Fri, 16 Dec 2022 03:58:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U+wbUqs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230150AbiLPKqV (ORCPT + 68 others); Fri, 16 Dec 2022 05:46:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbiLPKqS (ORCPT ); Fri, 16 Dec 2022 05:46:18 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7E01A7; Fri, 16 Dec 2022 02:46:17 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id w15so2054001wrl.9; Fri, 16 Dec 2022 02:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sO4cl5xjhBVd3+iJHoMx+vhvACtxqzk7PC5Y+IYSlGo=; b=U+wbUqs6y5Ha3t9PLfeWlC2Tn5Exdl4K5spuYibUc5x4Tako5sn+lV2bE7eNBDrXHY TphwwB5MfnzepvG/hWZZBVC2+59pd3VSdorV4S1rQRJpujtVaPon1fkyvAv35JO63SpW DMAvbbLO8MAPK05sKTQWD/lsr6eZ1zmwpB0dM0PlrTWBFwMoso37SLjeIlIGak0TFaMq Idfn+zrcnNvR7XcyxkzF1B65JRBzk+MjX6RVkutgYUJ8l1mDq5K6ze7/FVgvuow77c0q 7NioshZexPrE9jJ/SWXfGZFbNm65oL75dnovVmi1hDXz/AMqAdPaF3HezRiydofhTUcx nJCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sO4cl5xjhBVd3+iJHoMx+vhvACtxqzk7PC5Y+IYSlGo=; b=43W0/Q68SrbIgUOKt9UmTPqmsa/bCgHgxRrSHgdWbot/Mt6OiPDV4YnEk4heLS8Jcv 1eaIS8LfzQkMOEsP3K0ECby1Nole1rxbHgRPLNjaw8yIJYhD8MD7CfXV6If7IB6hfBPf nrLhuhQLWYTvrxFjz4H+7bbmmz2D2uqd3AGCyPRTXuvlh6x0lB6e239Mn/qIPzIFVG9o FwPUHMZGLvKeQgdBWzPcaTFHVlwvopKSnQmq/dJ3tVkrR+ewzHSEvXnH6+8A1jJau22q ewYs1cxEUjIxFccIHlLFIVFxbKmbmrHpOpAiffnj8HwXyk5U07fuNh5ZcGOJN8yIpwOF GqQw== X-Gm-Message-State: ANoB5pkGMVK/QsEgdMUE7y9kYVfXtBdNELBSNfKyAyM0plq5fr2UUsMX ZIjwL0QyjmE7/xiGrknrEVY= X-Received: by 2002:adf:a44f:0:b0:242:63e5:2449 with SMTP id e15-20020adfa44f000000b0024263e52449mr22819655wra.69.1671187575593; Fri, 16 Dec 2022 02:46:15 -0800 (PST) Received: from [192.168.1.132] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id r4-20020adfa144000000b002367ad808a9sm1974295wrr.30.2022.12.16.02.46.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 02:46:14 -0800 (PST) Message-ID: Date: Fri, 16 Dec 2022 11:46:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v3 01/10] arm64: dts: mt8183: Fix Mali GPU clock Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: mturquette@baylibre.com, sboyd@kernel.org, wenst@chromium.org, miles.chen@mediatek.com, rex-bc.chen@mediatek.com, chun-jie.chen@mediatek.com, jose.exposito89@gmail.com, drinkcat@chromium.org, weiyi.lu@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, angelogioacchino.delregno@collabora.com References: <20220927101128.44758-1-angelogioacchino.delregno@collabora.com> <20220927101128.44758-2-angelogioacchino.delregno@collabora.com> <20221206183037.3jnssar4yxcx5hpb@notapiano> From: Matthias Brugger In-Reply-To: <20221206183037.3jnssar4yxcx5hpb@notapiano> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/12/2022 19:30, Nícolas F. R. A. Prado wrote: > On Tue, Sep 27, 2022 at 12:11:19PM +0200, AngeloGioacchino Del Regno wrote: >> From: Chen-Yu Tsai >> >> The actual clock feeding into the Mali GPU on the MT8183 is from the >> clock gate in the MFGCFG block, not CLK_TOP_MFGPLL_CK from the TOPCKGEN >> block, which itself is simply a pass-through placeholder for the MFGPLL >> in the APMIXEDSYS block. >> >> Fix the hardware description with the correct clock reference. >> >> Fixes: a8168cebf1bc ("arm64: dts: mt8183: Add node for the Mali GPU") >> Signed-off-by: Chen-Yu Tsai >> Reviewed-by: AngeloGioacchino Del Regno >> Signed-off-by: AngeloGioacchino Del Regno > > Hi, > > it seems that while all other patches on this series were applied by Chen-Yu > through the clk tree, this commit never made it to the mediatek tree. > > As a result, MT8183-based machines (or at least mt8183-kukui-jacuzzi, where I > tested on) currently hang during boot not only on next, but also on mainline, > v6.1-rc8. With this commit applied I've confirmed that the machine boots fine > again. > > Matthias, could you please apply this commit and make sure it makes its way to > v6.1? Given the Fixes tag it should eventually make its way there anyway, but if > still possible would be good to have it fixed right from v6.1. > > Tested-by: Nícolas F. R. A. Prado Applied now. Sorry for the late reply. Matthias > > Thanks, > Nícolas > >> --- >> arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> index a70b669c49ba..402136bfd535 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi >> @@ -1678,7 +1678,7 @@ gpu: gpu@13040000 { >> ; >> interrupt-names = "job", "mmu", "gpu"; >> >> - clocks = <&topckgen CLK_TOP_MFGPLL_CK>; >> + clocks = <&mfgcfg CLK_MFG_BG3D>; >> >> power-domains = >> <&spm MT8183_POWER_DOMAIN_MFG_CORE0>, >> -- >> 2.37.2 >> >> >>