Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp132461rdb; Mon, 18 Sep 2023 10:07:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyCNveSV3nynDPbKWbgt3e3SqN1ycsinql7NcRmOus8oUjhSTMZfaUV0u21L7ClJOPtwCB X-Received: by 2002:a17:90a:cc15:b0:26d:49c8:78aa with SMTP id b21-20020a17090acc1500b0026d49c878aamr7237914pju.32.1695056832502; Mon, 18 Sep 2023 10:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695056832; cv=none; d=google.com; s=arc-20160816; b=QkzZj7tGjBdKPGw3QUoIGyGsSyf4efqsjoTKpMaMRCxdRRQKWhCnoH9S/4ngASed7t UN6f8fshWox8zNR1du44YP9izss5jHefPr/VyLFI2uCeISvPEmNCiPKghTKFMFnFJOmS zGO5zg0UQQjrH/8ZocZCyfayjRYLXxukZQFSHSo/mfIKhMmjQ4iT4/tQOu3TVK74PRV/ 25xSl27cZQwdCWMOiM5IlEIn/0RWkDVbpkZ5mqVLbI7+BGBqCKzzDhSWSuS2CGyBEwAN vSdzF2nKGY2JrXoGO0dbB1rHQrmSZqRR85upkMv1a35FYQwFqR2J2XsAz/+nGL9PbZYA 4QiQ== 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=1KDYv9YNxwsG2qaqZR8SJMZf7irA9htHdUFVCJaYWFs=; fh=ldV459Bqc9w2QNK9XL11s4ZZmqBv7RcSapdjfzUtEvM=; b=BV0iF3FA9E149JY/KBOqrITWBH9jyT/H89/xUhrkbHKzUvnYCCQYIEWrghl9XWcUjl iIntw6A/UJy95YTzgoVP16XxYcNrZKefou6iJ8eP70de/91YvuIcscwiXsjZ2GALHwn6 kz/dzp19Ep9z8P37WfLaZJm3GKns8YTYEZWo5GbCQRL4yClbkDYzcz/8ae0qNyFi4pTw XNtper+sJW98miYiShLcpuXJyFERnnWNTu9+TZ8ccr03orK/3sNKlMxCMgTQ0YJVadG2 yJMrB4EomoZVK888u/BLGBwGlTm3YI/cOg+DK1DTS9Za1ZYEPG2CF0Q3L3WwepungL2y Gkdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JzoSEqsN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c9-20020a17090a108900b0026305080a6fsi8133440pja.63.2023.09.18.10.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 10:07:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JzoSEqsN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id B0BF781890A8; Mon, 18 Sep 2023 03:33:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241292AbjIRKdD (ORCPT + 99 others); Mon, 18 Sep 2023 06:33:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241376AbjIRKcw (ORCPT ); Mon, 18 Sep 2023 06:32:52 -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 8F22C191; Mon, 18 Sep 2023 03:32:29 -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 9038D6607079; Mon, 18 Sep 2023 11:32:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695033148; bh=Uc7V1QnED3jqO7q91bCXab1gBM9VqY9HU30Ul0mVYpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JzoSEqsNwon3ssPk59x0nv4g1mS0wowA87TrL3zpgUt5sR/z4pW+qKcP3YEAQ2N9B oLPelEgZ/EonnxadFgXEwzAoS/sCA1C3sT+vpR/mgqB/FyjsNHA9M3XOH8WiEaOu+H pwBA7rc7hDe8CKTTqloT2LUtAP59Mc1EEzncYp3tkSP0IH34ttzLDFOyo7nrNUf+ir 8nAToLSw9zfHPQ+Lr3cn2rrEBHzohp0KeIqwtGHhLjrlWvyQzrZMcZPAKJZzJHGbgo +JLWocaKSPU7V1h52+BxdugDC8bw8WJ+MTEQEGem2v5A3yDWGaEMD33q57oOIMYYW7 K6xx4Hb5u4sEw== 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, krzysztof.kozlowski+dt@linaro.org, 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, kernel@collabora.com Subject: Re: [PATCH v17 00/14] Add support for MT8195 SCP 2nd core Date: Mon, 18 Sep 2023 12:31:41 +0200 Message-Id: <20230918103141.126271-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 03:33:34 -0700 (PDT) > 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. Best, Laura