summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H
blob: 5baf35105240a758efc9e713e7baba14f466a1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: import/chips/p9/common/include/p9_perv_scom_addresses_fld_fixes.H $ */
/*                                                                        */
/* OpenPOWER sbe Project                                                  */
/*                                                                        */
/* Contributors Listed Below - COPYRIGHT 2015,2016                        */
/* [+] 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 perv_scom_addresses_fld_fixes.H
/// @brief The *scom_addresses_fld.H files are generated form figtree,
///        but the figree can be wrong.  This file is included in
///        *_scom_addresses_fld.H and allows incorrect constants to be
///        fixed manually.
///
// *HWP HWP Owner: Ben Gass <bgass@us.ibm.com>
// *HWP FW Owner: ? <?>
// *HWP Team: SAO
// *HWP Level: 1
// *HWP Consumed by: FSP:HB:HS:OCC:SBE:CME:SGPE:PGPE:FPPE:IPPE

#include <p9_const_common.H>

#ifndef __P9_PERV_SCOM_ADDRESSES_FLD_FIXES_H
#define __P9_PERV_SCOM_ADDRESSES_FLD_FIXES_H

#include <p9_perv_scom_addresses_fixes.H>

//Example
//Copy the whole line from the *scom_addresses_fld.H file.  Then add FIX in front of REG
//and add another paramter that is the new value you want.
//
//FIXREG64_FLD( PU_ALTD_CMD_REG_FBC_WITH_TM_QUIESCE, 24, SH_UNT, SH_ACS_SCOM, SH_FLD_FBC_WITH_TM_QUIESCE,
//              12);

//static const uint64_t SH_UNT_PERV_CBS_ENVSTAT = 514;
static const uint64_t SH_FLD_C4_TEST_ENABLE = 32000;
static const uint64_t SH_FLD_C4_CARD_TEST_BSC = 32001;
static const uint64_t SH_FLD_C4_VDN_GPOOD = 32002;
static const uint64_t SH_FLD_C4_FSI_IN_ENA = 32003;
static const uint64_t SH_FLD_C4_CHIP_MASTER = 32004;
static const uint64_t SH_FLD_C4_SMD = 32005;
static const uint64_t SH_FLD_CLOCK_REGION_ALL_UNITS = 32006;
static const uint64_t SH_FLD_CLOCK_REGION_ALL_UNITS_LEN = 32007;
static const uint64_t SH_FLD_SEL_THOLD_ALL = 32008;
static const uint64_t SH_FLD_SEL_THOLD_ALL_LEN = 32009;
static const uint64_t SH_FLD_ALL_UNITS = 32010;
static const uint64_t SH_FLD_ALL_UNITS_LEN = 32011;
static const uint64_t SH_FLD_TC_ALL_REGIONS_FENCE = 32012;
static const uint64_t SH_FLD_TC_ALL_REGIONS_FENCE_LEN = 32013;
static const uint64_t SH_FLD_SCAN_REGION_ALL_UNITS = 32014;
static const uint64_t SH_FLD_SCAN_REGION_ALL_UNITS_LEN = 32015;
static const uint64_t SH_FLD_SCAN_ALL_TYPES = 32016;
static const uint64_t SH_FLD_SCAN_ALL_TYPES_LEN = 32017;

REG64_FLD( PERV_CBS_ENVSTAT_C4_TEST_ENABLE                        , 0   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_TEST_ENABLE );
REG64_FLD( PERV_CBS_ENVSTAT_C4_CARD_TEST_BSC                      , 1   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_CARD_TEST_BSC );
REG64_FLD( PERV_CBS_ENVSTAT_C4_VDN_GPOOD                          , 2   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_VDN_GPOOD );
REG64_FLD( PERV_CBS_ENVSTAT_C4_FSI_IN_ENA                         , 3   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_FSI_IN_ENA );
REG64_FLD( PERV_CBS_ENVSTAT_C4_CHIP_MASTER                        , 4   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_CHIP_MASTER );
REG64_FLD( PERV_CBS_ENVSTAT_C4_SMD                                , 5   , SH_UNT_PERV_CBS_ENVSTAT     ,
           SH_ACS_SCOM     ,
           SH_FLD_C4_SMD );

REG64_FLD( PERV_1_CLK_REGION_CLOCK_REGION_ALL_UNITS           , 4   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_CLOCK_REGION_ALL_UNITS );
REG64_FLD( PERV_1_CLK_REGION_CLOCK_REGION_ALL_UNITS_LEN       , 11  , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_CLOCK_REGION_ALL_UNITS_LEN );
REG64_FLD( PERV_1_CLK_REGION_SEL_THOLD_ALL                    , 48  , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SEL_THOLD_ALL );
REG64_FLD( PERV_1_CLK_REGION_SEL_THOLD_ALL_LEN                , 3   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SEL_THOLD_ALL_LEN );
REG64_FLD( PERV_1_CLK_REGION_CLOCK_REGION_PERV                , 4   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_CLOCK_PERV );

REG64_FLD( PERV_1_BIST_TC_BIST_START_TEST_DC                      , 0   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_TC_START_TEST_DC );
REG64_FLD( PERV_1_BIST_BIST_ALL_UNITS                             , 4   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_ALL_UNITS );
REG64_FLD( PERV_1_BIST_BIST_ALL_UNITS_LEN                         , 11   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_ALL_UNITS_LEN );

REG64_FLD( PERV_1_OPCG_GO                                         , 1   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_GO );
REG64_FLD( PERV_1_OPCG_STARTS_BIST                                , 14  , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_STARTS_BIST );

REG64_FLD( PERV_1_CPLT_CTRL1_TC_ALL_REGIONS_FENCE                 , 4   , SH_UNT_PERV_1   , SH_ACS_SCOM2_CLEAR,
           SH_FLD_TC_ALL_REGIONS_FENCE );
REG64_FLD( PERV_1_CPLT_CTRL1_TC_ALL_REGIONS_FENCE_LEN             , 11   , SH_UNT_PERV_1   , SH_ACS_SCOM2_CLEAR,
           SH_FLD_TC_ALL_REGIONS_FENCE_LEN );

REG64_FLD( PERV_1_SCAN_REGION_TYPE_SCAN_REGION_ALL_UNITS          , 4   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SCAN_REGION_ALL_UNITS );
REG64_FLD( PERV_1_SCAN_REGION_TYPE_SCAN_REGION_ALL_UNITS_LEN      , 11   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SCAN_REGION_ALL_UNITS_LEN );
REG64_FLD( PERV_1_SCAN_REGION_TYPE_SCAN_ALL_TYPES                 , 48   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SCAN_ALL_TYPES );
REG64_FLD( PERV_1_SCAN_REGION_TYPE_SCAN_ALL_TYPES_LEN             , 12   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_SCAN_ALL_TYPES_LEN );

REG64_FLD( PERV_1_OPCG_REG0_OPCG_STARTS_BIST                       , 14  , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_STARTS_BIST );
REG64_FLD( PERV_1_OPCG_REG0_OPCG_GO                                , 1   , SH_UNT_PERV_1   , SH_ACS_SCOM     ,
           SH_FLD_GO         );

#endif
OpenPOWER on IntegriCloud