Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp802454rdb; Tue, 19 Sep 2023 10:30:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlvkOUvcFHBPlrD5NVHDx20bBVLseZnibjDW57vQqAdbwN4a9DmB3v17TLjXD45Wc8CRA4 X-Received: by 2002:a05:6a20:4414:b0:149:122b:6330 with SMTP id ce20-20020a056a20441400b00149122b6330mr194121pzb.10.1695144655174; Tue, 19 Sep 2023 10:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695144655; cv=none; d=google.com; s=arc-20160816; b=UCACDlOBaHpvotTVEvRdsb+XSTGSe68qe+35EsblZYmtf6kdUtnjO0QL1/8uA1l/Ae TQLYectCFKy2Jv3IGDclIo6b7LXvISu5PiTSQDCu5hBQEn+67Eb7no+lEOaSRbeyoZ0L IoHwdm2+kGSgulw5AvtCnvHKfrm58vAOtuIPSv2nCGC5I5RF4diW3Lgph59kAAqZv0I0 j26trC6yb00boRDaBksB0suXU+8NTaKjHgE2BRB72+hG5pTf4rnEp5AR5Y1DG5Jf2YXU o1SM6RZnQaaGLG8tBfAoZyh/bHjxsFmhXbwoRorq7J53KzrY5zXk9CgVB4qVXHMcgIFY 3qLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ML9aJq8u7NjlbsaSFBqFrGPov0ZGNjG9tJ5m4S8nWgE=; fh=pQ90Eg90nbF8hpkTgZf0KuClfTmraLIrJe18Sm1lKug=; b=mF4/CJor8VCDtugliZGWXFUtX/QKnsPJlVCxc/DhwGqf/SYcwmmxlT9LAUhBX7tNYd I0OuG5kB3IB2nR154fgRW/LG/vqy3BcXoXiZaEDnqqfhkGQHPTdKnGYEgYZBim7qkPfS i20g+nEYReIbSpNRUN6JO5J/jDX0+xL36P3azgyUgdLYKOTsPzMovV82XUTWko+Ek9+u /41dA3QOa2JilB0eAt4WvF7rZuU7Lul/J7itqjqokPnbfi1njWp2WG+kWJLY2vtRuGhk B38Zn7mZCtvJ5E1zXQkOWVndD6BnZiCQgLdyhlxSasZu1FKGZEG/tMgq/XZB6ypqNDHP KBSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RnSgsG0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id m11-20020a056a00080b00b0068740bcd8d7si10240802pfk.362.2023.09.19.10.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 10:30:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RnSgsG0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 895AE806D7D1; Tue, 19 Sep 2023 01:46:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbjISIqA (ORCPT + 99 others); Tue, 19 Sep 2023 04:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbjISIp7 (ORCPT ); Tue, 19 Sep 2023 04:45:59 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C6EE6; Tue, 19 Sep 2023 01:45:53 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2001:b07:646b:e2:e4be:399f:af39:e0db]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laura.nao) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6BA5B66057B6; Tue, 19 Sep 2023 09:45:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695113152; bh=I9ktfih0sa6jgd7LQe4oO4cl3jZWiRbZxvF64WAFJ64=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RnSgsG0+DeUNMB3HhUK/2fjxJJ/to9uV0+mEMUbGxMgn5t2b+Jh3bS9wdQkSguM8l ohclYn0BDKntkCsksU5VNp/OCyBcOUlJ2MPDv7MBUMD16oIKBPwNrILw+uvt444RH3 XQRnP47sg5J8VHIFkFttZycmSSIpx72Y8evt9ijx6gU3lg7EKxSXWKIFzNDCtYe+H1 ehb8qIyrmYO+LdfigxTeLaMFEHmVtBfmwx/TOx2mT66QKZ9depLeU79TUt7TqYkJ46 652Es9yZyca6ibAYkQSY6Gl/QyqyDdv/QUxJne9hUM77KVxC1o36VWQjpW7e/VvZmK qMZJ1H6JNd23g== From: Laura Nao To: mathieu.poirier@linaro.org Cc: Project_Global_Chrome_Upstream_Group@mediatek.com, andersson@kernel.org, angelogioacchino.delregno@collabora.com, conor+dt@kernel.org, devicetree@vger.kernel.org, kernel@collabora.com, krzysztof.kozlowski+dt@linaro.org, laura.nao@collabora.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-remoteproc@vger.kernel.org, matthias.bgg@gmail.com, robh+dt@kernel.org, tinghan.shen@mediatek.com Subject: Re: [PATCH v17 00/14] Add support for MT8195 SCP 2nd core Date: Tue, 19 Sep 2023 10:45:52 +0200 Message-Id: <20230919084552.260918-1-laura.nao@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Tue, 19 Sep 2023 01:46:09 -0700 (PDT) On 9/19/23 03:14, Mathieu Poirier wrote: > On Mon, Sep 18, 2023 at 12:31:41PM +0200, Laura Nao wrote: >>> Other than patch 2 and 14, I have applied this set. The remaining patches will >>> have to be resent to Matthias. >> >>> Thanks, >>> Mathieu >> >> Hello, >> >> With patch 2 missing, the SCP is not probed correctly anymore on asurada (MT8192) and kukui (MT8183). The mtk-scp driver relies on the existence of the `cros-ec-rpmsg` node in the dt to determine if the SCP is single or multicore. Without patch 2 the driver wrongly assumes the SCP on MT8192 and MT8183 are multicore, leading to the following errors during initialization: >> >> 10696 04:33:59.126671 <3>[ 15.465714] platform 10500000.scp:cros-ec: invalid resource (null) >> 10697 04:33:59.142855 <3>[ 15.478560] platform 10500000.scp:cros-ec: Failed to parse and map sram memory >> 10698 04:33:59.149650 <3>[ 15.486121] mtk-scp 10500000.scp: Failed to initialize core 0 rproc >> >> The issue was caught by KernelCI, complete logs can be found here: >> - asurada: https://storage.kernelci.org/next/master/next-20230914/arm64/defconfig+arm64-chromebook+videodec/gcc-10/lab-collabora/baseline-nfs-mt8192-asurada-spherion-r0.html >> - kukui: https://storage.kernelci.org/next/master/next-20230914/arm64/defconfig+arm64-chromebook+videodec/gcc-10/lab-collabora/baseline-nfs-mt8183-kukui-jacuzzi-juniper-sku16.html >> >> Reporting the issue so that patch 2 and 14 can be resent and merged soon. >> > > Apologies for the trouble here, the error is mine. > > I have applied and pushed patch 02 - please confirm that things are working as > expected now. Matthias will need to either ack patch 14 or pick it up himself. > > I confirm SCP is probed correctly on MT8192 (spherion) and MT8183 (juniper) on the remoteproc tree (for-next branch) now. Thank you!