From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:55882 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752844AbeDTQz2 (ORCPT ); Fri, 20 Apr 2018 12:55:28 -0400 Message-ID: <1524243325.5717.3.camel@redhat.com> Subject: Re: [RHEL7.6 PATCH 35/37] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device From: Mohammed Gamal Reply-To: mgamal@redhat.com To: "K. Y. Srinivasan" , Stephen Hemminger , stable@vger.kernel.org Date: Fri, 20 Apr 2018 18:55:25 +0200 In-Reply-To: <1524241783-22489-36-git-send-email-mgamal@redhat.com> References: <1524241783-22489-1-git-send-email-mgamal@redhat.com> <1524241783-22489-36-git-send-email-mgamal@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: On Fri, 2018-04-20 at 18:29 +0200, Mohammed Gamal wrote: > The pci-hyperv driver's channel callback hv_pci_onchannelcallback() > is not > really a hot path, so we don't need to mark it as a perf_device, > meaning > with this patch all HV_PCIE channels' target_cpu will be CPU0. > > Signed-off-by: Dexuan Cui > Cc: stable@vger.kernel.org > Cc: Stephen Hemminger > Cc: K. Y. Srinivasan > Signed-off-by: K. Y. Srinivasan > Signed-off-by: Greg Kroah-Hartman > (cherry picked from commit 238064f13d057390a8c5e1a6a80f4f0a0ec46499) > > Signed-off-by: Mohammed Gamal > --- >  drivers/hv/channel_mgmt.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c > index c6d9d19..ecc2bd2 100644 > --- a/drivers/hv/channel_mgmt.c > +++ b/drivers/hv/channel_mgmt.c > @@ -71,7 +71,7 @@ static const struct vmbus_device vmbus_devs[] = { >   /* PCIE */ >   { .dev_type = HV_PCIE, >     HV_PCIE_GUID, > -   .perf_device = true, > +   .perf_device = false, >   }, >   >   /* Synthetic Frame Buffer */ Please ignore this and the other patches I sent to stable@vger.kernel.o rg. This was a mistake when setting git send-email flags. Sorry.