Message ID | 20230426091211.21557-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 b10csp105688vqo; Wed, 26 Apr 2023 02:14:02 -0700 (PDT) X-Google-Smtp-Source: AKy350b+9Pxe/+Q84sd1OLsk6FATNumPBMm3+vhrkFw7HbM2ItDt3XR/nyjmj5SnKdPywm8YGBJK X-Received: by 2002:a05:6a21:6817:b0:f0:164b:fa5d with SMTP id wr23-20020a056a21681700b000f0164bfa5dmr22952578pzb.15.1682500442469; Wed, 26 Apr 2023 02:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682500442; cv=none; d=google.com; s=arc-20160816; b=dZB9o9BTpKBvki1XT+kG6wLgdtv9YhEOuiWRIQcfL6R8A62jkjbXfNqOKipT2AWIj5 ub4qN97YapFDfVF2XDLdsWPgBVBHhX/ECJpoZh2dmocSME8SMLCNvti8a0Zij8FeCMO8 WLcVZz+PHwNOEhPFCjan3t6aPRn7w64P8bHMThnWd6zhEutin5c6XCJNZHrTjpSmEeZe dX4fCUM7LvqvYwlUZM6v60KhFPzJSICK8oHNQCfN8iMDjjP2RwG93gg8ygJ8SmXWgsPI uW1iAsZKfXTxfAp8umfR2toPZJ0ktluRVTaocx987HHfIvtjzkAH6jb6SNv5Skc1LPli VMtw== 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=ReZGMhsNPPyTBuhIeLOUiJxAwpxEd51U50A23tp1WP8=; b=wfO7BNL3mO9OvkbhjOR8Rt04g/JWFSJARjU0fqZFzipAYpBQcUb2TALC35ntsioM+s C8wwiRCotjORXgZa3xaw5KmLMfYaiqw0ZztG/rB31SueGcmld0cjpP5Po/3VnANUPHq6 nAvBdXG2t4+KlTri49lcR1FXDj52VEwup/4dCJL3ANrrsECov9rCkOObz4lt8NWQU3q0 doCjnatzUx5JXQ9c+8IwECp1s3OTM6vsCky42Cd0RVK/0cynVWMAnPYwCM9fgPJ6ey2E jSBIAaGhl47hla5ieg+0gyXk/BT8p6fMgTLsh/UFiOPzM85QFhmwwAZeHRlDQxznrJKx u+8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tB9VpEIQ; 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 gd17-20020a17090b0fd100b002308ac7a1b0si15705797pjb.117.2023.04.26.02.13.49; Wed, 26 Apr 2023 02:14:02 -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=tB9VpEIQ; 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 S240232AbjDZJN0 (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Wed, 26 Apr 2023 05:13:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239984AbjDZJMi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Apr 2023 05:12:38 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D8840F7; Wed, 26 Apr 2023 02:12:33 -0700 (PDT) X-UUID: 776b15a4e41211eda9a90f0bb45854f4-20230426 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=ReZGMhsNPPyTBuhIeLOUiJxAwpxEd51U50A23tp1WP8=; b=tB9VpEIQDWqOANCDylpQfI4ytfg2XdJV9KvZ3Z1KDeFiXoAe95/PU9+rNTwsJRi2ALVuPE46/7O6EJ9JDo74fmfebMR3rPE8ka8+nAR1jeQZoBCrvUM8spbxSOnc8qsSLRgi4w+8/z9gMB1Ys5d5PD6pd/BNHc2U95DynhVKb3A=; X-CID-CACHE: Type:Local,Time:202304261712+08,HitQuantity:1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:70f47ea0-11fe-483e-87d2-3171e4eee474,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:120426c,CLOUDID:2fbd34ec-db6f-41fe-8b83-13fe7ed1ef52,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL: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: 776b15a4e41211eda9a90f0bb45854f4-20230426 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from <tinghan.shen@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1004333709; Wed, 26 Apr 2023 17:12:28 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 26 Apr 2023 17:12:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 26 Apr 2023 17:12:25 +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>, 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 v10 10/11] remoteproc: mediatek: Refine ipi handler error message Date: Wed, 26 Apr 2023 17:12:10 +0800 Message-ID: <20230426091211.21557-11-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230426091211.21557-1-tinghan.shen@mediatek.com> References: <20230426091211.21557-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?1764229584029469894?= X-GMAIL-MSGID: =?utf-8?q?1764229584029469894?= |
Series |
Add support for MT8195 SCP 2nd core
|
|
Commit Message
Tinghan Shen
April 26, 2023, 9:12 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 b9cac76b71fd..02a7673d84c9 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; }