summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/pegasus/Proc_regs_PCIE.rule
blob: d446273bd016037ee7c069786492d37d84406c59 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/pegasus/Proc_regs_PCIE.rule $
#
# OpenPOWER HostBoot Project
#
# COPYRIGHT International Business Machines Corp. 2012,2014
#
# 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

    ############################################################################
    # PCIE Chiplet Registers
    ############################################################################

    register PCIE_CHIPLET_CS_FIR
    {
        name        "ES.PE_WRAP_TOP.TPC.XFIR";
        scomaddr    0x09040000;
        capture     group default;
    };

    register PCIE_CHIPLET_RE_FIR
    {
        name        "ES.PE_WRAP_TOP.TPC.RFIR";
        scomaddr    0x09040001;
        capture     group default;
    };

    register PCIE_CHIPLET_FIR_MASK
    {
        name        "ES.PE_WRAP_TOP.TPC.FIR_MASK";
        scomaddr    0x09040002;
        capture     group default;
    };

    register PCIE_CHIPLET_SPA
    {
        name        "ES.PE_WRAP_TOP.TPC.EPS.FIR.SPATTN";
        scomaddr    0x09040004;
        capture     group default;
    };

    register PCIE_CHIPLET_SPA_MASK
    {
        name        "ES.PE_WRAP_TOP.TPC.EPS.FIR.SPA_MASK";
        scomaddr    0x09040007;
        capture     group default;
    };

    ############################################################################
    # PCIE Chiplet LFIR
    ############################################################################

    register PCIE_LFIR
    {
        name        "ES.PE_WRAP_TOP.TPC.LOCAL_FIR";
        scomaddr    0x0904000a;
        reset       (&, 0x0904000b);
        mask        (|, 0x0904000f);
        capture     group default;
    };

    register PCIE_LFIR_MASK
    {
        name        "ES.PE_WRAP_TOP.TPC.EPS.FIR.LOCAL_FIR_MASK";
        scomaddr    0x0904000d;
        capture     group default;
    };

    register PCIE_LFIR_ACT0
    {
        name        "ES.PE_WRAP_TOP.TPC.EPS.FIR.LOCAL_FIR_ACTION0";
        scomaddr    0x09040010;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("PCIE_LFIR");
    };

    register PCIE_LFIR_ACT1
    {
        name        "ES.PE_WRAP_TOP.TPC.EPS.FIR.LOCAL_FIR_ACTION1";
        scomaddr    0x09040011;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("PCIE_LFIR");
    };

    ############################################################################
    # PCIE Chiplet PCICLOCKFIRs
    # These FIRs are completely masked but they will be captured for FFDC.
    ############################################################################

    register PCICLOCKFIR_0
    {
        name        "ES.PE_WRAP_TOP.PE0.PH3_TOP.ETU.RSB.PR_REGS.LEM.FIR_REG";
        scomaddr    0x09012000;
        capture     group default;
        capture     req funccall("phbConfigured_0");
    };

    register PCICLOCKFIR_1
    {
        name        "ES.PE_WRAP_TOP.PE1.PH3_TOP.ETU.RSB.PR_REGS.LEM.FIR_REG";
        scomaddr    0x09012400;
        capture     group default;
        capture     req funccall("phbConfigured_1");
    };

    register PCICLOCKFIR_2
    {
        name        "ES.PE_WRAP_TOP.PE2.PH3_TOP.ETU.RSB.PR_REGS.LEM.FIR_REG";
        scomaddr    0x09012800;
        capture     group default;
        capture     req funccall("phbConfigured_2");
    };

    register PCI_ETU_RESET_0
    {
        name        "ES.PE_WRAP_TOP.PE0.PEPBCQ.PBAIB.PEAIBREGS.PE_ETU_RESET_REG";
        scomaddr    0x0901200A;
        capture     group never;
    };

    register PCI_ETU_RESET_1
    {
        name        "ES.PE_WRAP_TOP.PE1.PEPBCQ.PBAIB.PEAIBREGS.PE_ETU_RESET_REG";
        scomaddr    0x0901240A;
        capture     group never;
    };

    register PCI_ETU_RESET_2
    {
        name        "ES.PE_WRAP_TOP.PE2.PEPBCQ.PBAIB.PEAIBREGS.PE_ETU_RESET_REG";
        scomaddr    0x0901280A;
        capture     group never;
    };


    ############################################################################
    # PCIE Chiplet PBFFIR
    ############################################################################

    register PBFFIR
    {
        name        "ES.PBES_WRAP_TOP.PBES_TOP.MISC_IOF.SCOM.PB_IOF_FIR_REG";
        scomaddr    0x09010800;
        capture     group default;
    };

    register PBFIR_IOF0_ERROR_REPORT
    {
        name        "ES.PBES_WRAP_TOP.PBES_TOP.IOF0.IOF.PCI_WRAP.PCI_BB.PB_IOF_ERR_STATUS";
        scomaddr    0x0901083A;
        capture     group default;
        capture     group CerrRegs;
    };

    register PBFIR_IOF1_ERROR_REPORT
    {
        name        "ES.PBES_WRAP_TOP.PBES_TOP.IOF1.IOF.PCI_WRAP.PCI_BB.PB_IOF_ERR_STATUS";
        scomaddr    0x0901083B;
        capture     group default;
        capture     group CerrRegs;
    };

    ############################################################################
    # PCIE Chiplet IOPCIFIR_0
    ############################################################################

    register IOPCIFIR_0
    {
        name        "IOP.IOP_X880.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_STATUS_REG";
        scomaddr    0x09011400;
        reset       (&, 0x09011401);
        mask        (|, 0x09011405);
        capture     group default;
    };

    register IOPCIFIR_0_MASK
    {
        name        "IOP.IOP_X880.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_MASK_REG";
        scomaddr    0x09011403;
        capture     group default;
    };

    register IOPCIFIR_0_ACT0
    {
        name        "IOP.IOP_X880.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_ACTION0_REG";
        scomaddr    0x09011406;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("IOPCIFIR_0");
    };

    register IOPCIFIR_0_ACT1
    {
        name        "IOP.IOP_X880.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_ACTION1_REG";
        scomaddr    0x09011407;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("IOPCIFIR_0");
    };

    ############################################################################
    # PCIE Chiplet IOPCIFIR_1
    ############################################################################

    register IOPCIFIR_1
    {
        name        "IOP.IOP_X881.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_STATUS_REG";
        scomaddr    0x09011840;
        reset       (&, 0x09011841);
        mask        (|, 0x09011845);
        capture     group default;
    };

    register IOPCIFIR_1_MASK
    {
        name        "IOP.IOP_X881.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_MASK_REG";
        scomaddr    0x09011843;
        capture     group default;
    };

    register IOPCIFIR_1_ACT0
    {
        name        "IOP.IOP_X881.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_ACTION0_REG";
        scomaddr    0x09011846;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("IOPCIFIR_1");
    };

    register IOPCIFIR_1_ACT1
    {
        name        "IOP.IOP_X881.IOP_PMA0.IOP_PMA_PLL0.IOP_PMA_PLL_RLM.IOP_PMA_PLL_REG_CONTROL.FIR_ACTION1_REG";
        scomaddr    0x09011847;
        capture     type secondary;
        capture     group default;
        capture     req nonzero("IOPCIFIR_1");
    };

    ############################################################################
    # PCIE Chiplet PLL Registers
    ############################################################################

    register PCI_ERROR_REG
    {
        name        "EH.TPCHIP.NET.PCBSLPCI.ERROR_REG";
        scomaddr    0x090F001F;
        capture     group PllFIRs;
    };

    register PCI_CONFIG_REG
    {
        name        "EH.TPCHIP.NET.PCBSLPCI.SLAVE_CONFIG_REG";
        scomaddr    0x090F001E;
        capture     group PllFIRs;
    };

OpenPOWER on IntegriCloud