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