Received: by 10.213.65.68 with SMTP id h4csp5539imn; Tue, 27 Mar 2018 15:03:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tIx9u9PWMV3ISQoZnBXRDk8HJPnveEpzyoxas4iG+O0b8tzOyi+EN09/xkVyHBUwAEKVE X-Received: by 2002:a17:902:51ce:: with SMTP id y72-v6mr991105plh.157.1522188204683; Tue, 27 Mar 2018 15:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522188204; cv=none; d=google.com; s=arc-20160816; b=JVXqWEFY30pJZclZgIF+yzK6abYlfJohlj8k+QWCJwsHVqsbFBaBKmvfcRpBA2vAzP a2eX3WmciU71qBhuUYFGJec/WIV8yaTjqyiEotbs+JZTvkboArJosLSn2SGUOWKOlzsm 5SyeFn6aC6iTfDzK9DVZyaGfjd5EUqJhLuFA0NEEa1PsteRJxtyyfcF6bTEjB/lFrTOa 9TkYIqsnVKXPoGkCBmWCUTWP3L58sFqT4o4FvIoAhoT5WUijRq1psY/7rzQDF/o2P1ck fGWhkSGhMGa9vgspypVlHuZRqAl3OI4ifXJXMKhW1KfQZdZftnvkQbt+ceDXCOx32c8Z AsiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=wJDP5a0aY7Dw5MoFKJeDtXf3PlpXbjjcjD+u0hPaMlk=; b=0QfGHeDo0EJoUw/SxEgF8Bg7UiZyg1HutbcBLfMfYO/fwpm6wCNaVfrYCcSu1WiYn0 01rhydgfzCTe8TfxPCJq6uS9FyL6GvCfQrAFn2IfU4Nc8j3K6FOJQW3NvNlLSuEryeQs K0EGaFe9kbPUkQ3+MMTYGIYeZ54SVBGKmPb0s9VQG+9VZkxB//Iz6o2Z+rGGziB1muJW 2kJrt+9eKe5tNUqoXTzYexcsRioxCmbC2+oVryE7Y7RndGiyoAFFtk18eLySxvf9C8lt ZF51Vxrh9+ZYSf5kHpYoTzcFQZZUnUn0mds3k1uULHtZvDnv1ECrpexzQk76Tubc7Mow kPaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si1579236pfb.333.2018.03.27.15.03.07; Tue, 27 Mar 2018 15:03:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbeC0WCK (ORCPT + 99 others); Tue, 27 Mar 2018 18:02:10 -0400 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 Received: from linuxonhyperv2.linuxonhyperv.com ([107.180.71.197]) by : HOSTING RELAY : with SMTP id 0weQfwbLeC9PZ0weQfbqt7; Tue, 27 Mar 2018 15:01:06 -0700 x-originating-ip: 107.180.71.197 Received: from kys by linuxonhyperv2.linuxonhyperv.com with local (Exim 4.89_1) (envelope-from ) id 1f0weQ-00058b-Du; Tue, 27 Mar 2018 15:01:06 -0700 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> X-Mailer: git-send-email 2.15.1 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 X-CMAE-Envelope: MS4wfABmXR7Rk+vCv4NXGkmCKpUssJxtEkQ0Yoc7ijs4GTxJUbbd3qbXoBelXaMZqadpCX3eqgtNIDb6XUqZyPpBe3Q3+q78/oMciN8lUi97ij+42Um8MF22 Xe5k5lWBGpNPmf2a3uul7DbcEBhrOuG2rPNHM/v3f3ZhBVDD7qlkeUIp73J8wJKmqWxV3J5tnlWGu4u63vl3/ybFPf38FdbGALWdrO0+N6Y7Vtk390d/YrNZ guWfQ5N9sifwhHpFAYUg32/djc9sAfFocFY0KSP5FR72VB3j7GMm2iVQl5C6QYyLwhQuG3pS8vS/PCCQL/ddB1F6+eLwCy92cjx7NuqHuKhHs4/F3RcUs9wK u2I7ihG840mpgH+uNCI8vfvP/PcbQHn7Khd87qfp4TtHIDJ7Sj1MZ5yI/IyCKHtkKdsnVueYc5FpoBb1z+AMPdzbqceOCRNdN6LHlZAGOq8MOBw/X9HFEsHn 2AY+VKerxELzRuZmBcGdKmm18XY9BluGjDnEGzvOq0/zDzxrG82f35wqu2aw7WtVrx63HwK9IknXXeYjEQpK2OqNZ2q6abkQ5JI6cmWCcq1qvg1q8aWkvzYP 4BfpYcANdz6GE6s7KRCUmgqRmRcU8JY3GGA8HnDptT+qVA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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