Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1212DC636D4 for ; Tue, 7 Feb 2023 09:49:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231491AbjBGJto (ORCPT ); Tue, 7 Feb 2023 04:49:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231164AbjBGJtn (ORCPT ); Tue, 7 Feb 2023 04:49:43 -0500 Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com [IPv6:2607:f8b0:4864:20::a32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D3E72CFD6 for ; Tue, 7 Feb 2023 01:49:42 -0800 (PST) Received: by mail-vk1-xa32.google.com with SMTP id 6so7552897vko.7 for ; Tue, 07 Feb 2023 01:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YoW3sjlSzqH6ySQMRZbQRxMotG8FJyB7q2pV+SeilrM=; b=g2IUWbA4gGq0AVgEaJMonDk+PY1GyDAWQ1luMTjMLAlvh/+9cE/NrqaQj1S0Y/IMJM VQUkPzq0sY7z0gCgMS5B6nczHQ/c4a5W/imV0oP6cAIiBbRncsWLULqSd7GyoRZcb3OK zzDmyfFZl05yo1SHwisn1V5xitiF52XUzoNQk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YoW3sjlSzqH6ySQMRZbQRxMotG8FJyB7q2pV+SeilrM=; b=8F00ZW80FcKbCjzjgkxSgUbSh7B/gaXBaH0PEWtZLPMEjtXfJf4kq+7u5GtjWxm/uR cZt9Q5qnN5TezDkgPmrNTjxEQiG7JPClopryJF0vdPmxGjsOl2n2JqlXo7815yUcVie3 1YzVYYtYFSZPNfk7rFmKur4JEcyG9Wm1uTKv38z7FB50uIOTEJYq9oYmaUFaqNePI/nQ Q5DNre2XsZP5stwNEQ4t7R2YuwsT/RNuXGP1P/72Moo3+vUxekxNAeCPuTGDsFn6GrDi Ws5dVrtrLmglnjuhiRQw6yD6OZX31EmWkTKSsmsNNBFNphmprfKb4cyOSeYGZMav2kSN 3/jg== X-Gm-Message-State: AO0yUKX3DdMDJioEfTqnnb5MGAbrLYOo9EueT8eJJhqzkOSwEV5XueX6 cBMd/ECuZwMbV3U9c8585zdEOiiwbhGSN3QbS56P9A== X-Google-Smtp-Source: AK7set8D6nY7w9ShU5K2U8eRiHiDa9ibytJS0Wv6eY0rGBr0MJsKEKzmlFXTcfeZomR8j6SmMRYHpsgb6aDQlDYucJs= X-Received: by 2002:a1f:9493:0:b0:3ea:7394:e9ef with SMTP id w141-20020a1f9493000000b003ea7394e9efmr317423vkd.11.1675763381226; Tue, 07 Feb 2023 01:49:41 -0800 (PST) MIME-Version: 1.0 References: <20230206152928.918562-1-angelogioacchino.delregno@collabora.com> <847332fb-5f10-a8dd-4203-a1906973d0ff@collabora.com> In-Reply-To: From: Chen-Yu Tsai Date: Tue, 7 Feb 2023 17:49:30 +0800 Message-ID: Subject: Re: [PATCH v1 00/45] MediaTek clocks: full module build and cleanups To: AngeloGioacchino Del Regno Cc: mturquette@baylibre.com, sboyd@kernel.org, matthias.bgg@gmail.com, johnson.wang@mediatek.com, miles.chen@mediatek.com, chun-jie.chen@mediatek.com, daniel@makrotopia.org, fparent@baylibre.com, msp@baylibre.com, nfraprado@collabora.com, rex-bc.chen@mediatek.com, zhaojh329@gmail.com, sam.shih@mediatek.com, edward-jw.yang@mediatek.com, yangyingliang@huawei.com, granquet@baylibre.com, pablo.sun@mediatek.com, sean.wang@mediatek.com, chen.zhong@mediatek.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 7, 2023 at 5:19 PM AngeloGioacchino Del Regno wrote: > > Il 07/02/23 10:04, Chen-Yu Tsai ha scritto: > > On Mon, Feb 6, 2023 at 11:38 PM AngeloGioacchino Del Regno > > wrote: > >> > >> Il 06/02/23 16:28, AngeloGioacchino Del Regno ha scritto: > >>> This is part 2 of the "MediaTek clocks cleanups and improvements" series, > >>> which was already picked. > >>> > >>> If reading this full cover letter is too boring for you, here's a short > >>> summary of the changes of this series: > >>> - Added mtk_clk_pdev_probe() for mtk-mmsys probed clocks; > >>> - Added divider clock support to common probe mechanism; > >>> - Various cleanups here and there; > >>> - Converted most clock drivers to platform_driver; > >>> - MediaTek clocks can now be built as modules. > >>> > >>> NOTE: Applies on top of [1]. > >>> > >>> > > > > Something broke on MT8183 Juniper, though I'm not sure what. It ended up > > crashing in mtk-cpufreq in a badly written error path. Once that was fixed > > it was endlessly looping through deferred probe. Seems like mtk-cpufreq > > was not able to get all its resources. > > > > I would be silly to expect everything to go alright in v1, wouldn't I? :-) > I'll recheck and try to understand what went wrong here. "clk: mediatek: mt8183: Convert all remaining clocks to common probe" is the first patch that breaks things. ChenYu