alistair23-linux/drivers/scsi/megaraid
Tomas Henzl 26bfd300f7 scsi: megaraid_sas: silence a warning
[ Upstream commit 0e99b2c625 ]

Add a flag to DMA memory allocation to silence a warning.

This driver allocates DMA memory for IO frames. This allocation may exceed
MAX_ORDER pages for few megaraid_sas controllers (controllers with very
high queue depth). Consequently, the driver has logic to keep reducing the
controller queue depth until the DMA memory allocation succeeds.

On impacted megaraid_sas controllers there would be multiple DMA allocation
failures until driver settled on an allocation that fit. These failed DMA
allocation requests caused stack traces in system logs. These were not
harmful and this patch silences those warnings/stack traces.

[mkp: clarified commit desc]

Link: https://lore.kernel.org/r/20200204152413.7107-1-thenzl@redhat.com
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-12 13:00:12 +01:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas.h
megaraid_sas_base.c scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state 2020-02-11 04:35:23 -08:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c
megaraid_sas_fusion.c scsi: megaraid_sas: silence a warning 2020-03-12 13:00:12 +01:00
megaraid_sas_fusion.h scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state 2020-02-11 04:35:23 -08:00