| /openbmc/phosphor-power/phosphor-regulators/src/ |
| H A D | error_logging.hpp | 66 virtual void logConfigFileError(Entry::Level severity, 77 virtual void logDBusError(Entry::Level severity, Journal& journal) = 0; 89 virtual void logI2CError(Entry::Level severity, Journal& journal, 99 virtual void logInternalError(Entry::Level severity, Journal& journal) = 0; 114 Entry::Level severity, Journal& journal, PhaseFaultType type, 129 virtual void logPMBusError(Entry::Level severity, Journal& journal, 144 Entry::Level severity, Journal& journal, 172 virtual void logConfigFileError(Entry::Level severity, 176 virtual void logDBusError(Entry::Level severity, Journal& journal) override; 179 virtual void logI2CError(Entry::Level severity, Journal& journal, [all …]
|
| H A D | error_logging.cpp | 36 void DBusErrorLogging::logConfigFileError(Entry::Level severity, in logConfigFileError() 41 if (severity == Entry::Level::Critical) in logConfigFileError() 55 void DBusErrorLogging::logDBusError(Entry::Level severity, Journal& journal) in logDBusError() 62 void DBusErrorLogging::logI2CError(Entry::Level severity, Journal& journal, in logI2CError() 82 void DBusErrorLogging::logInternalError(Entry::Level severity, Journal& journal) in logInternalError() 90 Entry::Level severity, Journal& journal, PhaseFaultType type, in logPhaseFault() 102 void DBusErrorLogging::logPMBusError(Entry::Level severity, Journal& journal, in logPMBusError() 112 Entry::Level severity, Journal& journal, const std::string& inventoryPath) in logWriteVerificationError() 209 const std::string& message, Entry::Level severity, in logError()
|
| H A D | phase_fault_detection.cpp | 81 Entry::Level::Warning, services, in execute() 132 Entry::Level severity = (faultType == PhaseFaultType::n) in logPhaseFault() 133 ? Entry::Level::Warning in logPhaseFault() 134 : Entry::Level::Informational; in logPhaseFault()
|
| H A D | error_logging_utils.hpp | 40 void logError(std::exception_ptr eptr, Entry::Level severity, 63 void logError(std::exception_ptr eptr, Entry::Level severity,
|
| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | error_logging_utils_tests.cpp | 79 Entry::Level::Error, Ref(journal), in TEST() 84 error_logging_utils::logError(eptr, Entry::Level::Error, services); in TEST() 97 error_logging_utils::logError(eptr, Entry::Level::Error, services, in TEST() 119 logI2CError(Entry::Level::Critical, Ref(journal), in TEST() 125 error_logging_utils::logError(eptr, Entry::Level::Critical, services, in TEST() 155 logConfigFileError(Entry::Level::Warning, Ref(journal))) in TEST() 160 error_logging_utils::logError(eptr, Entry::Level::Warning, services, in TEST() 183 logConfigFileError(Entry::Level::Error, Ref(journal))) in TEST() 188 error_logging_utils::logError(eptr, Entry::Level::Error, services, in TEST() 192 error_logging_utils::logError(eptr, Entry::Level::Error, services, in TEST() [all …]
|
| H A D | mock_error_logging.hpp | 43 (Entry::Level severity, Journal& journal), (override)); 45 MOCK_METHOD(void, logDBusError, (Entry::Level severity, Journal& journal), 49 (Entry::Level severity, Journal& journal, 54 (Entry::Level severity, Journal& journal), (override)); 57 (Entry::Level severity, Journal& journal, PhaseFaultType type, 63 (Entry::Level severity, Journal& journal, 68 (Entry::Level severity, Journal& journal,
|
| /openbmc/dbus-sensors/src/ |
| H A D | Thresholds.hpp | 22 enum class Level enum 40 const Level& lev, const Direction& dir, const double& val, in Threshold() 46 Level level; 60 thresholds::Level level, thresholds::Direction direction, 66 Level level; 138 Level level; 144 {{Level::WARNING, 0, "Warning"}, 145 {Level::CRITICAL, 1, "Critical"}, 146 {Level::PERFORMANCELOSS, 2, "PerformanceLoss"}, 147 {Level::SOFTSHUTDOWN, 3, "SoftShutdown"}, [all …]
|
| H A D | Thresholds.cpp | 31 Level findThresholdLevel(uint8_t sev) in findThresholdLevel() 40 return Level::ERROR; in findThresholdLevel() 124 Level level = findThresholdLevel(severity); in parseThresholdsFromConfig() 127 if ((level == Level::ERROR) || (direction == Direction::ERROR)) in parseThresholdsFromConfig() 400 if (change.threshold.level == thresholds::Level::CRITICAL && in checkThresholds() 450 thresholds::Level level, thresholds::Direction direction, in assertThresholds() 494 std::string, std::vector<std::tuple<const char*, thresholds::Level, in parseThresholdsFromAttr() 499 std::make_tuple("average_min", Level::WARNING, Direction::LOW, in parseThresholdsFromAttr() 501 std::make_tuple("average_max", Level::WARNING, Direction::HIGH, in parseThresholdsFromAttr() 506 std::make_tuple("min", Level::WARNING, Direction::LOW, 0.0), in parseThresholdsFromAttr() [all …]
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | event_logger_test.cpp | 14 void create(const std::string& name, Entry::Level level, in create() 34 Entry::Level _prevLevel; 66 eventLogger.log("one", Entry::Level::Error, ad); in TEST() 74 EXPECT_EQ(ch._prevLevel, Entry::Level::Error); in TEST() 79 eventLogger.log("two", Entry::Level::Error, ad); in TEST() 80 eventLogger.log("three", Entry::Level::Error, ad); in TEST() 96 eventLogger.log("three", Entry::Level::Error, ad); in TEST() 97 eventLogger.log("two", Entry::Level::Error, ad); in TEST() 98 eventLogger.log("one", Entry::Level::Error, ad); in TEST()
|
| H A D | user_header_test.cpp | 105 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 130 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 157 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 164 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 171 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 196 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 218 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Critical, ad, in TEST() 242 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Critical, ad, in TEST() 261 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 294 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() [all …]
|
| H A D | pel_manager_test.cpp | 24 using Level = phosphor::logging::Entry::Level; typedef 29 void log(const std::string& name, Level level, in log() 38 Level errLevel; 150 manager.create("error message", 42, 0, Level::Error, additionalData, in TEST_F() 193 manager.create("error message", 42, 0, Level::Error, additionalData, in TEST_F() 202 EXPECT_EQ(logger.errLevel, Level::Error); in TEST_F() 280 manager.create("xyz.openbmc_project.Error.Test", 33, 0, Level::Error, in TEST_F() 312 manager.create("xyz.openbmc_project.Error.Foo", 42, 0, Level::Error, in TEST_F() 393 manager.create("error message", 42, 0, Level::Error, additionalData, in TEST_F() 605 manager.create("error message", 37, 0, Level::Error, additionalData, in TEST_F() [all …]
|
| /openbmc/phosphor-logging/lib/ |
| H A D | lg2_commit.cpp | 24 static auto severity_from_syslog(int s) -> Entry::Level in severity_from_syslog() 29 return Entry::Level::Debug; in severity_from_syslog() 32 return Entry::Level::Informational; in severity_from_syslog() 35 return Entry::Level::Notice; in severity_from_syslog() 38 return Entry::Level::Warning; in severity_from_syslog() 41 return Entry::Level::Error; in severity_from_syslog() 44 return Entry::Level::Critical; in severity_from_syslog() 47 return Entry::Level::Alert; in severity_from_syslog() 50 return Entry::Level::Emergency; in severity_from_syslog() 52 return Entry::Level::Emergency; in severity_from_syslog() [all …]
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | event_manager_test.cpp | 514 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 520 EXPECT_EQ(level, pldm::utils::Level::WARNING); in TEST() 535 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 541 EXPECT_EQ(level, pldm::utils::Level::WARNING); in TEST() 556 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 564 EXPECT_EQ(level, pldm::utils::Level::WARNING); in TEST() 568 EXPECT_EQ(level, pldm::utils::Level::CRITICAL); in TEST() 584 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 591 EXPECT_EQ(level, pldm::utils::Level::CRITICAL); in TEST() 600 EXPECT_EQ(level, pldm::utils::Level::WARNING); in TEST() [all …]
|
| /openbmc/pldm/platform-mc/ |
| H A D | numeric_sensor.hpp | 219 double getThreshold(pldm::utils::Level level, in getThreshold() 229 case pldm::utils::Level::WARNING: in getThreshold() 233 case pldm::utils::Level::CRITICAL: in getThreshold() 237 case pldm::utils::Level::HARDSHUTDOWN: in getThreshold() 254 bool isThresholdValid(pldm::utils::Level level, in isThresholdValid() 267 bool getThresholdAlarm(pldm::utils::Level level, in getThresholdAlarm() 276 case pldm::utils::Level::WARNING: in getThresholdAlarm() 280 case pldm::utils::Level::CRITICAL: in getThresholdAlarm() 284 case pldm::utils::Level::HARDSHUTDOWN: in getThresholdAlarm() 346 int setThresholdAlarm(pldm::utils::Level level, [all …]
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | severity.hpp | 20 uint8_t convertOBMCSeverityToPEL(phosphor::logging::Entry::Level severity); 39 std::optional<phosphor::logging::Entry::Level> fixupLogSeverity( 40 phosphor::logging::Entry::Level obmcSeverity, SeverityType pelSeverity);
|
| H A D | event_logger.hpp | 39 const std::string&, phosphor::logging::Entry::Level, const ADMap&)>; 44 using EventEntry = std::tuple<std::string, phosphor::logging::Entry::Level, 75 phosphor::logging::Entry::Level severity, const AdditionalData& ad) in log()
|
| /openbmc/phosphor-fan-presence/sensor-monitor/ |
| H A D | threshold_alarm_logger.cpp | 50 using ErrorData = std::tuple<ErrorName, ErrorStatus, Entry::Level>; 60 {{true, ErrorData{"WarningHigh", "", Entry::Level::Warning}}, 62 ErrorData{"WarningHigh", "Clear", Entry::Level::Informational}}}}, 64 {{true, ErrorData{"WarningLow", "", Entry::Level::Warning}}, 66 ErrorData{"WarningLow", "Clear", Entry::Level::Informational}}}}}}, 70 {{true, ErrorData{"CriticalHigh", "", Entry::Level::Critical}}, 72 ErrorData{"CriticalHigh", "Clear", Entry::Level::Informational}}}}, 74 {{true, ErrorData{"CriticalLow", "", Entry::Level::Critical}}, 76 Entry::Level::Informational}}}}}}, 80 {{true, ErrorData{"PerformanceLossHigh", "", Entry::Level::Warning}}, [all …]
|
| /openbmc/u-boot/arch/x86/include/asm/acpi/ |
| H A D | irqlinks.asl | 37 IRQ(Level, ActiveLow, Shared) { 5, 6, 7, 10, 11, 12, 14, 15 } 45 IRQ(Level, ActiveLow, Shared) {} 95 IRQ(Level, ActiveLow, Shared) { 5, 6, 7, 10, 11, 12, 14, 15 } 103 IRQ(Level, ActiveLow, Shared) {} 153 IRQ(Level, ActiveLow, Shared) { 5, 6, 7, 10, 11, 12, 14, 15 } 161 IRQ(Level, ActiveLow, Shared) {} 211 IRQ(Level, ActiveLow, Shared) { 5, 6, 7, 10, 11, 12, 14, 15 } 219 IRQ(Level, ActiveLow, Shared) {} 269 IRQ(Level, ActiveLow, Shared) { 5, 6, 7, 10, 11, 12, 14, 15 } 277 IRQ(Level, ActiveLow, Shared) {} [all …]
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | file_io_type_pel.cpp | 44 Entry::Level getEntryLevelFromPEL(const std::string& pelFileName) in getEntryLevelFromPEL() 46 const std::map<uint8_t, Entry::Level> severityMap{ in getEntryLevelFromPEL() 47 {0x00, Entry::Level::Informational}, // Informational event in getEntryLevelFromPEL() 48 {0x10, Entry::Level::Warning}, // Recoverable error in getEntryLevelFromPEL() 49 {0x20, Entry::Level::Warning}, // Predictive error in getEntryLevelFromPEL() 50 {0x40, Entry::Level::Error}, // Unrecoverable error in getEntryLevelFromPEL() 51 {0x50, Entry::Level::Error}, // Critical error in getEntryLevelFromPEL() 52 {0x60, Entry::Level::Error}, // Error from a diagnostic test in getEntryLevelFromPEL() 53 {0x70, Entry::Level::Warning} // Recoverable symptom in getEntryLevelFromPEL() 89 return Entry::Level::Error; in getEntryLevelFromPEL()
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | fsl-lx2160a.dtsi | 83 interrupts = <0 26 0x4>; /* Level high type */ 92 interrupts = <0 26 0x4>; /* Level high type */ 101 interrupts = <0 241 0x4>; /* Level high type */ 108 interrupts = <0 80 0x4>; /* Level high type */ 115 interrupts = <0 81 0x4>; /* Level high type */ 122 interrupts = <0 28 0x4>; /* Level high type */ 134 interrupts = <0 63 0x4>; /* Level high type */
|
| /openbmc/openpower-host-ipmi-oem/ |
| H A D | oemhandler.cpp | 33 const std::map<uint8_t, Entry::Level> severityMap{ 34 {0x10, Entry::Level::Warning}, // Recoverable error 35 {0x20, Entry::Level::Warning}, // Predictive error 36 {0x40, Entry::Level::Error}, // Unrecoverable error 37 {0x50, Entry::Level::Error}, // Critical error 38 {0x60, Entry::Level::Error}, // Error from a diagnostic test 39 {0x70, Entry::Level::Warning}, // Recoverable symptom 40 {0xFF, Entry::Level::Error}, // Unknown error 43 Entry::Level mapSeverity(const std::string& eSELData) in mapSeverity() 60 return Entry::Level::Error; in mapSeverity()
|
| /openbmc/docs/architecture/code-update/ |
| H A D | code-update-diagrams.md | 3 1. [High-Level Overview](#High-Level Overview) 5 ## High-Level Overview
|
| /openbmc/u-boot/arch/x86/include/asm/arch-tangier/acpi/ |
| H A D | southcluster.asl | 317 GpioInt(Level, ActiveHigh, Exclusive, PullNone, 0, 382 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 30 } 383 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 23 } 384 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 52 } 385 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 51 } 386 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 50 } 387 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 27 } 388 Interrupt(ResourceConsumer, Level, ActiveHigh, Shared, ,, ) { 49 } 429 Name (_DDN, "Intel Merrifield Family-Level Interface Shim")
|
| /openbmc/u-boot/arch/x86/include/asm/arch-baytrail/acpi/ |
| H A D | gpio.asl | 19 Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , ,) 48 Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , ,) 77 Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , ,)
|
| /openbmc/phosphor-logging/test/ |
| H A D | extensions_test.cpp | 15 uint64_t /*timestamp*/, Entry::Level /*severity*/, in create1() argument 21 uint64_t /*timestamp*/, Entry::Level /*severity*/, in create2() argument 80 c("test", 5, 6, Entry::Level::Informational, ad, assocs, ffdc); in REGISTER_EXTENSION_FUNCTION()
|