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