• John Garry's avatar
    scsi: libsas: Inject revalidate event for root port event · 085f104a
    John Garry authored
    According to the SAS spec, an expander device shall transmit BROADCAST
    (CHANGE) from at least one phy in each expander port other than the
    expander port that is the cause for transmitting BROADCAST (CHANGE).
    
    As such, for when the link is lost for a root PHY attached to an expander
    PHY, we get no broadcast event.
    
    This causes an issue for libsas, in that we will not revalidate the domain
    for these events.
    
    As a solution, for when a root PHY is formed or deformed from a root port,
    insert a broadcast event to trigger a domain revalidation.
    Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    085f104a
sas_port.c 10.1 KB