Received: by 10.192.165.148 with SMTP id m20csp4370528imm; Tue, 8 May 2018 07:26:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqN+JS4me4/Z2S3xmG/inBW7YXy6rKI7UIAkzy33CXUYYBvMFgqOJxEWVb8YtvCb7xE6lMW X-Received: by 10.98.12.21 with SMTP id u21mr39550087pfi.218.1525789607746; Tue, 08 May 2018 07:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525789607; cv=none; d=google.com; s=arc-20160816; b=iXlN5jXBLZRSXKkNcz+U4AF6BVm7hAwG7z9OS0Owd81nJ/Bk621a3X4GNI9Oixtf7E fj9Agbc4YddEXLuR2cfT2D/FUQODy/Ku8bCRjbbofAq+eT3RAJWErr0pHiRPqjSNU9QC +jkc7C1aZBXP3RZrrgjX10zcmjrDQVPm8CA8f1J3Y9B8boxXLi3bUf8rPv/SUpEbm06X ZL+cUSC/Tq68xv/GW5wJHBdVH6pGSW+smqb4nuVaymGY7SQNGZxonfXQHdKQdbIUV2yi fgdptdKQo/nOMgQPOGv+ksWSFNW0Qo6FPfKFl9iXUvGZ7Cp2lF6lQ5xFGu51CiqV4VkW OhnQ== 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=lXNBeAl/hXOKLTxn041lA7nHuXMsd8qX4sdaCBPaKeY=; b=iBJ+C2RoeM2tIxDaHVN27yQM7Sz9TegeJfQj7Bn1ZDA/B592ncTnbfnwGTiSCxSKIF tVjGyp/gski7Ltid+Ccom2Owun1yM0mISl8mCHKd6BprdHndo8C8ZJtxzZfOjr9houhx sDrxEAM8x4uwMkjxWsADBwrhcnOVex9xbHH2bLHzqZGptkUADMvFhnxcY55fCZoTAbyL MwG1o1SBicUPfKtgBkh8yEUvJApuhAvVa4Y+yT8qnD5R5jA6B8JavyXvHVr/5LwXB7np 5Lol3rqMHabfqU4FeCqZbSvp3R5kwPEjeiM48C7kkGtaj97KbAGemjzl7CXIyWKoBXhs mQQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raithlin.onmicrosoft.com header.s=selector1-raithlin-com header.b=bu2n/7yu; 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 g6-v6si20137823pgr.72.2018.05.08.07.26.32; Tue, 08 May 2018 07:26:47 -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=bu2n/7yu; 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 S932386AbeEHOZR (ORCPT + 99 others); Tue, 8 May 2018 10:25:17 -0400 Received: from mail-eopbgr660100.outbound.protection.outlook.com ([40.107.66.100]:44304 "EHLO CAN01-QB1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932193AbeEHOZN (ORCPT ); Tue, 8 May 2018 10:25:13 -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=lXNBeAl/hXOKLTxn041lA7nHuXMsd8qX4sdaCBPaKeY=; b=bu2n/7yux6BC8jtvrMjd4Ca7SdlHFInPQamIMbViYrkVo9SlsLEPm2FG0+pOyas29TpHIRhaI6inNs09ignCqN7tFVVanrK/NG2lUAwbiBTNf11SzraVene4WXw8SnKTFkOBLzoxnamgVtK/G3DfIWN/d3aMBD/OsSv3qcrNtY8= Received: from YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM (52.132.39.161) by YTXPR0101MB0781.CANPRD01.PROD.OUTLOOK.COM (52.132.34.140) 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 14:25:10 +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:25:10 +0000 From: "Stephen Bates" To: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , "Bjorn Helgaas" , Logan Gunthorpe , "Alex Williamson" 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 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+zIAgACHcYCAABLOAA== Date: Tue, 8 May 2018 14:25:10 +0000 Message-ID: <479F2F93-903B-4A8A-8989-A4BD0E5E1471@raithlin.com> References: <20180423233046.21476-1-logang@deltatee.com> <20180423233046.21476-5-logang@deltatee.com> <20180507231306.GG161390@bhelgaas-glaptop.roam.corp.google.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;YTXPR0101MB0781;7:tWkmYY1HCzg3gno61gZCoKjBCUizK8krcouBy5gD+ZM5vgxxtC0f0yaSToYy65+JJHjcVv2HZmKIWIyMo997sCFnCLYoU52maJ46R9Iy7GHYPgYPnLbyvhJ/SFZjQ9YsFG/vpWKzPTyoXkaRaX9skUPhDe3JCdA2MGFt6YnI0E14UzIgNDTY2JLN7cei5pBa072MBlr1mR3x/3p3aTiYHbMWb7i2+l6wPzT5/45f0bPWexmODNA0NW2VNesWhM6q 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:YTXPR0101MB0781; x-ms-traffictypediagnostic: YTXPR0101MB0781: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705)(100405760836317); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123562045)(20161123558120)(2016111802025)(20161123564045)(20161123560045)(6043046)(6072148)(201708071742011);SRVR:YTXPR0101MB0781;BCL:0;PCL:0;RULEID:;SRVR:YTXPR0101MB0781; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(366004)(346002)(376002)(39830400003)(39380400002)(189003)(199004)(2616005)(82746002)(66066001)(5660300001)(7416002)(5250100002)(83716003)(446003)(58126008)(97736004)(86362001)(110136005)(316002)(68736007)(33656002)(54906003)(486006)(476003)(14454004)(11346002)(186003)(8666007)(53936002)(4326008)(36756003)(7736002)(6512007)(305945005)(81156014)(8936002)(26005)(2906002)(76176011)(6506007)(3660700001)(81166006)(106356001)(59450400001)(102836004)(105586002)(3280700002)(6116002)(6486002)(229853002)(478600001)(3846002)(2900100001)(99286004)(6246003)(25786009)(6436002)(8676002)(93886005);DIR:OUT;SFP:1102;SCL:1;SRVR:YTXPR0101MB0781;H:YTXPR0101MB2045.CANPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: raithlin.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: DBwkeQLayZvkFFI7F3ED4jTW+AJrGm3Lvv/xfYlKWjGvuG6g+FyHIovOV8aTShYI/Rgwthb3PS4jq0KrMc++bOY/5TzRhG/+i1VCu4UOZOf8Bn7cAHZbAjPJcpYai20zyj1y2BE/EoJg2COJHBHicMR5gFrKjm9Nm83VGyXFA6x/XP6ps855zFIWo0ZZgfRB spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <3CD50565E70F874B8651DD7C38C3ECA2@CANPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f297e2fe-0333-4f8a-1060-08d5b4ef8182 X-OriginatorOrg: raithlin.com X-MS-Exchange-CrossTenant-Network-Message-Id: f297e2fe-0333-4f8a-1060-08d5b4ef8182 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 14:25:10.5136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 18519031-7ff4-4cbb-bbcb-c3252d330f4b X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR0101MB0781 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