public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] scsi: pm80xx: Enhanced debug logs for HW events
@ 2023-04-18 19:00 Pranav Prasad
  2023-04-18 19:00 ` [PATCH 1/6] scsi: pm80xx: Log some HW events by default Pranav Prasad
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Pranav Prasad @ 2023-04-18 19:00 UTC (permalink / raw)
  To: Jack Wang, James E . J . Bottomley, Martin K . Petersen
  Cc: linux-scsi, linux-kernel, Pranav Prasad

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(-)

-- 
2.40.0.634.g4ca3ef3211-goog


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-05-17  2:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 19:00 [PATCH 0/6] scsi: pm80xx: Enhanced debug logs for HW events Pranav Prasad
2023-04-18 19:00 ` [PATCH 1/6] scsi: pm80xx: Log some HW events by default Pranav Prasad
2023-04-19  7:17   ` Jinpu Wang
2023-04-18 19:00 ` [PATCH 2/6] scsi: pm80xx: Enable init logging Pranav Prasad
2023-04-19  7:19   ` Jinpu Wang
2023-04-18 19:00 ` [PATCH 3/6] scsi: pm80xx: Print port_id in HW events Pranav Prasad
2023-04-19  7:20   ` Jinpu Wang
2023-04-18 19:00 ` [PATCH 4/6] scsi: pm80xx: Log phy_id and port_id in the device registration request Pranav Prasad
2023-04-19  7:20   ` Jinpu Wang
2023-04-18 19:01 ` [PATCH 5/6] scsi: pm80xx: Log port state during HW event Pranav Prasad
2023-04-19  7:22   ` Jinpu Wang
2023-04-18 19:01 ` [PATCH 6/6] scsi: pm80xx: Update PHY state after hard reset Pranav Prasad
2023-04-19  7:23   ` Jinpu Wang
2023-05-06 21:59 ` [PATCH 0/6] scsi: pm80xx: Enhanced debug logs for HW events Martin K. Petersen
2023-05-17  2:12 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox