From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05832C433FE for ; Fri, 14 Oct 2022 19:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MoWK2jh151qqBaRRJAPS+T6ncWynHs0MDQ2ZiaJeQRo=; b=BN79djp5bx+z7T KjeJ5A1seWkdg5sZltRJFQ9+xQUHID/Y49Ske7IUGnhN26LLdZIE8a/l+A8R/E4yhwztTU1jC5OlY 8Elw+XjDjaUUECTDa0fzeJXviBjmGt5+thIDWnN0K+1P3PkXqZ8um49TMLPp4U98aQuAfpBtjMXdc VrUH3HaE7WLGBaEj+64Az5ttH7PFwb7+VQymOqr2YNYYywGifoxfDPpVFB4kDCgfwDQo1ixHYQTq+ xwnTh4WKvR2agHj8WEG3HyciV9kseNLFHqxPMjxvTG5i3npybefPBwKtbdLnHNoP0nWnUDhalq2ts ZMTjXWio1040iiK/imXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojQUN-00FihY-Ik; Fri, 14 Oct 2022 19:36:59 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojQUK-00Fify-Va; Fri, 14 Oct 2022 19:36:58 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id 5CA41B8161D; Fri, 14 Oct 2022 19:36:53 +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== MIME-Version: 1.0 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_123657_200980_4EB418B4 X-CRM114-Status: GOOD ( 14.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Maxime Ripard (2022-10-12 06:56:19) > > I think we need to address this in multiple ways: > > - If you have ftrace enabled on that platform, running with "tp_printk > trace_event=clk:*" in the kernel command line on a failing kernel would > be great, so that we can figure out what is happening exactly. > > - We really need to merge your patch above as well; > > - 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. > 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel