• Chaitra P B's avatar
    mpt3sas: Handle active cable exception event · a470a51c
    Chaitra P B authored
    In-order to handle this 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event,
    driver need to follow below steps,
    1. Unmask the 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event,
    so that FW can notify this event to host driver.
    2. After receiving this event, add this event to AEN event queue,
    for notifying this event to applications.
    3. Then Print below message in kernel logs if the event data's reason
    code is zero,
    "Currently an active cable with ReceptacleID <ID_Value> cannot be powered
    and devices connected to this active cable will not be seen. This active
    cable requires <PowerValue_in_mW> of power"
    
    This event is only for Intruder/Cutlass HBAs.
    Signed-off-by: default avatarChaitra P B <chaitra.basappa@broadcom.com>
    Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    a470a51c
mpt3sas_scsih.c 262 KB