-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE/CACHE: add Level1 cache/l2/core stopclocks procedures
Change-Id: Ie51e6de5adb7c5b8613e1f9df40984900bda376b Original-Change-Id: Id407ffa51ea9a7fb9a0056a7faaf1e33e4433e50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26276 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36108 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
- Loading branch information
1 parent
079067b
commit caf33f1
Showing
3 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* IBM_PROLOG_BEGIN_TAG */ | ||
/* This is an automatically generated prolog. */ | ||
/* */ | ||
/* $Source: src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C $ */ | ||
/* */ | ||
/* OpenPOWER HostBoot Project */ | ||
/* */ | ||
/* Contributors Listed Below - COPYRIGHT 2015,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 */ | ||
/// | ||
/// @file p9_hcd_l2_stopclocks.C | ||
/// @brief Quad Clock Stop | ||
/// | ||
/// Procedure Summary: | ||
|
||
// *HWP HWP Owner : David Du <daviddu@us.ibm.com> | ||
// *HWP Backup HWP Owner : Greg Still <stillgs@us.ibm.com> | ||
// *HWP FW Owner : Sangeetha T S <sangeet2@in.ibm.com> | ||
// *HWP Team : PM | ||
// *HWP Consumed by : HB:PREV | ||
// *HWP Level : 2 | ||
|
||
//------------------------------------------------------------------------------ | ||
// Includes | ||
//------------------------------------------------------------------------------ | ||
|
||
#include <p9_misc_scom_addresses.H> | ||
#include <p9_quad_scom_addresses.H> | ||
#include <p9_hcd_common.H> | ||
#include "p9_hcd_l2_stopclocks.H" | ||
|
||
//------------------------------------------------------------------------------ | ||
// Constant Definitions | ||
//------------------------------------------------------------------------------ | ||
|
||
//------------------------------------------------------------------------------ | ||
// Procedure: Quad Clock Stop | ||
//------------------------------------------------------------------------------ | ||
|
||
fapi2::ReturnCode | ||
p9_hcd_l2_stopclocks( | ||
const fapi2::Target<fapi2::TARGET_TYPE_EX>& i_target) | ||
{ | ||
FAPI_INF(">>p9_hcd_l2_stopclocks"); | ||
|
||
FAPI_INF("<<p9_hcd_l2_stopclocks"); | ||
return fapi2::FAPI2_RC_SUCCESS; | ||
} | ||
|
59 changes: 59 additions & 0 deletions
59
src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* IBM_PROLOG_BEGIN_TAG */ | ||
/* This is an automatically generated prolog. */ | ||
/* */ | ||
/* $Source: src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.H $ */ | ||
/* */ | ||
/* OpenPOWER HostBoot Project */ | ||
/* */ | ||
/* Contributors Listed Below - COPYRIGHT 2015,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 */ | ||
/// | ||
/// @file p9_hcd_l2_stopclocks.H | ||
/// @brief Quad Clock Stop | ||
/// | ||
|
||
// *HWP HWP Owner : David Du <daviddu@us.ibm.com> | ||
// *HWP Backup HWP Owner : Greg Still <stillgs@us.ibm.com> | ||
// *HWP FW Owner : Sangeetha T S <sangeet2@in.ibm.com> | ||
// *HWP Team : PM | ||
// *HWP Consumed by : HB:PREV | ||
// *HWP Level : 2 | ||
|
||
#ifndef __P9_HCD_CACHE_STOPCLOCKS_H__ | ||
#define __P9_HCD_CACHE_STOPCLOCKS_H__ | ||
|
||
#include <fapi2.H> | ||
|
||
/// @typedef p9_hcd_l2_stopclocks_FP_t | ||
/// function pointer typedef definition for HWP call support | ||
typedef fapi2::ReturnCode (*p9_hcd_l2_stopclocks_FP_t) ( | ||
const fapi2::Target<fapi2::TARGET_TYPE_EX>&); | ||
|
||
extern "C" | ||
{ | ||
|
||
/// @brief Quad Clock Stop | ||
/// @param [in] i_target TARGET_TYPE_EQ target | ||
/// @return FAPI2_RC_SUCCESS if success, else error code | ||
fapi2::ReturnCode | ||
p9_hcd_l2_stopclocks( | ||
const fapi2::Target<fapi2::TARGET_TYPE_EX>& i_target); | ||
|
||
} | ||
|
||
#endif // __P9_HCD_CACHE_STOPCLOCKS_H__ |
28 changes: 28 additions & 0 deletions
28
src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# IBM_PROLOG_BEGIN_TAG | ||
# This is an automatically generated prolog. | ||
# | ||
# $Source: src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.mk $ | ||
# | ||
# OpenPOWER HostBoot Project | ||
# | ||
# Contributors Listed Below - COPYRIGHT 2015,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 | ||
PROCEDURE=p9_hcd_l2_stopclocks | ||
$(call ADD_MODULE_SRCDIR,$(PROCEDURE),$(ROOTPATH)/chips/p9/procedures/hwp/lib) | ||
OBJS+=p9_hcd_l2_stopclocks.o | ||
$(call BUILD_PROCEDURE) |