summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h
diff options
context:
space:
mode:
authorRahul Batra <rbatra@us.ibm.com>2016-11-18 17:10:30 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 17:01:28 -0500
commit3ca9f1f8636f794d287e2cfef135f0a1bf31e55d (patch)
treee6aa15d99a6ed3194bea5220c0f8b9bccf57e5a2 /import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h
parent7c134a664ecd90f6c5bb7353df5cf853ed27c925 (diff)
downloadtalos-hcode-3ca9f1f8636f794d287e2cfef135f0a1bf31e55d.tar.gz
talos-hcode-3ca9f1f8636f794d287e2cfef135f0a1bf31e55d.zip
WOF Enablement in PGPE
-Full functionality for OCC Start/Stop, Set PMCR, Clip Updt -New code structure for PGPE(actuate/process thread, etc) -Update CME code as per the new Doorbell0 -Added place holders for SGPE-PGPE IPCs -Place holders for Error Interrupts like OCB_Error, XSTOP -Added code to correctly account for VRM transition delays Change-Id: I301b14304677e2ed0130f1c3479d523dcb931293 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h')
-rw-r--r--import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h
new file mode 100644
index 00000000..f336a526
--- /dev/null
+++ b/import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h
@@ -0,0 +1,51 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/p9_pgpe_ipc_handlers.h $ */
+/* */
+/* OpenPOWER HCODE Project */
+/* */
+/* COPYRIGHT 2016,2017 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef _P9_PGPE_IPC_H_
+#define _P9_PGPE_IPC_H_
+
+#include "pk.h"
+
+//
+//PGPE IPC Initialization
+//
+void p9_pgpe_ipc_init();
+
+//
+//405 IPCs
+//
+void p9_pgpe_ipc_405_start_stop(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_405_clips(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_405_set_pmcr(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_405_wof_control(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_405_wof_vfrt(ipc_msg_t* cmd, void* arg);
+
+//
+//SGPE IPCs
+//
+void p9_pgpe_ipc_sgpe_updt_active_cores(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_sgpe_updt_active_quads(ipc_msg_t* cmd, void* arg);
+void p9_pgpe_ipc_sgpe_suspend_pstates(ipc_msg_t* cmd, void* arg);
+
+#endif //_P9_PGPE_IPC_H_
OpenPOWER on IntegriCloud