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 BCCB5C433F5 for ; Wed, 16 Mar 2022 12:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242785AbiCPMy2 (ORCPT ); Wed, 16 Mar 2022 08:54:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237944AbiCPMy1 (ORCPT ); Wed, 16 Mar 2022 08:54:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C612AE57 for ; Wed, 16 Mar 2022 05:53:13 -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 ams.source.kernel.org (Postfix) with ESMTPS id DC85FB81B05 for ; Wed, 16 Mar 2022 12:53:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F2EEC340E9; Wed, 16 Mar 2022 12:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647435190; bh=aTG10iCveKqlYkoWYu3dC5Y8It+r7sO5z+jrU6yTGTg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E0x7AmTS0OlYdgpwj27Kj9JS2ibFEat+aKZi/xTqxthcfPnxEZEgkQf5zE4XpV4KP ireJ0RWFe5vfBEHxYu909YPtRWhrsF2g/ZYDfzKhZWgfFBiNXL55u1XMBxg0V21AVz uGDiTOR5e0V/Pd7ciDM8XVbrUsP4K0jzpEfaNdjU= Date: Wed, 16 Mar 2022 13:53:07 +0100 From: Greg KH To: Guoqing Jiang Cc: stable@vger.kernel.org Subject: Re: question about one acpi-cpufreq commit Message-ID: References: <87723ab6-2aa7-cf7f-0e91-38a35b29f92b@linux.dev> <725da4b6-8ce8-d2d1-a9ce-cd8ca2e89fee@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <725da4b6-8ce8-d2d1-a9ce-cd8ca2e89fee@linux.dev> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Mar 16, 2022 at 08:42:56PM +0800, Guoqing Jiang wrote: > > > On 3/16/22 7:02 PM, Greg KH wrote: > > On Wed, Mar 16, 2022 at 04:56:11PM +0800, Guoqing Jiang wrote: > > > Hi, > > > > > > I just found the commit in 5.10 stable kernel. > > > > > > stable-linux> git tag --sort=taggerdate --contain > > > 8a3fc32b322cc3081dd3569047c9834f496b4ab0 | head -1 > > > v5.10.17 > > > > > > commit 8a3fc32b322cc3081dd3569047c9834f496b4ab0 > > > Author: Rafael J. Wysocki > > > Date:   Thu Feb 4 18:25:37 2021 +0100 > > > > > >     cpufreq: ACPI: Extend frequency tables to cover boost frequencies > > > > > >     commit 3c55e94c0adea4a5389c4b80f6ae9927dd6a4501 upstream. > > > > > >    [ ... ] > > > > > >     Fixes: 41ea667227ba ("x86, sched: Calculate frequency invariance for AMD > > > systems") > > >     Fixes: 976df7e5730e ("x86, sched: Use midpoint of max_boost and max_P > > > for frequency invariance on AMD EPYC") > > >     Fixes: db865272d9c4 ("cpufreq: Avoid configuring old governors as > > > default with intel_pstate") > > > > > > Except db865272d9c4 was applied in v5.10-rc2, the others (41ea667227ba and > > > 976df7e5730e) > > > were first appeared in v5.11-rc1. > > > > > > linux> git tag --sort=taggerdate --contain 41ea667227ba | head -1 > > > v5.11-rc1 > > > linux> git tag --sort=taggerdate --contain 976df7e5730e | head -1 > > > v5.11-rc1 > > > linux> git tag --sort=taggerdate --contain db865272d9c4 | head -1 > > > v5.10-rc2 > > > > > > So I am wondering if the mentioned commit is suitable for 5.10 stable > > > kernel, or what am I missing? > > Is it causing a problem for you? What is the issue with having it in > > the 5.10.y tree? > > No. > > I am trying to port 41ea667227ba and relevant commits to our kernel which > is based on 5.10 stable kernel, and I am being asked to port 3c55e94c0ade > per the fix tag after 41ea667227ba was added, then I was confused because > of conflict. Don't "port" stable kernels, just do a normal merge and then all is much better. That way you do not miss patches you should have applied but didn't realize until much later... good luck! greg k-h