diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2018-01-09 08:16:44 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-01-25 17:44:20 -0500 |
commit | cb444552aebafa54ceb0417c12d61cd48fbc65e0 (patch) | |
tree | 0668b3062d19ceea3cf3ca626a5a5fcbda1acd1d /src/kernel/doorbell.C | |
parent | de1c2d1d9e39215b8c7012a0dbfde029de6bec2d (diff) | |
download | talos-hostboot-cb444552aebafa54ceb0417c12d61cd48fbc65e0.tar.gz talos-hostboot-cb444552aebafa54ceb0417c12d61cd48fbc65e0.zip |
Multi-Drawer (IPC) Interrupt/Messaging Support
- Use doorbells instead of IPIs (no IPI support
using LSI interupts in the XIVE intr architecture)
- New message type from kernel to userspace so the
kernel can notify the HB userspace Interrupt
Resource Provider (INTRP) that an IPC message was
sent to the particular HB instance (in P8 this
happened automatically as that was part of the
IPI architecture).
- Re-enable testcase that validates that an IPC
message can be successfully sent.
Change-Id: Ic846f8dca45217205ed61d8381a573e995cb16f2
RTC: 150861
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52004
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel/doorbell.C')
-rw-r--r-- | src/kernel/doorbell.C | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/kernel/doorbell.C b/src/kernel/doorbell.C index 4b99e7aee..010b7e078 100644 --- a/src/kernel/doorbell.C +++ b/src/kernel/doorbell.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -79,17 +79,14 @@ void send_doorbell_wakeup(uint64_t i_pir) doorbell_send(i_pir); } -/* -TODO RTC 150861 void send_doorbell_ipc(uint64_t i_pir) { - cpu_t *l_cpu = getCpu(i_pir) + cpu_t *l_cpu = CpuManager::getCpu(i_pir); - printk("send_doorbell_ipc to pir: %lx\n", i_pir); + printkd("send_doorbell_ipc to pir: %lx\n", i_pir); //Create WorkItem and put on the stack to be executed during doorbell - // execution (if needed, otherwise can likely delete and just send doorbell) - KernelWorkItem* l_work = new IpcDoorbellWorkItem(); + // execution + KernelWorkItem* l_work = new IPCDoorbellWorkItem(); l_cpu->doorbell_actions.push(l_work); - doorbell_send(i_pir) + doorbell_send(i_pir); } -**/ |