From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from a2nlsmtp01-02.prod.iad2.secureserver.net ([198.71.225.36]:51174 "EHLO a2nlsmtp01-02.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751874AbeC0WCH (ORCPT ); Tue, 27 Mar 2018 18:02:07 -0400 From: kys@linuxonhyperv.comi To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, marcelo.cerri@canonical.com, sthemmin@microsoft.com Cc: Dexuan Cui , stable@vger.kernel.org, "K . Y . Srinivasan" Subject: [PATCH 2/4] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device Date: Tue, 27 Mar 2018 15:01:02 -0700 Message-Id: <20180327220104.19700-2-kys@linuxonhyperv.comi> In-Reply-To: <20180327220104.19700-1-kys@linuxonhyperv.comi> References: <20180327215859.19624-1-kys@linuxonhyperv.com> <20180327220104.19700-1-kys@linuxonhyperv.comi> Reply-To: kys@microsoft.com Sender: stable-owner@vger.kernel.org List-ID: From: Dexuan Cui 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 --- 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 c6d9d19bc04e..ecc2bd275a73 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 */ -- 2.15.1