From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9E39CD342F for ; Tue, 19 Sep 2023 01:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9KJqM6SCAPuNsc5toRqa36vMySmecxJaLD5Cy07TWow=; b=FSrn3KHBjkU93X o+F1fc5c//x68BaEUvij8d3rBG7kjiYRcXtUDzIv/GRV8zX/cXjK+UMUFb5SCmzggw5DepuTXEbhR HeyeMchRzCToRxXKHhB+Cmold+WO2emwjKRWTVzyXCMKxya2bcNBvswxUqRx/Z39mpJUQiZXdAg0h pBQLk5KKhElXz6tehRCD1kCZ4oDpJ82ib5J/6d/eNzXU8qTs+fzq8CBsegtdZrovSzHgZ/x8gOkvX Fb21/N9rcf8qK5QSNEceLE8nV8p9pRWSY7eD8oVexxPZ2jyuXXFwpSYVHX3KeNvqAiFbVnNRI3Ikj BJssW0XTH3asqZhaoELw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiPJt-00Gddq-2M; Tue, 19 Sep 2023 01:14:29 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiPJq-00Gdcf-0G for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 01:14:27 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-52fe27898e9so5946167a12.0 for ; Mon, 18 Sep 2023 18:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695086062; x=1695690862; darn=lists.infradead.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=sVVzOx/yqfi+zBqZZOPU5DzesMlJQNGpvmFZnlJUhAlRhKq3Expu9njnV5hldLPxm3 rglVY3lVJ/f4IiY0iiPAFxN195t3tQqZ8zh31EjhwBzrf8IUd0bPvDC7Q7W/lKXQyAIc 40g8LNYtNaL9pHmOp10dZ14iL5tElK4nkY2QAfBYqoacqRcS+Av/cXTXUDTh5tcpK/L/ KO1z3gneik0R4YehWqpFq5DMtKgjPqGQBQyRjq7xa71+VPpfYLK9ymhetV8LvHeHswzg 3oEqduyOX7ofaSZ8AKvpPMdSO0i1NAAcqG+BRnPGjLYLD60u6kzVNdqAcLqDa+gO6Ujn R+Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695086062; x=1695690862; 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=tJyTnqSy7vPoUOQux9vJqIk0390c3S3Tes8pGg+/yv0T3lah5Gqn1NYRJYw2nnB5X/ ZF5CJnTSXSnL7hB9K06JARF950t2MX+y48RirbGM+dujcZ6sPETYyBpytiz1tZ0X7Dsm 3pwemc0cXP2v9OJa9j3Kl50UdkScNHNjyP/vI1kpcvehTJ1CYI3+W2MeuIELEZ3neVet zneTdLy2beL0/PeRAjB3l+yMOSK3n1+LPfwsMabyRJ0bB7mrXYN/EOyR/utft5q1yZOo 8jpD6JRGhgIqrAumANx21BUB8s5HXqV0wGOirQzFT0I/k+qLObzuuUdemZUprVJPBQj+ bshQ== X-Gm-Message-State: AOJu0Yyz4OvlgUznRx9cEQ0Ws8A6oGf3W7PMXjXvYT6S15yb+CZT9QMU ZyirU0zd0j09AyANGgO4wNxUag== X-Google-Smtp-Source: AGHT+IFc4395RdOi+9dnmD35OMMHJNoIlb+eoF7osT1BHi2cs5ABN5XhkVj3C/6cd39Dibx5sALVhw== 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-Disposition: inline In-Reply-To: <20230918103141.126271-1-laura.nao@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230918_181426_163383_A759E09C X-CRM114-Status: GOOD ( 16.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel