Received: by 10.192.165.148 with SMTP id m20csp4434177imm; Tue, 8 May 2018 08:23:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqk5i36JlA16XAZUh/HNoia7zL1nuG5AbjBeQovUla0Ea0oBm0lq9nQvaedtOsFuUrYQdkw X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr40474152plp.143.1525793013387; Tue, 08 May 2018 08:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525793013; cv=none; d=google.com; s=arc-20160816; b=QHAeKIeNYWZPpZf7EvYo9BHjIgBFhtap3+IhyM7FGdu/ldJR+SOwqx/9jblHIM3yny QdQyK1LT7O/qBCKE18kjngQZ5zPdBl3V95D/G1i36dUGAlNluT92m32aU5YfZTi4Nhtj 4lCviS4V/eUJM/U65HG2bHB0gBSgHt1kwrZP9cfnnPecDf7iQKj/SYP+fanCDtQz4f8T 4HIaWR+z89KaNQ+GK7vfKt7WoH4zS2GWEm27+otkCoTh1nLPOn3jK2rfHf1//OC4Z0np BSmUa7K4TLELkCK6W+7GxDhMmaWH6N2W8NE7UvlrtK+pROEvj+a5d0BdoTusU4GsKhaV ZxPA== 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=zJUmtIFzVnk0wlKF4J++qwbaNpnE16BuujwKiI36d4Q=; b=vyUgNrsTZkKvb1DbsMUbonfCkOvhB7L912VguK8KwLdWRyT22I9NP8zEqc5EN6xvsW 3ewV+CQJUIJWbJ8BaCbkJd03xk+2gL+Kx8focA0zQeFCCS7834uIzWXRTgfMQsVoxYL/ 3b/viIPvlu9yFH/93bhYI4FOeCTApWxn/JMcA9YEmWFuBKilJQmYb3ia7e6KO9e9ZXwr F66octizrzkZ7nI/H24J7Gk4RGpy61vdrsqQsAWrwVH2/R8mbx3CT2hL5kbD0RvxY0+x u91OfB9hH8QidO2WKYWsbtMdi1Si839RXy7WJfuNa7Dgp5BylW52S0CLOFNLvPmIJYPu 4zNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=D+sXZQ3D; 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 69-v6si10298341pla.548.2018.05.08.08.23.04; Tue, 08 May 2018 08:23:33 -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=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=D+sXZQ3D; 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 S932663AbeEHOow (ORCPT + 99 others); Tue, 8 May 2018 10:44:52 -0400 Received: from mail-eopbgr670122.outbound.protection.outlook.com ([40.107.67.122]:49997 "EHLO CAN01-TO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932141AbeEHOot (ORCPT ); Tue, 8 May 2018 10:44:49 -0400 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=zJUmtIFzVnk0wlKF4J++qwbaNpnE16BuujwKiI36d4Q=; b=D+sXZQ3DgKRkZDwskHzSqCy06nEX72ogY29LTn6LcJjTZtaU7ySBUAj820H0xw8lxIyGA/d1IPUb50c/RhUJUIlwFY8h8s1uecAX+Br6xVI3RdwKOrp4ClFPS02dxirfCewUas3zDJiHyDyW2AgXjTpWyj5Qy7dsh5j7Pf8a5Os= Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM (52.132.39.161) by YTXPR0101MB1342.CANPRD01.PROD.OUTLOOK.COM (52.132.36.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.16; Tue, 8 May 2018 14:44:44 +0000 Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::10e3:33a:1d26:6227]) by YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::10e3:33a:1d26:6227%13]) with mapi id 15.20.0735.021; Tue, 8 May 2018 14:44:44 +0000 From: "Stephen Bates" To: Dan Williams , Logan Gunthorpe CC: Linux Kernel Mailing List , "linux-pci@vger.kernel.org" , "linux-nvme@lists.infradead.org" , linux-rdma , linux-nvdimm , "linux-block@vger.kernel.org" , "Christoph Hellwig" , Jens Axboe , Keith Busch , Sagi Grimberg , Bjorn Helgaas , Jason Gunthorpe , Max Gurtovoy , =?utf-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Benjamin Herrenschmidt , Alex Williamson , =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= Subject: Re: [PATCH v4 04/14] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches Thread-Topic: [PATCH v4 04/14] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches Thread-Index: AQHT21soiBVnp6SJuEuLCiH6kBzTLKQl+8wA//+fHIA= Date: Tue, 8 May 2018 14:44:43 +0000 Message-ID: <64C231F5-DE36-415F-B308-3A423B0BBACB@raithlin.com> References: <20180423233046.21476-1-logang@deltatee.com> <20180423233046.21476-5-logang@deltatee.com> In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.c.0.180410 authentication-results: spf=none (sender IP is ) smtp.mailfrom=sbates@raithlin.com; x-originating-ip: [70.65.250.31] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;YTXPR0101MB1342;7:YbfraJUosNwG9BnIg8AL8xu8kTxj+AndlnUjYiK+T3l6qA7W3eJSdYrLegucmIft27VXhJNP/9w7gxGfiGOWIxOJAJsIdPAHPNyJooxYPPkMf4KSJIZ7dgBvc2SPLK1cZerDhd16o4PIr6ZqVLXPN3GmgZQKAuLWRBSTFojtkCIP5OkLJN3Sgu/1HWJSM8trDclsL4Myg0AqJEqv0AwU1Zs+LEsNItxPu2iujvgcs4B1BCk9+8AR4x6fTT2R5d4R x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:YTXPR0101MB1342; x-ms-traffictypediagnostic: YTXPR0101MB1342: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(2016111802025)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(6043046)(201708071742011);SRVR:YTXPR0101MB1342;BCL:0;PCL:0;RULEID:;SRVR:YTXPR0101MB1342; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(396003)(376002)(366004)(39380400002)(39830400003)(199004)(189003)(2616005)(6246003)(478600001)(26005)(97736004)(486006)(2906002)(102836004)(53936002)(33656002)(6116002)(8666007)(83716003)(6306002)(6512007)(446003)(6436002)(11346002)(476003)(186003)(3846002)(3280700002)(8676002)(86362001)(81166006)(8936002)(7736002)(81156014)(4326008)(76176011)(3660700001)(106356001)(5250100002)(59450400001)(105586002)(2900100001)(6486002)(58126008)(54906003)(66066001)(14454004)(6506007)(966005)(5660300001)(68736007)(305945005)(7416002)(82746002)(229853002)(99286004)(110136005)(25786009)(316002)(36756003)(6606295002);DIR:OUT;SFP:1102;SCL:1;SRVR:YTXPR0101MB1342;H:YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: raithlin.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 8Jo20T3nUsSBOxARSjslBuwdw7spgWcosRprAyb4dO2zCKZcN8XyrkETRf6j0rF1gQlva3j3UzT7OchqVFdW4LktugYdEyQega+CAyX98LMmCQThY8w7Eo0zAhVPSuYIIwvA/NbUEYgyP60vB4HbxMtPDAvd2mQyAvy7ki8aW0SAa4atSoKDI7PutC5VInOD spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: da443437-79e3-41a5-aa36-08d5b4f23cf3 X-OriginatorOrg: raithlin.com X-MS-Exchange-CrossTenant-Network-Message-Id: da443437-79e3-41a5-aa36-08d5b4f23cf3 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 14:44:43.9699 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 18519031-7ff4-4cbb-bbcb-c3252d330f4b X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR0101MB1342 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGFuDQoNCj4gICAgSXQgc2VlbXMgdW53aWVsZHkgdGhhdCB0aGlzIGlzIGEgY29tcGlsZSB0 a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