Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6951498rwl; Wed, 22 Mar 2023 19:08:08 -0700 (PDT) X-Google-Smtp-Source: AK7set+LmNLqfYqXxGXejvre46Xtv/eDj/vzTnHEfocCmFV+vs9VAlFbMLX2/+vj3ZsvD16XM7dI X-Received: by 2002:a17:906:1348:b0:87f:5d0a:c610 with SMTP id x8-20020a170906134800b0087f5d0ac610mr9296478ejb.32.1679537288295; Wed, 22 Mar 2023 19:08:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679537288; cv=pass; d=google.com; s=arc-20160816; b=Z59XwRNCmQ5jV59ve8gjnourC3T/ZdK/FFbNzf+ptyuI7lTw8AhFhFG+Sosf7iEZS3 NwU3JPlJBzmQeBRA+Pe3GVeyKZZUxbHhhEaFIjt+UWC2a5oU+QT39LHxDrr6t74wVm0l 38WKh7VWiJ8zJN71ZgFJJn7ZRA0kNHHeayQqYBlkNScWHrupafML2ml/NOWlgbViU1GC oYW6+bN1Sq7iIsFWe78gj3ogTuk3XvD1yJkLYeet6pqi5x4oxe4KriYF6QUM68vT+G3f kaPGKoVYV87XrUruN+4xEQDf6wM1Ni95H43tqbbQWXXdNJjywPmoR55+49ene/QfA/Ch uA6A== 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=qYNhBhK+nPpvFEjwjmbpT9WFH8REVRsVgQ0bIrpqk/E=; b=yBX2SjON7GIRf/XGUPzaLHSGv5RKd3buCw1uI3kkp+tBSG6zgGL/WlXOidjhfQNFul OE2949XdGrJePUmeieUfRe6H6VaMB+79Fs7eo2Gn8UajC8syzU0AirT2GRKrB35mJpeQ COXIV1AvZ7qp9hqQXGRZfkiOUHs9hHPy+WKi/CqNonsT9jGSsIvMly/88d0AReKBKhZq j/3RGdSxO5dNw2ecZ6WRF5IfPAc9W++S8FfHFBOQiI0TmQr+jdCHDrvnGWZQQ4cPiXAG yrCol7528oNbFpPZGIpMPFJNa0HuvtIEoBcqFBy0NV18eCX/3J2mPkTkw1PDyVx2g3Pe sMyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oq1Yxfvt; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=ABCheXRZ; 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 d8-20020a17090694c800b008b194cb9af5si15286325ejy.629.2023.03.22.19.07.43; Wed, 22 Mar 2023 19:08:08 -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=oq1Yxfvt; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=ABCheXRZ; 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 S229642AbjCWCCW (ORCPT + 99 others); Wed, 22 Mar 2023 22:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjCWCCV (ORCPT ); Wed, 22 Mar 2023 22:02:21 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15A12313A; Wed, 22 Mar 2023 19:02:19 -0700 (PDT) X-UUID: ba043846c91e11eda9a90f0bb45854f4-20230323 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=qYNhBhK+nPpvFEjwjmbpT9WFH8REVRsVgQ0bIrpqk/E=; b=oq1Yxfvt74t0p/6sG/yni8FpLfB3ylgBU6HnAXz5D7V29Hk1J384C4HhBt3PqZ2pc6sxU7+RMOHT/WDTW/znTkbvsfv4/kcOUTe3OJuc1XKCj3qTkDtxSsRD/kZbTL1zosM5YG8f/n6izHRLtmPot1U0K65rD0nYwHKXgWA9nDM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:36cd5f18-46a7-453e-baad-05dff9fd456d,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:7cd514b4-beed-4dfc-bd9c-e1b22fa6ccc4,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: ba043846c91e11eda9a90f0bb45854f4-20230323 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 437885974; Thu, 23 Mar 2023 10:02:12 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Thu, 23 Mar 2023 10:02:11 +0800 Received: from APC01-SG2-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; Thu, 23 Mar 2023 10:02:11 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UR9XrN4ShMxGmkfHxrMSG77lvnD+1B5OSJvurm3mfvD9e8vjRIwmjMT2RVV2Otv/JArPrSXYRwnnAId7g4eAQ0B/LeXYjxPjByj/RYM9xZZhjIwfnIT+51MUS/bspf/gxgmef3+pXkuCz02II51Xi1e9Wl+s/HmZgVGQ2raJrEW32C9ZfK44Wc0ZTq0c1jW7iuTY81RnSDrRYxyoQ6/2w+8FwNYUhv9g5LgQMHt5W8NcIn2YxmaDDVzTOCROmmzqM4OpyKTjkV73EnBxxQIupR56dfZ7AthYqfIn+SctwJJuIYcLB/NeG5WSuLCSWxIMgAs3AGj9/9aiVI5lLmx4rg== 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=qYNhBhK+nPpvFEjwjmbpT9WFH8REVRsVgQ0bIrpqk/E=; b=SwYSxwUk9Pwtocg0LiFO/ZtTCG7HeIQksPsdJ0tGXCh+9Rtm1Ik1yQGAPHCUhEQozmrPx6TM84B7FqbXklqkO3BD6IcnWdPS674lT/rX5M0cxTtFIdZvoXDKAZRAtViKxDo6hUsncLtTKTCjPMxjKqBA2hn1c5/paGY0nOPzvVqfSMf5jHmkKIlXmTiiTx6WsmctNIljR9ByyRqUs1W33pQrtjwAYWp/Y12VDL6Wh54ZWMtJtCNeGvgtEjcHFeKHZWqZJxfiBXDf+d+zzPFSK2GDgUdwMyksycI0VTXpJEP2ZYLl+AFCELyD/YCWLTyc1VuwDI5ieDrB9B2+qQB/ow== 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=qYNhBhK+nPpvFEjwjmbpT9WFH8REVRsVgQ0bIrpqk/E=; b=ABCheXRZJHdDBIeqlNaxfwjhoe4P6tHoLP0yLQ1Z6hWxk3uNlE9hp2qOw+ULEpj07HW210nfW+6ZqnbsScFmjazO7hko3h8KE7zsk4Ch3iaipK/l+jKoqAraEty7oQRbJMgWYKxqxkEIeTMLkLcZYTodKI3YDJCRpNX9JvV3JdI= Received: from SL2PR03MB4204.apcprd03.prod.outlook.com (2603:1096:100:53::15) by PSAPR03MB5511.apcprd03.prod.outlook.com (2603:1096:301:60::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Thu, 23 Mar 2023 02:02:09 +0000 Received: from SL2PR03MB4204.apcprd03.prod.outlook.com ([fe80::dc74:62fb:a3ab:b10]) by SL2PR03MB4204.apcprd03.prod.outlook.com ([fe80::dc74:62fb:a3ab:b10%5]) with mapi id 15.20.6178.037; Thu, 23 Mar 2023 02:02:09 +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 v8 06/11] remoteproc: mediatek: Probe multi-core SCP Thread-Topic: [PATCH v8 06/11] remoteproc: mediatek: Probe multi-core SCP Thread-Index: AQHZTar4LbEFjsrTg0u8QqsK1YFUd679+1WAgAnARYA= Date: Thu, 23 Mar 2023 02:02:08 +0000 Message-ID: <7b612644950eda8dc4d2e03e6c6eef0df17569b0.camel@mediatek.com> References: <20230303083355.3378-1-tinghan.shen@mediatek.com> <20230303083355.3378-7-tinghan.shen@mediatek.com> <20230316210737.GA2428370@p14s> In-Reply-To: <20230316210737.GA2428370@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_|PSAPR03MB5511:EE_ x-ms-office365-filtering-correlation-id: 75fee1f9-0cae-49ac-e4ce-08db2b429bbf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L3tUDJfVfZT6U4qhHDbh8c00Ts2qElPVLwuQibrv2/HMGNNeMqk1zygrhIhbUlnQGD3OhSlimpnidsJ7aNpewKEiQ2zCVPNA7s/Y8ZsEuOd07xl3WJjUA3St+VWYFX3Lc70bOt7ndwTq6j00ow4vBqj0md93Zj5PLWATuuivyZjB5JrYgrB0YxlnNZ5Mz4ZpXGu0Y8VD5UNY9yuzELTa180v72lRluh2kVV3vMBTktntTzwIb1morHNR6NzZ21v0BqtYwRUfJKIeEmK74IZUuHcmzp5Iok5gB74UFRPmuoONYd04OpXrNzKIxOvbNBu9ngSTnP8MQqyACfkJ1sob+LVCvZsps4w9OqIbHEfIqPNQntLrnJioxv4gwNp4HSUs98zDqncbg703qD6bg3yge1L/ipZoyYTxn12bcTWyA6c/0rEpHMv02/CUfqCP9IMReEi6g9XY562R2kTcDGtw9EXoRFUNwFadEgLbrSWcjG4RUmA09k+VAv4j2038Rna2byKE2RR+qL10cRfCmaR2eywCU9JtIo28hW7+qEl+uxWiqhBQqM9V6wtofONxoktjIzJnE17/HKk1jjXJLc09teXNBYYYXD8GhmV253mCOaRZK3pxe17bhD62irmW4fUN49eQgV1zFXHBHTLglo9FsOSbQ4RjPUafNoEJQZHJlr7xsuzkdeMV4JVaj9ikqHE90TZUlTSXWrEeMyFyvJDJHLQheLzsuqMoHdFcddxs9d+ghh3KUqU+ox+IdkswnSvX 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:(13230025)(4636009)(346002)(136003)(376002)(396003)(366004)(39860400002)(451199018)(6512007)(2616005)(54906003)(316002)(478600001)(6486002)(6506007)(5660300002)(7416002)(83380400001)(186003)(122000001)(38100700002)(71200400001)(26005)(91956017)(86362001)(38070700005)(6916009)(66946007)(85182001)(41300700001)(76116006)(8676002)(2906002)(64756008)(66476007)(8936002)(66556008)(36756003)(4326008)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K3J6dmgrUU9jYkp1cyttdHJ5SnlzMFFNWlE3cEIzZmtmdE5vUWdYTzFVei9D?= =?utf-8?B?NG1kZmxNckk4ekZQUmFMcUZMWnJULzBVUzVvUkVoOTZOWkYwbnNkbWxhY200?= =?utf-8?B?SFpRMjVFQUZad3EzOT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?= =?utf-8?B?dDRRT1hZdC8vZEc0WEQ5NzhKSm1GdEtWVEZTc0c1MGZxWHZsRTQzbk9ROWti?= =?utf-8?B?Z2ZHb3Z3QkdIZENZWk00WE91QTh0eFEzYkVhS1BNWndaQzlELzJuelA5VWR2?= =?utf-8?B?VjI0UU9Qck5IRXJxY1YwR3g5OVIxbGo1MzVpY25PVXFMNTl6OStFQk5YdmFY?= =?utf-8?B?eFZselU2dlVqS08zSVZBdzVLQjBFbnRTSEZCVnBnMk5EaDNsclJFcjNlZWZk?= =?utf-8?B?TkE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <0F51214F91795041A774DD9A35504863@apcprd03.prod.outlook.com> 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: 75fee1f9-0cae-49ac-e4ce-08db2b429bbf X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 02:02:08.3781 (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: A9VyrVMKHnfx8b5Ed7XVtUquF1zXqKzaTx28GiRsYArHTT4OSUxN+5en0cBgR6JJs94ekGrhG6DXWMfUzCHoBGFBxcmUR9uBz98PinSUHdw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR03MB5511 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkey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