Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11960450rwl; Tue, 3 Jan 2023 07:11:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXtInZUzPxllojhqwUFoiFilijplT2qIvnb9qcOyDyDks66HZ+CSwVX28v4lRV43ertb/sP8 X-Received: by 2002:a17:903:41c7:b0:189:ea22:6d6a with SMTP id u7-20020a17090341c700b00189ea226d6amr64004039ple.60.1672758681918; Tue, 03 Jan 2023 07:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672758681; cv=none; d=google.com; s=arc-20160816; b=ATG3CgQorrMZ9HhICbxCRfuMfXBqZOq6pLUC6yaxLB/1Hc953ug7Da131P85ddQFm+ Ta+dtFjPFf/w4n3VhW5tSnRo3TVNSNiLMoOSCWOdpHp0BuMcL3YUbg4MTBgzdq4YH42Q H00dOTIvtBAbd8BLM1VjKcIZcQu7xZ/pCkLU+5zjP+7wVEibVBOTHLyWS6u0T4I2TQuz udBlUtAUNgqfjwqbi28BwPbtFtKNaBtF5e7tMZhOF0Wuzd1not0rXWiiIB+NrLuvivDN FsaYUpmqtLdtJQXth5OpJTKalX3i86U0LpTDcs8JpOk9ZuL7pq72EaSo6Ey3CbB/ziZx YzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=S1kmwfTmSvxG81N71UR52vf/WrMvRev1sOtYs1tEXcE=; b=EfAwTf+E4y5xzBXIc0oGNfR2mG4imyA7V1GYVc7X0b3OIQx5TmtZmlpWD1XnpDAX1v DX29nc4xBtG9+eXBYSt1zAvN4M8gYJJBp3kxoR33EH+ZLYNHPEPCPsB6zbnZ/dFnEGwC TzLeDf4BOZCDy9gE8v0G1VjpNTVqzdtaXvGuO8DsLB8VpFVO8gQivQn0VySJ3zX9tEYC Ee4gJR4PBERRhkgWmz9qSupEgtdzksZubocVbajAah94CHLA7FK9wGwlcTHXZzcPDbrd hkagRZ7S4jExjtrZ2TEmpZwYd2+Bo+CzNzeJ5AndphDxo/qCdwJL4BMZIIMm2yrGwbHy DtJA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jf2-20020a170903268200b0017841de491fsi23092964plb.361.2023.01.03.07.11.14; Tue, 03 Jan 2023 07:11:21 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237982AbjACPFM (ORCPT + 60 others); Tue, 3 Jan 2023 10:05:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238012AbjACPE5 (ORCPT ); Tue, 3 Jan 2023 10:04:57 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D327B11168; Tue, 3 Jan 2023 07:04:55 -0800 (PST) Received: from ersatz.molgen.mpg.de (v097.vpnx.molgen.mpg.de [141.14.14.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id A973160293A85; Tue, 3 Jan 2023 16:04:52 +0100 (CET) From: Paul Menzel To: Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani , "James E.J. Bottomley" , "Martin K. Petersen" Cc: Paul Menzel , it+linux-scsi@molgen.mpg.de, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info Date: Tue, 3 Jan 2023 16:04:37 +0100 Message-Id: <20230103150438.45922-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 On a system with the controller below 01:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI Fusion-MPT 12GSAS/PCIe Secure SAS38xx [1000:00e6] Linux logs the error below: $ dmesg --level=err | grep mpt [ 7.647675] mpt3sas_cm0: Trace buffer memory 2048 KB allocated This state does not denote an error condition (and also no warning), so demote the level from error to info. Cc: it+linux-scsi@molgen.mpg.de Signed-off-by: Paul Menzel --- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c b/drivers/scsi/mpt3sas/mpt3sas_ctl.c index 0d8b1e942ded..efdb8178db32 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c @@ -1884,7 +1884,7 @@ mpt3sas_enable_diag_buffer(struct MPT3SAS_ADAPTER *ioc, u8 bits_to_register) diag_register.requested_buffer_size>>10); else if (ioc->diag_buffer_status[MPI2_DIAG_BUF_TYPE_TRACE] & MPT3_DIAG_BUFFER_IS_REGISTERED) { - ioc_err(ioc, "Trace buffer memory %d KB allocated\n", + ioc_info(ioc, "Trace buffer memory %d KB allocated\n", diag_register.requested_buffer_size>>10); if (ioc->hba_mpi_version_belonged != MPI2_VERSION) ioc->diag_buffer_status[ -- 2.39.0