Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2058143ybv; Sun, 23 Feb 2020 21:47:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyrqb4ex0fOGYMHaKgUBbCIn0fZqFIarEeN1nG0PYZVwwwav3WxUWglADybSgaXExoemGiw X-Received: by 2002:aca:ea46:: with SMTP id i67mr10901401oih.149.1582523234310; Sun, 23 Feb 2020 21:47:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582523234; cv=pass; d=google.com; s=arc-20160816; b=BCpeV+zXGXjATzd0idWm2St935X40BwUmESpdHWwypIJ2ia7r5dCgMzKxWYJF7l7Kq uFWHFYdMoIBnhjvpfbtWCkjEFtIxFT50KRNM+ExyCq3cCr9PzlTS7hWBqsmqjEQbcQ3Y YXngVoT/nuJQGPskmnM/E/E4PVEaV4hha6odFS7RRUnEJhO4KWfjdiQUJC3oZMLp/TpL +ys0vXd98VBF3pkmcL5TPUmnOs2r1HtyAE+uhA9noDuQ4za1Xww4ygcf9ggEl8dvv6nL T4LPgYMH2anDb300wtXw6NgeYDR0AI/jNnIokALCiHpa/1E6NP9Ci6e1c/yFufJM/LCO F6Jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=m6cStjvndauW0DbTvAWoZq+qL+eYXfXfsxUhYx2mUlU=; b=uG10RcqVzm1HgETfckP8MgZ0Q2Ui7YZxqt+4mh1Sev0dEAFrGJ6lDuB7SRgEZwdvEh nboFqNVFpBUA39gClUuRcdVLIhx6xpzjJEaCgivRCspz8AP+xjAQZPPr4sy6plKB+1xd cQSj972BHLqWP5vQPAJR+VvrJItM+zl+YG+2yHR3JuvczMpedffq74VTyV7O9f0IkoS2 9kWj4bI5MSim+236lXm3HhYco2GaGHjUt27EuMPFrD2U809ATMCq/QWG/peS+a3tJ413 Bx6c58sfBiSJOEyBRFPmm5+00hfNqws8c31Ip4LfgQ8PTfopoSynrmiMriJsCgnzwIY1 VcCA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YwRG2k4E; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 t1si5432037otp.25.2020.02.23.21.47.02; Sun, 23 Feb 2020 21:47:14 -0800 (PST) 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=selector2 header.b=YwRG2k4E; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 S1726628AbgBXFpY (ORCPT + 99 others); Mon, 24 Feb 2020 00:45:24 -0500 Received: from mail-db8eur05on2057.outbound.protection.outlook.com ([40.107.20.57]:38125 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725809AbgBXFpY (ORCPT ); Mon, 24 Feb 2020 00:45:24 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a4HiT30ie3c8uZzVPmToBWq9kis7GF+DAi0HlGcHT3epnK0m96fgHkXQS1HN9P7WvIRuxo5mg9SBmUbX5ONRM+VmAjSLit9Q7Lprif9RADwKlKwThcXhm6K7h8ZrfkKhRBLY9sGtVm9PrWnaeP0DJekGOvpzokjWQjf5ULxg5XJWIPCT76Z6jcTw5/wg79LUQeXSVPgDL6pfmmEnmiU+utbYtC8Mc0fzwIzrJrU7auTrXlhQ6azAvTTl9q5m0cZDz+mLf+KTqcRXXociEHgW5TEaJJmTH17hPoVfJpg4YvQ5Yq2uFrRggtS4o/0ShPYucMlQl7OGgWqOtyqDcjPPpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m6cStjvndauW0DbTvAWoZq+qL+eYXfXfsxUhYx2mUlU=; b=XROVssht1z0PcdWHfcRiGIk8AnScOYIje9WrciA3kgqf7sQnYmHA6EX2ugr6NFmF4d9Yj5g9DFW/xUwZTMk8sC4ytbXex7+K3PL9sg3iELcB7pn8wuOSvq6tuNh/8AJUfEpn2UFecEz8bn/SuxXq/dl549OQBTzz/5ZMZIhoDDPADZ9RctpSVilygtCadZfPsk0ZSSMI7yLkqVJmwwWicIbWBGXKlA23lutgsm/Oz/9xve/370pQpWnbBSn+oOxYRSO7tdTbrxSbNMCG/eXOunw2GcEa1BWs1gEQaUZ82q0AnN/L9htV7tef2uzpt/RfwNwADx6T1oOM6M349iEHbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m6cStjvndauW0DbTvAWoZq+qL+eYXfXfsxUhYx2mUlU=; b=YwRG2k4EJAzwOliXneHP+DlkiYVZlMmlH4yF26U45C5n+MTkq66QrCtV95xTHAIiBbN18OrjlvNaUjdx4ZuXFyTlAL2L9wPIcD5l65E/WxdGP5uLw60uRBq3c1ClfPhzZfdpRr4rVZjICTAZfakzp/f9iB18+OYzTTphWFDGhLQ= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB5723.eurprd04.prod.outlook.com (20.179.10.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Mon, 24 Feb 2020 05:45:12 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa%4]) with mapi id 15.20.2750.021; Mon, 24 Feb 2020 05:45:12 +0000 From: "Z.q. Hou" To: Andrew Murray CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "andrew.murray@arm.com" , "arnd@arndb.de" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , "m.karthikeyan@mobiveil.co.in" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv10 01/13] PCI: mobiveil: Introduce a new structure mobiveil_root_port Thread-Topic: [PATCHv10 01/13] PCI: mobiveil: Introduce a new structure mobiveil_root_port Thread-Index: AQHV4iNtG9DSUPJvT0Gk73NxuLeW36gkXbmAgAWIqzA= Date: Mon, 24 Feb 2020 05:45:12 +0000 Message-ID: References: <20200213040644.45858-1-Zhiqiang.Hou@nxp.com> <20200213040644.45858-2-Zhiqiang.Hou@nxp.com> <20200220171259.GD19388@big-machine> In-Reply-To: <20200220171259.GD19388@big-machine> 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-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e07a5fda-b2d4-4622-7987-08d7b8ecb76c x-ms-traffictypediagnostic: DB8PR04MB5723:|DB8PR04MB5723: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 032334F434 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(346002)(136003)(396003)(39860400002)(376002)(199004)(189003)(52536014)(55016002)(30864003)(7416002)(478600001)(9686003)(2906002)(4326008)(66446008)(81166006)(66946007)(53546011)(8936002)(66556008)(316002)(5660300002)(33656002)(7696005)(26005)(54906003)(6916009)(86362001)(6506007)(64756008)(71200400001)(8676002)(66476007)(186003)(81156014)(76116006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB5723;H:DB8PR04MB6747.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PMtcpUVDB1Ao8tjhO/Fw/SuoGjjp1WzcfUTcHMMaJHdt0PbCg+90cyJnz3pItLgKB1oMHlqWJ7CMmapodNBNsUr8I0M/ZFUf1kezf7YXh3Ss/Mzgd0HPDMpcUh7r9cybdG2fIu8lFq75F+hk3jCPC463GBwDv+p3MAwX/qcZfwnZ8S5USCNky8210EhQqxXoevZR56KU2uUz6aXaDajrBPrfoH9c84OnloLQIYLolyBNHxmkAwrFz18Y1nBCXYVjT/m3sa3CUnBFIq3ALvjSGiHC0T4aPpgwZ641G5HsShe+iUwSprkZCECxEd6O24MzqoQGipjP4QSFHJ5p0iGrWDkbcIdob/U1LDDIOfdyN7XkzkupuX/h01B28puaQTh4EIBq0+Fi3ss8CSa0utURBB//MOCjizNG5JRTdT40A1U6uPv65me4KU7jRwut0+qA x-ms-exchange-antispam-messagedata: YThONVkLzKu3OM+NBHj9Ap7Hbep4xxpLaWEuKmwCtMj6Wte2bDo3hsKnAVmS2ozZDn+Ow3ApKmg1DMBkJp12UdrZpSjKG7br2AjA8U6YoFT3v2gsWley71JaYbGRuPstRtHYtEWvsMv407E6f3/C5Q== 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: e07a5fda-b2d4-4622-7987-08d7b8ecb76c X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2020 05:45:12.3537 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1YHRKfL9xb43DOato/8gEfo1dLvpS8zqdMpLeuOXwGU5hryXSGQ2bdX51gIq1B8Qra46IPlMQWgmbSourwpUUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5723 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcmV3LA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgcmV2aWV3IQ0KDQpUaGFua3MsDQpa aGlxaWFuZw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJldyBN dXJyYXkgPGFtdXJyYXlAdGhlZ29vZHBlbmd1aW4uY28udWs+DQo+IFNlbnQ6IDIwMjDE6jLUwjIx yNUgMToxMw0KPiBUbzogWi5xLiBIb3UgPHpoaXFpYW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