Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp202250rwe; Tue, 18 Apr 2023 20:40:03 -0700 (PDT) X-Google-Smtp-Source: AKy350b+dERs4u0SVv0bjUGkbx+3myc4h6rO+g2tPa6J5YIisJHEA+saGwYLKrVOlCxnz/nAAbae X-Received: by 2002:a05:6a00:1255:b0:63b:6933:a328 with SMTP id u21-20020a056a00125500b0063b6933a328mr2151984pfi.28.1681875603137; Tue, 18 Apr 2023 20:40:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681875603; cv=pass; d=google.com; s=arc-20160816; b=fvm3vmZ40cw2iVNEfpDLzY33vroiuYN2oBMTVLw2FaBynof26UjESipIhq+AhknZuX xN7ePzyzwdAz7/7nh9iKBl3Wnbe0DtjmUs2YQ1hHNScG+48yEeUw1iWipLZp08aAg4ur 080siPrg+iu01jvs2Xz9EyAKNF8ppteaRyb1AK2CU5T8mXsf19uYRIE8tz1z99cR6Bnb iNaduGw6alDEU3tzhF87evyb/XvdjuzSdA5+Xv9TzqEnSkFb1B0oyG8n6JtMaHQFYgjh oxUF5j3XF38CO4A3VWySFHdLfXdoRMMi4ZBIBjB1uPzWOAR8oaFToyQJVatM0OvJN9wv j22g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=Sw8keh5rYatayW9tkEyVFjqQPne9nlAKDwSrIEZD0Nk=; b=k9CirSZQu9qfv4C0c2S875kulW/oip//aRI1oX09hot8EnY4wWq7iB+WY+Z7G7wXen ivrMUrmz+miNIdf8PDMxlsYsJDT5cat8V/3a9L51YFC45fYMzin5VqPjHgpfnYp6gTvt pbnE10aLOCt6DR40awhXMYccffJHCUvj3ZTw78pUzY5NnlE5qh5/GhNERmHGM4kaFzt2 fPE6rpwCFebYoLvVxs9VXTUiYfrfovWbXxexFsBB/rD3JPsTiI2dCnZ69RUMYvLasILu 9ByHg6dn1rZs4Kvsm18U6Yo5hfC+qqsC2/MzVpasM+mxU47dSq0FEtrA9TzlAkv/ctBb YwPw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gKyWxhPx; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b="C/v5xEDI"; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k26-20020aa7999a000000b0063d3545d864si3229279pfh.220.2023.04.18.20.39.51; Tue, 18 Apr 2023 20:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gKyWxhPx; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b="C/v5xEDI"; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbjDSDig (ORCPT + 99 others); Tue, 18 Apr 2023 23:38:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231355AbjDSDic (ORCPT ); Tue, 18 Apr 2023 23:38:32 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDB140DB; Tue, 18 Apr 2023 20:38:25 -0700 (PDT) X-UUID: a0211606de6311eda9a90f0bb45854f4-20230419 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=Sw8keh5rYatayW9tkEyVFjqQPne9nlAKDwSrIEZD0Nk=; b=gKyWxhPxYQIea/F5JNSSJtVQoPVKTH1dbAu79LjQTYc8t3+BO2S0Pr2WHBnaYT6NG1XqSZF0WEuI7aTC+m+AgcbYC6LMsD95o2FV3pb4DKBWbfxQ/oYiG48tWaJKyudFWIn1GpCOyq/+9o1SPM+31Fsmz/Xe7scSyPYvFPRU5hA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:8b536818-6e8d-47fa-be09-bd158ff77548,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:120426c,CLOUDID:292f8884-cd9c-45f5-8134-710979e3df0e,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: a0211606de6311eda9a90f0bb45854f4-20230419 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1789717639; Wed, 19 Apr 2023 11:38:18 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 19 Apr 2023 11:38:17 +0800 Received: from APC01-PSA-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 19 Apr 2023 11:38:17 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ktp7g792VA7nofqs9ytj2np7jG1Q9QYcrM24vOs4SwYnWbVq/AGycW3kxLsK3GjF5U0N8DkfqLOBf8bT/Oar17HKJTprQYpHpLoVUSjRmJr9H3dN2x0Sv6jRPEe4Q1LO/AsWxu/r0V1AF1y9bke36PLUVbdZyaxukRwIg3BlVMp0f6C+6og39zW66FEG4gaiC9UUy0vgRAKstI1+ISdcWfbDaTft2seAWZZJdk7LMQQl3pAs6+/1n1TumJMgJmMewEZzfDcAcypgm9uDSlEnneKAdzUeTs1gun2oew98rCQzPdWCc3m0DbibpAf/AFEkiyWWymc5WBFW+HFcBobq1Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Sw8keh5rYatayW9tkEyVFjqQPne9nlAKDwSrIEZD0Nk=; b=ENGhp1/+VlHiijoJjnU2crBsCMR9HxKKXXSLEs365CUV+q8qBlf8HR8cGGGZByBOtyy7e8FD9LVGQWqRJVONhQuYLoYODCJx5Za2KxDwXt/DrNeEOan8d/CdqfB8VeyUVn/i5raFRP/Ytlmeua72kEtBSSC1YhwgVec6a+a7y/s0cYnSAjsfOzTeuxrVWc6IBwPuTkosJxBDQfOvoPacL7VonUHI7zRgpjyx2VAlULWTxsv26vrcwIlh20ABnGpwxSYgrnYbTYBW8QZpLtSnz+qjQDshas+TBFrqAggX2/2Zzwk5/GYOaBQndDUayRMjc8+lhiC4ZmO3ln2DSVDJSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sw8keh5rYatayW9tkEyVFjqQPne9nlAKDwSrIEZD0Nk=; b=C/v5xEDIiUBRfFBq3ZpIwp50gYH+2LH4S/ZyXVJO0dC6l/0RMCR3ps+nHEbdyRr0o2ks0qY/N7A7vcLs1SGKLU/kDtaCMpfuRf4yHWbKloSRS2WALJsgGNOybweaDFizW0NJF0FRoq2jiLGDyKmeaVl2HUQ2TuPspfgNTEqnCdo= Received: from SL2PR03MB4204.apcprd03.prod.outlook.com (2603:1096:100:53::15) by PUZPR03MB7212.apcprd03.prod.outlook.com (2603:1096:301:113::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Wed, 19 Apr 2023 03:38:14 +0000 Received: from SL2PR03MB4204.apcprd03.prod.outlook.com ([fe80::d9b0:e117:9f08:3475]) by SL2PR03MB4204.apcprd03.prod.outlook.com ([fe80::d9b0:e117:9f08:3475%5]) with mapi id 15.20.6298.045; Wed, 19 Apr 2023 03:38:14 +0000 From: =?utf-8?B?VGluZ0hhbiBTaGVuICjmsojlu7fnv7Ap?= To: "mathieu.poirier@linaro.org" CC: "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "linux-remoteproc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" , "krzysztof.kozlowski+dt@linaro.org" , "matthias.bgg@gmail.com" , "andersson@kernel.org" , "angelogioacchino.delregno@collabora.com" Subject: Re: [PATCH v9 05/11] remoteproc: mediatek: Extract remoteproc initialization flow Thread-Topic: [PATCH v9 05/11] remoteproc: mediatek: Extract remoteproc initialization flow Thread-Index: AQHZYRz7NOKolAghB0WgqNOx57Prf68VLquAgBzv14A= Date: Wed, 19 Apr 2023 03:38:14 +0000 Message-ID: <46baff1f95fa13976d7a07b5e50ff2175e464baa.camel@mediatek.com> References: <20230328022733.29910-1-tinghan.shen@mediatek.com> <20230328022733.29910-6-tinghan.shen@mediatek.com> <20230331174431.GA3504605@p14s> In-Reply-To: <20230331174431.GA3504605@p14s> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SL2PR03MB4204:EE_|PUZPR03MB7212:EE_ x-ms-office365-filtering-correlation-id: 7de2f678-0b84-4bb7-4392-08db408781d4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4loOOYM1hU0mMFDhLz3QqEgiZRV4bYqB7j5Ue4YFWABel59u9vbVwuR6wtZMB9pL0fBb6tgcqt9VDrJrYLoX/YTDVsykbNZMh0XOClEzPwXbCSu7M1XVp23eSLByzdYQDbPlyM93KyzTezLIoGUmnt5VhnzOBodN2+I7ENyhGe6BZxaCbQFjrDnb6GMc4QuR+3iTXJIUgCGY4P0o6+ONVAfl70IIptsDGz35Qftrc5bKkasc7jnraWEnEUjRdMkD5qo0uWp9jUCoFF4XwLJ8H0YSmyNm1kOqtsd8suolsU5AD6vKGXtNUBeRrXUF+cVQY3OUhdH1O0H9tJoQArmrGnbj+kXkhQ62LAItRRT+DdlfLvg8RvFX9C7S4dCrB1MSe9864mHB8cBOcxsD+I5ABlk9oIr3c0zSD7uKHecmV2Qr0XpYIEdzZicvsieh7D/BZPmwHxZKC78sorP6W9Nou242VULrzgCPMz7E/LKBGfW5Oairg8LxUqa5KkgOkUhPVN4lJNWDv0VLy5/kQVRCi3Z41cuOD+Gu2gkYl1xpHUQwkLmtpmuT8pPqSWG5CuYFH7JKGmTCEBBh6VZRnxLXZvnDGJ73W+zRZKI1s94MNp16PC2jx6IUGtnyQWwFu3awIfcu7b/qPHy/MuTjAK6Hm1++1kKHZNXcR2QZknu0rDs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SL2PR03MB4204.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(366004)(39860400002)(346002)(136003)(451199021)(2906002)(2616005)(478600001)(71200400001)(86362001)(26005)(6512007)(6506007)(6486002)(36756003)(186003)(38070700005)(85182001)(41300700001)(122000001)(54906003)(38100700002)(8676002)(8936002)(4326008)(66446008)(66556008)(66476007)(91956017)(83380400001)(66946007)(64756008)(76116006)(316002)(6916009)(7416002)(5660300002)(414714003)(473944003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bEc1REduSzNOZXo1OE51VU9iSE1MREpOdXRJSzBjNWNBSWk3NGxKMnNGWjNF?= =?utf-8?B?RWJuQTkxdlN5N00wYjRhaDhaM1dmcUpFM3FLZjdzeEFxUDdaVmVvczN3TlRZ?= =?utf-8?B?RzBSQ05VVHdPcE4xeU12cUdGeHQ0Y1lHTjRKMU5uc3JuWFA2WE9SQXBWaWlh?= =?utf-8?B?dk0xaG1EMkUwUFBqZXh4ZWRwM1cvWGxoMi9hQ09CelkwZ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MGJVbkJnSm5UcVZFa01VbG9GejdWam5VeGI2NXRI?= =?utf-8?B?RG5JRzUvR2dtZ0F6eTMvQkVvSTBMQTgrNkJFekNRbFVnd1IzZzJLWmtNMUJq?= =?utf-8?B?UG0xZ0xWcWVieHBsVWNFUlRlVk9nOERteGE0V1hoRnQzWVB4TGcvTVM3VDU4?= =?utf-8?B?M1E9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SL2PR03MB4204.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7de2f678-0b84-4bb7-4392-08db408781d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2023 03:38:14.5903 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: M5VDdYSP+zYVgnkApikauVT2GjOnN+tPbIu8nuaMsfV4h48M1Eq+TDPHtgf1HpL+FwdJenCJ5+7KKIet7rYTepUPaTBhEw1pJJXRaDNMkWA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR03MB7212 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWF0aGlldSwNCg0KT24gRnJpLCAyMDIzLTAzLTMxIGF0IDExOj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