Received: by 10.223.185.116 with SMTP id b49csp7777045wrg; Thu, 1 Mar 2018 10:55:05 -0800 (PST) X-Google-Smtp-Source: AG47ELtG/OYYRJ22tixc+hZbpyJosr7IXykvgraS8W3V+Jis9DHmCebGRDLJl1wUBksQHqQXMk60 X-Received: by 10.99.190.68 with SMTP id g4mr2309314pgo.143.1519930505309; Thu, 01 Mar 2018 10:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519930505; cv=none; d=google.com; s=arc-20160816; b=lUVFnJ157ev06QefLxsFPdcP3AyIAkx/OTKJ98VOerO0SRPGbmZqiozxgiY3CrxsXB snHKJHMRFSdYfpFizXuKfRBH76axZgKKHnvkuqAt1zmruXVj6bmL0IIetnLLeETlVDVj YZHtlzjaoAxDze7LsiwnkmQtOtoSw0K9tUh4GpEP5NtzEeHaMBk9+xf1m+9VtXGyN0oQ GZ57y6HYcoF/BBIqbEbjCkR9nrDfekyH2DAjrGD4cQkWYkHnJKDgDYB7jTG0yeZO8yDq xtNSIk62rSiWTwKiIiCSczbTlyRHZFp2j3xWrfJw9qiNoMYEMwuew0OjYFYmF/kukJCx wCIg== 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:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=zQLoo6JOhdL4YrX4QFoigOtR0zf0S1/AzFDzWTp6v14=; b=B/RT1+4iKNEIcGASguYbF7CrCDrIPnfhlIjfJyY2GGqUvHqNTShaOxOs3fSYTZozk6 WxGsb23yOSlJIeWQU8gID4VDb46ZPjPsnNWFR9qA8IEAi1evwhIdg812IcQh0fxS9UPM PThXUsM42h18ajQz51Qh6JxCFWauLzkIwDpgFtaN4V32qCDDgbLRU5kYZP7m727im6PH yTSAd74zQu0kB5XC/2dkGywyUPq9WRMgjwOrSeY8FXHcjSTptyNsxn2j4Dg11ZUgaujy 8N3vn6kRUcJxgr8btqnKQhhm6j4ToNTxE5ZCUOvw6LD23d6IBnusDhjWTtZMnSbx51DY ZoeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=NhxkZaYQ; 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 l77si3389477pfk.210.2018.03.01.10.54.49; Thu, 01 Mar 2018 10:55:05 -0800 (PST) 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=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=NhxkZaYQ; 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 S1161054AbeCASyG (ORCPT + 99 others); Thu, 1 Mar 2018 13:54:06 -0500 Received: from mail-eopbgr660097.outbound.protection.outlook.com ([40.107.66.97]:45311 "EHLO CAN01-QB1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1034075AbeCASyD (ORCPT ); Thu, 1 Mar 2018 13:54:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raithlin.onmicrosoft.com; s=selector1-raithlin-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zQLoo6JOhdL4YrX4QFoigOtR0zf0S1/AzFDzWTp6v14=; b=NhxkZaYQP2SnpJsRAbgictCjOm9isu3XfBi7oah4qrbo3vKGx8jrSuOaQW8huKfaaa8bNFYrgQxFffZgbNf8cmZRYhsBtOo6McMWbgIOPvh0670AgADZdnls/R2rDSF9egY9WVR0W6Sol8BEvtdxZJxp7bk4GYQ3W7v563bUOy8= Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM (52.132.39.161) by YTXPR0101MB1773.CANPRD01.PROD.OUTLOOK.COM (52.132.38.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 18:54:01 +0000 Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::3cd5:8402:cda5:7dff]) by YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::3cd5:8402:cda5:7dff%13]) with mapi id 15.20.0527.022; Thu, 1 Mar 2018 18:54:01 +0000 From: "Stephen Bates" To: Bjorn Helgaas , Logan Gunthorpe CC: "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-rdma@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "linux-block@vger.kernel.org" , "Christoph Hellwig" , Jens Axboe , Keith Busch , Sagi Grimberg , Bjorn Helgaas , Jason Gunthorpe , Max Gurtovoy , Dan Williams , =?utf-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Benjamin Herrenschmidt , Alex Williamson Subject: Re: [PATCH v2 04/10] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches Thread-Topic: [PATCH v2 04/10] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches Thread-Index: AQHTsO2G6rmrD21g1EKzg35eF0OenKO7rTOA//+Y6gA= Date: Thu, 1 Mar 2018 18:54:01 +0000 Message-ID: <0D05579B-789C-4A19-B3A2-C1A630BE31C0@raithlin.com> References: <20180228234006.21093-1-logang@deltatee.com> <20180228234006.21093-5-logang@deltatee.com> <20180301180257.GH13722@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20180301180257.GH13722@bhelgaas-glaptop.roam.corp.google.com> Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.a.0.180210 authentication-results: spf=none (sender IP is ) smtp.mailfrom=sbates@raithlin.com; x-originating-ip: [70.65.224.121] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;YTXPR0101MB1773;7:ec27+MmqoYWeXY1NWgs0zJC04jqQhzQXeiiXq/4ZIY5E4LDacoU1/H8zTBpPvaY93CWGGcA62wAxocp00WbMQ5QssgswGSwNeE0MhSi3zILX2k23PkVdrNyoKa1G7cCmPbeCe+zGKx1pNaKsyHohvzGUYOQpw4WkBvOzjMtaJsw/UZXjhPkbnBpYYcl8b5/fo9kq7RSsO2lk8lomK7eC5nHpVKVg5Be/4jWVIkHmq9ptBvpiTOlyVcUNEkwgqWKS x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 51935fee-dad7-4bb0-ab6a-08d57fa5cbfa x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:YTXPR0101MB1773; x-ms-traffictypediagnostic: YTXPR0101MB1773: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231220)(944501230)(52105095)(10201501046)(3002001)(6041288)(2016111802025)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(6072148)(6043046)(201708071742011);SRVR:YTXPR0101MB1773;BCL:0;PCL:0;RULEID:;SRVR:YTXPR0101MB1773; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(346002)(376002)(366004)(39830400003)(396003)(39380400002)(199004)(189003)(51914003)(25786009)(7416002)(4326008)(105586002)(6512007)(6306002)(26005)(186003)(53936002)(6486002)(6506007)(6436002)(76176011)(97736004)(6246003)(102836004)(59450400001)(2906002)(68736007)(33656002)(3846002)(82746002)(6116002)(83716003)(966005)(81156014)(5660300001)(86362001)(66066001)(2900100001)(99286004)(2950100002)(478600001)(81166006)(106356001)(229853002)(8936002)(58126008)(316002)(305945005)(36756003)(5250100002)(7736002)(14454004)(3660700001)(3280700002)(110136005)(54906003)(8676002)(6606295002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:YTXPR0101MB1773;H:YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: raithlin.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: yP3LYhZa+gAVTg4RKlxZh536MOI2lvsItxe8mzW7Q/DM7GKs2cq/hAnNbkb3OaoC/J/AedgB795U0Zl70LDraLAOINNaH1BZM2IXgQ+gfqXUCyq1A4fBP+6c3y36wfMexht/cKn4akiOtTJzMELU195x8Q0UH63V7uUw84tpNVU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <58846E1B81B25C4082CDBCD9FA094587@CANPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: raithlin.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51935fee-dad7-4bb0-ab6a-08d57fa5cbfa X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 18:54:01.0702 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 18519031-7ff4-4cbb-bbcb-c3252d330f4b X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR0101MB1773 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-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