Message ID | 20230517043449.26352-11-tinghan.shen@mediatek.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp873120vqo; Tue, 16 May 2023 21:37:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Ke1XkdbR63ELbkwycWMs75v9FCpdMicqTTX+PReZaa8paTCO7vgSHS95iKx9BWZUbYMwe X-Received: by 2002:a17:903:1249:b0:1ab:220a:9068 with SMTP id u9-20020a170903124900b001ab220a9068mr52129215plh.42.1684298235829; Tue, 16 May 2023 21:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684298235; cv=none; d=google.com; s=arc-20160816; b=UoXyul9q7TJBaUEkcBHfp9xv+zebbcOJ7W5thQGFuW0PlnBoZU8vS10Aa6uFpgIJWn BWnImKsiEAF7Dyau4K7BoR7mgp9Dim7PNnfrTPHa3z2L3s2AykPdyIhp7keRVqr49sHu YSXz5nMrpofK4cRxRxR9eEk2LNyT5UyIapgJYEPw4FcQ5ce2amUO8seeKNunsjEz9ve/ 11VznOm5f9qHmdg5PVX7pCLlPy1AelWHhRDtqBJmzjuoCEWjUU1e5r8DIPoCvWjgtQs9 EOD87ee/Mwo0UHXlxJfK7FV0R8hqEDqU7QZIrgA9d3jFkuEBSI2YyRtTExLrUbIdlK7W 565Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=o+2qZ/joTxqaOCpK2Ed4GFnS/HFhx4DEGcrraXqmCaE=; b=CrVmvVqLew9KotHolLfP/WeFzt53GYI+rcQABXOeEsddHROUI1vY+IaylVsqk1kwWH uiMbdn9k3bLsHfU1uV5VNf+WXsEqSVge410S5yUuvYxK6mOtdKPbdQWl+i6QYhp+ayyl ssEjBjKZeR0N7ZoeiD2jweAQTs55x5cb1dz9vBUfK25SMpEJGzcIXcKrFTQjWJMcjR7B BpcpoBYX3AuX6K/vly5TvD/IkCsaVtK/kM+yVxE96muqBNbWD92liAKi25ernAArzoyo g3pL1rxoRbRX8LzMRqMHP0byrK8aB8EF+caSRfj4/LWjBjVFyU/ojB3JxR/ZNMv9OHkM F4nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=T9mk9Emd; 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=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a170902ecd200b001aadba392b7si19215889plh.517.2023.05.16.21.37.03; Tue, 16 May 2023 21:37:15 -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=@mediatek.com header.s=dk header.b=T9mk9Emd; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232237AbjEQEgR (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Wed, 17 May 2023 00:36:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232180AbjEQEfr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 17 May 2023 00:35:47 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A374D3A9F; Tue, 16 May 2023 21:35:44 -0700 (PDT) X-UUID: 44644b66f46c11edb20a276fd37b9834-20230517 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=o+2qZ/joTxqaOCpK2Ed4GFnS/HFhx4DEGcrraXqmCaE=; b=T9mk9EmdvPWuV5IePHjcB471Gw7RqTU6ewqa/Td1GqTuobBhBYf5NghAnhp7kRDmIcOTh57RoORu/zEifo88LAbAnDB1+u9o//pvHsPiEk6AHhUzGUNtuztDY5s330UN3nExu3r/rEyKmkVnvB+P1RapZmqhTo1OQvXKttaAWKQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:c74a437b-08ff-4993-9310-8a0f1c22b75e,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.25,REQID:c74a437b-08ff-4993-9310-8a0f1c22b75e,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:d5b0ae3,CLOUDID:e05c116c-2f20-4998-991c-3b78627e4938,B ulkID:230517123538V9C252YK,BulkQuantity:0,Recheck:0,SF:29|28|17|19|48|38,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 44644b66f46c11edb20a276fd37b9834-20230517 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from <tinghan.shen@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1338038676; Wed, 17 May 2023 12:35:35 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 17 May 2023 12:35:34 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 17 May 2023 12:35:34 +0800 From: Tinghan Shen <tinghan.shen@mediatek.com> To: Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Tinghan Shen <tinghan.shen@mediatek.com> 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> Subject: [PATCH v12 10/11] remoteproc: mediatek: Refine ipi handler error message Date: Wed, 17 May 2023 12:34:48 +0800 Message-ID: <20230517043449.26352-11-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230517043449.26352-1-tinghan.shen@mediatek.com> References: <20230517043449.26352-1-tinghan.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N 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_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766114706661136790?= X-GMAIL-MSGID: =?utf-8?q?1766114706661136790?= |
Series |
Add support for MT8195 SCP 2nd core
|
|
Commit Message
Tinghan Shen
May 17, 2023, 4:34 a.m. UTC
The error message doesn't accurately reflect the cause of the error. The error is due to a handler not being found, not an invalid IPI ID. Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- drivers/remoteproc/mtk_scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c index 6319ba21bcad..706190d2db75 100644 --- a/drivers/remoteproc/mtk_scp.c +++ b/drivers/remoteproc/mtk_scp.c @@ -114,7 +114,7 @@ static void scp_ipi_handler(struct mtk_scp *scp) scp_ipi_lock(scp, id); handler = ipi_desc[id].handler; if (!handler) { - dev_err(scp->dev, "No such ipi id = %d\n", id); + dev_err(scp->dev, "No handler for ipi id = %d\n", id); scp_ipi_unlock(scp, id); return; }