Received: by 10.213.65.68 with SMTP id h4csp1707135imn; Thu, 15 Mar 2018 07:23:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELtQY3LF7+42pPs57RRxWnTCNUGh/UcYjbyMr/+KZGFs/rApAWBjdxTpl7pdcM2S/lUe5KDR X-Received: by 2002:a17:902:9a05:: with SMTP id v5-v6mr8306987plp.69.1521123808190; Thu, 15 Mar 2018 07:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521123808; cv=none; d=google.com; s=arc-20160816; b=kmFj42KNiRqpd/K5viZFViDlb172iXFfzsFzcrQNSby1E8mMreepf/tnEOho4mF0WG q6Ygnunz9Q7qqZrGQ/gSebGCOclgynGFvxSgG9gaaw6fqNwJXkq+m4D1/BHWda5n7Na/ cFXhuvY6sUBUt1n7aZVggfY3PZZPu5g382oXn5WAakjvVWMbdM51I5kl5a1nmIaP71Qt vcoxPAUZrB0BGVWxv5opmeYkObw9EgC6Yg67gwJW+m4FAJN9tel4HCRsPIatJMmKqQ18 e16QcCAKBbTfRgWmxvhx09uIYvSS9Iv2d3yelkzzK2jSkL/nzFbDMTz4xeMsxuPOcxLQ WC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:msip_labels :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=2VnqvRWRU6BAHF6+6BjWL935Wy3XPZ7dymEEMJUIk98=; b=VnzUy2Zjw6w3D3Mto8pbZqszjGbZ0ZBZ0kNaXkqHY5mh2XPQMag7u2VpHV2GEyEbNa oSMP3QwAamO4bbH4VAzz5ywLJLNmPJgqKswotCJVfUnxYQEe6QLOA+GcsPfvMxQm/Xqn 318Y/5De1qtYtu80jF3w7fTiwUMGJOFpCuiAPOyTem8PetCBxHXTkT1eX5D3M+Orb3qh 220HgBpzxCeF5jIXn/cYFb+GI8lgANNAJeR1O3c3CHPBPszu5CG6zmfNuoV/58ZEINYv arYmZKrRqIx7EUgGzEEVdP7espbNdK5vRIf28tNf7ni+CVuNBxITtv15Jo/Fd/iFh3Fa T2VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=BPQKbwlg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c27si3448365pgn.223.2018.03.15.07.23.12; Thu, 15 Mar 2018 07:23:28 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=BPQKbwlg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752284AbeCOOVB (ORCPT + 99 others); Thu, 15 Mar 2018 10:21:01 -0400 Received: from mail-hk2apc01on0137.outbound.protection.outlook.com ([104.47.124.137]:6114 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751873AbeCOOU7 (ORCPT ); Thu, 15 Mar 2018 10:20:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2VnqvRWRU6BAHF6+6BjWL935Wy3XPZ7dymEEMJUIk98=; b=BPQKbwlg0qrCSPC8YyBxa68bYERPfrmFEmOzKEeEtmx76yoF9EFgha+7lt2RqQnxSEShwJxNvfee4CQQrhJGI3eZ+2UgWX7vJ/hSswT7b10dwyw802FO7C33HixQrprtwGyoDubU89ln2L7auHBc3OnQuF7tmH4BC84MG54eN0Q= Received: from KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM (10.170.167.17) by KL1P15301MB0007.APCP153.PROD.OUTLOOK.COM (10.170.167.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.609.6; Thu, 15 Mar 2018 14:20:36 +0000 Received: from KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM ([10.170.167.17]) by KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM ([10.170.167.17]) with mapi id 15.20.0609.006; Thu, 15 Mar 2018 14:20:36 +0000 From: Dexuan Cui To: "lorenzo.pieralisi@arm.com" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , KY Srinivasan , Stephen Hemminger CC: "linux-kernel@vger.kernel.org" , "driverdev-devel@linuxdriverproject.org" , Haiyang Zhang , "olaf@aepfle.de" , "apw@canonical.com" , "jasowang@redhat.com" , "vkuznets@redhat.com" , "marcelo.cerri@canonical.com" , "Michael Kelley (EOSG)" Subject: [PATCH v4 0/2] PCI: hv: Fix some real issues Thread-Topic: [PATCH v4 0/2] PCI: hv: Fix some real issues Thread-Index: AdO8O2lFPnJW7+KoTAyHL2NY+y1jaA== Date: Thu, 15 Mar 2018 14:20:35 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=decui@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-03-15T14:20:32.6879378Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General authentication-results: spf=none (sender IP is ) smtp.mailfrom=decui@microsoft.com; x-originating-ip: [2601:600:a27f:df20:d8b5:442c:6a7d:25c6] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;KL1P15301MB0007;7:SKaxn3CAfV5+stpkoTu1AVHGyP8itvcrxVYu1bYJwhzn8YhNaVXTkTf4b/iW4S7q3/YrbId4vRkjiKrkigoGrpGDx9mn3djKxodQYQVHKhADBf5yzkWuRdnoP4iOQsWSTWl2lDJ/cGUWxb2HSgtSqc6xyufva49OKxil8kc0OfIIQW5EPfOXBnUH39rWw0rdOQ7hCK2oVxQ4hfCG18d3Yp0BcpUrGjqX7ciES3Eunz4u4QiwmuQSoayoqiIedBf+;20:NF/ZOW/40iMrbfbp8Q78c9LhENfpBW1aLMUzoYoA0r12Ax5ilZR3Na3ayo99bMr5WEGfHteVyrYrPxzW0RjkvpLxoDg5BnCbHScuAQg4XHG1X4Pz5n+7MLvmPWGPYRHjMZ5tkLpIiG1fRsxr9VLk/5K5rZir0TQTfn/PjbQqqPo= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5f83eb90-2467-4197-75e2-08d58a7feb8d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:KL1P15301MB0007; x-ms-traffictypediagnostic: KL1P15301MB0007: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(278021516957215); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:KL1P15301MB0007;BCL:0;PCL:0;RULEID:;SRVR:KL1P15301MB0007; x-forefront-prvs: 0612E553B4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(39380400002)(39860400002)(396003)(376002)(189003)(199004)(54534003)(107886003)(6306002)(59450400001)(53936002)(9686003)(46003)(97736004)(6436002)(6636002)(105586002)(8990500004)(4326008)(2501003)(55016002)(10090500001)(6506007)(2906002)(3280700002)(7696005)(478600001)(7416002)(10290500003)(99286004)(22452003)(1511001)(8936002)(7736002)(106356001)(305945005)(86612001)(74316002)(77096007)(102836004)(81166006)(966005)(81156014)(68736007)(14454004)(5660300001)(2900100001)(25786009)(33656002)(6116002)(86362001)(316002)(186003)(8676002)(2201001)(110136005)(3660700001)(54906003);DIR:OUT;SFP:1102;SCL:1;SRVR:KL1P15301MB0007;H:KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: lETuUNWOSRCbqpaUz6/Dhd8udc8YwJhbNBaAr63w2uFnqlgh+DZPiCoA0dnlpSUs0JmEKfS2lNspqWG2Svzrp5u2ZXBqNKVK98dhKGs8w0Zl0w/7OwtYJEaXxHMLi+1XgrnPz/bJAi7KSoWyf1xhcad+AF0QCP3zJptgAl94/HCME4CouLbofZwo6MZcP/NWqR3+oQnfdZCMOcoqbipYZa42HjUT/IRHqeRAA5rMXD68tps5SCLt6E7hOXKodZrxD+lTMCTGxjJTmMbiHv/h6q9cI2udy+pXyK7HS9lKauq2PncwcQMX50KYAQPp+vn6PQbOVHiul32b9xrMBGxMhQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f83eb90-2467-4197-75e2-08d58a7feb8d X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2018 14:20:35.4564 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1P15301MB0007 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 2 patches should go in v4.16. They should go in old stable kernels too, especially this one should go in v4.15: PCI: hv: Fix 2 hang issues in hv_compose_msi_msg() Otherwise, a UP v4.15 VM can 100% hang when we pass through a VF to the VM that runs on Hyper-V. There is no code change since v3: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1628496.html I just split the original 6 patches to 2 series, and this is series 1. I fixed the order of Signed-off-by/Tested-by/Cc, etc., and added a Fixes: tag, and fixed the other format issues in changelog. I hope I didn't omit anything this time. :-) Dexuan Cui (2): PCI: hv: Serialize the present and eject work items PCI: hv: Fix 2 hang issues in hv_compose_msi_msg() drivers/pci/host/pci-hyperv.c | 75 +++++++++++++++++++++++++++++++++++++++= +--- 1 file changed, 71 insertions(+), 4 deletions(-) --=20 2.7.4