From patchwork Tue Jun 20 10:43:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shiji Yang X-Patchwork-Id: 13285597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2C3DEB64DB for ; Tue, 20 Jun 2023 10:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjFTKoE (ORCPT ); Tue, 20 Jun 2023 06:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbjFTKoD (ORCPT ); Tue, 20 Jun 2023 06:44:03 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2066.outbound.protection.outlook.com [40.92.98.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CDD49D; Tue, 20 Jun 2023 03:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dROIsacczbqrA4k9JRhcc7SDfPuqmW+Z+EV87chbWPqebOvXurYdwIM7PnuDME4M0BACMWzP3evdGNrzqFUy7ABUOggPQGctWX+gj2TG5JHfSgwI1GG9wLh6qa5TNclPODJnX5HEc0d2+kpcQ6WYIhFbU1/uKTyC3PEz7nGkqSkSFarSoNALJbzdW3ULFTH2VQNQSoiW7vg29QAqGo+5ImzuE0WXyI90PPqJhJPRGavOf4c1CqFSRq38CO/TQ5FrQXyiqSxCJsREmJk3C73merRz54j5KzeRZX1JZ7G8YCjTSxdR+nV7ubfdbnPLjO0HoubfJttoKRbPxVAnk+xd4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DfFsV3+qYHHIILFjef36lPtxBG2DtX9mZshFhrFF/vE=; b=BS4ZA42abYtXfNwm9NgMAPmR5AC21BkC062hBHLuiZePTUmEqRgO9EdeZEEbcbCNC8G+OyE6QLWMv3mYEFECjjv5LqyxLQjsg1pu8+w9sIqkxOx3VCW6ou2sU59LGjhBraYDIr+Ik2jTPEwau/uYCGCQduKUiDlleLXFuA0eH0tQIKkfShemN+RY17LNpgWftbl5huYyCm0iMbInwRn4ftV3rrGs5S0/QhIcAcgijp5B5PEFLrGXQlD2RSE8eyQFIyKvndmaKRJ4E3CGzlxCwa2J1SeViyl6NCEZng8xYBWrq20cnbxRNc/FWQ+36ZPHs/oXKfYLzb17cP2GeBreoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DfFsV3+qYHHIILFjef36lPtxBG2DtX9mZshFhrFF/vE=; b=rADiGtVu0SJ1ye+3dQJWXx9GEUBLMoTzW+Eiit9JZBodYxmjYCpsuyMIl9NImvBPSI/n37fp4Tsw2zEVpX6P9N9zYlNL+EnQ1qmo5GVCyax1HIMcfmfv9rrKLwiG3j+80A2ROdhSgOM0WhvJS88SLqRJzqCAARdaJ897P6RSXhN62gg/VB/5QXdqkNzUEuaIwMfejNAoupPTwUGXJsHO7fGwOQvMFdrwu/MnDDFNZjKQ2rz60qeVvtbQfowINUOs2RvPz3qcpDu8kKPO8tknpr+R/grKuxRV/kbbq80kd/ADebykYJw6dvuRzyzppQ25xGinqh7NqqjwpRvnapRIYQ== Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) by TYYP286MB1546.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.37; Tue, 20 Jun 2023 10:43:58 +0000 Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::ca7e:d73d:ba3f:64a6]) by TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::ca7e:d73d:ba3f:64a6%5]) with mapi id 15.20.6500.036; Tue, 20 Jun 2023 10:43:58 +0000 From: Shiji Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Shiji Yang Subject: [PATCH 0/2] mips: pci-mt7620: reduce unnecessary error logs Date: Tue, 20 Jun 2023 18:43:21 +0800 Message-ID: X-Mailer: git-send-email 2.30.2 X-TMN: [CLb/ixjjzdBLElFIRLRyxo8cA9FLVKJC] X-ClientProxiedBy: TYCP286CA0307.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:38b::15) To TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) X-Microsoft-Original-Message-ID: <20230620104323.1736-1-yangshiji66@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYAP286MB0315:EE_|TYYP286MB1546:EE_ X-MS-Office365-Filtering-Correlation-Id: 322e0da6-d1e3-44d6-de87-08db717b402c X-MS-Exchange-SLBlob-MailProps: znQPCv1HvwUWHGrk/AHBK7arRP2SnzW9RDd9YSWgbbNkW04I/GqsiZsxVUa/sW9NqK0a9aE/lF63p6E9esAeijbSDUa1b4NSJ7pAbCPBWebUNA4hBbdhLtbwmlV9EGIwtGf7Ov+w1URDmrPuJOtRBbLvP8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QLym65iMWgJMuQl+y7S5EbfG+m4vYBAWeY3HEzL/NAR1hZTLTmnNTaV1D0olvL9l/SCYuJe5cFXfxsb6lEBTNMx++0fFbzNA58BK+JYRKF7NQNV49S3bIydCPyML+U+de8aIaV+59P360q+27zMuFBeLr5l4Ys63VRh8QAYS56qleQGgbrup/u9DQi1x3mvBA24NNK8DJgX79WrrTqVUvmMYhJRZ3gNG68luFwEHPONNO79B5ujiFS+Jvale0fDqTen0LGrSaiZIRz84pBaLPzmG0ROV7VdTYujNLB0e6tTKItKJyMkKfKAvPrRVRqYJD9rkgs6mvAerciBkaBAKaA2KURBm9a7yQrg8IbnDacupsQE1aMYja8btQIn8bVFRoy23Wrw/WIbbelxk8613SQFC5N9CQseOZBtDCqbqumkq481gGblGdV4kJ/b40Qus2KY8eKqHVHJUwVsjrPzqff28= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 322e0da6-d1e3-44d6-de87-08db717b402c X-MS-Exchange-CrossTenant-AuthSource: TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 10:43:58.0291 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYP286MB1546 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org These patches silence some mt7620 PCIe driver error messeges by removing the useless debugging codes and replacing incorrectly used 'dev_err()' with 'dev_info()'. Shiji Yang (2): mips: pci-mt7620: do not print NFTS register value as error log mips: pci-mt7620: use dev_info() to log PCIe device detection result arch/mips/pci/pci-mt7620.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) Reviewed-by: Sergio Paracuellos