Skip to content

scsi: pm80xx: Enhanced debug logs for HW events

Pranav Prasad linux-scsi lkml 1 version Applied

Status from this message: Applied to 6.5/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6scsi: pm80xx: Log some HW events by defaultdrivers/scsi/pm8001/pm8001_init.c drivers/scsi/pm8001/pm8001_sas.h drivers/scsi/pm8001/pm80xx_hwi.c+50 -261 reply
2/6scsi: pm80xx: Enable init loggingdrivers/scsi/pm8001/pm8001_init.c drivers/scsi/pm8001/pm80xx_hwi.c+2 -21 reply
3/6scsi: pm80xx: Print port_id in HW eventsdrivers/scsi/pm8001/pm80xx_hwi.c+33 -251 reply
4/6scsi: pm80xx: Log phy_id and port_id in the device registration requestdrivers/scsi/pm8001/pm80xx_hwi.c+3 -01 reply
5/6scsi: pm80xx: Log port state during HW eventdrivers/scsi/pm8001/pm80xx_hwi.c+22 -211 reply
6/6scsi: pm80xx: Update PHY state after hard resetdrivers/scsi/pm8001/pm80xx_hwi.c+9 -51 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJack Wang
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] scsi: pm80xx: Enhanced debug logs for HW events

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.

Akshat Jain (5):
scsi: pm80xx: Enable init logging
scsi: pm80xx: Print port_id in hardware events
scsi: pm80xx: Log phyid and portid device register request
scsi: pm80xx: Log port state during HW event
scsi: pm80xx: Log some HW events by default

Changyuan Lyu (1):
scsi: pm80xx: Update PHY state after hard reset

 drivers/scsi/pm8001/pm8001_init.c |   3 +-
 drivers/scsi/pm8001/pm8001_sas.h  |   1 +
 drivers/scsi/pm8001/pm80xx_hwi.c  | 126 +++++++++++++++++++-----------
 3 files changed, 85 insertions(+), 45 deletions(-)
Signature · 1 line
2.40.0.634.g4ca3ef3211-goog