summaryrefslogtreecommitdiffstats
path: root/src/kernel/misc.C
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2018-02-01 09:53:30 -0600
committerDean Sanner <dsanner@us.ibm.com>2018-02-13 06:38:43 -0500
commit305fcd051d535220f5372051cace8968d25f8491 (patch)
treee89ac2d7331a2c495735e9f45ba1af8a5767ea0a /src/kernel/misc.C
parentb3073568dbd8ec534ad77e0ed89c03e2cedfb160 (diff)
downloadblackbird-hostboot-305fcd051d535220f5372051cace8968d25f8491.tar.gz
blackbird-hostboot-305fcd051d535220f5372051cace8968d25f8491.zip
Updates to make multinode IPC work
-Fixed node/group id calculations -Reduced dbell printk to prevent printk overflow -Fixed architectual hole in how internode IPC works Workitems won't work, instead just always check for IPC on any doorbells to master thread -Changed PIR tracing to print out in hex Change-Id: I25eb7f87fd812a90f98a7724b1ac1100f764fe7b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53187 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
Diffstat (limited to 'src/kernel/misc.C')
-rw-r--r--src/kernel/misc.C6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/misc.C b/src/kernel/misc.C
index d1ff0c45a..3ab2a7a57 100644
--- a/src/kernel/misc.C
+++ b/src/kernel/misc.C
@@ -154,8 +154,9 @@ namespace KernelMisc
// Find the start_payload_data_area on the master node
uint64_t hrmor_base = KernelIpc::ipc_data_area.hrmor_base;
+
uint64_t this_hb_instance =
- l_lowestPIR/KERNEL_MAX_SUPPORTED_CPUS_PER_NODE;
+ l_lowestPIR/KERNEL_MAX_SUPPORTED_CPUS_PER_NODE;
uint64_t hrmor_offset =
getHRMOR() - (this_hb_instance * hrmor_base);
@@ -177,6 +178,9 @@ namespace KernelMisc
if (c->master)
{
local_master_pir = getPIR();
+
+ printkd("Local master pir %lx, start_data_area %lx\n",
+ local_master_pir, start_payload_data_area_address);
// Reset the memory state register so that the dump tools
// don't attempt to dump all of memory once payload runs.
KernelMemState::setMemScratchReg(
OpenPOWER on IntegriCloud