Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2060272ybv; Sun, 23 Feb 2020 21:49:58 -0800 (PST) X-Google-Smtp-Source: APXvYqziw0Dbz/OoRsw8XqsNlk0HsNt38fMo+rZ+KIe21Z7IuQQyqjj9Bx+wS6VaOcZtEK6Y0BjG X-Received: by 2002:a9d:64b:: with SMTP id 69mr37289924otn.237.1582523398821; Sun, 23 Feb 2020 21:49:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582523398; cv=pass; d=google.com; s=arc-20160816; b=OckCD6yMlaSqDi96IAQO02XRL0WgyBD7lAPHlUjdNGcLCpPGRZY27A6/FlG5wE4tqU nUQKmsY8FvbmRShFCrzXPTBdbMZF++my8NcLpxRVBKUEcnM+LWQEBNyQPBPcS/OywOpa dOGZ1DJliMTG2CD0yoPQBZTOijOaZj3WhwTX5S73vvOe69cxlDcb5x2yriIaym5J8fhz 8q7A3QJQc4tsbosOgQab81UzG0ZKeae6jHM7+VVMAoWX5lO/ccj5fu9L1hoLvVcvNL08 YysywDd5v4n3KKwtr6RLwlnDbzWFXkFuhUBxnTl42y0yd0XJIt3YbwImeU/SJuRPIxAO Ognw== 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=XLLp5XWLGxSmGAS/UhGIMGA/arHDm5FDhtJ7a5T8OjY=; b=pYCgBn1s+78LIKhh6KqfjcdzU4Ki6EIsuFb5OicdJ62oqBE/5zIOKKmWMMUjkwa/wB Co3RIENlY2HylLVrSWDThYIT0VKOa2rGUuxygZbmIHMfPpAkxEaKiy2sYMPhJpey7b54 j+vB7AFPEY1VOyOol8BbtA5SEjYwpsaLLHnMAHorUdkAh+V3l+gSSrPL4L6PEYOs+gLc Pgr5t8oCLbKWPjsGL36Veh1Es159+dk43PwWzmuDFdQY+jmF2YoJH0VP3OM5ApC0yyEv buS7PPVsXceF/6VXKXdbEEUNXTIpDRkpLif4yWNBoAYKwEzz24sKVPgntFrD1EtnVKWn nC4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ZW1sIQuu; 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 d10si6061768oti.226.2020.02.23.21.49.46; Sun, 23 Feb 2020 21:49:58 -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=ZW1sIQuu; 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 S1727252AbgBXFta (ORCPT + 99 others); Mon, 24 Feb 2020 00:49:30 -0500 Received: from mail-eopbgr00067.outbound.protection.outlook.com ([40.107.0.67]:16293 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725535AbgBXFt3 (ORCPT ); Mon, 24 Feb 2020 00:49:29 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bTAHCURwlaIxKwdi/+OSfBLmGUCEtBeZ0fLkPms+icFbhCU/cNC5q6CiPRbm2B13OMUwl3l7eYkqaw0JFOG6Y9TszrXt/e/MXDTcv28rrcLnqb8aYnzo9utfkOEsnpUbQXoHpnWQWJ3Rbyij7GpDtXQfmdfhj2UcdPHvHbWN1f/5aEHhyfUt47KBct99+gn5CDL6B6Z8S5hqcLBZCURqnc+96c90MWD0sdlefSbGQ7Zm70ynPYk/CORgnbikUnTzoez6yg4Ou1o/GDVCZrEI2vWGX7EdQHIJ07drkHxKsU8TYqQSB/SFbv6TLvD0z/VEzyDSEHaX3YmTmUAkLQtD9Q== 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=XLLp5XWLGxSmGAS/UhGIMGA/arHDm5FDhtJ7a5T8OjY=; b=eoJv7eDaMFk7XfRX/ypmxgENGqzBpGe+SmmlFR/2lG3spFm3aR65hwM5uqycSENFxf37BEVmLkIim00eZqzPHknmkUYbR5Mx4TRVNUI2V8ReA4bTbs3TwgC7vU7GQF4MSC/MTiX3IlwCpLapJ0ApzDMR2xrJh8foelTpYGVB8SvF5J1chDgsNzm2B98ip+mWotLenrGyotm1BDVzxaHMhISCqOoCt/EwRegKsUpBMVpA6hhDKyDMdzAzJECFwQ5XO0l+lzkqyK2EYK+VogoKJ9x27QQ21kDQ9Rd+EITK6XEx5cohQ/84GumZAOHWAuRfGusHpFYUSd8Esg/EOq+e2w== 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=XLLp5XWLGxSmGAS/UhGIMGA/arHDm5FDhtJ7a5T8OjY=; b=ZW1sIQuu9/yrOspSLmxjjLm5p2X8hHLzY6IctcFHUFPbXK3xid31PCk/XpAAzeN6D2szIPTVWdJHTVlRaPcrmB0fjeM5iPDGyx8Z5V+anFo8z7+aKZE4sf+Vn4yXBUAAhSUf5axp+yrhNsEZH0bu65l2jyS20iqIdZ+JA35Svio= 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:49:25 +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:49:25 +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 03/13] PCI: mobiveil: Collect the interrupt related operations into a function Thread-Topic: [PATCHv10 03/13] PCI: mobiveil: Collect the interrupt related operations into a function Thread-Index: AQHV4iN1Q2nuT2PtCECRZ1MyVymnnKgkYL4AgAWHGeA= Date: Mon, 24 Feb 2020 05:49:25 +0000 Message-ID: References: <20200213040644.45858-1-Zhiqiang.Hou@nxp.com> <20200213040644.45858-4-Zhiqiang.Hou@nxp.com> <20200220172348.GF19388@big-machine> In-Reply-To: <20200220172348.GF19388@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: f61eaf26-2ae9-4afd-0f19-08d7b8ed4e66 x-ms-traffictypediagnostic: DB8PR04MB6539:|DB8PR04MB6539: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; 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: 767K3WTREiE+wfbjl5sZVMvefCwuHxg+F2WuZtGRSPLEYY7PAuQEniweBGUyKNBNTTBxvbzaGpcpRSnVtUfP5yjqA2UiveelM1pi4o11rlzPZ+qAkgJvhrqIVYuvwea611UqDFyi10IHktc4N2DbKtNvXFpClskvl6MG8halYg+sGqBIJZBV8OeDdQkSuYdZkOBgnnfFxZhmWEPiu2mz1esoYIs6LmUFgtJl1Wvnil/wfqTQeybtnbeDMEsZJ8i8eZBv0DuCFab5lpsxX7YYjxxxoQg3L3h3j+Vn4pGK1MwcmkYaTTbmxPvNqxr/dibTZD29QWSPBJUYcSNNhlaRt93u67MV5CsPSBfgl46pdwU+VZjzJcZT6tWozEnHd/y0z8kfOJe0H7rwpgxvM4fh0wgDA5+CATXdiLscOe2O+MEYDxno9HY6AyX4MqigNIx4 x-ms-exchange-antispam-messagedata: AVRR5oAMgK4iTWt5a98PRKnq13PF5119py3A6ro5ZlVQ9dIjhrYkcvLLX2zRK1fwFPNcHEPHA3lYx1dN+2Ii7JnKvfBb0bE5saH1zYUueC8FJWs760sfW4Cr2HsHs9uXdj8LMkeVExX7emXEH//z3A== 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: f61eaf26-2ae9-4afd-0f19-08d7b8ed4e66 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2020 05:49:25.6896 (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: kvfaEJ64VifUHjes//giGRl2+2UU7hpcnHbBeUYYHOk5jDoghVOggvbuXyQTYclxkgjwXG8Dvr6hkPOvfkgt0A== 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+IFNlbnQ6IDIwMjDE6jLUwjIx yNUgMToyNA0KPi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