1 /*
2 // Copyright (c) 2019 Intel Corporation
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 */
16 #pragma once
17 #include <registries.hpp>
18 
19 /*
20     Please read this before making edits to the structure below.
21 
22     Messages in this registry are intended to be generally useful across
23    OpenBMC systems.  To that end, there are a number of guidelines needed for
24    messages in this file to remain useful across systems.
25 
26     1. Messages should not be specific to a piece or type of hardware. Generally
27    this involves not using terms like "CPU", "Drive", "Backplane", etc in the
28    message strings, unless that behavior is specific to that particular piece of
29    hardware.
30    Incorrect: MemoryOverheated
31    Correct: DeviceOverheated
32    Correct: MemoryECCError (ECC is specific to memory, therefore class specific
33    is acceptable)
34 
35     2. Messages should not use any proprietary, copyright, or company-specific
36    terms.  In general, messages should prefer the industry accepted term.
37 
38     3. Message strings should be human readable, and read like a normal
39    sentence.  This generally involves placing the substitution parameters in the
40    appropriate place in the string.
41 
42    Incorrect: "An error occurred.  Device: %1"
43 
44    Correct: "An error occurred on device %1".
45 
46     4. Message registry versioning semantics shall be obeyed.  Adding new
47    messages require an increment to the subminor revision.  Changes to existing
48    messages require an increment to the patch version.  If the copyright year is
49    different than the current date, increment it when the version is changed.
50 
51    5. If you are changing this in your own downstream company-specific fork,
52    please change the "id" field below away from "OpenBMC.0.X.X" to something of
53    the form of "CompanyName.0.X.X".  This is to ensure that when a system is
54    found in industry that has modified this registry, it can be differentiated
55    from the OpenBMC project maintained registry.
56 
57    6. Keep the below list alphabetized by message id.
58 */
59 
60 namespace redfish::registries::openbmc
61 {
62 const Header header = {
63     "Copyright 2022 OpenBMC. All rights reserved.",
64     "#MessageRegistry.v1_4_0.MessageRegistry",
65     "OpenBMC.0.4.0",
66     "OpenBMC Message Registry",
67     "en",
68     "This registry defines the base messages for OpenBMC.",
69     "OpenBMC",
70     "0.4.0",
71     "OpenBMC",
72 };
73 constexpr std::array registry = {
74     MessageEntry{
75         "ADDDCCorrectable",
76         {
77             "Indicates an ADDDC Correctable Error.",
78             "ADDDC Correctable Error.Socket=%1 Channel=%2 DIMM=%3 Rank=%4.",
79             "Warning",
80             4,
81             {
82                 "number",
83                 "string",
84                 "number",
85                 "number",
86             },
87             "None.",
88         }},
89     MessageEntry{
90         "AtScaleDebugFeatureEnabledAtHardware",
91         {
92             "Indicates that At-Scale Debug enable is detected in hardware.",
93             "At-Scale Debug Feature is enabled in hardware.",
94             "Critical",
95             0,
96             {},
97             "None.",
98         }},
99     MessageEntry{
100         "AtScaleDebugFeatureDisabledAtHardware",
101         {
102             "Indicates that At-Scale Debug disable is detected in hardware.",
103             "At-Scale Debug Feature is disabled in hardware.",
104             "OK",
105             0,
106             {},
107             "None.",
108         }},
109     MessageEntry{"AtScaleDebugFeatureEnabled",
110                  {
111                      "Indicates that At-Scale Debug service is started.",
112                      "At-Scale Debug service is started.",
113                      "Critical",
114                      0,
115                      {},
116                      "None.",
117                  }},
118     MessageEntry{"AtScaleDebugFeatureDisabled",
119                  {
120                      "Indicates that At-Scale Debug service is stopped.",
121                      "At-Scale Debug service is stopped.",
122                      "OK",
123                      0,
124                      {},
125                      "None.",
126                  }},
127     MessageEntry{"AtScaleDebugConnected",
128                  {
129                      "Indicates At-Scale Debug connection has been established",
130                      "At-Scale Debug service is now connected %1",
131                      "Critical",
132                      1,
133                      {"string"},
134                      "None.",
135                  }},
136     MessageEntry{"AtScaleDebugDisconnected",
137                  {
138                      "Indicates At-Scale Debug connection has ended",
139                      "At-Scale Debug service is now disconnected",
140                      "OK",
141                      0,
142                      {},
143                      "None.",
144                  }},
145     MessageEntry{"AtScaleDebugConnectionFailed",
146                  {
147                      "Indicates At-Scale Debug connection aborted/failed",
148                      "At-Scale Debug connection aborted/failed",
149                      "Critical",
150                      0,
151                      {},
152                      "None.",
153                  }},
154     MessageEntry{"AtScaleDebugSpecialUserEnabled",
155                  {
156                      "Indicates that special user is enabled.",
157                      "At-Scale Debug special user is enabled",
158                      "Critical",
159                      0,
160                      {},
161                      "None.",
162                  }},
163     MessageEntry{"AtScaleDebugSpecialUserDisabled",
164                  {
165                      "Indicates that special user is disabled.",
166                      "At-Scale Debug special user is disabled",
167                      "OK",
168                      0,
169                      {},
170                      "None.",
171                  }},
172 
173     MessageEntry{"BIOSAttributesChanged",
174                  {
175                      "Indicates that a set of BIOS Attributes has changed.",
176                      "Set of BIOS Attributes changed.",
177                      "OK",
178                      0,
179                      {},
180                      "None.",
181                  }},
182     MessageEntry{
183         "BIOSBoot",
184         {
185             "Indicates BIOS has transitioned control to the OS Loader.",
186             "BIOS System Boot.",
187             "OK",
188             0,
189             {},
190             "None.",
191         }},
192     MessageEntry{"BIOSFirmwarePanicReason",
193                  {
194                      "Indicates the reason for BIOS firmware panic.",
195                      "BIOS firmware panic occurred due to %1.",
196                      "Warning",
197                      1,
198                      {
199                          "string",
200                      },
201                      "None.",
202                  }},
203     MessageEntry{"BIOSFirmwareRecoveryReason",
204                  {
205                      "Indicates the reason for BIOS firmware recovery.",
206                      "BIOS firmware recovery occurred due to %1.",
207                      "Warning",
208                      1,
209                      {
210                          "string",
211                      },
212                      "None.",
213                  }},
214     MessageEntry{"BIOSFirmwareResiliencyError",
215                  {
216                      "Indicates BIOS firmware encountered resilience error.",
217                      "BIOS firmware resiliency error. Error reason: %1.",
218                      "Critical",
219                      1,
220                      {
221                          "string",
222                      },
223                      "None.",
224                  }},
225     MessageEntry{
226         "BIOSPOSTCode",
227         {
228             "BIOS Power-On Self-Test Code received",
229             "Boot Count: %1; Time Stamp Offset: %2 seconds; POST Code: %3",
230             "OK",
231             3,
232             {"number", "number", "number"},
233             "None.",
234         }},
235     MessageEntry{"BIOSPOSTError",
236                  {
237                      "Indicates BIOS POST has encountered an error.",
238                      "BIOS POST Error. Error Code=%1",
239                      "Warning",
240                      1,
241                      {"number"},
242                      "None.",
243                  }},
244     MessageEntry{"BIOSRecoveryComplete",
245                  {
246                      "Indicates BIOS Recovery has completed.",
247                      "BIOS Recovery Complete.",
248                      "OK",
249                      0,
250                      {},
251                      "None.",
252                  }},
253     MessageEntry{"BIOSRecoveryStart",
254                  {
255                      "Indicates BIOS Recovery has started.",
256                      "BIOS Recovery Start.",
257                      "Warning",
258                      0,
259                      {},
260                      "None.",
261                  }},
262     MessageEntry{"BMCBootReason",
263                  {
264                      "Indicates the reason why BMC firmware booted.",
265                      "BMC firmware version %1 booted due to %2.",
266                      "OK",
267                      2,
268                      {
269                          "string",
270                          "string",
271                      },
272                      "None.",
273                  }},
274     MessageEntry{"BMCFirmwarePanicReason",
275                  {
276                      "Indicates the reason for last BMC firmware panic.",
277                      "BMC firmware panic occurred due to %1.",
278                      "Warning",
279                      1,
280                      {
281                          "string",
282                      },
283                      "None.",
284                  }},
285     MessageEntry{"BMCFirmwareRecoveryReason",
286                  {
287                      "Indicates the reason for last BMC firmware recovery.",
288                      "BMC firmware recovery occurred due to %1.",
289                      "Warning",
290                      1,
291                      {
292                          "string",
293                      },
294                      "None.",
295                  }},
296     MessageEntry{"BMCFirmwareResiliencyError",
297                  {
298                      "Indicates BMC firmware encountered resilience error.",
299                      "BMC firmware resiliency error. Error reason: %1.",
300                      "Critical",
301                      1,
302                      {
303                          "string",
304                      },
305                      "None.",
306                  }},
307     MessageEntry{"BMCKernelPanic",
308                  {
309                      "Indicates that BMC kernel panic occurred.",
310                      "BMC rebooted due to kernel panic.",
311                      "OK",
312                      0,
313                      {},
314                      "None.",
315                  }},
316     MessageEntry{"ChassisIntrusionDetected",
317                  {
318                      "Indicates that a physical security event "
319                      "of the chassis intrusion has occurred.",
320                      "Chassis Intrusion Detected.",
321                      "Warning",
322                      0,
323                      {},
324                      "None.",
325                  }},
326     MessageEntry{"ChassisIntrusionReset",
327                  {
328                      "Indicates that chassis intrusion status has recovered.",
329                      "Chassis Intrusion Reset.",
330                      "OK",
331                      0,
332                      {},
333                      "None.",
334                  }},
335     MessageEntry{
336         "ComponentOverTemperature",
337         {
338             "Indicates that the specified component is over temperature.",
339             "%1 over temperature and being throttled.",
340             "Critical",
341             1,
342             {"string"},
343             "None.",
344         }},
345     MessageEntry{"CPLDFirmwarePanicReason",
346                  {
347                      "Indicates the reason for CPLD firmware panic.",
348                      "CPLD firmware panic occurred due to %1.",
349                      "Warning",
350                      1,
351                      {
352                          "string",
353                      },
354                      "None.",
355                  }},
356     MessageEntry{"CPLDFirmwareRecoveryReason",
357                  {
358                      "Indicates the reason for CPLD firmware recovery.",
359                      "CPLD firmware recovery occurred due to %1.",
360                      "Warning",
361                      1,
362                      {
363                          "string",
364                      },
365                      "None.",
366                  }},
367     MessageEntry{"CPLDFirmwareResiliencyError",
368                  {
369                      "Indicates CPLD firmware encountered resilience error.",
370                      "CPLD firmware resiliency error. Error reason: %1.",
371                      "Critical",
372                      1,
373                      {
374                          "string",
375                      },
376                      "None.",
377                  }},
378     MessageEntry{"CPUError",
379                  {
380                      "Indicates that a CPU Error occurred of "
381                      "the specified type or cause.",
382                      "CPU Error Occurred: %1.",
383                      "Critical",
384                      1,
385                      {"string"},
386                      "None.",
387                  }},
388     MessageEntry{"CPUMismatch",
389                  {
390                      "Indicates that the specified CPU power/current "
391                      "rating is incompatible with the board.",
392                      "CPU %1 Mismatch.",
393                      "Critical",
394                      1,
395                      {"number"},
396                      "Install the supported CPU.",
397                  }},
398     MessageEntry{"CPUThermalTrip",
399                  {
400                      "Indicates that the specified CPU thermal "
401                      "trip has been asserted.",
402                      "CPU %1 Thermal Trip.",
403                      "Critical",
404                      1,
405                      {"number"},
406                      "None.",
407                  }},
408     MessageEntry{"DCPowerOff",
409                  {
410                      "Indicates that the system DC power is off.",
411                      "Host system DC power is off",
412                      "OK",
413                      0,
414                      {},
415                      "None.",
416                  }},
417     MessageEntry{"DCPowerOn",
418                  {
419                      "Indicates that the system DC power is on.",
420                      "Host system DC power is on",
421                      "OK",
422                      0,
423                      {},
424                      "None.",
425                  }},
426     MessageEntry{"DriveError",
427                  {
428                      "Indicates that a Drive Error occurred of "
429                      "the specified type or cause.",
430                      "Drive Error Occurred: %1.",
431                      "Warning",
432                      1,
433                      {"string"},
434                      "None.",
435                  }},
436     MessageEntry{"EventLogCleared",
437                  {
438                      "Indicates that the event log has been cleared.",
439                      "Event Log Cleared.",
440                      "OK",
441                      0,
442                      {},
443                      "None.",
444                  }},
445     MessageEntry{"FanInserted",
446                  {
447                      "Indicates that a system fan has been inserted.",
448                      "%1 inserted.",
449                      "OK",
450                      1,
451                      {"string"},
452                      "None.",
453                  }},
454     MessageEntry{"FanRedundancyLost",
455                  {
456                      "Indicates that system fan redundancy has been lost.",
457                      "Fan redundancy lost.",
458                      "Warning",
459                      0,
460                      {},
461                      "None.",
462                  }},
463     MessageEntry{"FanRedundancyRegained",
464                  {
465                      "Indicates that system fan redundancy has been regained.",
466                      "Fan redundancy regained.",
467                      "OK",
468                      0,
469                      {},
470                      "None.",
471                  }},
472     MessageEntry{"FanRemoved",
473                  {
474                      "Indicates that a system fan has been removed.",
475                      "%1 removed.",
476                      "OK",
477                      0,
478                      {"string"},
479                      "None.",
480                  }},
481     MessageEntry{
482         "FirmwareActivationCompleted",
483         {
484             "Indicates a firmware activation has completed successfully.",
485             "%1 firmware activation completed successfully.",
486             "OK",
487             1,
488             {"string"},
489             "None.",
490         }},
491     MessageEntry{"FirmwareActivationFailed",
492                  {
493                      "Indicates a firmware activation has failed.",
494                      "%1 firmware activation failed: %2.",
495                      "Warning",
496                      2,
497                      {"string", "string"},
498                      "None.",
499                  }},
500     MessageEntry{"FirmwareActivationStarted",
501                  {
502                      "Indicates a firmware activation has started.",
503                      "%1 firmware activation started.",
504                      "OK",
505                      1,
506                      {"string"},
507                      "None.",
508                  }},
509     MessageEntry{"FirmwareResiliencyError",
510                  {
511                      "Indicates firmware encountered resilience error.",
512                      "Firmware resiliency error. Error reason: %1.",
513                      "Critical",
514                      1,
515                      {
516                          "string",
517                      },
518                      "None.",
519                  }},
520     MessageEntry{"FirmwareUpdateCompleted",
521                  {
522                      "Indicates a firmware update has completed successfully.",
523                      "%1 firmware update to version %2 completed "
524                      "successfully.",
525                      "OK",
526                      2,
527                      {"string", "string"},
528                      "None.",
529                  }},
530     MessageEntry{"FirmwareUpdateFailed",
531                  {
532                      "Indicates a firmware update has failed.",
533                      "%1 firmware update to version %2 failed: %3.",
534                      "Warning",
535                      3,
536                      {"string", "string", "string"},
537                      "None.",
538                  }},
539     MessageEntry{"FirmwareUpdateStaged",
540                  {
541                      "Indicates a firmware update has staged successfully.",
542                      "%1 firmware update to version %2 staged successfully.",
543                      "OK",
544                      2,
545                      {"string", "string"},
546                      "None.",
547                  }},
548     MessageEntry{"FirmwareUpdateStarted",
549                  {
550                      "Indicates a firmware update has started.",
551                      "%1 firmware update to version %2 started.",
552                      "OK",
553                      2,
554                      {"string", "string"},
555                      "None.",
556                  }},
557     MessageEntry{
558         "GeneralFirmwareSecurityViolation",
559         {
560             "Indicates a general firmware security violation has occurred.",
561             "Firmware security violation: %1.",
562             "Critical",
563             1,
564             {"string"},
565             "None.",
566         }},
567     MessageEntry{"InvalidLoginAttempted",
568                  {
569                      "Indicates that a login was attempted on the specified "
570                      "interface with an invalid username or password.",
571                      "Invalid username or password attempted on %1.",
572                      "Warning",
573                      1,
574                      {"string"},
575                      "None.",
576                  }},
577     MessageEntry{"InvalidUpload",
578                  {
579                      "Indicates that the uploaded file was invalid.",
580                      "Invalid file uploaded to %1: %2.",
581                      "Warning",
582                      2,
583                      {"string", "string"},
584                      "None.",
585                  }},
586     MessageEntry{
587         "InventoryAdded",
588         {
589             "Indicates that an inventory item with the specified model, "
590             "type, and serial number was installed.",
591             "%1 %2 with serial number %3 was installed.",
592             "OK",
593             3,
594 
595             {
596                 "string",
597                 "string",
598                 "string",
599             },
600             "None.",
601         }},
602     MessageEntry{
603         "InventoryRemoved",
604         {
605             "Indicates that an inventory item with the specified model, "
606             "type, and serial number was removed.",
607             "%1 %2 with serial number %3 was removed.",
608             "OK",
609             3,
610 
611             {
612                 "string",
613                 "string",
614                 "string",
615             },
616             "None.",
617         }},
618     MessageEntry{
619         "IntelUPILinkWidthReducedToHalf",
620         {
621             "Indicates Intel UPI link width has reduced to half width.",
622             "Intel UPI link width reduced to half. Node=%1.",
623             "Warning",
624             1,
625 
626             {
627                 "number",
628             },
629             "None.",
630         }},
631     MessageEntry{
632         "IntelUPILinkWidthReducedToQuarter",
633         {
634             "Indicates Intel UPI link width has reduced to quarter width.",
635             "Intel UPI link width reduced to quarter. Node=%1.",
636             "Warning",
637             1,
638 
639             {
640                 "number",
641             },
642             "None.",
643         }},
644 
645     MessageEntry{"IPMIWatchdog",
646                  {
647                      "Indicates that there is a host watchdog event.",
648                      "Host Watchdog Event: %1",
649                      "OK",
650                      1,
651                      {
652                          "string",
653                      },
654                      "None.",
655                  }},
656     MessageEntry{"LanLost",
657                  {
658                      "Indicates that a physical security event "
659                      "of the LAN leash has lost.",
660                      "%1 LAN leash lost.",
661                      "Warning",
662                      1,
663                      {
664                          "string",
665                      },
666                      "None.",
667                  }},
668     MessageEntry{"LanRegained",
669                  {
670                      "Indicates that LAN link status has reconnected.",
671                      "%1 LAN leash regained.",
672                      "OK",
673                      1,
674                      {
675                          "string",
676                      },
677                      "None.",
678                  }},
679     MessageEntry{"LegacyPCIPERR",
680                  {
681                      "Indicates a Legacy PCI PERR.",
682                      "Legacy PCI PERR. Bus=%1 Device=%2 Function=%3.",
683                      "Warning",
684                      3,
685 
686                      {
687                          "number",
688                          "number",
689                          "number",
690                      },
691                      "None.",
692                  }},
693     MessageEntry{"LegacyPCISERR",
694                  {
695                      "Indicates a Legacy PCI SERR.",
696                      "Legacy PCI SERR. Bus=%1 Device=%2 Function=%3.",
697                      "Critical",
698                      3,
699 
700                      {
701                          "number",
702                          "number",
703                          "number",
704                      },
705                      "None.",
706                  }},
707     MessageEntry{"ManufacturingModeEntered",
708                  {
709                      "Indicates that the BMC entered Factory, "
710                      "or Manufacturing mode.",
711                      "Entered Manufacturing Mode.",
712                      "Critical",
713                      0,
714                      {},
715                      "None.",
716                  }},
717     MessageEntry{"ManufacturingModeExited",
718                  {
719                      "Indicates that the BMC exited Factory, "
720                      "or Manufacturing mode.",
721                      "Exited Manufacturing Mode.",
722                      "OK",
723                      0,
724                      {},
725                      "None.",
726                  }},
727     MessageEntry{"MEAutoConfigFailed",
728                  {
729                      "Indicates that Intel ME power sensor "
730                      "auto-configuration has failed.",
731                      "Intel ME power sensor auto-configuration failed. Power "
732                      "monitoring, limiting and HW protection features might "
733                      "be unavailable. Failure reason: %1",
734                      "Critical",
735                      1,
736                      {"string"},
737                      "Ensure that Intel ME configuration for power "
738                      "sources is correct.",
739                  }},
740     MessageEntry{
741         "MEAutoConfigSuccess",
742         {
743             "Indicates that Intel ME has performed successful "
744             "power sensor auto-configuration.",
745             "Intel ME power sensor auto-configuration succeeded. "
746             "Determined sources for domain readings are: DC Power: %1 ; "
747             "Chassis Power: %2 ; PSU Efficiency: %3 ; Unamanaged power: %4",
748             "OK",
749             4,
750             {"string", "string", "string", "string"},
751             "None.",
752         }},
753     MessageEntry{"MEBootGuardHealthEvent",
754                  {
755                      "Indicates that Intel ME has detected error during "
756                      "operations of Intel Boot Guard",
757                      "Intel ME has detected following issue with Intel Boot "
758                      "Guard: %1",
759                      "Critical",
760                      1,
761                      {"string"},
762                      "None.",
763                  }},
764     MessageEntry{"MECpuDebugCapabilityDisabled",
765                  {
766                      "Indicates that Intel ME has detected situation in "
767                      "which CPU Debug Capability is disabled.",
768                      "CPU Debug Capability disabled",
769                      "Warning",
770                      0,
771                      {},
772                      "None.",
773                  }},
774     MessageEntry{"MEDirectFlashUpdateRequested",
775                  {
776                      "Indicates that BIOS has requested Direct Flash "
777                      "Update (DFU) of Intel ME",
778                      "Intel ME Firmware switched to recovery mode to perform "
779                      "full update from BIOS.",
780                      "OK",
781                      0,
782                      {},
783                      "This is transient state. Intel ME Firmware should "
784                      "return to operational mode after successful image "
785                      "update performed by the BIOS.",
786                  }},
787     MessageEntry{
788         "MEExceptionDuringShutdown",
789         {
790             "Indicates that Intel ME could not successfully "
791             "perform emergency host shutdown.",
792             "Power Down command triggered by Intel Node Manager policy "
793             "failure action and Intel ME forced shutdown. BMC probably did "
794             "not respond correctly to Chassis Control.",
795             "Warning",
796             0,
797             {},
798             "Verify the Intel Node Manager policy configuration.",
799         }},
800     MessageEntry{
801         "MEFactoryResetError",
802         {
803             "Indicates that Intel ME has ben restored to factory preset.",
804             "Intel ME has performed automatic reset to factory "
805             "presets due to following reason: %1",
806             "Critical",
807             1,
808             {"string"},
809             "If error is persistent the Flash device must be replaced.",
810         }},
811     MessageEntry{
812         "MEFactoryRestore",
813         {
814             "Indicates that Intel ME has ben restored to factory preset.",
815             "Intel ME has performed automatic reset to factory "
816             "presets due to following reason: %1",
817             "OK",
818             1,
819             {"string"},
820             "If error is persistent the Flash device must be replaced.",
821         }},
822     MessageEntry{
823         "MEFirmwareException",
824         {
825             "Indicates that Intel ME has encountered firmware "
826             "exception during execution.",
827             "Intel ME has encountered firmware exception. Error code = %1",
828             "Warning",
829             1,
830             {"string"},
831             "Restore factory presets using Force ME Recovery IPMI "
832             "command or by doing AC power cycle with Recovery jumper "
833             "asserted. If this does not clear the issue, reflash the SPI "
834             "flash. If the issue persists, provide the content of error "
835             "code to Intel support team for interpretation. (Error codes "
836             "are not documented because they only provide clues that must "
837             "be interpreted individually..",
838         }},
839     MessageEntry{"MEFirmwarePanicReason",
840                  {
841                      "Indicates the reason for ME firmware panic.",
842                      "ME firmware panic occurred due to %1.",
843                      "Warning",
844                      1,
845                      {
846                          "string",
847                      },
848                      "None.",
849                  }},
850     MessageEntry{"MEFirmwareRecoveryReason",
851                  {
852                      "Indicates the reason for ME firmware recovery.",
853                      "ME firmware recovery occurred due to %1.",
854                      "Warning",
855                      1,
856                      {
857                          "string",
858                      },
859                      "None.",
860                  }},
861     MessageEntry{"MEFirmwareResiliencyError",
862                  {
863                      "Indicates ME firmware encountered resilience error.",
864                      "ME firmware resiliency error. Error reason: %1.",
865                      "Critical",
866                      1,
867                      {
868                          "string",
869                      },
870                      "None.",
871                  }},
872 
873     MessageEntry{"MEFlashEraseError",
874                  {
875                      "Indicates that Intel ME was unable to finish flash "
876                      "erase procedure.",
877                      "Intel ME has encountered an error during Flash erasure "
878                      "procedure probably due to Flash part corruption.",
879                      "Critical",
880                      0,
881                      {},
882                      "The Flash device must be replaced.",
883                  }},
884     MessageEntry{"MEFlashStateInformation",
885                  {
886                      "Indicates that Intel ME has encountered a problem "
887                      "during IO to flash device.",
888                      "Intel ME has encountered problem during IO to flash "
889                      "device. Reason: %1",
890                      "Critical",
891                      1,
892                      {"string"},
893                      "If flash wear-out protection occurred wait until it "
894                      "expires. Otherwise - flash device must be replaced.",
895                  }},
896     MessageEntry{"MEFlashStateInformationWritingEnabled",
897                  {
898                      "Indicates that Intel ME has encountered a problem "
899                      "during IO to flash device.",
900                      "Intel ME has encountered problem during IO to flash "
901                      "device. Reason: %1",
902                      "OK",
903                      1,
904                      {"string"},
905                      "If flash wear-out protection occurred wait until it "
906                      "expires. Otherwise - flash device must be replaced.",
907                  }},
908     MessageEntry{"MEFlashVerificationError",
909                  {
910                      "Indicates that Intel ME encountered invalid flash "
911                      "descriptor region.",
912                      "Intel ME has detected invalid flash descriptor region. "
913                      "Following error is detected: %1",
914                      "Critical",
915                      1,
916                      {"string"},
917                      "Flash Descriptor Region must be created correctly.",
918                  }},
919     MessageEntry{
920         "MEFlashWearOutWarning",
921         {
922             "Indicates that Intel ME has reached certain "
923             "threshold of flash write operations.",
924             "Warning threshold for number of flash operations has been "
925             "exceeded. Current percentage of write operations capacity: %1",
926             "Warning",
927             1,
928             {"number"},
929             "No immediate repair action needed.",
930         }},
931 
932     MessageEntry{
933         "MEImageExecutionFailed",
934         {
935             "Indicates that Intel ME could not load primary FW image.",
936             "Intel ME Recovery Image or backup operational image "
937             "loaded because operational image is corrupted. This "
938             "may be either caused by Flash device corruption or "
939             "failed upgrade procedure.",
940             "Critical",
941             0,
942             {},
943             "Either the Flash device must be replaced (if error is "
944             "persistent) or the upgrade procedure must be started again.",
945         }},
946 
947     MessageEntry{
948         "MEInternalError",
949         {
950             "Indicates that Intel ME encountered "
951             "internal error leading to watchdog reset.",
952             "Error during Intel ME execution. Watchdog "
953             "timeout has expired.",
954             "Critical",
955             0,
956             {},
957             "Firmware should automatically recover from error state. "
958             "If error is persistent then operational image shall be updated "
959             "or hardware board repair is needed.",
960         }},
961     MessageEntry{"MEManufacturingError",
962                  {
963                      "Indicates that Intel ME is unable to start in "
964                      "operational mode due to wrong configuration.",
965                      "Wrong manufacturing configuration detected by Intel ME "
966                      "Firmware. Unable to start operational mode. Reason: %1",
967                      "Critical",
968                      1,
969                      {"string"},
970                      " If error is persistent the Flash device must be "
971                      "replaced or FW configuration must be updated. Trace "
972                      "logs might be gathered for detailed information.",
973                  }},
974     MessageEntry{"MEMctpInterfaceError",
975                  {
976                      "Indicates that Intel ME has encountered an error "
977                      "in MCTP protocol.",
978                      "Intel ME has detected MCTP interface failure and it is "
979                      "not functional any more. It may indicate the situation "
980                      "when MCTP was not configured by BIOS or a defect which "
981                      "may need a Host reset to recover from. Details: %1",
982                      "Critical",
983                      1,
984                      {"string"},
985                      "Recovery via CPU Host reset or platform reset. If error "
986                      "is persistent, deep-dive platform-level debugging is "
987                      "required.",
988                  }},
989     MessageEntry{"MemoryECCCorrectable",
990                  {
991                      "Indicates a Correctable Memory ECC error.",
992                      "Memory ECC correctable error. Socket=%1 "
993                      "Channel=%2 DIMM=%3 Rank=%4.",
994                      "Warning",
995                      4,
996 
997                      {
998                          "number",
999                          "string",
1000                          "number",
1001                          "number",
1002                      },
1003                      "None.",
1004                  }},
1005     MessageEntry{"MemoryECCUncorrectable",
1006                  {
1007                      "Indicates an Uncorrectable Memory ECC error.",
1008                      "Memory ECC uncorrectable error. Socket=%1 Channel=%2 "
1009                      "DIMM=%3 Rank=%4.",
1010                      "Critical",
1011                      4,
1012 
1013                      {
1014                          "number",
1015                          "string",
1016                          "number",
1017                          "number",
1018                      },
1019                      "None.",
1020                  }},
1021     MessageEntry{"MemoryParityCommandAndAddress",
1022                  {
1023                      "Indicates a Command and Address parity error.",
1024                      "Command and Address parity error. Socket=%1 Channel=%2 "
1025                      "DIMM=%3 ChannelValid=%4 DIMMValid=%5.",
1026                      "Critical",
1027                      5,
1028 
1029                      {
1030                          "number",
1031                          "string",
1032                          "number",
1033                          "number",
1034                          "number",
1035                      },
1036                      "None.",
1037                  }},
1038     MessageEntry{"MemoryParityNotKnown",
1039                  {
1040                      "Indicates an unknown parity error.",
1041                      "Memory parity error. Socket=%1 Channel=%2 "
1042                      "DIMM=%3 ChannelValid=%4 DIMMValid=%5.",
1043                      "Critical",
1044                      5,
1045 
1046                      {
1047                          "number",
1048                          "string",
1049                          "number",
1050                          "number",
1051                          "number",
1052                      },
1053                      "None.",
1054                  }},
1055     MessageEntry{"MemoryRASConfigurationDisabled",
1056                  {
1057                      "Indicates Memory RAS Disabled Configuration Status.",
1058                      "Memory RAS Configuration Disabled. Error=%1 Mode=%2.",
1059                      "OK",
1060                      2,
1061                      {
1062                          "string",
1063                          "string",
1064                      },
1065                      "None.",
1066                  }},
1067     MessageEntry{"MemoryRASConfigurationEnabled",
1068                  {
1069                      "Indicates Memory RAS Enabled Configuration Status.",
1070                      "Memory RAS Configuration Enabled. Error=%1 Mode=%2.",
1071                      "OK",
1072                      2,
1073                      {
1074                          "string",
1075                          "string",
1076                      },
1077                      "None.",
1078                  }},
1079     MessageEntry{"MemoryRASModeDisabled",
1080                  {
1081                      "Indicates Memory RAS Disabled Mode Selection.",
1082                      "Memory RAS Mode Select Disabled. Prior Mode=%1 "
1083                      "Selected Mode=%2.",
1084                      "OK",
1085                      2,
1086                      {
1087                          "string",
1088                          "string",
1089                      },
1090                      "None.",
1091                  }},
1092     MessageEntry{"MemoryRASModeEnabled",
1093                  {
1094                      "Indicates Memory RAS Enabled Mode Selection.",
1095                      "Memory RAS Mode Select Enabled. Prior Mode=%1 Selected "
1096                      "Mode=%2.",
1097                      "OK",
1098                      2,
1099                      {
1100                          "string",
1101                          "string",
1102                      },
1103                      "None.",
1104                  }},
1105     MessageEntry{"MemoryThermTrip",
1106                  {
1107                      "Indicates that the system memory ThermTrip is asserted "
1108                      "by the specified component.",
1109                      "Memory ThermTrip asserted: %1.",
1110                      "Critical",
1111                      1,
1112                      {"string"},
1113                      "None.",
1114                  }},
1115     MessageEntry{"MEMultiPchModeMisconfig",
1116                  {
1117                      "Indicates that Intel ME has encountered "
1118                      "problems in initializing Multi-PCH mode.",
1119                      "Intel ME error in Multi-PCH mode: %1",
1120                      "Critical",
1121                      1,
1122                      {"string"},
1123                      "None.",
1124                  }},
1125     MessageEntry{
1126         "MEPeciOverDmiError",
1127         {
1128             "Indicates that Intel ME is unable to communicate "
1129             "using PECI over DMI.",
1130             "Intel ME has detected  PECI over DMI interface failure "
1131             "and it is not functional any more. It may indicate the "
1132             "situation when PECI over DMI was not configured by "
1133             "BIOS or a defect which may require a CPU Host reset to "
1134             "recover from. Details: %1",
1135             "Critical",
1136             1,
1137             {"string"},
1138             "Recovery via CPU Host reset or platform reset. If error is "
1139             "persistent, deep-dive platform-level debugging is required.",
1140         }},
1141     MessageEntry{
1142         "MEPttHealthEvent",
1143         {
1144             "Indicates that Intel ME has encountered issue with Intel PTT",
1145             "Intel ME has detected following issue with Intel PTT: %1",
1146             "Warning",
1147             1,
1148             {"string"},
1149             "None.",
1150         }},
1151     MessageEntry{
1152         "MERecoveryGpioForced",
1153         {
1154             "Indicates that Intel ME image is booted in "
1155             "recovery mode due to GPIO assertion.",
1156             "Intel ME Recovery Image loaded due to recovery MGPIO "
1157             "pin asserted. Pin number is configurable in factory "
1158             "presets, Default recovery pin is MGPIO1.",
1159             "OK",
1160             0,
1161             {},
1162             "Deassert recovery GPIO and reset the Intel ME back to "
1163             "operational mode. If Recovery Jumper is in legacy behavior, "
1164             "a ME reset (eg. Cold Reset IPMI cmd) is needed to have ME "
1165             "back in operational mode.",
1166         }},
1167     MessageEntry{"MERestrictedMode",
1168                  {
1169                      "Indicates events related to Intel ME restricted mode.",
1170                      "Intel ME restricted mode information: %1",
1171                      "Critical",
1172                      1,
1173                      {"string"},
1174                      "None.",
1175                  }},
1176     MessageEntry{
1177         "MESmbusLinkFailure",
1178         {
1179             "Indicate that Intel ME encountered SMBus link error.",
1180             "Intel ME has detected SMBus link error. "
1181             "Sensor Bus: %1 , MUX Address: %2 ",
1182             "Critical",
1183             2,
1184             {"string", "string"},
1185             "Devices connected to given SMLINK might cause communication "
1186             "corruption. See error code and refer to Intel ME External "
1187             "Interfaces Specification for details.",
1188         }},
1189     MessageEntry{
1190         "MEUmaError",
1191         {
1192             "Indicates that Intel ME has encountered UMA operation error.",
1193             "Intel ME has encountered UMA operation error. Details: %1",
1194             "Critical",
1195             1,
1196             {"string"},
1197             "Platform reset when UMA not configured correctly, or when "
1198             "error occurred during normal operation on correctly "
1199             "configured UMA multiple times leading to Intel ME entering "
1200             "Recovery or restricted operational mode.",
1201         }},
1202     MessageEntry{"MEUnsupportedFeature",
1203                  {
1204                      "Indicates that Intel ME is configuration with "
1205                      "feature which is not supported on this platform.",
1206                      "Feature not supported in current segment detected by "
1207                      "Intel ME Firmware. Details: %1",
1208                      "Critical",
1209                      1,
1210                      {"string"},
1211                      "Proper FW configuration must be updated or use the "
1212                      "Flash device with proper FW configuration",
1213                  }},
1214     MessageEntry{"MirroringRedundancyDegraded",
1215                  {
1216                      "Indicates the mirroring redundancy state is degraded.",
1217                      "Mirroring redundancy state degraded. Socket=%1 "
1218                      "Channel=%2 DIMM=%3 Pair=%4 Rank=%5.",
1219                      "Warning",
1220                      5,
1221 
1222                      {
1223                          "number",
1224                          "string",
1225                          "number",
1226                          "number",
1227                          "number",
1228                      },
1229                      "None.",
1230                  }},
1231     MessageEntry{
1232         "MirroringRedundancyFull",
1233         {
1234             "Indicates the mirroring redundancy state is fully redundant.",
1235             "Mirroring redundancy state fully redundant. Socket=%1 "
1236             "Channel=%2 DIMM=%3 Pair=%4 Rank=%5.",
1237             "OK",
1238             5,
1239 
1240             {
1241                 "number",
1242                 "string",
1243                 "number",
1244                 "number",
1245                 "number",
1246             },
1247             "None.",
1248         }},
1249     MessageEntry{"NMIButtonPressed",
1250                  {
1251                      "Indicates that the NMI button was pressed.",
1252                      "NMI Button Pressed.",
1253                      "Critical",
1254                      0,
1255                      {},
1256                      "None.",
1257                  }},
1258     MessageEntry{"NMIDiagnosticInterrupt",
1259                  {
1260                      "Indicates that an NMI Diagnostic "
1261                      "Interrupt has been generated.",
1262                      "NMI Diagnostic Interrupt.",
1263                      "Critical",
1264                      0,
1265                      {},
1266                      "None.",
1267                  }},
1268     MessageEntry{"PCIeCorrectableAdvisoryNonFatal",
1269                  {
1270                      "Indicates a PCIe Correctable Advisory Non-fatal Error.",
1271                      "PCIe Correctable Advisory Non-fatal Error. Bus=%1 "
1272                      "Device=%2 Function=%3.",
1273                      "Warning",
1274                      3,
1275 
1276                      {
1277                          "number",
1278                          "number",
1279                          "number",
1280                      },
1281                      "None.",
1282                  }},
1283     MessageEntry{"PCIeCorrectableBadDLLP",
1284                  {
1285                      "Indicates a PCIe Correctable Bad DLLP Error.",
1286 
1287                      "PCIe Correctable Bad DLLP. Bus=%1 Device=%2 Function=%3.",
1288                      "Warning",
1289                      3,
1290 
1291                      {
1292                          "number",
1293                          "number",
1294                          "number",
1295                      },
1296                      "None.",
1297                  }},
1298     MessageEntry{"PCIeCorrectableBadTLP",
1299                  {
1300                      "Indicates a PCIe Correctable Bad TLP Error.",
1301 
1302                      "PCIe Correctable Bad TLP. Bus=%1 Device=%2 Function=%3.",
1303                      "Warning",
1304                      3,
1305 
1306                      {
1307                          "number",
1308                          "number",
1309                          "number",
1310                      },
1311                      "None.",
1312                  }},
1313     MessageEntry{"PCIeCorrectableHeaderLogOverflow",
1314                  {
1315                      "Indicates a PCIe Correctable Header Log Overflow Error.",
1316                      "PCIe Correctable Header Log Overflow. Bus=%1 Device=%2 "
1317                      "Function=%3.",
1318                      "Warning",
1319                      3,
1320 
1321                      {
1322                          "number",
1323                          "number",
1324                          "number",
1325                      },
1326                      "None.",
1327                  }},
1328     MessageEntry{"PCIeCorrectableInternal",
1329                  {
1330                      "Indicates a PCIe Correctable Internal Error.",
1331                      "PCIe Correctable Internal Error. Bus=%1 Device=%2 "
1332                      "Function=%3.",
1333                      "Warning",
1334                      3,
1335 
1336                      {
1337                          "number",
1338                          "number",
1339                          "number",
1340                      },
1341                      "None.",
1342                  }},
1343     MessageEntry{"PCIeCorrectableLinkBWChanged",
1344                  {
1345                      "Indicates a PCIe Correctable Link BW Changed Error.",
1346                      "PCIe Correctable Link BW Changed. Bus=%1 "
1347                      "Device=%2 Function=%3.",
1348                      "Warning",
1349                      3,
1350 
1351                      {
1352                          "number",
1353                          "number",
1354                          "number",
1355                      },
1356                      "None.",
1357                  }},
1358     MessageEntry{"PCIeCorrectableReceiverError",
1359                  {
1360                      "Indicates a PCIe Correctable Receiver Error.",
1361                      "PCIe Correctable Receiver Error. Bus=%1 Device=%2 "
1362                      "Function=%3.",
1363                      "Warning",
1364                      3,
1365 
1366                      {
1367                          "number",
1368                          "number",
1369                          "number",
1370                      },
1371                      "None.",
1372                  }},
1373     MessageEntry{"PCIeCorrectableReplayNumRollover",
1374                  {
1375                      "Indicates a PCIe Correctable Replay Num Rollover.",
1376                      "PCIe Correctable Replay Num Rollover. Bus=%1 Device=%2 "
1377                      "Function=%3.",
1378                      "Warning",
1379                      3,
1380 
1381                      {
1382                          "number",
1383                          "number",
1384                          "number",
1385                      },
1386                      "None.",
1387                  }},
1388     MessageEntry{"PCIeCorrectableReplayTimerTimeout",
1389                  {
1390                      "Indicates a PCIe Correctable Replay Timer Timeout.",
1391                      "PCIe Correctable Replay Timer Timeout. Bus=%1 "
1392                      "Device=%2 Function=%3.",
1393                      "Warning",
1394                      3,
1395 
1396                      {
1397                          "number",
1398                          "number",
1399                          "number",
1400                      },
1401                      "None.",
1402                  }},
1403     MessageEntry{"PCIeCorrectableUnspecifiedAERError",
1404                  {
1405                      "Indicates a PCIe Correctable Unspecified AER Error.",
1406                      "PCIe Correctable Unspecified AER Error. "
1407                      "Bus=%1 Device=%2 Function=%3.",
1408                      "Warning",
1409                      3,
1410 
1411                      {
1412                          "number",
1413                          "number",
1414                          "number",
1415                      },
1416                      "None.",
1417                  }},
1418     MessageEntry{"PCIeFatalACSViolation",
1419                  {
1420                      "Indicates a PCIe ACS Violation Error.",
1421 
1422                      "PCIe Fatal ACS Violation. Bus=%1 Device=%2 Function=%3.",
1423                      "Critical",
1424                      3,
1425 
1426                      {
1427                          "number",
1428                          "number",
1429                          "number",
1430                      },
1431                      "None.",
1432                  }},
1433     MessageEntry{"PCIeFatalAtomicEgressBlocked",
1434                  {
1435                      "Indicates a PCIe Atomic Egress Blocked Error.",
1436                      "PCIe Fatal Atomic Egress Blocked. Bus=%1 Device=%2 "
1437                      "Function=%3.",
1438                      "Critical",
1439                      3,
1440 
1441                      {
1442                          "number",
1443                          "number",
1444                          "number",
1445                      },
1446                      "None.",
1447                  }},
1448     MessageEntry{
1449         "PCIeFatalCompleterAbort",
1450         {
1451             "Indicates a PCIe Completer Abort Error.",
1452 
1453             "PCIe Fatal Completer Abort. Bus=%1 Device=%2 Function=%3.",
1454             "Critical",
1455             3,
1456 
1457             {
1458                 "number",
1459                 "number",
1460                 "number",
1461             },
1462             "None.",
1463         }},
1464     MessageEntry{
1465         "PCIeFatalCompletionTimeout",
1466         {
1467             "Indicates a PCIe Completion Timeout Error.",
1468 
1469             "PCIe Fatal Completion Timeout. Bus=%1 Device=%2 Function=%3.",
1470             "Critical",
1471             3,
1472 
1473             {
1474                 "number",
1475                 "number",
1476                 "number",
1477             },
1478             "None.",
1479         }},
1480     MessageEntry{
1481         "PCIeFatalDataLinkLayerProtocol",
1482         {
1483             "Indicates a PCIe Data Link Layer Protocol Error.",
1484 
1485             "PCIe Fatal Data Link Layer Protocol Error. Bus=%1 Device=%2 "
1486             "Function=%3.",
1487             "Critical",
1488             3,
1489 
1490             {
1491                 "number",
1492                 "number",
1493                 "number",
1494             },
1495             "None.",
1496         }},
1497     MessageEntry{"PCIeFatalECRCError",
1498                  {
1499                      "Indicates a PCIe ECRC Error.",
1500                      "PCIe Fatal ECRC Error. Bus=%1 Device=%2 Function=%3.",
1501                      "Critical",
1502                      3,
1503 
1504                      {
1505                          "number",
1506                          "number",
1507                          "number",
1508                      },
1509                      "None.",
1510                  }},
1511     MessageEntry{"PCIeFatalFlowControlProtocol",
1512                  {
1513                      "Indicates a PCIe Flow Control Protocol Error.",
1514 
1515                      "PCIe Fatal Flow Control Protocol Error. Bus=%1 Device=%2 "
1516                      "Function=%3.",
1517                      "Critical",
1518                      3,
1519 
1520                      {
1521                          "number",
1522                          "number",
1523                          "number",
1524                      },
1525                      "None.",
1526                  }},
1527     MessageEntry{
1528         "PCIeFatalMalformedTLP",
1529         {
1530             "Indicates a PCIe Malformed TLP Error.",
1531 
1532             "PCIe Fatal Malformed TLP Error. Bus=%1 Device=%2 Function=%3.",
1533             "Critical",
1534             3,
1535 
1536             {
1537                 "number",
1538                 "number",
1539                 "number",
1540             },
1541             "None.",
1542         }},
1543     MessageEntry{"PCIeFatalMCBlockedTLP",
1544                  {
1545                      "Indicates a PCIe MC Blocked TLP Error.",
1546                      "PCIe Fatal MC Blocked TLP Error. Bus=%1 "
1547                      "Device=%2 Function=%3.",
1548                      "Critical",
1549                      3,
1550 
1551                      {
1552                          "number",
1553                          "number",
1554                          "number",
1555                      },
1556                      "None.",
1557                  }},
1558     MessageEntry{
1559         "PCIeFatalPoisonedTLP",
1560         {
1561             "Indicates a PCIe Poisoned TLP Error.",
1562 
1563             "PCIe Fatal Poisoned TLP Error. Bus=%1 Device=%2 Function=%3.",
1564             "Critical",
1565             3,
1566 
1567             {
1568                 "number",
1569                 "number",
1570                 "number",
1571             },
1572             "None.",
1573         }},
1574     MessageEntry{"PCIeFatalReceiverBufferOverflow",
1575                  {
1576                      "Indicates a PCIe Receiver Buffer Overflow Error.",
1577                      "PCIe Fatal Receiver Buffer Overflow. Bus=%1 Device=%2 "
1578                      "Function=%3.",
1579                      "Critical",
1580                      3,
1581 
1582                      {
1583                          "number",
1584                          "number",
1585                          "number",
1586                      },
1587                      "None.",
1588                  }},
1589     MessageEntry{
1590         "PCIeFatalReceivedErrNonFatalMessage",
1591         {
1592             "Indicates a PCIe Received ERR_NONFATAL Message Error.",
1593 
1594             "PCIe Fatal Received ERR_NONFATAL Message. Bus=%1 Device=%2 "
1595             "Function=%3.",
1596             "Critical",
1597             3,
1598 
1599             {
1600                 "number",
1601                 "number",
1602                 "number",
1603             },
1604             "None.",
1605         }},
1606     MessageEntry{"PCIeFatalReceivedFatalMessageFromDownstream",
1607                  {
1608                      "Indicates a PCIe Received Fatal Message "
1609                      "From Downstream Error.",
1610 
1611                      "PCIe Fatal Received Fatal Message From Downstream. "
1612                      "Bus=%1 Device=%2 Function=%3.",
1613                      "Critical",
1614                      3,
1615 
1616                      {
1617                          "number",
1618                          "number",
1619                          "number",
1620                      },
1621                      "None.",
1622                  }},
1623     MessageEntry{"PCIeFatalSurpriseLinkDown",
1624                  {
1625                      "Indicates a PCIe Surprise Link Down Error.",
1626                      "PCIe Fatal Surprise Link Down Error. Bus=%1 Device=%2 "
1627                      "Function=%3.",
1628                      "Critical",
1629                      3,
1630 
1631                      {
1632                          "number",
1633                          "number",
1634                          "number",
1635                      },
1636                      "None.",
1637                  }},
1638     MessageEntry{"PCIeFatalTLPPrefixBlocked",
1639                  {
1640                      "Indicates a PCIe TLP Prefix Blocked Error.",
1641                      "PCIe Fatal TLP Prefix Blocked Error. Bus=%1 Device=%2 "
1642                      "Function=%3.",
1643                      "Critical",
1644                      3,
1645 
1646                      {
1647                          "number",
1648                          "number",
1649                          "number",
1650                      },
1651                      "None.",
1652                  }},
1653     MessageEntry{
1654         "PCIeFatalUncorrectableInternal",
1655         {
1656             "Indicates a PCIe Uncorrectable Internal Error.",
1657 
1658             "PCIe Fatal Uncorrectable Internal Error. Bus=%1 Device=%2 "
1659             "Function=%3.",
1660             "Critical",
1661             3,
1662 
1663             {
1664                 "number",
1665                 "number",
1666                 "number",
1667             },
1668             "None.",
1669         }},
1670     MessageEntry{"PCIeFatalUnexpectedCompletion",
1671                  {
1672                      "Indicates a PCIe Unexpected Completion Error.",
1673                      "PCIe Fatal Unexpected Completion. Bus=%1 Device=%2 "
1674                      "Function=%3.",
1675                      "Critical",
1676                      3,
1677 
1678                      {
1679                          "number",
1680                          "number",
1681                          "number",
1682                      },
1683                      "None.",
1684                  }},
1685     MessageEntry{"PCIeFatalUnspecifiedNonAERFatalError",
1686                  {
1687                      "Indicates a PCIe Unspecified Non-AER Fatal Error.",
1688                      "PCIe Fatal Unspecified Non-AER Fatal Error. Bus=%1 "
1689                      "Device=%2 Function=%3.",
1690                      "Critical",
1691                      3,
1692 
1693                      {
1694                          "number",
1695                          "number",
1696                          "number",
1697                      },
1698                      "None.",
1699                  }},
1700     MessageEntry{
1701         "PCIeFatalUnsupportedRequest",
1702         {
1703             "Indicates a PCIe Unsupported Request Error.",
1704 
1705             "PCIe Fatal Unsupported Request. Bus=%1 Device=%2 Function=%3.",
1706             "Critical",
1707             3,
1708 
1709             {
1710                 "number",
1711                 "number",
1712                 "number",
1713             },
1714             "None.",
1715         }},
1716     MessageEntry{"PowerButtonPressed",
1717                  {
1718                      "Indicates that the power button was pressed.",
1719                      "Power Button Pressed.",
1720                      "OK",
1721                      0,
1722                      {},
1723                      "None.",
1724                  }},
1725     MessageEntry{"PowerRestorePolicyApplied",
1726                  {
1727                      "Indicates that power was restored and the "
1728                      "BMC has applied the restore policy.",
1729                      "Power restore policy applied.",
1730                      "OK",
1731                      0,
1732                      {},
1733                      "None.",
1734                  }},
1735     MessageEntry{"PowerSupplyConfigurationError",
1736                  {
1737                      "Indicates an error in power supply configuration.",
1738                      "Power supply %1 configuration error.",
1739                      "Warning",
1740                      1,
1741                      {"string"},
1742                      "None.",
1743                  }},
1744     MessageEntry{
1745         "PowerSupplyConfigurationErrorRecovered",
1746         {
1747             "Indicates that power supply configuration error recovered "
1748             "from a failure.",
1749             "Power supply %1 configuration error recovered.",
1750             "OK",
1751             1,
1752             {"string"},
1753             "None.",
1754         }},
1755     MessageEntry{
1756         "PowerSupplyFanFailed",
1757         {
1758             "Indicates that the specified power supply fan has failed.",
1759             "Power supply %1 fan %2 failed.",
1760             "Warning",
1761             2,
1762             {"string", "string"},
1763             "None.",
1764         }},
1765     MessageEntry{
1766         "PowerSupplyFanRecovered",
1767         {
1768             "Indicates that the power supply fan recovered from a failure.",
1769             "Power supply %1 fan %2 recovered.",
1770             "OK",
1771             2,
1772             {"string", "string"},
1773             "None.",
1774         }},
1775     MessageEntry{"PowerSupplyFailed",
1776                  {
1777                      "Indicates that a power supply has failed.",
1778                      "Power supply %1 failed.",
1779                      "Warning",
1780                      1,
1781                      {"string"},
1782                      "None.",
1783                  }},
1784     MessageEntry{"PowerSupplyFailurePredicted",
1785                  {
1786                      "Indicates that a power supply is predicted to fail.",
1787                      "Power supply %1 failure predicted.",
1788                      "Warning",
1789                      1,
1790                      {"string"},
1791                      "None.",
1792                  }},
1793     MessageEntry{"PowerSupplyInserted",
1794                  {
1795                      "Indicates that a power supply has been inserted.",
1796                      "Power supply %1 inserted.",
1797                      "OK",
1798                      1,
1799                      {"string"},
1800                      "None.",
1801                  }},
1802     MessageEntry{"PowerSupplyPowerGoodFailed",
1803                  {
1804                      "Indicates that the power supply power good signal "
1805                      "failed to assert within the specified time.",
1806                      "Power supply power good failed to assert within %1 "
1807                      "milliseconds.",
1808                      "Critical",
1809                      1,
1810                      {"number"},
1811                      "None.",
1812                  }},
1813     MessageEntry{"PowerSupplyPowerLost",
1814                  {
1815                      "Indicates that a power supply has lost input power.",
1816                      "Power supply %1 power lost.",
1817                      "Warning",
1818                      1,
1819                      {"string"},
1820                      "None.",
1821                  }},
1822     MessageEntry{"PowerSupplyPowerRestored",
1823                  {
1824                      "Indicates that a power supply input power was restored.",
1825                      "Power supply %1 power restored.",
1826                      "OK",
1827                      0,
1828                      {"string"},
1829                      "None.",
1830                  }},
1831     MessageEntry{"PowerSupplyPredictedFailureRecovered",
1832                  {
1833                      "Indicates that a power supply recovered "
1834                      "from a predicted failure.",
1835                      "Power supply %1 predicted failure recovered.",
1836                      "OK",
1837                      1,
1838                      {"string"},
1839                      "None.",
1840                  }},
1841     MessageEntry{"PowerSupplyRecovered",
1842                  {
1843                      "Indicates that a power supply recovered from a failure.",
1844                      "Power supply %1 recovered.",
1845                      "OK",
1846                      1,
1847                      {"string"},
1848                      "None.",
1849                  }},
1850     MessageEntry{"PowerSupplyRemoved",
1851                  {
1852                      "Indicates that a power supply has been removed.",
1853                      "Power supply %1 removed.",
1854                      "Warning",
1855                      1,
1856                      {"string"},
1857                      "None.",
1858                  }},
1859     MessageEntry{"PowerUnitDegradedFromNonRedundant",
1860                  {
1861                      "Indicates that power unit is come back to redundant from"
1862                      "nonredundant but is still not in full redundancy mode.",
1863                      "Power Unit degraded from nonredundant.",
1864                      "Warning",
1865                      0,
1866                      {},
1867                      "None.",
1868                  }},
1869     MessageEntry{"PowerUnitDegradedFromRedundant",
1870                  {
1871                      "Indicates that power unit is degarded from full "
1872                      "redundancy mode.",
1873                      "Power Unit degraded from redundant.",
1874                      "Warning",
1875                      0,
1876                      {},
1877                      "None.",
1878                  }},
1879     MessageEntry{"PowerUnitRedundancyDegraded",
1880                  {
1881                      "Indicates that power unit redundancy has been degraded.",
1882                      "Power Unit Redundancy degraded.",
1883                      "Warning",
1884                      0,
1885                      {},
1886                      "None.",
1887                  }},
1888     MessageEntry{
1889         "PowerUnitNonRedundantFromInsufficient",
1890         {
1891             "Indicates that power unit is not in redundancy mode and get"
1892             "sufficient power to support redundancy from insufficient"
1893             "power.",
1894 
1895             "Power Unit NonRedundant from insufficient to sufficient.",
1896             "Warning",
1897             0,
1898             {},
1899             "None.",
1900         }},
1901     MessageEntry{"PowerUnitNonRedundantInsufficient",
1902                  {
1903                      "Indicates that power unit do not have sufficient "
1904                      "power to support redundancy.",
1905                      "Power Unit NonRedundant and has insufficient resource.",
1906                      "Critical",
1907                      0,
1908                      {},
1909                      "None.",
1910                  }},
1911     MessageEntry{"PowerUnitRedundancyLost",
1912                  {
1913                      "Indicates that power unit redundancy has been lost.",
1914                      "Power Unit Redundancy lost.",
1915                      "Warning",
1916                      0,
1917                      {},
1918                      "None.",
1919                  }},
1920     MessageEntry{
1921         "PowerUnitRedundancyRegained",
1922         {
1923             "Indicates that power unit full redundancy has been regained.",
1924             "Power Unit Redundancy regained.",
1925             "OK",
1926             0,
1927             {},
1928             "None.",
1929         }},
1930     MessageEntry{
1931         "PowerUnitNonRedundantSufficient",
1932         {
1933             "Indicates that power unit is not in redundancy mode but still"
1934             "has sufficient power to support redundancy.",
1935             "Power Unit Nonredundant but has sufficient resource.",
1936             "Warning",
1937             0,
1938             {},
1939             "None.",
1940         }},
1941     MessageEntry{"ResetButtonPressed",
1942                  {
1943                      "Indicates that the reset button was pressed.",
1944                      "Reset Button Pressed.",
1945                      "OK",
1946                      0,
1947                      {},
1948                      "None.",
1949                  }},
1950     MessageEntry{"SecurityBoot2ndFlashEnabled",
1951                  {
1952                      "Indicates that the BMC 2nd boot flash is enabled.",
1953                      "BMC 2nd boot flash is enabled.",
1954                      "Critical",
1955                      0,
1956                      {},
1957                      "None.",
1958                  }},
1959     MessageEntry{"SecurityP2aBridgeEnabled",
1960                  {
1961                      "Indicates that the P2A bridge is enabled.",
1962                      "P2A(PCIe to AHB) bridge is enabled.",
1963                      "Critical",
1964                      0,
1965                      {},
1966                      "None.",
1967                  }},
1968     MessageEntry{"SecurityUartPortDebugEnabled",
1969                  {
1970                      "Indicates that the uart port debug is enabled.",
1971                      "Uart port debug is enabled.",
1972                      "Critical",
1973                      0,
1974                      {},
1975                      "None.",
1976                  }},
1977     MessageEntry{
1978         "SecurityUserStrongHashAlgoRestored",
1979         {
1980             "Indicates that password computing hash algorithm changed.",
1981             "Password computing hash algorithm is changed to sha256/sha512.",
1982             "OK",
1983             0,
1984             {},
1985             "None.",
1986         }},
1987 
1988     MessageEntry{"SecurityUserNonRootUidZeroAssigned",
1989                  {
1990                      "Indicates that non root user assigned with user ID zero.",
1991                      "User ID Zero is assigned with non-root user.",
1992                      "Critical",
1993                      0,
1994                      {},
1995                      "None.",
1996                  }},
1997     MessageEntry{"SecurityUserNonRootUidZeroRemoved",
1998                  {
1999                      "Indicates that non root user ID is removed",
2000                      "Non root user assigned with user ID zero is removed.",
2001                      "OK",
2002                      0,
2003                      {},
2004                      "None.",
2005                  }},
2006 
2007     MessageEntry{"SecurityUserRootEnabled",
2008                  {
2009                      "Indicates that system root user is enabled.",
2010                      "User root is enabled.",
2011                      "Critical",
2012                      0,
2013                      {},
2014                      "None.",
2015                  }},
2016     MessageEntry{"SecurityUserRootDisabled",
2017                  {
2018                      "Indicates that system root user is disabled.",
2019                      "User root is disabled.",
2020                      "OK",
2021                      0,
2022                      {},
2023                      "None.",
2024                  }},
2025 
2026     MessageEntry{"SecurityUserUnsupportedShellEnabled",
2027                  {
2028                      "Indicates that unsupported shell is enabled.",
2029                      "Unsupported shell is enabled.",
2030                      "Critical",
2031                      0,
2032                      {},
2033                      "None.",
2034                  }},
2035     MessageEntry{"SecurityUserUnsupportedShellRemoved",
2036                  {
2037                      "Indicates that unsupported shell is removed.",
2038                      "Unsupported shell is removed.",
2039                      "OK",
2040                      0,
2041                      {},
2042                      "None.",
2043                  }},
2044 
2045     MessageEntry{
2046         "SecurityUserWeakHashAlgoEnabled",
2047         {
2048             "Indicates that weak password computing hash algorithm is enabled.",
2049             "Weak password computing hash algorithm is enabled.",
2050             "Critical",
2051             0,
2052             {},
2053             "None.",
2054         }},
2055     MessageEntry{"SELEntryAdded",
2056                  {
2057                      "Indicates a SEL entry was added using the "
2058                      "Add SEL Entry or Platform Event command.",
2059                      "SEL Entry Added: %1",
2060                      "OK",
2061                      1,
2062                      {
2063                          "string",
2064                      },
2065                      "None.",
2066                  }},
2067     MessageEntry{"SensorThresholdCriticalHighGoingHigh",
2068                  {
2069                      "Indicates that a threshold sensor has crossed a "
2070                      "critical high threshold going high.",
2071                      "%1 sensor crossed a critical high threshold going "
2072                      "high. Reading=%2 Threshold=%3.",
2073                      "Critical",
2074                      3,
2075                      {"string", "number", "number"},
2076                      "Check the sensor or subsystem for errors.",
2077                  }},
2078     MessageEntry{"SensorThresholdCriticalHighGoingLow",
2079                  {
2080                      "Indicates that a threshold sensor has crossed a "
2081                      "critical high threshold going low.",
2082                      "%1 sensor crossed a critical high threshold going low. "
2083                      "Reading=%2 Threshold=%3.",
2084                      "OK",
2085                      3,
2086                      {"string", "number", "number"},
2087                      "None.",
2088                  }},
2089     MessageEntry{"SensorThresholdCriticalLowGoingHigh",
2090                  {
2091                      "Indicates that a threshold sensor has crossed a "
2092                      "critical low threshold going high.",
2093                      "%1 sensor crossed a critical low threshold going high. "
2094                      "Reading=%2 Threshold=%3.",
2095                      "OK",
2096                      3,
2097                      {"string", "number", "number"},
2098                      "None.",
2099                  }},
2100     MessageEntry{"SensorThresholdCriticalLowGoingLow",
2101                  {
2102                      "Indicates that a threshold sensor has crossed a "
2103                      "critical low threshold going low.",
2104                      "%1 sensor crossed a critical low threshold going low. "
2105                      "Reading=%2 Threshold=%3.",
2106                      "Critical",
2107                      3,
2108                      {"string", "number", "number"},
2109                      "Check the sensor or subsystem for errors.",
2110                  }},
2111     MessageEntry{"SensorThresholdWarningHighGoingHigh",
2112                  {
2113                      "Indicates that a threshold sensor has crossed a "
2114                      "warning high threshold going high.",
2115                      "%1 sensor crossed a warning high threshold going high. "
2116                      "Reading=%2 Threshold=%3.",
2117                      "Warning",
2118                      3,
2119                      {"string", "number", "number"},
2120                      "Check the sensor or subsystem for errors.",
2121                  }},
2122     MessageEntry{"SensorThresholdWarningHighGoingLow",
2123                  {
2124                      "Indicates that a threshold sensor has crossed a "
2125                      "warning high threshold going low.",
2126                      "%1 sensor crossed a warning high threshold going low. "
2127                      "Reading=%2 Threshold=%3.",
2128                      "OK",
2129                      3,
2130                      {"string", "number", "number"},
2131                      "None.",
2132                  }},
2133     MessageEntry{"SensorThresholdWarningLowGoingHigh",
2134                  {
2135                      "Indicates that a threshold sensor has crossed a "
2136                      "warning low threshold going high.",
2137                      "%1 sensor crossed a warning low threshold going high. "
2138                      "Reading=%2 Threshold=%3.",
2139                      "OK",
2140                      3,
2141                      {"string", "number", "number"},
2142                      "None.",
2143                  }},
2144     MessageEntry{"SensorThresholdWarningLowGoingLow",
2145                  {
2146                      "Indicates that a threshold sensor has crossed a "
2147                      "warning low threshold going low.",
2148                      "%1 sensor crossed a warning low threshold going low. "
2149                      "Reading=%2 Threshold=%3.",
2150                      "Warning",
2151                      3,
2152                      {"string", "number", "number"},
2153                      "Check the sensor or subsystem for errors.",
2154                  }},
2155     MessageEntry{"ServiceFailure",
2156                  {
2157                      "Indicates that a service has exited unsuccessfully.",
2158                      "Service %1 has exited unsuccessfully.",
2159                      "Warning",
2160                      1,
2161                      {"string"},
2162                      "None.",
2163                  }},
2164     MessageEntry{"ServiceStarted",
2165                  {
2166                      "Indicates that a service has started successfully.",
2167                      "Service %1 has started successfully.",
2168                      "OK",
2169                      1,
2170                      {"string"},
2171                      "None.",
2172                  }},
2173     MessageEntry{"SparingRedundancyDegraded",
2174                  {
2175                      "Indicates the sparing redundancy state is degraded.",
2176                      "Sparing redundancy state degraded. Socket=%1 "
2177                      "Channel=%2 DIMM=%3 Domain=%4 Rank=%5.",
2178                      "Warning",
2179                      5,
2180 
2181                      {
2182                          "number",
2183                          "string",
2184                          "number",
2185                          "string",
2186                          "number",
2187                      },
2188                      "None.",
2189                  }},
2190     MessageEntry{
2191         "SparingRedundancyFull",
2192         {
2193             "Indicates the sparing redundancy state is fully redundant.",
2194             "Sparing redundancy state fully redundant. Socket=%1 "
2195             "Channel=%2 DIMM=%3 Domain=%4 Rank=%5.",
2196             "OK",
2197             5,
2198 
2199             {
2200                 "number",
2201                 "string",
2202                 "number",
2203                 "string",
2204                 "number",
2205             },
2206             "None.",
2207         }},
2208     MessageEntry{"SsbThermalTrip",
2209                  {
2210                      "Indicates that an SSB Thermal trip has been asserted.",
2211                      "SSB Thermal trip.",
2212                      "Critical",
2213                      0,
2214                      {},
2215                      "None.",
2216                  }},
2217     MessageEntry{"SystemInterfaceDisabledProvisioned",
2218                  {
2219                      "Indicates that the system interface is in the disabled "
2220                      "provisioned state. All commands are blocked to execute "
2221                      "through the system interface.",
2222                      "The system interface is in the disabled provisioned "
2223                      "state.",
2224                      "OK",
2225                      0,
2226                      {},
2227                      "None.",
2228                  }},
2229     MessageEntry{"SystemInterfaceUnprovisioned",
2230                  {
2231                      "Indicates that the system interface is in the "
2232                      "unprovisioned state. All commands are permitted to "
2233                      "execute through the system interface.",
2234                      "The system interface is in the unprovisioned state.",
2235                      "Critical",
2236                      0,
2237                      {},
2238                      "None.",
2239                  }},
2240     MessageEntry{"SystemInterfaceWhitelistProvisioned",
2241                  {
2242                      "Indicates that the system interface is in the whitelist "
2243                      "provisioned state. Only whitelisted commands "
2244                      "are permitted to execute through the system interface.",
2245                      "The system interface is in the whitelist provisioned "
2246                      "state.",
2247                      "Warning",
2248                      0,
2249                      {},
2250                      "None.",
2251                  }},
2252     MessageEntry{"SystemPowerGoodFailed",
2253                  {
2254                      "Indicates that the system power good signal failed "
2255                      "to assert within the specified time (VR failure).",
2256                      "System power good failed to assert within %1 "
2257                      "milliseconds (VR failure).",
2258                      "Critical",
2259                      1,
2260                      {"number"},
2261                      "None.",
2262                  }},
2263     MessageEntry{"SystemPowerLost",
2264                  {
2265                      "Indicates that power was lost while the "
2266                      "system was powered on.",
2267                      "System Power Lost.",
2268                      "Critical",
2269                      0,
2270                      {},
2271                      "None.",
2272                  }},
2273     MessageEntry{"SystemPowerOffFailed",
2274                  {
2275                      "Indicates that the system failed to power off.",
2276                      "System Power-Off Failed.",
2277                      "Critical",
2278                      0,
2279                      {},
2280                      "None.",
2281                  }},
2282     MessageEntry{"SystemPowerOnFailed",
2283                  {
2284                      "Indicates that the system failed to power on.",
2285                      "System Power-On Failed.",
2286                      "Critical",
2287                      0,
2288                      {},
2289                      "None.",
2290                  }},
2291     MessageEntry{
2292         "VoltageRegulatorOverheated",
2293         {
2294             "Indicates that the specified voltage regulator overheated.",
2295             "%1 Voltage Regulator Overheated.",
2296             "Critical",
2297             1,
2298             {"string"},
2299             "None.",
2300         }},
2301 
2302 };
2303 } // namespace redfish::registries::openbmc
2304