* [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info
@ 2023-01-03 15:04 Paul Menzel
2023-01-18 23:39 ` Martin K. Petersen
2023-01-27 3:23 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Paul Menzel @ 2023-01-03 15:04 UTC (permalink / raw)
To: Sathya Prakash, Sreekanth Reddy, Suganath Prabu Subramani,
James E.J. Bottomley, Martin K. Petersen
Cc: Paul Menzel, it+linux-scsi, MPT-FusionLinux.pdl, linux-scsi,
linux-kernel
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 <pmenzel@molgen.mpg.de>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info
2023-01-03 15:04 [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info Paul Menzel
@ 2023-01-18 23:39 ` Martin K. Petersen
2023-01-27 3:23 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-01-18 23:39 UTC (permalink / raw)
To: Paul Menzel
Cc: Sathya Prakash, Sreekanth Reddy, Suganath Prabu Subramani,
James E.J. Bottomley, Martin K. Petersen, it+linux-scsi,
MPT-FusionLinux.pdl, linux-scsi, linux-kernel
Paul,
> 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.
Applied to 6.3/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info
2023-01-03 15:04 [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info Paul Menzel
2023-01-18 23:39 ` Martin K. Petersen
@ 2023-01-27 3:23 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-01-27 3:23 UTC (permalink / raw)
To: Sathya Prakash, Sreekanth Reddy, Suganath Prabu Subramani,
James E.J. Bottomley, Paul Menzel
Cc: Martin K . Petersen, it+linux-scsi, MPT-FusionLinux.pdl,
linux-scsi, linux-kernel
On Tue, 03 Jan 2023 16:04:37 +0100, Paul Menzel wrote:
> 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
>
> [...]
Applied to 6.3/scsi-queue, thanks!
[1/1] scsi: mpt3sas: Demote log level for trace buffer allocation to info
https://git.kernel.org/mkp/scsi/c/1eeedfad9a14
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-27 3:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 15:04 [PATCH] scsi: mpt3sas: Demote log level for trace buffer allocation to info Paul Menzel
2023-01-18 23:39 ` Martin K. Petersen
2023-01-27 3:23 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.