Re: [PATCH v1 1/2] {topost} scsi: libsas: delete postreset at sas_sata_ops

2020-07-22 Thread Jason Yan
在 2020/7/22 17:04, Luo Jiaxing 写道: We fill postreset with ata_std_postreset() at sas_sata_ops before, but we found out that ata_std_postreset() call sata_scr_read()/sata_scr_write() which need to access SCR register. Actually we don't own these kind of register, so

[PATCH v1 1/2] {topost} scsi: libsas: delete postreset at sas_sata_ops

2020-07-22 Thread Luo Jiaxing
We fill postreset with ata_std_postreset() at sas_sata_ops before, but we found out that ata_std_postreset() call sata_scr_read()/sata_scr_write() which need to access SCR register. Actually we don't own these kind of register, so sata_scr_read()/sata_scr_write always return -EOPNOTSUPP. We drop