Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7018931ybi; Thu, 13 Jun 2019 08:14:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6WgiGz3QGdTtOaAbCae/hbMqN/mLBXGWRiTXMu3GbiTb5qmM6peviRMi8J5MaHTn3Rucg X-Received: by 2002:a17:902:b682:: with SMTP id c2mr89659810pls.9.1560438854651; Thu, 13 Jun 2019 08:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560438854; cv=none; d=google.com; s=arc-20160816; b=bpNq79Zq71kQIisCqrW/5JGB1wk/DkSP8PpJp1RDJvX07/1AbtV7OhS3Bgc6fRe5JO Vx7EJ9SbSY0rPKPC+1JXuBeXCWbTFbKXbPhVA2ehFUo1H6vo1EGxL2rHmjm1h1p/pCbd YDCgXl2ORfDlk3qZ/WDGleyb7x+pi2TwBHKRevIvP7oL1/QMy/tZyQUpNU3Gz0Q9m/tX cqoxlBG6+C26HKy6MBeFy1L0ePlCHm77fWYK6R9Yz0GIvHtbTIqai7FGo57YhZ6ifU3x XaQ37bwVu7dT+L+q9NITcBCF0LjenxGYThUje4g5YK+YiS3gr79+CbzOBA9h53/4NYp0 UF7Q== 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 :nodisclaimer:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Nzj6MzH2pmOXiTX7PZgRezf7afByiP578fSn+fcp0PM=; b=iu91bnvrt7DVQU4a6k/E/jBrAjrzoCruKDktwiDyDuM7qhvFdW2FXyysVRGGFKtbqa 05HDk1CdQ5qJMu/3Ajhe6D9ad45M1PXLVpAnZHrD9l2672aHxPLOF77tGmnFCWIiKXNk gbxXlIHyEZMrgDyLAT8w6ZjhNzrWXI1kZfeGsxc2ciiBu4KpPeDdqr6yXR/nEAApKuaB ABq5UCC6QPZns+ZHZna9YKXkDexpeCUPi8P8sZBPepaF1GW1BMdXdKE1822rQXQsm70f BVm2IbXdMuSg3Tw9mgvQuXemFWf8g62r7mwEhfwsX5RiIeESuTao49g1l2FfCDfpfni/ wu8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=my07G9Xg; 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 204si26594pgd.520.2019.06.13.08.13.58; Thu, 13 Jun 2019 08:14:14 -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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=my07G9Xg; 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 S2388302AbfFMPNR (ORCPT + 99 others); Thu, 13 Jun 2019 11:13:17 -0400 Received: from mail-eopbgr80082.outbound.protection.outlook.com ([40.107.8.82]:29504 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732567AbfFMPNO (ORCPT ); Thu, 13 Jun 2019 11:13:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nzj6MzH2pmOXiTX7PZgRezf7afByiP578fSn+fcp0PM=; b=my07G9XgfGoIzq81PKv6TN0PMPMjv/U+xTj9K+LgyTYR51+teuXgTQsmLTGwHVkuWrVCN5ebf9GTvGBBhBGS5LsX/Ml4/3Pk17tT1QldbQa540MELh/2FjPotHrpVZ7JVFcpRsqG9if9ngZLSVLumFheHewTw0P+SJVksv0R2b0= Received: from AM0PR08MB4226.eurprd08.prod.outlook.com (20.179.36.17) by AM0PR08MB4468.eurprd08.prod.outlook.com (20.179.35.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Thu, 13 Jun 2019 15:13:10 +0000 Received: from AM0PR08MB4226.eurprd08.prod.outlook.com ([fe80::bc0c:5148:629e:1a31]) by AM0PR08MB4226.eurprd08.prod.outlook.com ([fe80::bc0c:5148:629e:1a31%6]) with mapi id 15.20.1987.010; Thu, 13 Jun 2019 15:13:10 +0000 From: Ayan Halder To: "james qian wang (Arm Technology China)" , Ayan Halder , Liviu Dudau , Brian Starkey , "airlied@linux.ie" , "daniel@ffwll.ch" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" CC: nd Subject: [PATCH v2] drm/komeda: Make Komeda interrupts shareable Thread-Topic: [PATCH v2] drm/komeda: Make Komeda interrupts shareable Thread-Index: AQHVIfqDLdXCjTdCoUOWEBxFONS5qQ== Date: Thu, 13 Jun 2019 15:13:10 +0000 Message-ID: <20190613151257.32297-1-ayan.halder@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0245.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::17) To AM0PR08MB4226.eurprd08.prod.outlook.com (2603:10a6:208:147::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ayan.Halder@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [217.140.106.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5bb68c40-2942-459d-a13c-08d6f011a561 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:AM0PR08MB4468; x-ms-traffictypediagnostic: AM0PR08MB4468: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:56; x-forefront-prvs: 0067A8BA2A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(346002)(376002)(39860400002)(366004)(189003)(199004)(66066001)(72206003)(110136005)(316002)(2906002)(486006)(73956011)(66946007)(66476007)(66556008)(64756008)(81166006)(4326008)(8936002)(50226002)(44832011)(66446008)(476003)(6116002)(3846002)(2501003)(68736007)(2616005)(14454004)(36756003)(478600001)(6486002)(6512007)(53936002)(6436002)(81156014)(2201001)(71190400001)(71200400001)(6506007)(386003)(5024004)(14444005)(256004)(5660300002)(52116002)(1076003)(305945005)(86362001)(8676002)(7736002)(25786009)(26005)(186003)(102836004)(99286004);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB4468;H:AM0PR08MB4226.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: dgS8jc7D6j/3ixr+u1JZoB6Qi0AyHIMvgqFl8k5MWHn/PPQwEyV1kBQFUMrPgTFSMXw48n0vYT6P9Uqcj6kHHWrKW5rwEWGDzhdrTIQ4X/BpL8K/yEjo6S9zBZPnOGMu31xkQBmdvvDE3gzB8FBrfyObY28vHs6kVgqYCml4MY5LA2k1kl36cXfBai31frDo+0HZfJJZ+4aqZqkcg1+1X+/ltFmGjUf2GkuDy2ndbGvFW/lTonZM3SuYfA+of3IDzduNt10tvGE/sQGQwbVaOxCZy0xn250E8CgREWS3rc6ugqCEoVQYIh/ZQWxOTU2QMvoLLO7F/YSUYiR3e24XJQ5qMFp8pQjY8Oit8ZBtYTIuk0lELSlMr/Kzvc1pNjpmWXe0kO9vO+vpctF3RWNcTaFw17OS0wAC5Fq0fLBxeXI= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bb68c40-2942-459d-a13c-08d6f011a561 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2019 15:13:10.5039 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ayan.Halder@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4468 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org S29tZWRhIGludGVycnVwdHMgbWF5IGJlIHNoYXJlZCB3aXRoIG90aGVyIGhhcmR3YXJlIGJsb2Nr cy4NCk9uZSBuZWVkcyB0byB1c2UgZGV2bV9yZXF1ZXN0X2lycSgpIHdpdGggSVJRRl9TSEFSRUQg dG8gY3JlYXRlIGEgc2hhcmVkDQogaW50ZXJydXB0IGhhbmRsZXIuDQpBcyBhIHJlc3VsdCBvZiBu b3QgdXNpbmcgZHJtX2lycV9pbnN0YWxsKCkgYXBpLCBvbmUgbmVlZHMgdG8gc2V0DQoiKHN0cnVj dCBkcm1fZGV2aWNlICopLT5pcnFfZW5hYmxlZCA9IHRydWUvZmFsc2UiIHRvIGVuYWJsZS9kaXNh YmxlDQp2YmxhbmsgaW50ZXJydXB0cy4NCg0KQ2hhbmdlcyBmcm9tIHYxOi0NCjEuIFNxdWFzaGVk IHRoZSBmb2xsb3dpbmcgdHdvIHBhdGNoZXMgaW50byBvbmUgKGFzIHRoZSBzZWNvbmQgcGF0Y2gg a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