Return-Path: Received: from mga05.intel.com ([192.55.52.43]:17405 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727676AbeHIKaq (ORCPT ); Thu, 9 Aug 2018 06:30:46 -0400 Subject: Re: perf: Support uncore in 4.9.112 To: Greg KH Cc: Andi Kleen , stable@vger.kernel.org, "Jin, Yao" , "Liang, Kan" References: <20180718092950.GD17551@kroah.com> <20180718170944.GF25412@tassilo.jf.intel.com> <20180718173955.GA1132@kroah.com> <89ce7147-3116-bb81-85a8-f97401c66a56@linux.intel.com> <20180807130934.GA14470@kroah.com> <20180808064001.GA23497@kroah.com> <7e63c7da-e883-04ab-abf7-6ccf87ff3a70@linux.intel.com> <20180808084049.GA24734@kroah.com> <6a28b118-e054-5be9-b224-0ec2c5e34949@linux.intel.com> <20180809074746.GA16350@kroah.com> From: "Jin, Yao" Message-ID: <6c37b67e-09e2-e528-833a-253002318614@linux.intel.com> Date: Thu, 9 Aug 2018 16:07:04 +0800 MIME-Version: 1.0 In-Reply-To: <20180809074746.GA16350@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 8/9/2018 3:47 PM, Greg KH wrote: > On Thu, Aug 09, 2018 at 01:59:09PM +0800, Jin, Yao wrote: >> >> >> On 8/8/2018 4:40 PM, Greg KH wrote: >>> On Wed, Aug 08, 2018 at 03:37:54PM +0800, Jin, Yao wrote: >>>> 182 files changed, 97061 insertions(+), 159 deletions(-) >>> >>> Look at that, 97 thousand lines added :( >>> >>> Yes, almost everything here is in tools/perf/ which leads me to ask why >>> can't you just run a newer kernel's perf on 4.9 and have all of this >>> support? Why do you need these in the stable 4.9 release in order for >>> this to work properly? >>> >>> And as you can see here, that's really way too big for a stable kernel >>> release, how can you justify it based on the stable kernel rules? >>> >>> thanks, >>> >>> greg k-h >>> >> >> Yes, I agree, too much code here. :( >> >> And we can use 4.12+ perf tool in 4.9 kernel for using uncore though user >> may mix the source trees for this. But anyway, this is a solution. > > What do you mean "mix the source trees"? > I mean, users may need 2 trees. For example, one is 4.14, and the other is 4.9. They build the perf tool binary in 4.14 and copy it to 4.9 environment. That's the mix I mean. Sorry, the word may not be very appropriate. Thanks Jin Yao