Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2516023rdb; Fri, 22 Sep 2023 00:18:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGDxSO9V5u0LvlIsSfRujqwF9WlzFM1szrP0mk+TD0t9m0JSaijMHPx7bnWvO/au1S7FcG X-Received: by 2002:a05:6808:11c3:b0:3a4:894a:9f3d with SMTP id p3-20020a05680811c300b003a4894a9f3dmr8285035oiv.41.1695367133360; Fri, 22 Sep 2023 00:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695367133; cv=none; d=google.com; s=arc-20160816; b=0jyeF90yJfHwn9SEbweGfMnaRziq8ursAWhe4I9x2bLKF5rrzn+fI8yO8zjs3xDV72 r2BPbMceg1JLZfjCY5GzeWBBQIA0ULOY5uN04RZEU4CCIZOp7hNjgCUWCS1Wfx2nyZW8 8moFV/2dys85TEqCZUKf2QXJvof8qOQM5E5gWZu5oLUZZ4vxSCKZfWeCL8qSax3QFXGn VYINd6+G+8qD3pTgJp4XxrEJG5ySoXg7nZ69REvHd1+GVbojY5b1LfbGsohOgCCWpQNY kT50fyqwywHggsCz7pEZ4GhB4DB1Ydtgxg79uN9FfMDquw8/sqW+Zo//3sMu9hsvXw5S H8Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2aBYYxm4V3k4FyEjLrLJ9/n/H90Md6QsttKISLF22a4=; fh=VZwv2HHWxOxtciFv/pcreKK1McNglvYdoq/o65sT6Zg=; b=OYd9B3UhX4aj43iOjXhMib49DX+Zigzxy+5CJtV0iiZ07b1QvGNzZsTrKHEYnxwmK3 Mxs15k2A+Lhb5fB9u5JY5G4MOmbCSlv2U1/BvFlpRQf3wqX2K/euZwL78mCAgEDGAESR ZH+AsJkaiKKcvgzLWT9FIdrgj1xqulkPf+bsp25obydMKJMjHUmh8nxNkEdGWtxNR1fw YDlTUnmSij6HA0b/4bVi1Rgkx47UCFRxElbDKwuy2roLdLs8n7uRi31MeOGdRaPAl6qg b4jKrTo2C5kA7QKAZA75gXNeXa/JyT+LubnKcTWt+gWLGGEoWyfTUmldVCtdCmtgI5GZ 8OqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ObrvCDPG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p10-20020a62ab0a000000b0068a68d71b68si3040336pff.216.2023.09.22.00.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 00:18:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ObrvCDPG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C2E9E8043D78; Thu, 21 Sep 2023 13:27:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232072AbjIUU1q (ORCPT + 99 others); Thu, 21 Sep 2023 16:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231883AbjIUU1R (ORCPT ); Thu, 21 Sep 2023 16:27:17 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBB1914DC for ; Thu, 21 Sep 2023 10:47:36 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32164a6af64so1086333f8f.2 for ; Thu, 21 Sep 2023 10:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695318455; x=1695923255; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2aBYYxm4V3k4FyEjLrLJ9/n/H90Md6QsttKISLF22a4=; b=ObrvCDPGycohSkh9xvZVoXnZ6hquPa7On30BlI/svia3aPWn4yvSBC7ytEjyzgbaQh ERL2knB1y2ng2xllaelBKchdvHD8yyx7wbFkj0XO6kzSaiBh686WAEFrWeozJhWHxpmf xKgH+PhxpiNbE2F2TsatS5y7kviIrhANSdeN8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695318455; x=1695923255; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2aBYYxm4V3k4FyEjLrLJ9/n/H90Md6QsttKISLF22a4=; b=ZV6z6baaPLBhfp2qNtO5Pti9HKR2HyvbhIKDqJQauRh9aKvvkRy7O5tJSxYIbQT/LO ++b869nmHfw29aIVVCvAk0/XiBrLc8zrOk3kvZRlVVm4mEDexSILo60W2W7jkJ21O4PM N7j7xg+YkLGIsAtwHa1r7wH091cxGHtDGQYtwohPRqzkMCubdRJp7uE7/HTf42LFzfsK zi+vr1XPey8N3FKysLvuJOIVhiHBuwLN7SCe8hKIQZUmet1xPxk/CSryhIlPagCsYT5b Lmk9Kyr9UMKZ6c1VyR0QMec4UAUJqm94AB6cYjwpHvZvyDSnspcxQrUWNX21kEWAKS20 4CeQ== X-Gm-Message-State: AOJu0YxjmVbDvILEuuLMIXILgGe7i/KiST8Q91PSs0X14soape39sS/a 4lH+GlmRxzXLKBv2zP4w4Zme4Hog53CgQAzSKph+cqnSlrUcG/svYIM= X-Received: by 2002:a19:e051:0:b0:4ff:8863:be01 with SMTP id g17-20020a19e051000000b004ff8863be01mr3396045lfj.8.1695269389034; Wed, 20 Sep 2023 21:09:49 -0700 (PDT) MIME-Version: 1.0 References: <20230919092336.51007-1-angelogioacchino.delregno@collabora.com> <20230920150332.318851-1-laura.nao@collabora.com> In-Reply-To: <20230920150332.318851-1-laura.nao@collabora.com> From: Chen-Yu Tsai Date: Thu, 21 Sep 2023 12:09:37 +0800 Message-ID: Subject: Re: [PATCH] remoteproc: mediatek: Refactor single core check and fix retrocompatibility To: Laura Nao Cc: angelogioacchino.delregno@collabora.com, andersson@kernel.org, kernel@collabora.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-remoteproc@vger.kernel.org, mathieu.poirier@linaro.org, matthias.bgg@gmail.com, tinghan.shen@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 13:27:56 -0700 (PDT) On Wed, Sep 20, 2023 at 11:03=E2=80=AFPM Laura Nao wrote: > > On 9/19/23 11:23, AngeloGioacchino Del Regno wrote: > > In older devicetrees we had the ChromeOS EC in a node called "cros-ec" > > instead of the newer "cros-ec-rpmsg", but this driver is now checking > > only for the latter, breaking compatibility with those. > > > > Besides, we can check if the SCP is single or dual core by simply > > walking through the children of the main SCP node and checking if > > if there's more than one "mediatek,scp-core" compatible node. > > > > Fixes: 1fdbf0cdde98 ("remoteproc: mediatek: Probe SCP cluster on multi-= core SCP") > > Signed-off-by: AngeloGioacchino Del Regno > > --- > > drivers/remoteproc/mtk_scp.c | 18 +++++++----------- > > 1 file changed, 7 insertions(+), 11 deletions(-) > > > > Tested on asurada (spherion) and jacuzzi (juniper). The issue was detecte= d by KernelCI, so: > > Reported-by: "kernelci.org bot" > Tested-by: Laura Nao Reviewed-by: Chen-Yu Tsai Tested-by: Chen-Yu Tsai on Hayato (MT8192) and Juniper (MT8183).