summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2017-07-18 14:09:50 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-07-28 12:02:47 -0400
commit856bfc17f3129eb8b011b4299f92d7c5851bda24 (patch)
tree7aec881208d3b88834d7f9b5a4a028d741c736bd /src/common
parent458a99921f4ed89d145d267ba837eb3228909d06 (diff)
downloadtalos-occ-856bfc17f3129eb8b011b4299f92d7c5851bda24.tar.gz
talos-occ-856bfc17f3129eb8b011b4299f92d7c5851bda24.zip
Add pointers to GPE trace buffers
Change-Id: Ia313e9d7bddde3b61b8f7fc2319e4583843b9549 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43284 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/global_app_cfg.h3
-rwxr-xr-xsrc/common/gpe_export.h12
2 files changed, 13 insertions, 2 deletions
diff --git a/src/common/global_app_cfg.h b/src/common/global_app_cfg.h
index 81cf4db..0962d19 100644
--- a/src/common/global_app_cfg.h
+++ b/src/common/global_app_cfg.h
@@ -34,6 +34,9 @@
// Turn off periodic GPE traces
#define PK_TRACE_TIMER_OUTPUT 0
+// Increase size of GPE trace buffers
+#define PK_TRACE_SZ 1024
+
// Redefine the default MSR to mask off SIB errors and avoid data machine checks
// These SIB errors probably occur due to contention on the PIB
#define PK_THREAD_MACHINE_CONTEXT_DEFAULT (MSR_SEM | MSR_UIE | MSR_EE | MSR_ME)
diff --git a/src/common/gpe_export.h b/src/common/gpe_export.h
index 9b6adfd..2cc9191 100755
--- a/src/common/gpe_export.h
+++ b/src/common/gpe_export.h
@@ -60,9 +60,17 @@ typedef struct gpe_shared_data
{
uint32_t nest_freq_div; // Nest freq / 4
uint32_t spipss_spec_p9; // Which APSS spec to use
- uint32_t fir_heap_buffer_ptr;
+ uint32_t fir_heap_buffer_ptr;
uint32_t fir_params_buffer_ptr;
- uint32_t reserved[60];
+ uint32_t gpe0_tb_ptr;
+ uint32_t gpe0_tb_sz;
+ uint32_t gpe1_tb_ptr;
+ uint32_t gpe1_tb_sz;
+ uint32_t pgpe_tb_ptr;
+ uint32_t pgpe_tb_sz;
+ uint32_t sgpe_tb_ptr;
+ uint32_t sgpe_tb_sz;
+ uint32_t reserved[52];
} gpe_shared_data_t;
OpenPOWER on IntegriCloud