Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2500048rdb; Thu, 21 Sep 2023 23:37:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyYt0swz8IJBc1zql+5Op8wimcj9w8uAg/RRy3bH1YTOTbc/tyTfOTPD0m2nK9qsQfVlmg X-Received: by 2002:a17:90b:3a8d:b0:276:cb03:a0fb with SMTP id om13-20020a17090b3a8d00b00276cb03a0fbmr6092636pjb.2.1695364621238; Thu, 21 Sep 2023 23:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695364621; cv=none; d=google.com; s=arc-20160816; b=iX+1peII4Sv9dEKLNYcqoeWnF8at+TWobQ+67GmpOghvYMgA1rCFld1tA7AnTEISr9 4lDoHC/pfqnRUCM7foRXAFAb44WMsiftI3jToe/AnDYFRcoW7zBQfqw7XsM/Tf1IvkuH WUOqLp+eevo2eVTMiMz9jHhcAi6ihvqjB703E8hwupyeXFh7rQkZJTpV43+TQTAoGHRf 4V7y0zwufB8/Cn+5fBvwFYK7JciP7tOg2fVnF9Ka3LcKBk4NOrfrlF3iEJNiRwMOF6OK HZJdCf6BNV4LYPRVcF0F8y7zAxpdrN09cU771B8BC6Nv1BJfcSUaUt7gf7nusWH0h6Nm XHCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BY/pCWy4LafV2v3RXc6tBW2gc4uFTCG3lw49A8hB0BU=; fh=Bi5h6Dnqw3z7WV5XfiMjEnlIkuCTPEZuW7kr30fVyPg=; b=ZOvCGScktxvX6w5S4/PT1t4LtiK/9yyvT8+kLWFPw5n7FpoGeEtZlfzmZZuIPtZXU/ qGaw/QXvABjuF2uN0FsJEpYm06JYObIMFEU0dDI1n8YDpEWucLk19VGsRWyDpd8efHp4 +GKUZbaUr/731vHKjjj0quANjTTplq3YafBZwuKsLOuVixVZMPQnXeK1PHjmXIZSGAKg jNf27PcsJ13NLmkePzdf0Nsg5diRD7ggdCtO2gYNW53iX9BXjEhi5nKSYQ5efQ8BomTN KS0hke1byV8aLnZm8Uo1QSh9BYhFSwjgvVKznIKuX+CteHZy6ncqVwdHFahlfgQZEU5n TCag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RL8DToJN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id mi4-20020a17090b4b4400b00276c2b21697si5966245pjb.72.2023.09.21.23.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 23:37:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RL8DToJN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E24B5807DEC5; Thu, 21 Sep 2023 13:21:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231573AbjIUUVo (ORCPT + 99 others); Thu, 21 Sep 2023 16:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjIUUVS (ORCPT ); Thu, 21 Sep 2023 16:21:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33DD902E; Thu, 21 Sep 2023 10:23:14 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 67FCB6607285; Thu, 21 Sep 2023 08:18:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695280681; bh=u+SDF/PNL5Ju2+whiov9Et6DghwzY6lUPs+GJOtpLPk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RL8DToJNQahbJaZooqiEqG8PJe63aN8SdCp6AfAplEVykYDHO7c3GVAVMpGB74dO1 a5ljz6v7vbGTqnOhJTDOy+iZi8ldmc5h69baoWulk54LbBJ2OtyWvia73/YgSrfm0K UXtHYcmXE3SqUiD4Ba/G7UShpSWFNS7VPSOAlEs30TiabER69pZBp//qX6uDlfMUZz QHc73AxBFMZrr+ZKUj0fc5FgjLSR/mCImmoC+umJnrzk5NBKZGapn8MryzY8H0Llpz t2MFNh8zL5BcMRX26UpBymze5ym+bTB2AeWN2l7BbGDmJSM0hcJ6lx2S0wrEHr181F pDDJWBQ8q0ugA== Message-ID: Date: Thu, 21 Sep 2023 09:17:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH] remoteproc: mediatek: Refactor single core check and fix retrocompatibility To: Laura Nao Cc: 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, wenst@chromium.org References: <20230919092336.51007-1-angelogioacchino.delregno@collabora.com> <20230920150332.318851-1-laura.nao@collabora.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20230920150332.318851-1-laura.nao@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Thu, 21 Sep 2023 13:21:55 -0700 (PDT) Il 20/09/23 17:03, Laura Nao ha scritto: > 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 detected by KernelCI, so: > > Reported-by: "kernelci.org bot" > Tested-by: Laura Nao > Thanks for pointing out the correct Reported-by tag! :-) Cheers, Angelo