Received: by 10.192.165.148 with SMTP id m20csp4796227imm; Tue, 8 May 2018 14:43:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpOpzUihnjAwZbAyJTeMTJnT5ODP0SUyVwsGTDm+nDrsLLr2g7Pi63ANnZ7R+gyd2mDddpY X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr43312357pls.255.1525815797527; Tue, 08 May 2018 14:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525815797; cv=none; d=google.com; s=arc-20160816; b=O+AvsG9x2lFMzeHMQ4gnqXIMQLlLDQ1hRa1bdA+2TCv+wgJI4/WJ8GyR/Ysck/hol2 K4uKnF8OSpFhiIGQkIUG2tig7ScqwxaxLlb+ygNPKIHUV5iPHjR8CHOo/nEOXfk0xTCi mV47ERtsaFqAcnkxeBjyxdOLe2wU7w5dBOPQJZaIQMZdlki+lmN2XweDJLvdbaDZ/hf5 yhxFPEmXhzAchctK4FLzJ2J/lgNZYp7YfE0gZE1aEoZkVIaLLoKL+qwua/HN1taNoLJ/ d07nQfc8VRPyjjtYliNdOgk9yu16t81/J5a0jpd49zGRVi2QHQHEJLcCOEw1loqMbvYk t1AA== 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=CxXtaWYF9+1UjclFCgUlHG6nPmhv+w4ieK5mwOB1aC8=; b=ZmgXnHK4/H4Mj6FIwqiJXU1nBC/2YzcXuXvhD4pokKhnfTfDJCuntJAKxe07o55S39 V6RmfTAnVyV/jJu3sFVtumByJUK+y9ngWHQEhYjsu69e94CEXuuLLyihH3gIELt7+qXj USkRuPxlGBDQt6qq4FKUF62y54hA37VQzyNXi3d1F4YynjlVzsEkFqp6ICiD4yKpjp2C fI2PAAdqVceEmTbnY4a8av8+dHkkmniplq47QxeDWZTGLjAOKfEAe7is3Nxwmew6mvuy Pu0lHbpCtaJzBKdb17sYtZDCqe0v+Ov+SxRtQ3ODxccb7Udh8LifNdrBV/QNwMQBmXgJ nq+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=hWLUdONR; 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 d25-v6si23562468plj.344.2018.05.08.14.43.02; Tue, 08 May 2018 14:43:17 -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=hWLUdONR; 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 S932647AbeEHVmf (ORCPT + 99 others); Tue, 8 May 2018 17:42:35 -0400 Received: from mail-eopbgr660134.outbound.protection.outlook.com ([40.107.66.134]:63140 "EHLO CAN01-QB1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932460AbeEHVmb (ORCPT ); Tue, 8 May 2018 17:42:31 -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=CxXtaWYF9+1UjclFCgUlHG6nPmhv+w4ieK5mwOB1aC8=; b=hWLUdONRBYu0UCtiQnFsfjH0umWu5UtGYlZdWJ0feXqMOGhQYnYk3c+JPxoHb9AHfdJnjT6cPU7go89a2WsgSSYAmGPJHvTWrK9tVHORbTE81kRFi4S3mn2K/ZBxTOuaMdbfvudY6Wg6A4cvCflh0Fw5xwwK6P7oF62TyaAi3wA= Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM (52.132.39.161) by YTXPR0101MB1294.CANPRD01.PROD.OUTLOOK.COM (52.132.34.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Tue, 8 May 2018 21:42:28 +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 21:42:28 +0000 From: "Stephen Bates" To: Alex Williamson , Logan Gunthorpe CC: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , "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 , =?utf-8?B?SsOpcsO0bWUgR2xpc3Nl?= , 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+zIAgACHcYCAAJmxAIAABkiAgAAoBgCAAAW2gIAAA0YAgAAHvYCAAAGOgIAABt+AgAABmICAAApggP//n96A Date: Tue, 8 May 2018 21:42:27 +0000 Message-ID: <354F7407-0DC7-470C-B9AA-74FDF9C46B08@raithlin.com> References: <20180423233046.21476-1-logang@deltatee.com> <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> <20180508144341.0441b676@w520.home> <20180508152631.50fd583c@w520.home> In-Reply-To: <20180508152631.50fd583c@w520.home> 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 x-originating-ip: [70.65.250.31] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;YTXPR0101MB1294;7:REwkqVvnVkXQ7U4pm+pEAF8mjVfVxrNHDfeYkXE0EzgcBBSQJfWDwjXZ1RleW163asGqlfjPxC+F9e2uEcZqhT/HGPiQS5hDDhI8FoIf/qZV1Q85gsaVZySX5aZgQ86Mjp7uu2onWGKr7XvtJ8WEbBvXnHWuiNCogIWMFIOiscBZsUptSxQSgEfMVS+Ja11ll9KkYDZmpvucsA3/Ww5fNY1y0MZLSvui0cLpz/BQGiuUEwKSq2X7XwP5h9BKAaR2 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:YTXPR0101MB1294; x-ms-traffictypediagnostic: YTXPR0101MB1294: 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)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(2016111802025)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6043046)(6072148)(201708071742011);SRVR:YTXPR0101MB1294;BCL:0;PCL:0;RULEID:;SRVR:YTXPR0101MB1294; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39830400003)(366004)(346002)(396003)(376002)(39380400002)(199004)(189003)(6506007)(76176011)(2616005)(25786009)(66066001)(486006)(97736004)(81156014)(14454004)(36756003)(476003)(105586002)(5660300001)(33656002)(8676002)(561944003)(93886005)(7416002)(99286004)(229853002)(305945005)(8936002)(7736002)(106356001)(478600001)(81166006)(6486002)(6436002)(102836004)(26005)(8666007)(446003)(186003)(316002)(2900100001)(3846002)(82746002)(83716003)(3280700002)(2906002)(4326008)(53936002)(68736007)(6512007)(86362001)(6116002)(3660700001)(110136005)(54906003)(58126008)(5250100002)(6346003)(11346002)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:YTXPR0101MB1294;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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=sbates@raithlin.com; x-microsoft-antispam-message-info: 9dap89rQ2VgqFY+zpqEVVxAj0BqUDaR/xHgS2AeomUaZELNvSBwZ6o7PGY6PSMfDOGfi0nVvo3KCb682SC8bvbHt/DnxJ2+O5S6+lhGU5IUDDEoFcEQdr+3lvd7BdMaTeKQYkiUx8AsqKoedtXgMROK6ZFxF0ZbNYfNi4LXqamUdhnmL78dRwr8k/M5TJQH+ 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: d86f6740-2190-41a2-90dc-08d5b52c984a X-OriginatorOrg: raithlin.com X-MS-Exchange-CrossTenant-Network-Message-Id: d86f6740-2190-41a2-90dc-08d5b52c984a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 21:42:27.9755 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 18519031-7ff4-4cbb-bbcb-c3252d330f4b X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR0101MB1294 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWxleA0KDQo+ICAgIEJ1dCBpdCB3b3VsZCBiZSBhIG11Y2ggZWFzaWVyIHByb3Bvc2FsIHRv IGRpc2FibGUgQUNTIHdoZW4gdGhlIElPTU1VIGlzDQo+ICAgIG5vdCBlbmFibGVkLCBBQ1MgaGFz IG5vIHJlYWwgcHVycG9zZSBpbiB0aGF0IGNhc2UuDQoNCkkgZ3Vlc3Mgb25lIGlzc3VlIEkgaGF2 ZSB3aXRoIHRoaXMgaXMgdGhhdCBpdCBkaXNhYmxlcyBJT01NVSBncm91cHMgZm9yIGFsbCBSb290 IFBvcnRzIGFuZCBub3QganVzdCB0aGUgb25lKHMpIHdlIHdpc2ggdG8gZG8gcDJwZG1hIG9uLiAN CiAgICANCj4gICAgVGhlIElPTU1VIGFuZCBQMlAgYXJlIGFscmVhZHkgbm90IGV4Y2x1c2l2ZSwg d2UgY2FuIGJvdW5jZSBvZmYgdGhlDQo+ICAgIElPTU1VIG9yIG1ha2UgdXNlIG9mIEFUUyBhcyB3 ZSd2ZSBwcmV2aW91c2x5IGRpc2N1c3NlZC4gIFdlIHdlcmUNCj4gICAgcHJldmlvdXNseSB0YWxr aW5nIGFib3V0IGEgYnVpbGQgdGltZSBjb25maWcgb3B0aW9uIHRoYXQgeW91IGRpZG4ndA0KPiAg ICBleHBlY3QgZGlzdHJvcyB0byB1c2UsIHNvIEkgZG9uJ3QgdGhpbmsgaW50ZXJ2ZW50aW9uIGZv ciB0aGUg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