aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2019-04-02 10:43:20 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-05-20 14:21:47 +1000
commit8a566ff62037b574beb529e3b801916062e9234d (patch)
tree2f0de66919ea351b7132c742073a5269aba63976 /include
parent9825301b3fe615462b718fb427c3382b04114cd7 (diff)
downloadskiboot-8a566ff62037b574beb529e3b801916062e9234d.zip
skiboot-8a566ff62037b574beb529e3b801916062e9234d.tar.gz
skiboot-8a566ff62037b574beb529e3b801916062e9234d.tar.bz2
core/trace: Add pir number to debug_descriptor
The names given to the trace buffers when exported to sysfs should show what cpu they are associated with to make it easier to understand there output. The debug_descriptor currently stores the address and length of each trace buffer and this is used for adding properties to the device tree. Extend debug_descriptor to include a cpu associated with each trace. This will be used for creating properties in the device-tree under /ibm,opal/firmware/exports/. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/debug_descriptor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/debug_descriptor.h b/include/debug_descriptor.h
index 619f493..0a4d17c 100644
--- a/include/debug_descriptor.h
+++ b/include/debug_descriptor.h
@@ -44,6 +44,7 @@ struct debug_descriptor {
u64 trace_phys[DEBUG_DESC_MAX_TRACES];
u32 trace_size[DEBUG_DESC_MAX_TRACES];
u32 trace_tce[DEBUG_DESC_MAX_TRACES];
+ u16 trace_pir[DEBUG_DESC_MAX_TRACES];
};
extern struct debug_descriptor debug_descriptor;