Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 25 of 227) sorted by relevance

12345678910

/openbmc/phosphor-power/phosphor-regulators/src/
H A Derror_logging.hpp66 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 Derror_logging.cpp36 void DBusErrorLogging::logConfigFileError(Entry::Level severity, in logConfigFileError() argument
41 if (severity == Entry::Level::Critical) in logConfigFileError()
52 logError(message, severity, additionalData, journal); in logConfigFileError()
55 void DBusErrorLogging::logDBusError(Entry::Level severity, Journal& journal) in logDBusError() argument
58 logError("xyz.openbmc_project.Power.Error.DBus", severity, additionalData, in logDBusError()
62 void DBusErrorLogging::logI2CError(Entry::Level severity, Journal& journal, in logI2CError() argument
78 logError("xyz.openbmc_project.Power.Error.I2C", severity, additionalData, in logI2CError()
82 void DBusErrorLogging::logInternalError(Entry::Level severity, Journal& journal) in logInternalError() argument
85 logError("xyz.openbmc_project.Power.Error.Internal", severity, in logInternalError()
90 Entry::Level severity, Journal& journal, PhaseFaultType type, in logPhaseFault() argument
[all …]
H A Derror_logging_utils.cpp33 void logError(std::exception_ptr eptr, Entry::Level severity, in logError() argument
38 logError(eptr, severity, services, history); in logError()
41 void logError(std::exception_ptr eptr, Entry::Level severity, in logError() argument
67 errorLogging.logConfigFileError(severity, journal); in logError()
76 errorLogging.logPMBusError(severity, journal, e.getInventoryPath()); in logError()
85 errorLogging.logWriteVerificationError(severity, journal, in logError()
95 errorLogging.logI2CError(severity, journal, e.bus, e.addr, in logError()
105 errorLogging.logDBusError(severity, journal); in logError()
114 errorLogging.logInternalError(severity, journal); in logError()
123 errorLogging.logInternalError(severity, journal); in logError()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dmock_error_logging.hpp43 (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/linux/drivers/regulator/
H A Dbd9576-regulator.c239 static bool check_ocp_flag_mismatch(struct regulator_dev *rdev, int severity, in check_ocp_flag_mismatch() argument
242 if ((severity == REGULATOR_SEVERITY_ERR && in check_ocp_flag_mismatch()
244 (severity == REGULATOR_SEVERITY_WARN && in check_ocp_flag_mismatch()
249 if (severity == REGULATOR_SEVERITY_WARN) in check_ocp_flag_mismatch()
258 static bool check_uvd_flag_mismatch(struct regulator_dev *rdev, int severity, in check_uvd_flag_mismatch() argument
261 if ((severity == REGULATOR_SEVERITY_ERR && in check_uvd_flag_mismatch()
263 (severity == REGULATOR_SEVERITY_WARN && in check_uvd_flag_mismatch()
267 if (severity == REGULATOR_SEVERITY_WARN) in check_uvd_flag_mismatch()
276 static bool check_ovd_flag_mismatch(struct regulator_dev *rdev, int severity, in check_ovd_flag_mismatch() argument
279 if ((severity == REGULATOR_SEVERITY_ERR && in check_ovd_flag_mismatch()
[all …]
H A Dmax5970-regulator.c35 static int max597x_uvp_ovp_check_mode(struct regulator_dev *rdev, int severity) in max597x_uvp_ovp_check_mode() argument
45 if (severity == REGULATOR_SEVERITY_PROT) { in max597x_uvp_ovp_check_mode()
57 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_vp() argument
65 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp()
73 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp()
99 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_uvp() argument
111 ret = max597x_uvp_ovp_check_mode(rdev, severity); in max597x_set_uvp()
115 return max597x_set_vp(rdev, lim_uV, severity, enable, false); in max597x_set_uvp()
118 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_ovp() argument
130 ret = max597x_uvp_ovp_check_mode(rdev, severity); in max597x_set_ovp()
[all …]
/openbmc/phosphor-logging/
H A Delog_serialize.cpp34 a(e.id(), e.severity(), e.timestamp(), e.message(), e.additionalData2(), in save()
52 Entry::Level severity{}; in load() local
66 a(id, severity, timestamp, message, additionalData_old, associations, in load()
74 a(id, severity, timestamp, message, additionalData_old, associations, in load()
82 a(id, severity, timestamp, message, additionalData_old, associations, in load()
89 a(id, severity, timestamp, message, additionalData_old, associations, in load()
97 a(id, severity, timestamp, message, additionalData_old, associations, in load()
103 a(id, severity, timestamp, message, additionalData, associations, in load()
108 e.severity(severity, true); in load()
/openbmc/phosphor-logging/test/openpower-pels/
H A Duser_header_test.cpp49 EXPECT_EQ(uh.severity(), 0x20); in TEST()
109 regEntry.severity = {{"", 0x40}}; in TEST()
129 EXPECT_EQ(uh.severity(), 0x40); in TEST()
154 regEntry.severity = {{"", 0x20}, {"systemB", 0x10}, {"systemA", 0x00}}; in TEST()
172 EXPECT_EQ(uh.severity(), 0x00); in TEST()
179 EXPECT_EQ(uh.severity(), 0x10); in TEST()
186 EXPECT_EQ(uh.severity(), 0x20); in TEST()
210 ASSERT_EQ(uh.severity(), 0x40); in TEST()
232 ASSERT_EQ(uh.severity(), 0x50); in TEST()
256 ASSERT_EQ(uh.severity(), 0x51); in TEST()
[all …]
/openbmc/phosphor-webui/app/common/directives/
H A Dlog-filter.js26 $scope.toggleSeverity = function(severity) {
27 $scope.selectedSeverity[severity] =
28 !$scope.selectedSeverity[severity];
30 if (['high', 'medium', 'low'].indexOf(severity) > -1) {
31 if ($scope.selectedSeverity[severity] == false &&
H A Dsyslog-filter.js19 $scope.toggleSeverity = function(severity) {
20 if (severity == 'All') {
25 var index = $scope.selectedSeverityList.indexOf(severity);
29 $scope.selectedSeverityList.push(severity);
/openbmc/libcper/sections/
H A Dcper-section-nvidia.c23 json_object *severity = json_object_new_object(); in cper_section_nvidia_to_ir() local
24 json_object_object_add(severity, "code", in cper_section_nvidia_to_ir()
26 json_object_object_add(severity, "name", in cper_section_nvidia_to_ir()
29 json_object_object_add(section_ir, "severity", severity); in cper_section_nvidia_to_ir()
83 json_object *severity = json_object_object_get(section, "severity"); in ir_section_nvidia_to_cper() local
85 json_object_object_get(severity, "code")); in ir_section_nvidia_to_cper()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.cpp50 phosphor::logging::Entry::Level severity, in UserHeader() argument
146 if (!entry.severity) in UserHeader()
148 _eventSeverity = convertOBMCSeverityToPEL(severity); in UserHeader()
153 auto sev = getSeverity(entry.severity.value(), dataIface); in UserHeader()
254 std::string severity; in getJSON() local
259 severity = pv::getValue(_eventSeverity, pel_values::severityValues); in getJSON()
288 jsonInsert(uh, "Event Severity", severity, 1); in getJSON()
329 s = &sev.severity; in getSeverity()
334 s = &sev.severity; in getSeverity()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dras.c571 int severity = rtas_error_severity(errp); in mce_handle_err_virtmode() local
596 if (severity == RTAS_SEVERITY_NO_ERROR) in mce_handle_err_virtmode()
597 mce_err.severity = MCE_SEV_NO_ERROR; in mce_handle_err_virtmode()
598 else if (severity == RTAS_SEVERITY_EVENT) in mce_handle_err_virtmode()
599 mce_err.severity = MCE_SEV_WARNING; in mce_handle_err_virtmode()
600 else if (severity == RTAS_SEVERITY_WARNING) in mce_handle_err_virtmode()
601 mce_err.severity = MCE_SEV_WARNING; in mce_handle_err_virtmode()
602 else if (severity == RTAS_SEVERITY_ERROR_SYNC) in mce_handle_err_virtmode()
603 mce_err.severity = MCE_SEV_SEVERE; in mce_handle_err_virtmode()
604 else if (severity == RTAS_SEVERITY_ERROR) in mce_handle_err_virtmode()
[all …]
/openbmc/openpower-debug-collector/dump/
H A Dcreate_pel.cpp36 const FFDCData& ffdcData, const Severity severity, in createSbeErrorPEL() argument
80 severity); in createSbeErrorPEL()
109 openpower::dump::pel::Severity convertSeverityToEnum(uint8_t severity) in convertSeverityToEnum() argument
111 switch (severity) in convertSeverityToEnum()
131 uint8_t severity; in processFFDCPackets() local
134 std::tie(severity, fd, path) = ffdcTuple; in processFFDCPackets()
136 Severity logSeverity = convertSeverityToEnum(severity); in processFFDCPackets()
/openbmc/linux/drivers/pci/pcie/
H A Daer.c626 switch (info->severity) { in pci_dev_aer_stats_incr()
682 if (info->severity == AER_CORRECTABLE) { in __aer_print_error()
709 aer_error_severity_string[info->severity]); in aer_print_error()
713 layer = AER_GET_LAYER_ERROR(info->severity, info->status); in aer_print_error()
714 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error()
716 level = (info->severity == AER_CORRECTABLE) ? KERN_WARNING : KERN_ERR; in aer_print_error()
719 aer_error_severity_string[info->severity], in aer_print_error()
735 info->severity, info->tlp_header_valid, &info->tlp); in aer_print_error()
745 aer_error_severity_string[info->severity], in aer_print_port_info()
784 info.severity = aer_severity; in cper_print_aer()
[all …]
/openbmc/ibm-logging/
H A Dpolicy_find.cpp119 std::string severity = "Critical"; in getESELSeverity() local
142 severity = sev->second; in getESELSeverity()
145 return severity; in getESELSeverity()
197 auto severity = getESELSeverity(*selData); in getSearchModifierFirstTry() local
198 if (severity) in getSearchModifierFirstTry()
200 return *callout + "||" + *severity; in getSearchModifierFirstTry()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c415 int severity; in print_health_info() local
428 severity = mlx5_health_get_severity(rfr_severity); in print_health_info()
429 mlx5_log(dev, severity, "Health issue observed, %s, severity(%d) %s:\n", in print_health_info()
430 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity)); in print_health_info()
433 mlx5_log(dev, severity, "assert_var[%d] 0x%08x\n", i, in print_health_info()
436 mlx5_log(dev, severity, "assert_exit_ptr 0x%08x\n", ioread32be(&h->assert_exit_ptr)); in print_health_info()
437 mlx5_log(dev, severity, "assert_callra 0x%08x\n", ioread32be(&h->assert_callra)); in print_health_info()
438 mlx5_log(dev, severity, "fw_ver %d.%d.%d", fw_rev_maj(dev), fw_rev_min(dev), in print_health_info()
440 mlx5_log(dev, severity, "time %u\n", ioread32be(&h->time)); in print_health_info()
441 mlx5_log(dev, severity, "hw_id 0x%08x\n", ioread32be(&h->hw_id)); in print_health_info()
[all …]
/openbmc/phosphor-webui/app/server-health/controllers/
H A Dsensors-overview-controller.js73 $scope.toggleSeverity = function(severity) { argument
74 $scope.selectedSeverity[severity] = !$scope.selectedSeverity[severity];
76 if (['normal', 'warning', 'critical'].indexOf(severity) > -1) {
77 if ($scope.selectedSeverity[severity] == false &&
/openbmc/phosphor-fan-presence/monitor/
H A Dfan_error.hpp99 severity) : in FanError()
103 severity)) in FanError()
117 severity) : in FanError()
121 severity)) in FanError()
/openbmc/sdbusplus/tools/sdbusplus/
H A Devent.py48 self.severity = kwargs.pop("severity", "informational")
49 self.syslog_sev = EventElement.syslog_severity(self.severity)
50 self.registry_sev = EventElement.registry_severity(self.severity)
131 def syslog_severity(severity: str) -> str:
141 }[severity]
144 def registry_severity(severity: str) -> str:
154 }[severity]
/openbmc/telemetry/src/
H A Dtrigger_actions.hpp78 explicit LogToJournal(::discrete::Severity severity) : severity(severity) {} in LogToJournal() argument
85 const ::discrete::Severity severity; member in action::discrete::LogToJournal
101 ::discrete::Severity severity, boost::asio::io_context& ioc,
/openbmc/linux/include/ras/
H A Dras_event.h301 const u8 severity,
305 TP_ARGS(dev_name, status, severity, tlp_header_valid, tlp),
310 __field( u8, severity )
318 __entry->severity = severity;
330 __entry->severity == AER_CORRECTABLE ? "Corrected" :
331 __entry->severity == AER_FATAL ?
333 __entry->severity == AER_CORRECTABLE ?
/openbmc/qemu/include/hw/pci/
H A Dpcie_aer.h75 uint32_t severity; member
83 return msg->severity == PCI_ERR_ROOT_CMD_NONFATAL_EN || in pcie_aer_msg_is_uncor()
84 msg->severity == PCI_ERR_ROOT_CMD_FATAL_EN; in pcie_aer_msg_is_uncor()
/openbmc/openpower-proc-control/extensions/phal/
H A Dcreate_pel.hpp36 const Severity severity = Severity::Informational);
51 const Severity severity = Severity::Error);
61 const Severity severity = Severity::Error);
/openbmc/bmcweb/redfish-core/include/utils/
H A Djournal_utils.hpp116 long int severity = 8; // Default to an invalid priority in fillBMCJournalLogEntryJson() local
117 ret = getJournalMetadataInt(journal, "PRIORITY", severity); in fillBMCJournalLogEntryJson()
144 if (severity <= 2) in fillBMCJournalLogEntryJson()
148 else if (severity <= 4) in fillBMCJournalLogEntryJson()

12345678910