Merge patch series "scsi: pm80xx: Enhanced debug logs for HW events"
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:55:25 +0000 (07:55 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:55:25 +0000 (07:55 -0400)
commit79c67c54f64ccae5b0a302f6ec67a6b7b8a55b24
treeeaf8deb18a613f058aa789cb10bb393e0368d5bb
parent44fcce673561ebd02014125c5cb37649d7b053d0
parent14a8f116cdc0cbfdb939f145b02173af82083b91
Merge patch series "scsi: pm80xx: Enhanced debug logs for HW events"

Pranav Prasad <pranavpp@google.com> says:

This patch series enhances debug logs for pm80xx HW events, and provides a
minor fix in the case of a hard reset. The log enhancement involves changing
the log severity level to enable logging for HW events which consequently
help debug disk discovery issues.

 1. Changed log severity level from MSG to EVENT for HW events.  Enhanced
    the HW event logs by adding the phyid.

 2. Enabled INIT logging.

 3. Log portid along with the PHY_UP event.

 4. Print phyid and portid sent as part of device registration request.

 5. Log port state during HW events.

 6. Update phy_state and phy_attached to correct values after a hard reset.

Link: https://lore.kernel.org/r/20230418190101.696345-1-pranavpp@google.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>