Re: [PATCH 01/15] megaraid_sas: Do not allow PCI access during OCR

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

 



On 18.12.2015 14:26, Sumit Saxena wrote:
> This patch will do synhronization between OCR function and AEN function using "reset_mutex" lock.
> reset_mutex will be acquire only in first half of the AEN function which issue DCMD. Second half
> of the function calls SCSI API (scsi_add_device/scsi_remove_device) should be out of reset_mutex
> to avoid deadlock between scsi_eh thread and Driver.
>
> During chip reset(inside OCR function), there should not be any PCI access and AEN function
> (which is called in delayed context) may be firirng DCMDs(doing PCI writes) when chip reset is
> happening in parallel which will cause FW fault. This patch will solve the problem by making
> AEN thread and OCR thread mutually exclusive.
>
> Signed-off-by: Sumit Saxena <sumit.saxena@xxxxxxxxxxxxx>
> Signed-off-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxxx>

You have removed the no more aen_mutex from megasas_instance
later in 5/15 , that's ok for me.

Reviewed-by: Tomas Henzl <thenzl@xxxxxxxxxx>

Tomas

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux