Received: by 10.192.165.156 with SMTP id m28csp246425imm; Tue, 17 Apr 2018 09:27:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx48srL+r1hjEgvnvaJaYA/JjDiTflDcROXI1OgFJ3svHinyDRIbaSMadMdJWFtMBZNlUjtnu X-Received: by 10.101.90.129 with SMTP id c1mr2361049pgt.20.1523982426551; Tue, 17 Apr 2018 09:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523982426; cv=none; d=google.com; s=arc-20160816; b=IDswQoGuc6alTXlamrpY7PTSZbKYMteM60psengPQjckQuxHHX6YFNrs6DV5GDXKcM FlEkl64wTAN/YQc6dMOtjdK2BR9nOs6jllO5KnxvMkCTxaP2atLYhmQ7OBHZFCccTWuq C7lv7VBSsPh0+Zjp4lHAvYcSDzI3TmDakq38DDv/5uGHgwkDMySCz0kC321Zs5uuV7s/ Qe4xAlag4coldBU5GY68ffxzRV5M7bCAV0tuFeNjwoPSRHZHa/JgQwCCvLjiWkfp3AaY SaOibmNRyqLb4LqbLYmPGJiP/EIxPEAvyKXJa1OTm5Fyn1PeQlYmAmRpkQkCjUV8jfZ7 oSZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZQrQIrYTWshqL5/DeDO/AFOiEP9tzE9oB6/yiUBxCTU=; b=Ur1u0ByvBrK7USdzeW2JcssCrwfhJjb5Gl9lUItD3oI4KB6pK5sbWQut/yBw0POBWb 3ctjiLY2wDcHSxfg8Y3nYjGjm28lZ8rEF8UyiXY2V0VO8uZVtmkbIhDltL8iQ5yAjAJa TrKAf9mhbOlLiwwfBWy7N5L1eRBMioNVnFI/NaSUW1raGGJda0UEDexs3+2wRG+z8fXj jcxr0VhOEna2dknpU2czxP0ddAdfBeZ5gBNepEGhUyrxLWAuPV8npdrL+r9uCDWmSgoI 8LbxYxlrsKirJn5aOdWeU0wnKwOd132L11VsEjt6ehTiH+8S8w8bt0QCti6Ue2GdMm3J JP/A== 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 g15-v6si1670648pln.526.2018.04.17.09.26.52; Tue, 17 Apr 2018 09:27:06 -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 S1755590AbeDQQJJ (ORCPT + 99 others); Tue, 17 Apr 2018 12:09:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35648 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755573AbeDQQJD (ORCPT ); Tue, 17 Apr 2018 12:09:03 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 10F37C98; Tue, 17 Apr 2018 16:09:02 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dexuan Cui , Stephen Hemminger , "K. Y. Srinivasan" Subject: [PATCH 4.9 03/66] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device Date: Tue, 17 Apr 2018 17:58:36 +0200 Message-Id: <20180417155646.007046735@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155645.868055442@linuxfoundation.org> References: <20180417155645.868055442@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dexuan Cui commit 238064f13d057390a8c5e1a6a80f4f0a0ec46499 upstream. 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/hv/channel_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -70,7 +70,7 @@ static const struct vmbus_device vmbus_d /* PCIE */ { .dev_type = HV_PCIE, HV_PCIE_GUID, - .perf_device = true, + .perf_device = false, }, /* Synthetic Frame Buffer */