]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: Call cpu_relax() before calling udelay()
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Wed, 1 Sep 2021 15:25:42 +0000 (20:55 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Sep 2021 02:15:44 +0000 (22:15 -0400)
commite561bf939abaef028a57d29b3fc951d8b224288d
tree22bc70d877de042a6a09466bae067ad3a366cc28
parent156f0d896f0e3ac66623468ae7725f581374ddd7
scsi: mpt3sas: Call cpu_relax() before calling udelay()

Call cpu_relax() while waiting for the current blk-mq polling instance to
complete.

Link: https://lore.kernel.org/r/20210901152542.27866-1-sreekanth.reddy@broadcom.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c