Received: by 10.192.165.148 with SMTP id m20csp1208987imm; Thu, 10 May 2018 07:17:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrhamwaAUTtVuFTOwVq+TMKq9stdY+uVWUuy+J9G8B4ZCoBo5smz6mvLuQ2OYsRD0bJmEr6 X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr1564601pli.335.1525961819987; Thu, 10 May 2018 07:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525961819; cv=none; d=google.com; s=arc-20160816; b=DkrQcycIWbwS0EGZK1VeDzdhhdwGhXWVKjtMx15sSJ0L9aMGIgUyXE3v7PoNtgZssK 9sxCwgg36cSpEGZjEMuR0yDiC2Dnq0twdr+Vkz3kJpbNII6QjVlAuyE3t/ylEyntFhbT pRoUTBEBcbU1z79/92TqfNJUcdeh0T1Y/2B/zFul4qeil50pqBaxfinsmNZdQHE58uKV OjrHGK4rI3AtFDOMlcv6wEc95NhIGNMx6Kp15dLigKzGcA21E3OpMy3J2vv2Jn8EPBFJ dNvsDn080ONBG8tsApvVvmnLp4E3LnLqCSmTnZSLAYxqWrIyMoS6qnYtQQcTPCVvxhXW U8qQ== 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=5FRH4vyT9IV9ABD5Th7VQyZZlOJwmxy9hfbpQg/4a6g=; b=Iojpn3kXu+S02HJ5OE9DgmQngsWj5BS1Rq8pxenXuWQuUsfnNsa2Mun24MjS4Oi8+0 d8KdedGkxwxEeCNCTfSF8pV2SXKD29K1d7zHA023kOH/GjDnPyUf05mFi2AsL6PX4yQd xcMSUD/941b6jxvGQjUyIRb4wB4pHN8ToiUTbx5POhHpVjiVIxs+bL80w2b4fPfqHScE 6e8p+/scu+T3cIXuj62JOdO3HzCaCeHnb7y5Y8IOQfcpf+4x/EaZRVCh5Jvn3PaiDVDx HqXgvgCKHsGo/NdbzjcS/H2jBJSZpyaQCUUjbtVm2iX0DfzIICsUUOlH0+TTFYDlkH/V Fgng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=RHs4HedU; 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 f7-v6si830046pfa.78.2018.05.10.07.16.41; Thu, 10 May 2018 07:16:59 -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=RHs4HedU; 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 S965199AbeEJOQa (ORCPT + 99 others); Thu, 10 May 2018 10:16:30 -0400 Received: from mail-eopbgr670124.outbound.protection.outlook.com ([40.107.67.124]:17888 "EHLO CAN01-TO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751632AbeEJOQ1 (ORCPT ); Thu, 10 May 2018 10:16:27 -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=5FRH4vyT9IV9ABD5Th7VQyZZlOJwmxy9hfbpQg/4a6g=; b=RHs4HedUNZtGPatqylUie93vkmuLmWkdmvgCO9R0kSvBAwI7d8x14u9UBkaVAPqjMtxbQ9DQSx6c4HT8U4vuFnkzXN6DXAQZvyawHp8yQYhHUqgVsqrxNiIFSz8/5/gg8dr7RJqGgWcd1Ahkskfk4Y05ShSNrTRGUWJ+8QqPZMQ= Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM (52.132.39.161) by YTXPR0101MB2208.CANPRD01.PROD.OUTLOOK.COM (52.132.40.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Thu, 10 May 2018 14:16:25 +0000 Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::50c8:ff64:a15:a805]) by YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM ([fe80::50c8:ff64:a15:a805%13]) with mapi id 15.20.0755.012; Thu, 10 May 2018 14:16:25 +0000 From: "Stephen Bates" To: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , "Logan Gunthorpe" , Jerome Glisse CC: Alex Williamson , Bjorn Helgaas , "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 , Benjamin Herrenschmidt 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: AQHT21soiBVnp6SJuEuLCiH6kBzTLKQk+zIAgACHcYCAAJmxAIAABkiAgAAoBgCAAAW2gIAAA0YAgAAHvYCAAAGOgIAACKoAgACuAYCAAGxLgIAAM6EAgAFRXwD//7LJAA== Date: Thu, 10 May 2018 14:16:25 +0000 Message-ID: <94C8FE12-7FC3-48BD-9DCA-E6A427E71810@raithlin.com> References: <20180423233046.21476-5-logang@deltatee.com> <20180507231306.GG161390@bhelgaas-glaptop.roam.corp.google.com> <0b4183ef-e720-204b-9e85-b9eaf7a4136a@deltatee.com> <3584a6ac-95c7-5d23-1859-aee30605776e@deltatee.com> <20180508133407.57a46902@w520.home> <5fc9b1c1-9208-06cc-0ec5-1f54c2520494@deltatee.com> <20180508141331.7cd737cb@w520.home> <20180508205005.GC15608@redhat.com> <7FFB9603-DF9F-4441-82E9-46037CB6C0DE@raithlin.com> <4e0d0b96-ab02-2662-adf3-fa956efd294c@deltatee.com> <2fc61d29-9eb4-d168-a3e5-955c36e5d821@amd.com> In-Reply-To: <2fc61d29-9eb4-d168-a3e5-955c36e5d821@amd.com> Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.d.0.180505 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;YTXPR0101MB2208;7:ISRYmJlqp2f3h4wmrkRK0P1Fw1XVWF140UgKnVFLTc1lev65KSyQNUx0gJkbGegACMfN8ewauSAT3zQhQRJt6Bbn3uXgfTy/8WzV93ckrbB55y2zmTsc81Q0XoCP7zP1ZUYvACGXiVLXvqjVoK5v0f/LMwqk5mwIlKJmb1WcXbC9q9P3oDzbl5iF3HKkOdXSUpLcpZqxdIH7sKMbZwB/FNhg81+sMGxiMFAH087Wj7DpKwPX3uuydX7nLAppV6ga 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:YTXPR0101MB2208; x-ms-traffictypediagnostic: YTXPR0101MB2208: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(2016111802025)(20161123558120)(6043046)(6072148)(201708071742011);SRVR:YTXPR0101MB2208;BCL:0;PCL:0;RULEID:;SRVR:YTXPR0101MB2208; x-forefront-prvs: 066898046A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(396003)(366004)(346002)(376002)(39830400003)(199004)(189003)(5660300001)(106356001)(82746002)(76176011)(8666007)(6506007)(3660700001)(3280700002)(36756003)(86362001)(7416002)(7736002)(59450400001)(305945005)(316002)(476003)(551934003)(6512007)(8936002)(93886005)(110136005)(4326008)(5250100002)(105586002)(8676002)(14454004)(102836004)(33656002)(99286004)(2616005)(81156014)(53936002)(81166006)(58126008)(68736007)(6246003)(486006)(6436002)(3846002)(478600001)(2900100001)(186003)(26005)(2906002)(11346002)(66066001)(25786009)(6486002)(229853002)(54906003)(446003)(83716003)(97736004)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:YTXPR0101MB2208;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: GotIUAyq4g4xIBdVvcM6KTrjk4ZP5rbFq6SPaG09IpprNscBY+ECcboNJA3Jb+f3IrjyMxsbPM0eloLu9qFgrUJBxBxRuYJk9GPV6tzXnyCkejaMA3FoRLXJ0HkJpp+qA0SdYOx6ysob7JyAiqG+o945a2zmDF9ezwvM+2mwHNxzps/A1s4f65G6b5UEIZLb spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4858772BB9243E4A80EF7F3CBE813FD7@CANPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: cde41a96-a94e-4cbb-5b72-08d5b6809d34 X-OriginatorOrg: raithlin.com X-MS-Exchange-CrossTenant-Network-Message-Id: cde41a96-a94e-4cbb-5b72-08d5b6809d34 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2018 14:16:25.1066 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 18519031-7ff4-4cbb-bbcb-c3252d330f4b X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR0101MB2208 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2hyaXN0aWFuDQoNCj4gV2h5IHdvdWxkIGEgc3dpdGNoIG5vdCBpZGVudGlmeSB0aGF0IGFz IGEgcGVlciBhZGRyZXNzPyBXZSB1c2UgdGhlIFBBU0lEIA0KPiAgICB0b2dldGhlciB3aXRoIEFU UyB0byBpZGVudGlmeSB0aGUgYWRkcmVzcyBzcGFjZSB3aGljaCBhIHRyYW5zYWN0aW9uIA0KPiAg ICBzaG91bGQgdXNlLg0KDQpJIHRoaW5rIHlvdSBhcmUgY29uZmxhdGluZyB0d28gdHlwZXMgb2Yg VExQcyBoZXJlLiBJZiB0aGUgZGV2aWNlIHN1cHBvcnRzIEFUUyB0aGVuIGl0IHdpbGwgaXNzdWUg YSBUUiBUTFAgdG8gb2J0YWluIGEgdHJhbnNsYXRlZCBhZGRyZXNzIGZyb20gdGhlIElPTU1VLiBU aGlzIFRSIFRMUCB3aWxsIGJlIGFkZHJlc3NlZCB0byB0aGUgUlAgYW5kIHNvIHJlZ2FyZGxlc3Mg b2YgQUNTIGl0IGlzIGdvaW5nIHVwIHRvIHRoZSBSb290IFBvcnQuIFdoZW4gaXQgZ2V0cyB0aGUg cmVzcG9uc2UgaXQgZ2V0cyB0aGU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