-
由 Luo Jiaxing 提交于
mainline inclusion from mainline-v5.9-rc1 commit 3a243c2c35002f51ff1e62a4337cffe39b17f3d6 category: bugfix bugzilla: NA CVE: NA -------------------------------- sas_sata_ops uses ata_std_postreset as .postreset callback. However, ata_std_postreset() calls sata_scr_read()/sata_scr_write() which need to access the ATA SCR register. This register not available in the libsas case and the functions always return -EOPNOTSUPP. Drop the .postreset callback. Link: https://lore.kernel.org/r/1595408643-63011-2-git-send-email-luojiaxing@huawei.comReviewed-by: NJohn Garry <john.garry@huawei.com> Reviewed-by: NJason Yan <yanaijie@huawei.com> Signed-off-by: NLuo Jiaxing <luojiaxing@huawei.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
2d4de18d