Re: [PATCH 4.19] scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state

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

 



On Thu, Feb 13, 2020 at 04:12:58PM +0530, Anand Lodnoor wrote:
> commit 6d7537270e3283b92f9b327da9d58a4de40fe8d0 upstream.
> 
> Driver initiates OCR if a DCMD command times out. But there is a
> deadlock if the driver attempts to invoke another OCR before the
> mutex lock (reset_mutex) is released from the previous session of OCR.
> 
> This patch takes care of the above scenario using new flag
> MEGASAS_FUSION_OCR_NOT_POSSIBLE to indicate if OCR is possible.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Link: https://lore.kernel.org/r/1579000882-20246-9-git-send-email-anand.lodnoor@xxxxxxxxxxxx
> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@xxxxxxxxxxxx>
> Signed-off-by: Anand Lodnoor <anand.lodnoor@xxxxxxxxxxxx>
> Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

All 3 of these now applied, thanks!

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux