Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2286932yba; Sat, 27 Apr 2019 20:04:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+ByFFSQvi6btjs1VjN5jc3tiCsh4f7jHeckWNCEJVVvjVNLcKh/VqGygzNJhRhCdhOqS2 X-Received: by 2002:aa7:914d:: with SMTP id 13mr55875343pfi.149.1556420666926; Sat, 27 Apr 2019 20:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556420666; cv=none; d=google.com; s=arc-20160816; b=eW1tIX3BAIw/hOWRqmtf3rEvfa8NSC1hXs+TA7nFR403+FUIuobMiE/i1VylqoG5kM 68kcH21h4q6Lh0leko43VLg2AUA0uDFiDE0Ualey0Ja0pCRH6jMRao2EVKGyTo5XZSD4 Qmrhza3BwLoL9EuodnwjWN37qD6GqQP/gWzWzapdtOFDkV5sH7aW7EE9NiJpUfY9H1dd nH0lGfBa7vIRawbKHZydHmRoUMNNEcTA0oXTWJ1vlVEF0Ws/SDFDAiz0/XA243C/ej8p lhB37EXxGcdTzeETLb0iw4pXt34hy9cuGPHyRNuB1BwfHuWnnlu2am5t6Bcbi80kYgFU I8AQ== 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 :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=9Dh0oyIDNLwuIif9QgsYfiYn6zvbWbnH+f156Rv6Gvk=; b=IoLsY9ZrMz3bZ+rMEI3yRp36Ca2GveMRz9EPjr6SeXpan2m3p5xaKqrcyeyJB/kOAA cTwiL8+SMyGAkQOiLcANSwLtucjJn0s0YDvxsFBChocJdrwE4L4DeKzOjhSfeZ4FnwLx 9LVqvW/NlnqjHOinc3s7Tyka4pBPsUfAvHkiXt+8Sy8ExzJgjUdocYDW+vrKxarxjM4l rBECoDbNKtjDESKsCXeqgmdmyRbwYYs9oYZKHLOQKRzkBUwZg68MiCNy4Fito4+OinjV b7yVP8iRwgEwole/CKvw0x7RIw2KlPc84GpjLAxugTXLXWiNGpRLRE8Aq45ib5xN4e5z yfDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=APYJoQYR; 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 k14si808117pgh.437.2019.04.27.20.04.09; Sat, 27 Apr 2019 20:04:26 -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=@nxp.com header.s=selector1 header.b=APYJoQYR; 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 S1726383AbfD1DDR (ORCPT + 99 others); Sat, 27 Apr 2019 23:03:17 -0400 Received: from mail-eopbgr140084.outbound.protection.outlook.com ([40.107.14.84]:4548 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726112AbfD1DDR (ORCPT ); Sat, 27 Apr 2019 23:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9Dh0oyIDNLwuIif9QgsYfiYn6zvbWbnH+f156Rv6Gvk=; b=APYJoQYRCNZgKE5VzseUy+fsW4JmoMDQhGgc2Hc3DCHF0TnIk9ZburZQkIZGMSw+7JqhxS/+Et0P2jJgPqFdED97AK3+5PK9HPl+GtsPJmScFOcnTGNBZMAKnwWZ/nXzwHBJUwIPbLQKmQxUt2zwXGNAI1jeT87NcMN4hnFTpg0= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3882.eurprd04.prod.outlook.com (52.134.72.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12; Sun, 28 Apr 2019 03:03:12 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e8ca:4f6b:e43:c170%3]) with mapi id 15.20.1835.015; Sun, 28 Apr 2019 03:03:12 +0000 From: Anson Huang To: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Aisheng Dong , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V2] firmware: imx: SCU irq should ONLY be enabled after SCU IPC is ready Thread-Topic: [PATCH V2] firmware: imx: SCU irq should ONLY be enabled after SCU IPC is ready Thread-Index: AQHU/W7qy26RYcrGkE20NBp+jw1zUg== Date: Sun, 28 Apr 2019 03:03:12 +0000 Message-ID: <1556420305-14680-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2P15301CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::23) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6881be59-8708-425c-d502-08d6cb860ca7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3882; x-ms-traffictypediagnostic: DB3PR0402MB3882: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:619; x-forefront-prvs: 0021920B5A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(39860400002)(136003)(346002)(376002)(199004)(189003)(2906002)(66446008)(64756008)(186003)(71190400001)(71200400001)(26005)(52116002)(50226002)(102836004)(6506007)(386003)(8936002)(486006)(81156014)(476003)(73956011)(66946007)(66556008)(2501003)(66476007)(2616005)(3846002)(6116002)(36756003)(7736002)(66066001)(6436002)(305945005)(99286004)(6486002)(5660300002)(2201001)(316002)(53936002)(478600001)(110136005)(68736007)(4326008)(14454004)(5024004)(97736004)(86362001)(81166006)(8676002)(6512007)(256004)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3882;H:DB3PR0402MB3916.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-message-info: huKK1lU0rmkK6Ljzje8goZkZPo+iALUFj1wZIYCa1aA3Aq6LqOlS9jeLAweN3cyOFta0K18G1+wxchSgCFGLXPr6XuPpbr+JenZIY3lW6qpyLBDY6QTpfwvZht5mo811XH7Fvnb9DJJQCeJGzRBe5oYfwpE6UpCG7kHIXQhUkzcMUMwkro+h+4BY9j5klJCdUJxqvdEUlWimTG3ORRSkzhhkUyjxzbHs5G0csKubHJvwCMjAoSeASudVfPYRkxRAWETnpiP1QBM5BOLSUZqRxDM49cv9sQ26TfU/dBPt6gb5RTCkP3XSkVr5372t2viKAAO3RDvLaKeG43xHaV6XyN6MWMNx1l5JuxxowOVBsgnqgamKhT/P6Z5cE4R12oVDCrW2SXRw8Hw4VcS8HZ8wlTTq2fyV/1r7kpeIAvbf2f4= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6881be59-8708-425c-d502-08d6cb860ca7 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2019 03:03:12.4120 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3882 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIGlteF9zY3VfaXJxX2dyb3VwX2VuYWJsZSgpIGlzIG5vcm1hbGx5IGNhbGxlZCBkdXJpbmcg bW9kdWxlIGRyaXZlcg0KcHJvYmUgcGhhc2UgdG8gZW5hYmxlIFNDVSBncm91cCBpcnEsIGlmIFND VSBJUEMgaXMgTk9UIHJlYWR5LCBiZWxvdw0KZHVtcCB3aWxsIHNob3cgb3V0Og0KDQpbICAgIDAu OTMzMDAxXSBIYXJkd2FyZSBuYW1lOiBGcmVlc2NhbGUgaS5NWDhRWFAgTUVLIChEVCkNClsgICAg MC45MzgxMjldIHBzdGF0ZTogNjAwMDAwMDUgKG5aQ3YgZGFpZiAtUEFOIC1VQU8pDQpbICAgIDAu OTQyOTA3XSBwYyA6IGlteF9zY3VfY2FsbF9ycGMrMHgxMTQvMHgxNTgNClsgICAgMC45NDcyNTFd IGxyIDogaW14X3NjdV9pcnFfZ3JvdXBfZW5hYmxlKzB4NzQvMHhjNA0KWyAgICAwLjk1MjExM10g c3AgOiBmZmZmMDAwMDEwMDViYWUwDQ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