Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp234631ima; Thu, 25 Oct 2018 19:21:53 -0700 (PDT) X-Google-Smtp-Source: AJdET5e/9/jEdEePZnR59nFedsAgGxE7H2n4+9ee6yFxfrtnkNEzH0t+gmXqvB8RdyqKBsNN4mW9 X-Received: by 2002:a17:902:24a5:: with SMTP id w34-v6mr1573792pla.73.1540520513892; Thu, 25 Oct 2018 19:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540520513; cv=none; d=google.com; s=arc-20160816; b=Vkywkyjvm7MVPotPeHprgFDJrb7F88hJbTIOFZ5hcHqltS/ji1WBZE0hBahL43I0Us b+mU3LIAt2rMDBPmJmR1IwQXH02F3yiSljito3uow2Y2VS/1rvFTWQvTHC5AsAjoZHEP PjVhTGsjVAnkLb2MOyxBYi23qAPcSiqDsVDyDWayZzpk57oUnC6BQ+C166C1i9xQ94aT Jixvqzua2c6d9WWsYEz6Zw2BeJ7NA+y1ksfVVb6ADdPUaLguQNEvcMTGDzrv5Geaud6S wFidE7Db6qOVLueeHg4icG6Qt1JeC/4lBk5s/Vyt2Ezqqxu91SE2KxaI10415Ux7PIgL GGhg== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=Y2agYtwIjxiizdp+Pg+XI9Y6DA6y8YM3iO7RwDA6f0w=; b=QLipe5n1/BcJfVTdqFJg6LMzgbTrZASCcKyojnDCqBb78MIZAhbFV1+sjswMtyVsRb 1DOUUM7AGkjhx0LTPTCtr3B67EBT2dqHuQZYyWaYMDQJJU7CazL1YYhbmCgACkipYtap 6a+SqU9lHm2x8i3lWX0/+K00RLZdRb1VUCdZhunwqPdReooVHBUz8SzEPNZ5lGTyh5P9 3h1hs92D2vEfJJ5wUU2lS162M5xXybJ29Ngf4H7MIMaFTWo9yaWdCJWypLxslQDwi24D 9JyH+SdRAVlwiSwSiVTeUX20dYCTc9v+KmyWTERKS9p4R6CivjtK5g0P0PxNtYN9UJPt kitg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ZTp6vpTo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c191-v6si7369551pga.402.2018.10.25.19.21.38; Thu, 25 Oct 2018 19:21:53 -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=@nxp.com header.s=selector1 header.b=ZTp6vpTo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbeJZKzd (ORCPT + 99 others); Fri, 26 Oct 2018 06:55:33 -0400 Received: from mail-eopbgr10081.outbound.protection.outlook.com ([40.107.1.81]:37193 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725834AbeJZKzd (ORCPT ); Fri, 26 Oct 2018 06:55:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y2agYtwIjxiizdp+Pg+XI9Y6DA6y8YM3iO7RwDA6f0w=; b=ZTp6vpTocQRv2/r+Djp2BSdnCBex1ZE89SBFtaSqquzo454npQnzrCL2B65qp2icGux16SUFoVhwAZs5qhO7RWSy8nXbiGtp1NP08v+ULfZmS/uis52TMiQLw/viCx1R/+R2x9KQscz8hqR7Ckw8GPaaeWwxqKrjDHcEbR+cwRw= Received: from AM3PR04MB1217.eurprd04.prod.outlook.com (10.163.6.150) by AM3PR04MB402.eurprd04.prod.outlook.com (10.242.112.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.19; Fri, 26 Oct 2018 02:20:22 +0000 Received: from AM3PR04MB1217.eurprd04.prod.outlook.com ([fe80::3827:91fe:2ec2:a8b4]) by AM3PR04MB1217.eurprd04.prod.outlook.com ([fe80::3827:91fe:2ec2:a8b4%2]) with mapi id 15.20.1250.032; Fri, 26 Oct 2018 02:20:22 +0000 From: "Z.q. Hou" To: Bjorn Helgaas CC: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , Roy Zang , "M.h. Lian" Subject: RE: [PATCH] PCI/Layerscape: fix wrongly invoking of outbound window disable accessor Thread-Topic: [PATCH] PCI/Layerscape: fix wrongly invoking of outbound window disable accessor Thread-Index: AQHUbEA3bQ9DeLR/KUmsy7zvrJJQ86Uv+XIAgADQnOA= Date: Fri, 26 Oct 2018 02:20:21 +0000 Message-ID: References: <20181025085323.8819-1-Zhiqiang.Hou@nxp.com> <20181025134522.GE214775@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20181025134522.GE214775@bhelgaas-glaptop.roam.corp.google.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR04MB402;6:eMsSTZdSVPT8P2CsPpZ32eKBZvKnrLzPa1Jh2l1yxbes0uMjmeHayOgTfGtiTx56w8Km7V8R7SYfP1RbYDDXmXNb+U5KgeY58PszSEAJ0I101QDenq9F6s3p7889c6b3PUSpQJQB0SimNWtmC7Kd1qa2xGHnATn2FiRLYCOzvzlZ8K15Li2Mb34SHWJJ1rzdAbxjXjfNY4LnyBE3zZnUO/rmyMRJtmhRKWnUllsrpNknweQxi4ufddJp3A41XOHKboG+KU9T6dTCQgbYhLtkxbL1Qc028V/63pXnIboH1rrHLmbaccbOo7P5pJKksawqpNv2d/0v27DYQAfQtvLurothdjfACoe19sNOy2rgxLxxLYrKXJHjr8LCMQKMR7yNmDfbEcoamtNDYjthgWIrPSER1XAPLDuSP+bBDJjfT846+BbyWg/t3APOeJldamMT3GqID1Yibu9a5YKE3egAlQ==;5:awTM8jmIVQpX1F3lXRWrpcZSV3mb9pJkgk5jlvrbm/Eh42tedWTjMLvD4uZa3EQp59AbXV0rzxndvWkjtcZ3XzczAsdYAsyyKz9w10YQ+BnVUeslKIsR8gN/Gu+SuPDzBVV60hIdpaPAQlPTE+zWKzg0HObEiCRYcCsB/MJfwQM=;7:0jyjioRUTuwDivTo9nROzdCfyDeV5ByCk+6+SmEF8RXlZ2PZoG1XdM3xANNSx+NDN0sYYEKt7WI7nvTsEsbX4dMVj/amIKfZoeBURj4Yqtso4KYsChJdLa/eRvD2tOxwrcjeOMrRxLLnEJCq+NDx0w== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: b0612517-302b-49a5-55e8-08d63ae994f8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM3PR04MB402; x-ms-traffictypediagnostic: AM3PR04MB402: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(211936372134217)(180628864354917)(788757137089)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM3PR04MB402;BCL:0;PCL:0;RULEID:;SRVR:AM3PR04MB402; x-forefront-prvs: 083751FCA6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(136003)(376002)(396003)(39850400004)(366004)(13464003)(199004)(189003)(53546011)(186003)(8676002)(11346002)(6506007)(6916009)(229853002)(102836004)(74316002)(5660300001)(106356001)(476003)(5250100002)(6246003)(71190400001)(71200400001)(446003)(26005)(97736004)(486006)(76176011)(105586002)(86362001)(7696005)(2900100001)(316002)(54906003)(53936002)(6116002)(3846002)(25786009)(33656002)(66066001)(99286004)(4326008)(478600001)(305945005)(256004)(14444005)(81166006)(55016002)(9686003)(81156014)(8936002)(68736007)(14454004)(6436002)(2906002)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB402;H:AM3PR04MB1217.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ToQrpuCsvMXeZenzgu9lygDEQx0c7hVgZ6Um7KvegbAoon44A16uZC+AgLRxmvO1j/UJLLB2R0K3biBj7EBUFGLRcIxpY7sG2UrwBEYvD88HfYAlKKWROQ6NzQEnlEykRZ8CVjwXZ9a8oE7FzryA1v8rO5y0pULLWFwiWPhgBQMaVs4TLZTo6wLydg+UDnWP4s3PvxekuCrR0Uyifu60ZflkVg3geUzmxelR5/qAaxfdt7SbuCM5cz+8IwCc+qhMu6iAISc9fDLSIlqM1kWuddgG7L1ZdAdBuze0eD071bV7pBUVz3DeDwS6qb417gakCCqbMsKrozrQ312LtT0ZZmgy7TQZG0kQRxp4P+zJ/94= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0612517-302b-49a5-55e8-08d63ae994f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2018 02:20:21.9660 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB402 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQmpvcm4sDQoNClRoYW5rcyBhIGxvdCBmb3IgeW91ciBjb21tZW50cyENCg0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCam9ybiBIZWxnYWFzIDxoZWxnYWFzQGtlcm5l bC5vcmc+DQo+IFNlbnQ6IDIwMTjE6jEw1MIyNcjVIDIxOjQ1DQo+IFRvOiBaLnEuIEhvdSA8emhp cWlhbmcuaG91QG54cC5jb20+DQo+IENjOiBsaW51eC1wY2lAdmdlci5rZXJuZWwub3JnOyBsaW51 eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOw0KPiBiaGVsZ2Fhc0Bnb29nbGUuY29tOyBsb3Jlbnpv LnBpZXJhbGlzaUBhcm0uY29tOyBSb3kgWmFuZw0KPiA8cm95LnphbmdAbnhwLmNvbT47IE0uaC4g TGlhbiA8bWluZ2h1YW4ubGlhbkBueHAuY29tPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBQQ0kv TGF5ZXJzY2FwZTogZml4IHdyb25nbHkgaW52b2tpbmcgb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