scsi: hisi_sas: Modify the commit information for DSM method
Make it clear that BIOS may modify some register settings. Link: https://lore.kernel.org/r/1589552025-165012-3-git-send-email-john.garry@huawei.com Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
e16b9ed61e
commit
1e954d1f00
|
@ -912,11 +912,15 @@ static int hw_init_v3_hw(struct hisi_hba *hisi_hba)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Switch over to MSI handling , from PCI AER default */
|
/*
|
||||||
|
* This DSM handles some hardware-related configurations:
|
||||||
|
* 1. Switch over to MSI error handling in kernel
|
||||||
|
* 2. BIOS *may* reset some register values through this method
|
||||||
|
*/
|
||||||
obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), &guid, 0,
|
obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), &guid, 0,
|
||||||
DSM_FUNC_ERR_HANDLE_MSI, NULL);
|
DSM_FUNC_ERR_HANDLE_MSI, NULL);
|
||||||
if (!obj)
|
if (!obj)
|
||||||
dev_warn(dev, "Switch over to MSI handling failed\n");
|
dev_warn(dev, "can not find DSM method, ignore\n");
|
||||||
else
|
else
|
||||||
ACPI_FREE(obj);
|
ACPI_FREE(obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue