Public bug reported:

== Comment: #0 - Vaibhav Jain - 2018-04-09 05:20:18 ==
---Problem Description---
Presently the Trace Data on the PSL is lost when it encounters a PERST signal. 
This is usually a major inconvenience during EEH debugging as PSL traces are 
needed to investigate the EEH cause. To fix this we enable the NORST bit by 
default for debug afu images to prevent reset of AFU trace-data on a PCI link 
drop. For production AFU images this bit is always ignored and PSL gets 
reconfigured anyways thereby resetting the trace data. So setting this bit for 
non-debug images doesn't have any impact.

Fix for this issue was merged to mainline kernel via commit:

03ebb419b896 cxl: Enable NORST bit in PSL_DEBUG register for PSL9
 
---Additional Hardware Info---
Flash GT+ adapter with 180323P1 Image 

 
Machine Type = Boston-LC 
 
---Steps to Reproduce---
 1. Enable traces on the card with psl_trace_dump tool.
2. Inject an EEH.
3. Try to dump the traces from PSL via psl_trace_dump.
 
---uname output---
4.15.0-12-generic
 
---Debugger---
A debugger is not configured
 
System Dump Info:
  The system is not configured to capture a system dump.
 
Stack trace output:
 no
 
Oops output:
 no

** Affects: ubuntu-power-systems
     Importance: High
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: Triaged

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-166542 severity-high 
targetmilestone-inin1804 triage-g

** Tags added: architecture-ppc64le bugnameltc-166542 severity-high
targetmilestone-inin1804

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1762462

Title:
  PSL traces reset after PERST for debug AFU image

Status in The Ubuntu-power-systems project:
  Triaged
Status in linux package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Vaibhav Jain - 2018-04-09 05:20:18 ==
  ---Problem Description---
  Presently the Trace Data on the PSL is lost when it encounters a PERST 
signal. This is usually a major inconvenience during EEH debugging as PSL 
traces are needed to investigate the EEH cause. To fix this we enable the NORST 
bit by default for debug afu images to prevent reset of AFU trace-data on a PCI 
link drop. For production AFU images this bit is always ignored and PSL gets 
reconfigured anyways thereby resetting the trace data. So setting this bit for 
non-debug images doesn't have any impact.

  Fix for this issue was merged to mainline kernel via commit:

  03ebb419b896 cxl: Enable NORST bit in PSL_DEBUG register for PSL9
   
  ---Additional Hardware Info---
  Flash GT+ adapter with 180323P1 Image 

   
  Machine Type = Boston-LC 
   
  ---Steps to Reproduce---
   1. Enable traces on the card with psl_trace_dump tool.
  2. Inject an EEH.
  3. Try to dump the traces from PSL via psl_trace_dump.
   
  ---uname output---
  4.15.0-12-generic
   
  ---Debugger---
  A debugger is not configured
   
  System Dump Info:
    The system is not configured to capture a system dump.
   
  Stack trace output:
   no
   
  Oops output:
   no

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1762462/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to