Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp382539rwd; Wed, 7 Jun 2023 00:59:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qFasnnDdNbraRvOPsbspHCZoeTZrvCv44jgVtZYtmkPmGxcsRQsx7tdLdjPUcYFSIkKbY X-Received: by 2002:a17:903:234c:b0:1ae:5f7e:c117 with SMTP id c12-20020a170903234c00b001ae5f7ec117mr5532643plh.60.1686124740781; Wed, 07 Jun 2023 00:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686124740; cv=none; d=google.com; s=arc-20160816; b=eVjfrDbBcI9oI9yG793fT4gREyxyQkCoLnUg31r29dsvvNPnn88LnwWNYUTTiGodkO Mn7QjvBHJfiVqMV2MFC5wdbLp0jp+a4xk/4ucA2L5USS1uGZKlNQ3zqs6oW26gTKl1+r cjLtd85sS1UEd8PO/bPMCiTbsAdDJOxiwljPcyA1BJJozdYAo4xOM2HcFJc9z+96ZvO6 CpwZrwvUEeapW05bByGWNx0ZYDtzoai/RV12jij0kCSOWg5vXRqZDzeIuijY6DPc7B4x Ag9YwhlS2Np8wuAWTWD6KNf4EuB1T6xizq0CwLRuVhH7ItvXTefBdsUSPSOo8DhUdxLj hn1A== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mvw6SYgXj3lxnNWQPXbFKrEu8UADaBWbRn3JONKW/J0=; b=A3eJx/b/R6+TcXtioeyUS0oZ0fkhxRoPKBwjYA7aAAJaa/d1s8w6dpYRG/eHf64IAK +rLRiXbdn//OBR3Td/4UD0TlU886hjVKA0yRb6BtW2apdZElHuSXs2JD6DrWBq/VCHdb gdhthL8i0R65TaAmEqAGxBbCb8FZs7cef9d9dk5inhJr1Js+9uxzt+O0ixcSXXiPYx8H kYvVHR2qk63isaI8YP6vVJNr2/toFjIMspia/NWBlVyRGCT8L3ZztzZgdP6qjmW/24Ib mPGpbetsMk3213mPJiY2e3a4oMX6aoe85PYzjaJedVFqJzpKEZ4NWmqAU+org6b2hinW m8WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ks9wnzTG; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a170902d48f00b001b231cb6f2bsi2617094plg.313.2023.06.07.00.58.46; Wed, 07 Jun 2023 00:59:00 -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=@collabora.com header.s=mail header.b=Ks9wnzTG; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239394AbjFGHrY (ORCPT + 99 others); Wed, 7 Jun 2023 03:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234384AbjFGHqw (ORCPT ); Wed, 7 Jun 2023 03:46:52 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B82142701; Wed, 7 Jun 2023 00:45:01 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id E05F96606EF8; Wed, 7 Jun 2023 08:44:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686123900; bh=qKBTThrWJPvkW3/ukkDh8Gpa+twvl1LzQgBuxexuNh8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Ks9wnzTGOGxYZZuvMmfV3iLXEmndXhdvvGRgRbv41lfvHrN7A7PI5E6tcWjACYXpN PdvSnjw8Hl+PT3hWXAOhUznp0ZmroHSof+nJMrqxNwe4xqesZsLzgVXD05bsTI66vW jA0rzc9JkePq2X8450tJF+Yq5AuHzrV6tftB4MlIshVkVwCSxKAh4kWqZzUcBqFTAN MG4oBYGUGNo1i8LYHy0ojxDsVpxu3xHVRi1v10Ht3PxnfYltnmgts9aquekqBpDr+n asSSiTjX/8VJ49oKN0kXjb31fYJPmM4NHhuDDFbLYSFZmM57L5yiXTYK5ht0j1fgQo o8LUBT4+Fi0Kg== Message-ID: Date: Wed, 7 Jun 2023 09:44:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v13 06/11] remoteproc: mediatek: Probe multi-core SCP Content-Language: en-US To: Tinghan Shen , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20230607072222.8628-1-tinghan.shen@mediatek.com> <20230607072222.8628-7-tinghan.shen@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230607072222.8628-7-tinghan.shen@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,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 Il 07/06/23 09:22, Tinghan Shen ha scritto: > The difference of single-core SCP and multi-core SCP device tree is > the presence of child device nodes described SCP cores. The SCP > driver populates the platform device and checks the child nodes > to identify whether it's a single-core SCP or a multi-core SCP. > > Add the remoteproc instances of multi-core SCP to the SCP cluster list. > When the SCP driver is removed, it cleanup resources by walking > through the cluster list. > > Signed-off-by: Tinghan Shen Reviewed-by: AngeloGioacchino Del Regno