Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1231912ybv; Thu, 6 Feb 2020 00:04:25 -0800 (PST) X-Google-Smtp-Source: APXvYqw0bcI6LZDYPvDl7VmgP/YBxdPcsOVmSfp0rfXh0yoSB85nNh2Hrf+PA0ZbT8nm+8TPlvR/ X-Received: by 2002:a9d:f45:: with SMTP id 63mr30528043ott.0.1580976264930; Thu, 06 Feb 2020 00:04:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1580976264; cv=pass; d=google.com; s=arc-20160816; b=HbEl2DFhMZ/FwZww/0+RUpprFvognZ0tolYsNifj9jdd3rq/uvyysIklkLYWBqQvfQ 7F0MNSGmado4rK5mroadCWUi6Ffm2TbkoopvIqYnVXugjUuaePHGCe2uvDnAv1AXO2XI UNGEeQuHdmBVVcAAM6R1j53TYR2vinq7+pjn/JTXH7T3dnV+qJyL6eI/0SMNjzALdznw JAIx3NSn0DkCq/cDLZx1VdsXpXn4h4eCY0uEr/7UY8twnDlroMj6/Sfa6WovIbhZ5Rks eEm821S6o6aaucE0sDN0PTT6idK8/3fatj5B/dlwFWo3t0scW9aQoicgPnQ7NJNpybsK 9vLA== 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=i8OUAuFAOAucX8qy8nzZYVRsWxTBqudY2ox4cd8IAvo=; b=YhXllq8dtXal88SrgPCBJiuezfosLde0MEo9Kb2y4kOtBhwKlIgY3xQZsWSx7LxTGz z5ktqGv415npMEQVBh3jZI766Ju+dv10Kvq6O1HadmzU2A1qfFLw3NyVEhQVpRXotUFY t0nOCvct6r6gCsDTCyRKztzg2MOFjV2IYXvb5SLPyXar2GN8P8Z9DuMBo66XeiVqVioA qczabArijiW/Ph/82Ntrla7aB/C22SgdRFsBaHSaH/lmnZt3fBZdgxwLYW1pg2zj0zJJ uB3FuB4SMoxbLb0QxSrLQljUEG+WgycgOkX+baOnWdyzOHh9ZVU/ykvTb/KPYvxYDxnM Hj7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=sCaKkJvp; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si1657031oim.223.2020.02.06.00.04.12; Thu, 06 Feb 2020 00:04:24 -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=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=sCaKkJvp; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728160AbgBFICP (ORCPT + 99 others); Thu, 6 Feb 2020 03:02:15 -0500 Received: from mail-eopbgr700066.outbound.protection.outlook.com ([40.107.70.66]:19712 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728059AbgBFICP (ORCPT ); Thu, 6 Feb 2020 03:02:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g0dxUtlKP0JAbYyGTN7i7TgI9I9dfj0ICrEyzevj+Li8hSfBi8PhyQqodEKFdj7uaqAsKNPEZk0cZBcl7iav9WBlF+mmcuQZyddnkG3qaIjrEAPXxy35SVtYiIdxmdl2BgeUvFDxE2je3XyeUnxvbiPeVUkjSpcnHIrb+kxxEQseFsZi97BD3YpeflmAyyiyZv2U+JWbeTKkyfgEJssUyVwS/fjFyPPjAqFkatvZsOusL+RIizbs5xSrFGgMxFr23SfHtHh6wLfDCNnHceoeQ/uzax8VQ0LSM5eBsLh6wkVyJlWLR87ZkZ6jfVfjnjQ1Evc4tiJpbQPCz6HBAJQ5Tg== 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=i8OUAuFAOAucX8qy8nzZYVRsWxTBqudY2ox4cd8IAvo=; b=oc47gxvZEPsY1F2X48NIekUFiMMRTr01exbb6xNhHVTrDLQaPXmkjE/j4r1kVDwBpta1q4MNKRBbDg6beiKQevU2+axr0e7YA48Wly7nVfwWrSbCPsGmwbvwwXwuOVwPwxJVI1nAxbt1tqgnoeYdcQ/hKVoBtDKCzXzhKaEqavWJ2qO++jCTifhl43Cu7onjPAMosASM7scDzRjYrOOWQmAab3+bl4iqJFyOFjsyM1Vp36GJRcn2XJk0xlLt1JKeDgXxx1oxOtTNQHLHNtn43SbNsFptCdyj7zQzqaxadFPeitNy2l1ubTfkSI9hnNkqeyWOT8y2E1J772SN/brxew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i8OUAuFAOAucX8qy8nzZYVRsWxTBqudY2ox4cd8IAvo=; b=sCaKkJvpeTcEYDV1U2bOBTYG2G7iVGLQrFWghJZdj9Qs4B0eT3O7DKthNH7+G1ZjO6aZmIuwV0bH5NOkw5Vb6Sd9QzA9iw17abYSKBAHXXqJKfosjvgGB+Xdgdl5vnWtKNsO+iwWvuwIrmeCViQjxu+XjPH7N0KkbiM8bb5KhjI= Received: from MN2PR02MB5727.namprd02.prod.outlook.com (20.179.85.153) by MN2PR02MB5725.namprd02.prod.outlook.com (20.179.99.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Thu, 6 Feb 2020 08:02:07 +0000 Received: from MN2PR02MB5727.namprd02.prod.outlook.com ([fe80::e09d:a160:5349:8ed0]) by MN2PR02MB5727.namprd02.prod.outlook.com ([fe80::e09d:a160:5349:8ed0%6]) with mapi id 15.20.2686.035; Thu, 6 Feb 2020 08:02:07 +0000 From: Mubin Usman Sayyed To: Michal Simek , "tglx@linutronix.de" , "jason@lakedaemon.net" , "maz@kernel.org" , Michal Simek , "linux-arm-kernel@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , Siva Durga Prasad Paladugu , Anirudha Sarangi Subject: RE: [PATCH v2] irqchip: xilinx: Add support for multiple instances Thread-Topic: [PATCH v2] irqchip: xilinx: Add support for multiple instances Thread-Index: AQHV3C2hje5zExnZvkGSFN2foWGvfagMr68AgAEdlBA= Date: Thu, 6 Feb 2020 08:02:07 +0000 Message-ID: References: <1580911535-19415-1-git-send-email-mubin.usman.sayyed@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=MUBINUSM@xilinx.com; x-originating-ip: [149.199.50.133] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 988856e8-82bd-47d7-3c3f-08d7aadadca2 x-ms-traffictypediagnostic: MN2PR02MB5725:|MN2PR02MB5725: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0305463112 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(39860400002)(136003)(346002)(396003)(366004)(199004)(189003)(107886003)(54906003)(110136005)(316002)(5660300002)(76116006)(66556008)(55016002)(9686003)(33656002)(64756008)(66476007)(7696005)(66446008)(52536014)(66946007)(26005)(8676002)(81166006)(478600001)(8936002)(81156014)(4326008)(71200400001)(6506007)(53546011)(186003)(86362001)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR02MB5725;H:MN2PR02MB5727.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h9sxIDOmXrtKIFOkiRifBrceqDM6phpJtcth5o0qtIQf0+VnS3n0TKeE/7rBT3tPMavWdztlhv/hw7UXnFyqiN6+VhkFX6n3+qPPoidOcHb3IbeReHK6NsQZ1rvTAhmiUtDTfxaZxA5+ST95ZAGIC2RXnjHh0bmicS1PljDMta4uPXL4lhQtPeCfObwgVCpcQya3h9rsctOXjPuEuZ6LX1TXxP6TrSF9MXmENtdjtV2E7sqq2vn7nRbWUCM7ZvDO2GH7r3TAxifs8o6uTzZBun4YJtfaST5dmUK1gYuj0Mo+E6PEJpk0KKgyxznkH9BlExmzPIoTM85Rv2Z8WXZuTP4pjobX3qVoed4tjpUmiYTVEyekcRv2EhdOqacbx+/vWLRGhKjewyQklexVTw7vTa0otV0EZnQjA/wYukmEC98jddJgiXmfKJhgMI3K3g6h x-ms-exchange-antispam-messagedata: HLU7Uk/9O4CN2RBODwKnHpB0Lz5baDnoLIcyfLpdL61lc2sS7CrZNz1NL+RyJceif+ynp09MOnwe7qP4aVB3umaHedoRneZrqg1gd0CLwN+mEmAW5Jo2PjNTx2hjRCZIXvRPc6R1+ogciJrY+VtkdA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 988856e8-82bd-47d7-3c3f-08d7aadadca2 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2020 08:02:07.6607 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8S7rjajkH6WcNmvZt28EFi9H93sdnoHyr3SpLUlXoxenEAPQR8ZTGEzOKY6rDI3VYyMWAdb2+lunMVf5cQVVOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB5725 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWljaGFsLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1pY2hh bCBTaW1layA8bWljaGFsLnNpbWVrQHhpbGlueC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgRmVi cnVhcnkgNSwgMjAyMCA4OjIzIFBNDQo+IFRvOiBNdWJpbiBVc21hbiBTYXl5ZWQgPE1VQklOVVNN QHhpbGlueC5jb20+OyB0Z2x4QGxpbnV0cm9uaXguZGU7DQo+IGphc29uQGxha2VkYWVtb24ubmV0 OyBtYXpAa2VybmVsLm9yZzsgTWljaGFsIFNpbWVrDQo+IDxtaWNoYWxzQHhpbGlueC5jb20+OyBs aW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmcNCj4gQ2M6IGxpbnV4LWtlcm5lbEB2 Z2VyLmtlcm5lbC5vcmc7IFNpdmEgRHVyZ2EgUHJ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