Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1617561rwd; Tue, 16 May 2023 21:40:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74f0J6jpIPYUve6Uff2inuePvvlDOsPXfehmzZa7NxiW0z1wH+LhTDFPGpnUmA4PJPPbjb X-Received: by 2002:a05:6a00:990:b0:638:edbc:74ca with SMTP id u16-20020a056a00099000b00638edbc74camr54036572pfg.0.1684298450319; Tue, 16 May 2023 21:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684298450; cv=none; d=google.com; s=arc-20160816; b=AfNcnD8RnlC2pGR8fWFyzwECP1Yf/JbGfQdSf/2UdOiwQDSxI4phrhsYlrm7ejlOhe d3/PVd9xO8oFAooH4Q+6bFYXqoOSxTS8dbrImQNFjrwRhd1af/wdLzUjZwseRJsfJz6y lCFlXmUjpuMzukhM4/+D/vj9WFqLIYlvV+c/tQY3AlGh4b78sJ3LOmQ6Bud0y7xg6as4 X/KZGTT7Qr7B0FtoMzHrcjyhsYuXm+28+3FSaEKfD1p4dxDjKhztdLi1EYYE0rlnrt8p ufE2BS0wh+uzTYDGeSKUd1+D9gcz/ekAXGnOESIYgUMpoOBnP2h0G98iPW9y61e50z1x Zxgw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a637e59000000b0053079f84a1esi14524932pgn.743.2023.05.16.21.40.38; Tue, 16 May 2023 21:40:50 -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 S232087AbjEQEgR (ORCPT + 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 ); 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 ) (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 To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Tinghan Shen CC: , , , , , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: AngeloGioacchino Del Regno --- 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; } -- 2.18.0