Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3001925ybz; Mon, 27 Apr 2020 08:17:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJ7x4z+QjY6EtM/yaQFQCWtgNuP0xehpcyLzZk9hxAzvKlSM4RzRPLuNWJIW/W0jU3xC6JC X-Received: by 2002:aa7:d455:: with SMTP id q21mr18500464edr.235.1588000663453; Mon, 27 Apr 2020 08:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588000663; cv=none; d=google.com; s=arc-20160816; b=t8ccQDixgOWfiis7yn5+KlrP3dwyHCmFF8Vj3lwZwMdJgZMhRcQkakcJs+CKbIuYhL 47bneMDzTF3/ry15rIyKBq1IINDCGpLuwJxL8fR1FPFrsQ7awg4btB/1YoHV0iTsI8iw 2lzr9nYeBxSgq6WV+8w6Xbp7UFofIXgKwq3g0PwW0ntiSCMxO8pl6xDktJyLIjIqkY// ek+dSSKGKdikfXgUMDF+c90Lv+FaPO60WVGRHlOn1HySvJiYWJ8QZ9Qg79JXIjZEpsVc 3xfBg0WspATmJoorqHUUSHAHt3LkAoPHTikgVvPCRKWH3w9T2y2c0vaetqMf2ojDHMS6 UI2w== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=V0iohfX4StGnedSEBygCSJSScBOr+BoyXxl7MhG1IYQ=; b=WluhYh1x3HzX42pcEkUJ7ibsjXgFWQTWlKC/jwOorKol8uTXNuoyN44uJ9JLcTMdwx 2QcUHiADKWUIiFwkQ9dlW3WHQwoNkSdUwLfwM22TmMyiGDLKk9bcxxicYQqplx5Ap3O6 cItlouQrn4N3MhGNgoq/YRoAYAojzc8NrCZaVvzD88uCV+1EeLOqqX5Gr9+sl88kcUb1 1xCgBHaW50l/ZuvLSB+4/9sHln3foPb1sDAsnDvp0UJucpO0fgrOQ0WivLeZ0L6eVLc8 n+k4puWfLznl4zXClNE7eKRsGue6CQUci5HJNvXlhEIzyRzV1A4P0rdvF79J/PoOXb+m nCaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay14si9080752ejb.151.2020.04.27.08.17.16; Mon, 27 Apr 2020 08:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728271AbgD0PPj (ORCPT + 99 others); Mon, 27 Apr 2020 11:15:39 -0400 Received: from mga18.intel.com ([134.134.136.126]:48776 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728168AbgD0PPi (ORCPT ); Mon, 27 Apr 2020 11:15:38 -0400 IronPort-SDR: 7KOH2Wwf4jhCsJor0l80EShxNabuokweeWn3hL39+yczGUItUpHCWI2bywKPJ1z/y1mZa7Asxz rwyDTyLm4BRA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 08:15:37 -0700 IronPort-SDR: zZYgPQLIGuqPb367g+MrrtH/5nJbhuWhverW/aZT9RKMh+fo+qH3LEggYNetESR/4lSyRJM4+H 6nV0jI1S2CDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,324,1583222400"; d="scan'208";a="431810513" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by orsmga005.jf.intel.com with ESMTP; 27 Apr 2020 08:15:37 -0700 Received: from orsmsx115.amr.corp.intel.com (10.22.240.11) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Apr 2020 08:15:37 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.204]) by ORSMSX115.amr.corp.intel.com ([169.254.4.83]) with mapi id 14.03.0439.000; Mon, 27 Apr 2020 08:15:37 -0700 From: "Derrick, Jonathan" To: "sathyanarayanan.kuppuswamy@linux.intel.com" , "helgaas@kernel.org" CC: "rajatja@google.com" , "fred@fredlawl.com" , "ruscur@russell.cc" , "kbusch@kernel.org" , "oohall@gmail.com" , "alex.williamson@redhat.com" , "linux-kernel@vger.kernel.org" , "sbobroff@linux.ibm.com" , "olof@lixom.net" , "Wysocki, Rafael J" , "mika.westerberg@linux.intel.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-pci@vger.kernel.org" , "Patel, Mayurkumar" , "andriy.shevchenko@linux.intel.com" , "bhelgaas@google.com" Subject: Re: [PATCH v2 2/2] PCI/DPC: Allow Native DPC Host Bridges to use DPC Thread-Topic: [PATCH v2 2/2] PCI/DPC: Allow Native DPC Host Bridges to use DPC Thread-Index: AQHWF186KnXLsMWtVkCGO69asmmcQaiGN2OAgAESEwCAA4JngIACyCOA Date: Mon, 27 Apr 2020 15:15:36 +0000 Message-ID: <6344a9afcc585504c5dfbc00174280613683064d.camel@intel.com> References: <1587418630-13562-1-git-send-email-jonathan.derrick@intel.com> <1587418630-13562-3-git-send-email-jonathan.derrick@intel.com> <0058b993-0663-7fed-ed31-cb0adf845a39@linux.intel.com> <7e574cc1-a24b-5c4b-7d4f-3fda3f395390@linux.intel.com> In-Reply-To: <7e574cc1-a24b-5c4b-7d4f-3fda3f395390@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.3.119] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgU2F0aHlhbmFyYXlhbmFuLA0KDQpPbiBTYXQsIDIwMjAtMDQtMjUgYXQgMTM6NDYgLTA3MDAs IEt1cHB1c3dhbXksIFNhdGh5YW5hcmF5YW5hbiB3cm90ZToNCj4gDQo+IE9uIDQvMjMvMjAgODox MSBBTSwgRGVycmljaywgSm9uYXRoYW4gd3JvdGU6DQo+ID4gSGkgU2F0aHlhbmFyYXlhbmFuLA0K PiA+IA0KPiA+IE9uIFdlZCwgMjAyMC0wNC0yMiBhdCAxNTo1MCAtMDcwMCwgS3VwcHVzd2FteSwg U2F0aHlhbmFyYXlhbmFuIHdyb3RlOg0KPiA+ID4gT24gNC8yMC8yMCAyOjM3IFBNLCBKb24gRGVy cmljayB3cm90ZToNCj4gPiA+ID4gVGhlIGV4aXN0aW5nIHBvcnRkcnYgbW9kZWwgcHJldmVudHMg RFBDIHNlcnZpY2VzIHdpdGhvdXQgZWl0aGVyIE9TDQo+ID4gPiA+IGNvbnRyb2wgKF9PU0MpIGdy YW50ZWQgdG8gQUVSIHNlcnZpY2VzLCBhIEhvc3QgQnJpZGdlIHJlcXVlc3RpbmcgTmF0aXZlDQo+ ID4gPiA+IEFFUiwgb3IgdXNpbmcgb25lIG9mIHRoZSAncGNpZV9wb3J0cz0nIHBhcmFtZXRlcnMg b2YgJ25hdGl2ZScgb3INCj4gPiA+ID4gJ2RwYy1uYXRpdmUnLg0KPiA+ID4gPiANCj4gPiA+ID4g VGhlIERQQyBwb3J0IHNlcnZpY2UgZHJpdmVyIGl0c2VsZiB3aWxsIGFsc28gZmFpb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