Patch "scsi: mpt3sas: Don't print sense pool info twice" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: mpt3sas: Don't print sense pool info twice

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-mpt3sas-don-t-print-sense-pool-info-twice.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 75e8dbf5ef26c376def1ad347d8ec6e61dec3b5e
Author: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
Date:   Fri Mar 24 12:32:04 2023 -0700

    scsi: mpt3sas: Don't print sense pool info twice
    
    [ Upstream commit d684a7a26f7d2c7122a4581ac966ed64e88fb29c ]
    
    _base_allocate_sense_dma_pool() already prints out the sense pool
    information, so don't print it a second time after calling it in
    _base_allocate_memory_pools(). In addition the version in
    _base_allocate_memory_pools() was using the wrong size value, sz, which was
    last assigned when doing some nvme calculations instead of sense_sz to
    determine the pool size in kilobytes.
    
    Cc: Sathya Prakash <sathya.prakash@xxxxxxxxxxxx>
    Cc: Sreekanth Reddy <sreekanth.reddy@xxxxxxxxxxxx>
    Cc: Suganath Prabu Subramani <suganath-prabu.subramani@xxxxxxxxxxxx>
    Cc: MPT-FusionLinux.pdl@xxxxxxxxxxxx
    Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>
    Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx>
    Fixes: 970ac2bb70e7 ("scsi: mpt3sas: Force sense buffer allocations to be within same 4 GB region")
    Signed-off-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230324193204.567932-1-jsnitsel@xxxxxxxxxx
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 2ee9ea57554d7..14ae0a9c5d3d8 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -6616,11 +6616,6 @@ _base_allocate_memory_pools(struct MPT3SAS_ADAPTER *ioc)
 	else if (rc == -EAGAIN)
 		goto try_32bit_dma;
 	total_sz += sense_sz;
-	ioc_info(ioc,
-	    "sense pool(0x%p)- dma(0x%llx): depth(%d),"
-	    "element_size(%d), pool_size(%d kB)\n",
-	    ioc->sense, (unsigned long long)ioc->sense_dma, ioc->scsiio_depth,
-	    SCSI_SENSE_BUFFERSIZE, sz / 1024);
 	/* reply pool, 4 byte align */
 	sz = ioc->reply_free_queue_depth * ioc->reply_sz;
 	rc = _base_allocate_reply_pool(ioc, sz);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux