Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1105076rwi; Fri, 14 Oct 2022 13:01:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ksM0EyL8vOJHlZWx7f+4tJP/3oVd9zRZeZ9VLqcKlfpL+6qWZ9m9X16E2E4ikjXOpDD2z X-Received: by 2002:a17:906:6a04:b0:78d:ee09:d956 with SMTP id qw4-20020a1709066a0400b0078dee09d956mr4697171ejc.698.1665777680781; Fri, 14 Oct 2022 13:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665777680; cv=none; d=google.com; s=arc-20160816; b=Am8rhKSW5sqQVto8VJi0ije7cqNlyYpehrtdFnAN858OiVxGgfjL6j95nIdlX/oCFm tiEJAXqvAOOoEup/QMYQG3k8RkHekQiY1c0+VCuIL6fWiho2ej9Pn+vDYhl0WBBTFliW zI1fJisdN7YeKWZcNfX5UiFXSh9g1ikvym7Zwb3d49jlGq33q9ZteCECz81eUfkBaR/4 49Zzzu1bjqxnBMPfwX2WatRRzwu8yOY9FqAhU2xLOVoSdZGrkmuZu0lt2RwM8NgfPMct WtKVYPORHWTMl+SZLf+tLTDDaaLg6RZUxMZoO9HTsNf45eAbPDEno772qInSzNjW/DlE MkVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=HrJt45b+9o4cSC3PsPeMV+26yeqHTb68J69gThNknyo=; b=Vd0kpVjOkKqgVsAUN5sRoYJUSBZ+jgHX+VUaYglgUWM9FMiYRIeV89Q5j2jeYi2/lv ZxL1z6vF3viFTcF/mHlFh1BVXDefxzkiWwGdhXh3mVnDMVlfQx4mZvF8kqLyHVcoWq98 OacmY8YGV3e7ZiNTiLhbMmYC/rCWO7wZZLHiqK5ak/qlFXn/8vfEMV3o4HFeTHXll/9b FQG8vkU+bJ7duw8yJAFCSCzdKjKpE3wu3091Y2+vTlZ7z1W8y8qSC4Ipc9qtI7WxmXfW 88Sn58pdcCVPgGRqZv+uF+9jYSWNaQg7iSCi+h5NvqK2jZEBzyPHF0VpY9XSgOb+QDq9 ZMVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hh6OMbuL; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a50f606000000b004599cb57915si3271681edn.112.2022.10.14.13.00.47; Fri, 14 Oct 2022 13:01:20 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=hh6OMbuL; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230327AbiJNTgz (ORCPT + 99 others); Fri, 14 Oct 2022 15:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbiJNTgx (ORCPT ); Fri, 14 Oct 2022 15:36:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FADC189821; Fri, 14 Oct 2022 12:36:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AF99C61C06; Fri, 14 Oct 2022 19:36:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C745C433D6; Fri, 14 Oct 2022 19:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665776212; bh=eEjhidYj5VNDiYpsn0HCO9fjIL2iJoV/K1rtE5CgI+c=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=hh6OMbuLYYkASYw11pxYoljgA2UiKs3kot9AoYNPCPFO8QRgzGmnX7Iqkub/mNvCp /WH49y9IFDgsbYhBLm86ry6R7MuRi+fP5mIkqW0sBDUkEhO5TXea9chdhqroaA7aJC gdFRcBmUSN+D8ToYTXW6/jCZf5ne/iIgSarYfptVWYlg1ZLCgFPQG8GrOs4vH498At KuAjBhT/G+L0dDXV+5slII16jNcDOV+mLSHeHZBKpD7hrTQDz8NkTUMial/yZgOYcE +KHv7H6DCLgeK8CKlMUPgvGGJ03d7fdWYvV2g9WgZckCrYRes7IDJRnxWYWb/jwIe+ fj/Uc/fEKrqgA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221012135619.wxyzuqheolhypoec@houat> References: <20221011135548.318323-1-angelogioacchino.delregno@collabora.com> <20221012085555.3nls7ja56vlnaz2w@houat> <20221012094004.jgiyvmbgomiyedik@houat> <6e76f90f-3b6a-330d-6902-b31bf3d33ad4@collabora.com> <20221012114813.6d6adro746w5bd7c@houat> <20221012135619.wxyzuqheolhypoec@houat> Subject: Re: [PATCH v2] clk: mediatek: clk-mux: Add .determine_rate() callback From: Stephen Boyd Cc: mturquette@baylibre.com, matthias.bgg@gmail.com, chun-jie.chen@mediatek.com, miles.chen@mediatek.com, wenst@chromium.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org To: AngeloGioacchino Del Regno , Maxime Ripard Date: Fri, 14 Oct 2022 12:36:50 -0700 User-Agent: alot/0.10 Message-Id: <20221014193652.0C745C433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Quoting Maxime Ripard (2022-10-12 06:56:19) >=20 > I think we need to address this in multiple ways: >=20 > - If you have ftrace enabled on that platform, running with "tp_printk > trace_event=3Dclk:*" in the kernel command line on a failing kernel wou= ld > be great, so that we can figure out what is happening exactly. >=20 > - We really need to merge your patch above as well; >=20 > - And, if we can, we should forbid to register a mux without a > determine_rate implementation. We have to take into account that some > muxes are going to be RO and won't need a determine_rate > implementation at all, but a clock with a set_parent and without a > determine_rate seems like a weird combination. >=20 So should I apply this patch now on clk-next? Given this regression I'm leaning towards not sending off the clk rate request this merge window and letting it bake another cycle.