Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp364671rwd; Wed, 7 Jun 2023 00:38:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IlWp3EhW3QkgAg72XIKZFY3Mmbh1Vv920AVFMd46WmZmzLxvXOEEi0Eo4hp2UjYoRkShL X-Received: by 2002:a05:6808:98b:b0:399:8529:6726 with SMTP id a11-20020a056808098b00b0039985296726mr4654897oic.51.1686123521857; Wed, 07 Jun 2023 00:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686123521; cv=none; d=google.com; s=arc-20160816; b=k+wMmuTh7BvTmQ9db5DUtcukiea6gSsxadcp3E1RomJxz67qybFVvzgXOZXrEdotQk gBA6HD/5DRA4OW8mn77khQhXHG41te8u9YomQLHCc8pqcd/Bro7DQQlpvEgxUzi7BkuH 6jdxTDyrxcPgT0vHevJ8c1/5BiKa2OZa83VMU8J5WjbrYRVZ/1Z+6cxo7+dLHc8RPGXt t6pFS64f3DPd55Cguhfo7HXrpjguRAbfEYnypGa5qbPy7AAp0HKYUoMt1D7c4C5BuEc+ op/vcOn0H5O2bA9xd1B7RACxworoYsU5cEsZWgF78PUU0W/P6jfU9q5qNiBi4BWZMYP7 iRog== 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=XipFN3vEs/GeawjhbuVQWpaMjUpnFNYWDjO9j4/WdRE=; b=QrBKJCevTVrqJinkKHnuKZXyzeP63ACDWPLfclkS/CuDOTldNwKxKF7ZN+1DILkKmh VO6DQQ9Xp+He2/+WyGROZk0JwbSzjCKNDRcgj5XtDdQXv/Ye9L6hUueTA3/wR42RfZp0 bTg5guM7/0g2/5/w0ZxXb14hXhHHpQsNo6qP4gglhEMN2LFeaGvs5XW0dXdNjk5OvFYb dUaxiEG2qGasJFYjfCbza9uyEvLeWlVLLNxwP8CVPTr7YedSyX1EuE+2LJZdn1BVGB4Q 7cF2C0WO8DSBIi7Txx/lfJ9bVqeYP8efv1/69iT6cD9V/Sp17xrZ65BgDSaZ/2IoOa3Z pbqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oBoPcZYw; 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 u15-20020a17090a1d4f00b00247526ba960si734888pju.119.2023.06.07.00.38.29; Wed, 07 Jun 2023 00:38:41 -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=oBoPcZYw; 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 S238955AbjFGHWf (ORCPT + 99 others); Wed, 7 Jun 2023 03:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235447AbjFGHWd (ORCPT ); Wed, 7 Jun 2023 03:22:33 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADA00173B; Wed, 7 Jun 2023 00:22:31 -0700 (PDT) X-UUID: 0d6914c2050411ee9cb5633481061a41-20230607 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=XipFN3vEs/GeawjhbuVQWpaMjUpnFNYWDjO9j4/WdRE=; b=oBoPcZYwG/2JsdyiTYFQVopO1LIDXPEWhqzhVj7Ewbw5smLDJlpUfaUg7lBhHV6QMB23hTSOhWXBYEa5QpQ81MT2hqK0wvdpMpeRW20oSKqBccDlg1inaOSY6BJdxVsrIZRWieFeWf6wab09wzguyRws280rr/3aiJzWc6xNEo0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:40423f77-154a-4508-ab92-4039bf73b981,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:d5b0ae3,CLOUDID:1993a53d-de1e-4348-bc35-c96f92f1dcbb,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: 0d6914c2050411ee9cb5633481061a41-20230607 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 276985011; Wed, 07 Jun 2023 15:22:25 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 7 Jun 2023 15:22:24 +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.26 via Frontend Transport; Wed, 7 Jun 2023 15:22:24 +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 v13 10/11] remoteproc: mediatek: Refine ipi handler error message Date: Wed, 7 Jun 2023 15:22:21 +0800 Message-ID: <20230607072222.8628-11-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230607072222.8628-1-tinghan.shen@mediatek.com> References: <20230607072222.8628-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,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 66105ed2f3db..bf859df74005 100644 --- a/drivers/remoteproc/mtk_scp.c +++ b/drivers/remoteproc/mtk_scp.c @@ -127,7 +127,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