mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-25 07:06:40 +08:00
scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
If EEDPTagMode field in manufacturing page11 is set then unset it. This is needed to fix a hardware bug only in SAS3/SAS2 cards. So, skipping EEDPTagMode changes in Manufacturing page11 for SAS 3.5 controllers. Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
9029a72500
commit
6cd1bc7b9b
@ -4060,7 +4060,7 @@ _base_static_config_pages(struct MPT3SAS_ADAPTER *ioc)
|
||||
* flag unset in NVDATA.
|
||||
*/
|
||||
mpt3sas_config_get_manufacturing_pg11(ioc, &mpi_reply, &ioc->manu_pg11);
|
||||
if (ioc->manu_pg11.EEDPTagMode == 0) {
|
||||
if (!ioc->is_gen35_ioc && ioc->manu_pg11.EEDPTagMode == 0) {
|
||||
pr_err("%s: overriding NVDATA EEDPTagMode setting\n",
|
||||
ioc->name);
|
||||
ioc->manu_pg11.EEDPTagMode &= ~0x3;
|
||||
|
Loading…
Reference in New Issue
Block a user