Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2061044ybv; Sun, 23 Feb 2020 21:50:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyjkMlECMGEFH8kC341gSBsllid+hLdY+CSVAKDMPiXeQryxyGzxtoVgg060exUdyF3Hy0m X-Received: by 2002:aca:ec15:: with SMTP id k21mr11275205oih.35.1582523459480; Sun, 23 Feb 2020 21:50:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582523459; cv=pass; d=google.com; s=arc-20160816; b=mRJQ2EjvJaUbB83W4TE469Ej5oBxvf/vXBh20lHQB601dd6VQndP/11Xo7s4wOobWs 3KDJJcv0HG2C87zJfxuKdLu/FUUzXJDEjT1gFwOnB9lVSoGBlriiAanRdm3Ov/J2fCIq t+ZJsWQReG6av+v+TnEUNldyMX3AY/lo/mqOZNADfq1+owcAiPM3mp2I3+GqbyvvDrWb TjfQx9ZkB/Tgk5et+F3xvl7ZZuOY+71/4i3iWdGZ7t6RdATb0B45C9tW1rVgoFwobCjO no/Z/JPpdUCK1lqoiyJSMy/8FRKmy8Y93bjvE6JBClZLnStbTfeHfNjB2hs8WR/I3yoF lZ5Q== 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=Q3CZPU1botBRsYh0o78tuBpIGo+Bjl00w2xZvprdUDc=; b=EwTJATsOETPlthMnH7y253kz8QQbWL1t9AeMGDB6Su9R7NZYqvmYLgtH1qEywZNqdh I3U+2gcYuJDiHlKkbMiYrzO+HGgPRhkWbfzr9YDmHY9ZJY66dFKeHSYtA4Xr3budOuYp wrjNCCqwm20RKGKi12NB1rKhpck7xIfItVu/Cr0sZyyqQUlnEBHsiPnr4IP6GxRcWUT6 1IGl37qVibug8sfTazHCcu0gUCQOBQurx6tYQeTbaWQ+KTWGVue2CNAML4OPMJM5CK4z +xDjOJmoPrhDyxSOrIF4s+Ks2/HSNbiPAjfQk7jD8Xq3ordIfzoL5VbZrGi5OB9rL970 VRxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Dj8h/CYF"; 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 l14si5650498otk.225.2020.02.23.21.50.46; Sun, 23 Feb 2020 21:50:59 -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="Dj8h/CYF"; 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 S1727358AbgBXFuW (ORCPT + 99 others); Mon, 24 Feb 2020 00:50:22 -0500 Received: from mail-eopbgr00061.outbound.protection.outlook.com ([40.107.0.61]:47367 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725535AbgBXFuW (ORCPT ); Mon, 24 Feb 2020 00:50:22 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BA9ceZ08sOmOZjnswOwbkzyitxblHeI1dfNWw3TsxW/guw6Hd2ZZGuIDfr3igJOa6b0DpYVatNaCZM61+aSDLN/9DsMjipO2TC1u2lJZk4mv3tmkYJWgGiwfAukc7NJgF/wBbsD18ZI25dqVzK+SbInTvOCY5vymbOtdzsJYO5lN1Ko6+ZoQdhZkFDF/WvOuDiD2iITtHLUkr8fKzbmznYXDfFnpXZjKZcyA5iBOJ3wt/MqEzOsJBzPbT5DspEgS23GD+ank6so98xNqa1RWcT9+FOB9uqKzDPVrg+B4V/bC1Rgk2TB6icRRkB8T0/BRVtzR5OOdmFLjA66OQ0KiXg== 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=Q3CZPU1botBRsYh0o78tuBpIGo+Bjl00w2xZvprdUDc=; b=C1XMiJfEv0+gWY7qFV7NBsXURuRjc5ftNtekX0w57GoPPvszlsnTOVjUTZ9BUNxz13Ugq3Ib8DWXjK7awoQDf2cMVH3KH/+I5G6zS65MZdApHouadc3zf8DquVRIzOcwwTZ2jP2cCpgTP2YL+z0JoM97Z9yA8VF8lGdLdcxIKtaZi34hfQpt1WrsmrdQxr9fz/Dd4vRJ7a+cOdmK7JvsXBZ2JmONCn8NwSbroHOedDVBfIUHk0nLv9PFG1tkDxRO/rom+WDYPPiCDW8vY7J2dSfK7ajzEDv3k4qmbQOcM3J9f4KBGiySXuFs1S+Z3Ht2CupfTny5EihirFUIlGeKiQ== 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=Q3CZPU1botBRsYh0o78tuBpIGo+Bjl00w2xZvprdUDc=; b=Dj8h/CYFXEzlIW7RHySis27Tk5QwoHoAGNBtVXFc0bUtylcDt1mK3C+XnNZW/f2ybIx/NeJNiq+6KC7EMQ3FYzh8A8skBRbMWx7pcXFLFqKU+e+GagnEv6SMuBWNGBTPIK9tiw9lDFd3EwQXEE6A18Jf/0PN/2MoRQX0dP8MPyc= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6539.eurprd04.prod.outlook.com (20.179.249.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.22; Mon, 24 Feb 2020 05:50:18 +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:50:18 +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 08/13] PCI: mobiveil: Add 8-bit and 16-bit CSR register accessors Thread-Topic: [PATCHv10 08/13] PCI: mobiveil: Add 8-bit and 16-bit CSR register accessors Thread-Index: AQHV4iOIUG4IkPYooEWqcxwqVxT/96gkYk8AgAWF8FA= Date: Mon, 24 Feb 2020 05:50:18 +0000 Message-ID: References: <20200213040644.45858-1-Zhiqiang.Hou@nxp.com> <20200213040644.45858-9-Zhiqiang.Hou@nxp.com> <20200220172924.GI19388@big-machine> In-Reply-To: <20200220172924.GI19388@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: 1cdc7755-7a3f-4777-d0a2-08d7b8ed6dde x-ms-traffictypediagnostic: DB8PR04MB6539:|DB8PR04MB6539: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 032334F434 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(39860400002)(136003)(346002)(366004)(396003)(199004)(189003)(6916009)(55016002)(9686003)(33656002)(2906002)(186003)(26005)(478600001)(8676002)(8936002)(53546011)(7416002)(4326008)(86362001)(66946007)(7696005)(81156014)(81166006)(76116006)(71200400001)(66556008)(66446008)(5660300002)(316002)(52536014)(54906003)(66476007)(64756008)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6539;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: PlfQmhJKn61tZVNzLvADKFdXANXk5X1aNI8YI7/8XwNYPMFtadhsnprKPXh0tB+IoZICXz+bH5biY9ovavPgm463jPcUOQbOJae7mNYQNJbHhQv9++uyTYrHVh9d59o1zAXxBnth9hSMcsXjrhYGwdnNwOZ1svz3UkARULKmMOZ8m8d9K91KcbdClYsvCDIPZwmyF2KKRqX3Xx6EEgDx3LEzG6cM0v5cFwqAPI+ydNAIv/qrmFUa0yGlNgLDhUzxsvvj3D4/Mof9zvx/77PqiXD4qgfztELG/AfiJPyVIVSqSOr3ZW2NiRxHbwDINLWYXkYAfk5i9GLMG6bk470o0JqZFPVoXg7ROXniuWoxWDOZbzd9e+V7vY3aVzZuCFlTMfuog9i3s1zi55G/2wK6kFL1eJ39lOHnPyjnfd5F0EU5dk/fZ6nuuFVVAB+tkIOy x-ms-exchange-antispam-messagedata: /VfORrmy+1rVjvAFT01H/yHE3S7EPA1k45EhCNDGKWvKn4cJ/uGX19qJ8XomrYvnRX6Q9r+vqLf+1/qZB+Tu0EnaB8NGujVb3upMWTCTsSUJXfQE8rb9+Dox1+hkGHIWgJkgXyVYdUoaa35dT5o/zw== 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: 1cdc7755-7a3f-4777-d0a2-08d7b8ed6dde X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2020 05:50:18.5303 (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: 5Lue6is+3JaOGPMQXsNZQ/tXA63EpPDcuKLqfNNnm0NEaxLPIdSxVP96+YaABEjnGID64LKNTz+0FRYYrtCecQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6539 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+IFNlbnQ6IDIwMjDE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