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 X-Spam-Level: X-Spam-Status: No, score=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D3F1C11F67 for ; Tue, 29 Jun 2021 07:27:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21FE861DE2 for ; Tue, 29 Jun 2021 07:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232257AbhF2H33 (ORCPT ); Tue, 29 Jun 2021 03:29:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:44616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232227AbhF2H33 (ORCPT ); Tue, 29 Jun 2021 03:29:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E42BD61DD6; Tue, 29 Jun 2021 07:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624951622; bh=/wC0kC8OS5dr+JvXY9eZyoD6DFcLuoL5e4QdrlGMkwU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dVAjEqJcmSZH0mpea9fRLTf/ER2mQBZQxAGP4l5xoEQ2PsCnhORVJFTRQfpOYOabx oAdbAx8MwE8Pyd7RtnD8k2jAW9pPVLdniQfogq1R1cCTdDeat5Yj+AqOWOG7tAl0/H 6hXNi9wXoXBIHiLyb9Os4AF00fk/JecY5w7Xh+nw= Date: Tue, 29 Jun 2021 09:27:00 +0200 From: Greg KH To: kajoljain Cc: will@kernel.org, hao.wu@intel.com, mark.rutland@arm.com, trix@redhat.com, yilun.xu@intel.com, mdf@kernel.org, linux-fpga@vger.kernel.org, maddy@linux.vnet.ibm.com, atrajeev@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, rnsastry@linux.ibm.com, linux-perf-users@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] fpga: dfl: fme: Fix cpu hotplug issue in performance reporting Message-ID: References: <20210628101721.188991-1-kjain@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On Tue, Jun 29, 2021 at 12:45:20PM +0530, kajoljain wrote: > > > On 6/28/21 3:47 PM, Kajol Jain wrote: > > The performance reporting driver added cpu hotplug > > feature but it didn't add pmu migration call in cpu > > offline function. > > This can create an issue incase the current designated > > cpu being used to collect fme pmu data got offline, > > as based on current code we are not migrating fme pmu to > > new target cpu. Because of that perf will still try to > > fetch data from that offline cpu and hence we will not > > get counter data. > > > > Patch fixed this issue by adding pmu_migrate_context call > > in fme_perf_offline_cpu function. > > > > Adding stable@vger.kernel.org in cc list as suggested by Moritz Fischer. This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.