Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3731813rwl; Mon, 27 Mar 2023 19:30:51 -0700 (PDT) X-Google-Smtp-Source: AKy350Y8jkqo8pGadd394c1ZDeOkadsD/E4/852JU+ARPM2AlnsQ8EqQRvVru7xGvTDluI20ZVpi X-Received: by 2002:a17:90b:4acf:b0:236:99c4:6096 with SMTP id mh15-20020a17090b4acf00b0023699c46096mr14740713pjb.35.1679970650815; Mon, 27 Mar 2023 19:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679970650; cv=none; d=google.com; s=arc-20160816; b=yGS4xJVdLsZyLd/u7vskmNhEGKT58vHbUh0qMNjmTHu/hQP+napTrxgS2Fu1pF14N8 8Wso4Ck7iU/X2bxZ5qNp88Nkqc8yKzbdPQEXvUfuAPP8faOJejvMxPKExLyhjt7NW0uU hu8z6SX8mSSIKzbR6cV/fdAATbsq3RtQ2yxxTZlLBoctZDsgj4h7ofyHibKUjBInphcO ORaMqnQ+ZuDKlxKQ7rQLIBwOSxygJ2G7JP7fen3DV9jN6Sa4U5zh5obJ44xcFU00JIXZ SSPhqzRqSQXVkWVG7eWxZTW8wJ5gqOolrf9RGhi0ZaV98mk7jjtbmAbCaLwwzJzObuI6 7Ihw== 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=g5ZNkAYN4ZY/Q2Ol/GTU25e+0aKLgeNnvGnT68vbtpM=; b=1KyZj1jq4/D9JCxwo92rjINP+byU3/p1ANWkplQFh+FWmk25PlOXQ9H3uNh4QEvFP5 XTBcmWw8siLnTJW8dqY0OAw0WVMDhunoH5yxHN7vSSNxO5USC6WQl3Rai7/lj2pGUPk0 E9/bDwjOnmfFmHnpqLXobanpYbIA3A618mL2Zy7d/ZOjxURq4zRrK33t9RCg7IcpnirP wsqKKaCdRNU+uSh7WnCphxOAd8VU+AQtSa0qDfA8X08BTi+TfkmRlWq1Y+d507lRrcEZ /1DCff1yAYXQ3FrAE4oHnyknb40YFQAqPMqxwqLEK9+WXkloAAz0y5p9EPiHC9JiBZDG QDcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ReNkmWNg; 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 7-20020a631947000000b005001391ef6bsi28133903pgz.108.2023.03.27.19.30.38; Mon, 27 Mar 2023 19:30: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=ReNkmWNg; 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 S232654AbjC1C2b (ORCPT + 99 others); Mon, 27 Mar 2023 22:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbjC1C2M (ORCPT ); Mon, 27 Mar 2023 22:28:12 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92190199A; Mon, 27 Mar 2023 19:28:05 -0700 (PDT) X-UUID: 270e3f0acd1011edb6b9f13eb10bd0fe-20230328 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=g5ZNkAYN4ZY/Q2Ol/GTU25e+0aKLgeNnvGnT68vbtpM=; b=ReNkmWNg3etge2vswKDfC/tKDDq8MCNOnDV+R6RUvd9JrE+eCO6+tpQwBB2JXoy1S5chA5Gh7kJVCt6RzjRwzBtT/2X0EGCzTilkPzhGwiVGM1IsyvYD+CW1saj2Zz9uU5kQKmHr56ZS1Tnl5D1VT3kT62ivlz4m2kK3vHkE/6c=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:572f5162-844a-4390-8218-44e01a1ab474,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:6fc8ac29-564d-42d9-9875-7c868ee415ec,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: 270e3f0acd1011edb6b9f13eb10bd0fe-20230328 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2044835218; Tue, 28 Mar 2023 10:27:57 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) 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.25; Tue, 28 Mar 2023 10:27:56 +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; Tue, 28 Mar 2023 10:27:56 +0800 From: Tinghan Shen To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Tinghan Shen CC: , , , , , Subject: [PATCH v9 10/11] remoteproc: mediatek: Refine ipi handler error message Date: Tue, 28 Mar 2023 10:27:32 +0800 Message-ID: <20230328022733.29910-11-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230328022733.29910-1-tinghan.shen@mediatek.com> References: <20230328022733.29910-1-tinghan.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=unavailable 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 d08f21c1f947..fec74631557a 100644 --- a/drivers/remoteproc/mtk_scp.c +++ b/drivers/remoteproc/mtk_scp.c @@ -115,7 +115,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