Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp440215rdb; Mon, 18 Sep 2023 23:01:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdf8gG8OMtq4y4GxOJpWblTdChli/qdU8CxVOS7WHMo/RR5ITsh0IXZjeBR+ymBv3BPL+u X-Received: by 2002:a05:6870:8a13:b0:1c8:b870:4e62 with SMTP id p19-20020a0568708a1300b001c8b8704e62mr13031030oaq.52.1695103272132; Mon, 18 Sep 2023 23:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695103272; cv=none; d=google.com; s=arc-20160816; b=J7LQZOl/Y/6eEMdmCdEJV/jVKeN1nuld5NmDXpbLySR/e5AuqLD9A4Dqu8jvwjRtGv lmiT3RO9zAkMUe2pnpeUbIi7BSEbZ5isLCHUjw2OXiARvpFrfXoqRBpujQjTDMlAQmoi 5q+wFTQhB/bqgm7mGxC9fHL6fcOoWn1YLYwbuZAnGzjHDSTfzPNfDsJFQJMke4/w1zgF At469WiewABweYhRcB4TH1vkM5Qcl3fkpVuSvCwZt8B7F4oPaDGkjQsEkSR/kbLez66h rNkEzNBj16BURRxgENbRI7Jzr+usDYgabd9TGv/xBI0sA4Kt4pGnQLOvdb+yLFJfA5AL Dhiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WA9SbgZBS2d7r+giDCDiM8qHprOh9fflcSF1kPyE+mg=; fh=ulqwkE+4Nenu9Ipi7SQIh+rfQeWxsn3bFoiDNYED20M=; b=vkZiU+oM3ycq1wymmbUsrklaptqkIdGdjYQI+bMH1EsTpT0Db8K0xAy8EIlkYWTGBc Sw2OCmJQRu8jd6kNqUIL4/whXAs93je/5TPVOONx3XukF0Bzelt3ZhvC7ly9vOCmZTY7 8dR9BXmCHAhmAi0HArVyKaHqEAo173woiRTDSSJpPJHAq4LbFRnRvVZuLf+OaykTWIsX 5UQasYIumZMZleLgK3m/k8qLjxP/99ZRw1XasHW77e/86xwy0D0Qnkza5baiLjRJXWNO CU6l5+y9WttgEV5Dp52iGBa0qAsGSwOxHtpYQAdua7fhPNqmL7MWh/yZVPPxYmtpr9ra fMhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pswLHVvl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 195-20020a6301cc000000b0055ba8970e79si1334621pgb.587.2023.09.18.23.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 23:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pswLHVvl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 81ED0803E8D6; Mon, 18 Sep 2023 18:15:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbjISBO3 (ORCPT + 99 others); Mon, 18 Sep 2023 21:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbjISBO2 (ORCPT ); Mon, 18 Sep 2023 21:14:28 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B97110D for ; Mon, 18 Sep 2023 18:14:22 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9a9f139cd94so694178666b.2 for ; Mon, 18 Sep 2023 18:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695086061; x=1695690861; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WA9SbgZBS2d7r+giDCDiM8qHprOh9fflcSF1kPyE+mg=; b=pswLHVvlgTZ1IqDTrGOFKJiR7w6FPdj0K/ABHP+vyyrdQwBJS/hJIDYWW9RSzVzww+ AXsUAsEmOtBoEYZ/dC2Nb2c1FpTja42VSHwSae+UniBCQtVOnqTxquktI2pqh+tPiNdq mA/TXnqVqigK65u83uFk1LAjNVLT2nW7pz+Iwmzpvl0l4KM67uf8daOmTfo0/bjqHg0K /D0orZRZt1LFxhb1sblDPRolPPMrTlSHP1Egstww/6sMnZF0FcaBEivcj7UteHO3pJG9 F0UtJ6g1VYjVzF9e/hMIX5gSpT3T/DVY1mOW9oLYJXWiur03bIJ9lQisesGQ7j9qm3me I+Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695086061; x=1695690861; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WA9SbgZBS2d7r+giDCDiM8qHprOh9fflcSF1kPyE+mg=; b=jrqVIumuG2/d6VVPnOTw/8dNjHIAkMvwK9d/CkTo33rz8bXRRPzcrPFkURRFzgzVHw EGi7FziGCStb8hm626QVQ8uIrf4DqZVJI5DMtqpiqyYKHk9BXHAbrBu3EVvfVlNUVH/H 6BMgm5Ku12V72iXlHn3BPwn35flR2RbujKLcCqFcEvXrz+wjVkUmwiYUW44PFV+GTo/8 ywdjgDGKw1ncj3a9yQFi0EVMWWCZyryDzZ1aL6NN1kvCc7OKFncE1axRYryzC9OHYWvX 6Snk0+MTU3VVoHIaZGXTid0kuF0LzBrD1WCztlFfc1T+zPS43cngSFTbDBlmxOISKAb1 koxA== X-Gm-Message-State: AOJu0YyDY9hMmPamWrj/3oDoxmiQbe0m3hPCn8Ur3jhIap8QvfyESnGn 8CfE7PhrTpKvC0lF/IR+6VBBFw== X-Received: by 2002:a17:907:2c64:b0:9a2:139:f45d with SMTP id ib4-20020a1709072c6400b009a20139f45dmr8175665ejc.43.1695086060930; Mon, 18 Sep 2023 18:14:20 -0700 (PDT) Received: from p14s (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id z10-20020a170906714a00b00991e2b5a27dsm6987169ejj.37.2023.09.18.18.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 18:14:20 -0700 (PDT) Date: Mon, 18 Sep 2023 19:14:17 -0600 From: Mathieu Poirier To: Laura Nao 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 Message-ID: References: <20230918103141.126271-1-laura.nao@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230918103141.126271-1-laura.nao@collabora.com> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 18:15:35 -0700 (PDT) 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. > Best, > > Laura >