Re: [PATCH v3 1/3] scsi: hisi_sas: Enable force phy when SATA disk directly connected

John Garry
2025-02-25T08:19:52Z

On 25/02/2025 01:48, yangxingui wrote:
>>
>>
>> pm8001 sends sas_notify_port_event(sas_phy, PORTE_LINK_RESET_ERR,)
>> link reset errors - can you consider doing that in
>> hisi_sas_update_port_id() when you find an inconstant port id?
> Currently during phyup, the hw port id may change, and the corresponding
> hisi_sas_port.id and the port id in itct are not updated synchronously.
> The problem caused is not a link error, so we don't need deform port,
> just update the port id when phyup.

Sure, but I am just trying to keep this simple. If you deform and reform
the port - and so lose and find the disk (which does the itct config) -
will that solve the problem?