Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1795877rdb; Sat, 2 Dec 2023 09:30:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3IurEFbKf76Ia6/oQZwogDHIM+FaJidIz99UUYWKoMDs1lldsYHbro/v+jESfRy5htL3B X-Received: by 2002:a17:902:ecc2:b0:1cf:e9b3:e217 with SMTP id a2-20020a170902ecc200b001cfe9b3e217mr1822982plh.55.1701538239157; Sat, 02 Dec 2023 09:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701538239; cv=none; d=google.com; s=arc-20160816; b=CblZ3LjcGjbvlsZU1VKelqgP59olcaJa+ryA591YCw2ezPIORkPy35957abFnW1KA5 ljXPt6TnNYd89p1N6haoY3SYgrQ+CBZLESpNMR/NIpNfKB5sirJu80DAWkL+xB7hd35Z x6TyisymUrINel/Iwc8bZrgfht0oSNLz7zMhFgeiq5dWn5VqtuaKgu0Tx1Pnu/4CIDbn Ddz4TooFQ+4hErvm8B5i8g2e7sLyifVa+qvdH9pfjk7fd+C+IGPMde7UkEJI45OVC4fp vVg73S61URobS5uEMRubRKOoxRxwEm1XH+crHpn24EQbXLsmiv0/WECR8PUdiiTK4TTa /0hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UOg0neSwYTvDFET+i5iPup/ZjKSuSV49mahFCPqPDAY=; fh=qtjcel4rjFU1L3tRfhFOlqGTwjkatxTOiyL8Pyn0OJg=; b=sGO4ICdJ2KZPZa/woxV7ra3M6Gc0v+4hWiJ4ANcosaV6wLJjfp3shROaFNWpQYOmoI qAu0QOAYdUxHt+m0zOUhu25W99dThqojXa5E+nYQgeJnrW9LYMWkZTFGhOYoy3q5xi0h rdgjbUYr95HVd5Kb+gT+ebqknxMjSfiL1yjVWUTnBGnirEL4o0O+Y4H3WcrSJZn4uLoB DVj2c+JQ//15fWfjT+e1GQigntLakZqNI9svPr+iXe9mUJY9KbumRxhfeNYzggr6Slk8 CleQkmhtj35tt0EMGAJnMM+R+OnDc5TIy3k+mMqaufRscg+RgfMPIg/X5IyNvEJvyU71 OfMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vYz903Pd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t10-20020a170902e84a00b001d003f8b649si5262041plg.142.2023.12.02.09.30.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 09:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vYz903Pd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C1D178065034; Sat, 2 Dec 2023 09:30:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbjLBRXc (ORCPT + 99 others); Sat, 2 Dec 2023 12:23:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjLBRXc (ORCPT ); Sat, 2 Dec 2023 12:23:32 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 485EEE6; Sat, 2 Dec 2023 09:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=UOg0neSwYTvDFET+i5iPup/ZjKSuSV49mahFCPqPDAY=; b=vYz903PdIZNmg8KxSnMl1ZR6kx A20pWgJjKZ8AqI6SmnMAhDMADeNodT+QUYeDprwy2rgO6em50G/AieniE74FWIuQxysIxcX3+bWni L5Lr5HhK/NVYiciAcsvy/sdHSyYXONMQk7Ba4kqgIEDVygkU7fgqR2SgymgmKhg6R6eM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r9TiG-001rLm-2T; Sat, 02 Dec 2023 18:23:32 +0100 Date: Sat, 2 Dec 2023 18:23:32 +0100 From: Andrew Lunn To: David Wu Cc: netdev@vger.kernel.org, sebastian.reichel@collabora.com, davem@davemloft.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ethernet: stmmac: dwmac-rk: Repair the clock handling Message-ID: <334c740b-eda2-450d-b000-2ed39b86779e@lunn.ch> References: <20231202091806.179512-1-david.wu@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231202091806.179512-1-david.wu@rock-chips.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 02 Dec 2023 09:30:17 -0800 (PST) On Sat, Dec 02, 2023 at 05:18:06PM +0800, David Wu wrote: > It's clarier and simpler to replace devm_clk_bulk_get_optional > via devm_clk_bulk_get_all. And it may be a different clocks > combination for different Socs, so for the clk_mac_speed, it is > more correct to obtain the clock directly by its name. Is this fixing a real bug? What is that bug? This is a big change, and it is not obviously correct. Please take a look at the stable rules: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html Could you create a minimal fix for stable, and direct this change to net-next? Andrew --- pw-bot: cr