blob: aea13fdb9d8f92d9f6247ac6529a6f8500fef241 [file] [log] [blame]
Patrick Venture5e6ac712017-10-25 12:16:19 -07001#include "watchdog.hpp"
2
Patrick Venture0b02be92018-08-31 11:55:55 -07003#include "watchdog_service.hpp"
4
William A. Kennington III52575252018-02-09 15:54:56 -08005#include <endian.h>
Patrick Venture0b02be92018-08-31 11:55:55 -07006
Vernon Mauerye08fbff2019-04-03 09:19:34 -07007#include <ipmid/api.hpp>
William A. Kennington III021b4c12018-05-10 11:12:51 -07008#include <phosphor-logging/elog-errors.hpp>
Patrick Venture0b02be92018-08-31 11:55:55 -07009#include <phosphor-logging/elog.hpp>
George Liu05e93872024-07-17 14:48:14 +080010#include <phosphor-logging/lg2.hpp>
William A. Kennington III021b4c12018-05-10 11:12:51 -070011#include <xyz/openbmc_project/Common/error.hpp>
Patrick Venture894571d2017-11-09 14:46:54 -080012
Patrick Williamsfbc6c9d2023-05-10 07:50:16 -050013#include <bitset>
14#include <cstdint>
15#include <string>
16
William A. Kennington IIIbae471c2018-06-15 10:38:01 -070017using phosphor::logging::commit;
William A. Kennington III52575252018-02-09 15:54:56 -080018using phosphor::logging::level;
19using phosphor::logging::log;
Willy Tu523e2d12023-09-05 11:36:48 -070020using sdbusplus::error::xyz::openbmc_project::common::InternalFailure;
Patrick Venture5e6ac712017-10-25 12:16:19 -070021
William A. Kennington IIIbae471c2018-06-15 10:38:01 -070022static bool lastCallSuccessful = false;
23
24void reportError()
25{
26 // We don't want to fill the SEL with errors if the daemon dies and doesn't
27 // come back but the watchdog keeps on ticking. Instead, we only report the
28 // error if we haven't reported one since the last successful call
29 if (!lastCallSuccessful)
30 {
31 return;
32 }
33 lastCallSuccessful = false;
34
35 // TODO: This slow down the end of the IPMI transaction waiting
36 // for the commit to finish. commit<>() can take at least 5 seconds
37 // to complete. 5s is very slow for an IPMI command and ends up
38 // congesting the IPMI channel needlessly, especially if the watchdog
39 // is ticking fairly quickly and we have some transient issues.
40 commit<InternalFailure>();
41}
42
Vernon Mauery11df4f62019-03-25 14:17:54 -070043ipmi::RspType<> ipmiAppResetWatchdogTimer()
Patrick Venture5e6ac712017-10-25 12:16:19 -070044{
William A. Kennington III52575252018-02-09 15:54:56 -080045 try
46 {
47 WatchdogService wd_service;
William A. Kennington III52575252018-02-09 15:54:56 -080048
William A. Kennington IIIde14a022018-02-09 16:11:18 -080049 // Notify the caller if we haven't initialized our timer yet
50 // so it can configure actions and timeouts
William A. Kennington III2ecf5122018-04-27 14:31:51 -070051 if (!wd_service.getInitialized())
William A. Kennington IIIde14a022018-02-09 16:11:18 -080052 {
William A. Kennington IIIbae471c2018-06-15 10:38:01 -070053 lastCallSuccessful = true;
Vernon Mauery11df4f62019-03-25 14:17:54 -070054
55 constexpr uint8_t ccWatchdogNotInit = 0x80;
56 return ipmi::response(ccWatchdogNotInit);
William A. Kennington IIIde14a022018-02-09 16:11:18 -080057 }
58
William A. Kennington III4b017a92018-04-27 14:31:08 -070059 // The ipmi standard dictates we enable the watchdog during reset
60 wd_service.resetTimeRemaining(true);
William A. Kennington IIIbae471c2018-06-15 10:38:01 -070061 lastCallSuccessful = true;
Vernon Mauery11df4f62019-03-25 14:17:54 -070062 return ipmi::responseSuccess();
Patrick Venture5e6ac712017-10-25 12:16:19 -070063 }
William A. Kennington III021b4c12018-05-10 11:12:51 -070064 catch (const InternalFailure& e)
65 {
William A. Kennington IIIbae471c2018-06-15 10:38:01 -070066 reportError();
Vernon Mauery11df4f62019-03-25 14:17:54 -070067 return ipmi::responseUnspecifiedError();
William A. Kennington III021b4c12018-05-10 11:12:51 -070068 }
William A. Kennington III52575252018-02-09 15:54:56 -080069 catch (const std::exception& e)
70 {
George Liu05e93872024-07-17 14:48:14 +080071 lg2::error("wd_reset: {ERROR}", "ERROR", e);
Vernon Mauery11df4f62019-03-25 14:17:54 -070072 return ipmi::responseUnspecifiedError();
William A. Kennington III5325f2c2018-01-08 15:17:09 -080073 }
William A. Kennington III52575252018-02-09 15:54:56 -080074 catch (...)
75 {
George Liu05e93872024-07-17 14:48:14 +080076 lg2::error("wd_reset: Unknown Error");
Vernon Mauery11df4f62019-03-25 14:17:54 -070077 return ipmi::responseUnspecifiedError();
William A. Kennington III5325f2c2018-01-08 15:17:09 -080078 }
Patrick Venture5e6ac712017-10-25 12:16:19 -070079}
William A. Kennington III61d5f7b2018-02-09 15:23:53 -080080
William A. Kennington III52575252018-02-09 15:54:56 -080081static constexpr uint8_t wd_timeout_action_mask = 0x3;
82
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +000083static constexpr uint8_t wdTimerUseResTimer1 = 0x0;
84static constexpr uint8_t wdTimerUseResTimer2 = 0x6;
85static constexpr uint8_t wdTimerUseResTimer3 = 0x7;
86
Yong Li4dd71af2019-09-29 14:18:07 +080087static constexpr uint8_t wdTimeoutActionMax = 3;
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +000088static constexpr uint8_t wdTimeoutInterruptTimer = 0x04;
Yong Li118907e2019-01-11 17:36:17 +080089
Patrick Venture0b02be92018-08-31 11:55:55 -070090enum class IpmiAction : uint8_t
91{
William A. Kennington III52575252018-02-09 15:54:56 -080092 None = 0x0,
93 HardReset = 0x1,
94 PowerOff = 0x2,
95 PowerCycle = 0x3,
96};
97
William A. Kennington IIIb638de22018-02-09 16:12:53 -080098/** @brief Converts an IPMI Watchdog Action to DBUS defined action
99 * @param[in] ipmi_action The IPMI Watchdog Action
100 * @return The Watchdog Action that the ipmi_action maps to
101 */
102WatchdogService::Action ipmiActionToWdAction(IpmiAction ipmi_action)
103{
Patrick Venture0b02be92018-08-31 11:55:55 -0700104 switch (ipmi_action)
William A. Kennington IIIb638de22018-02-09 16:12:53 -0800105 {
106 case IpmiAction::None:
107 {
108 return WatchdogService::Action::None;
109 }
110 case IpmiAction::HardReset:
111 {
112 return WatchdogService::Action::HardReset;
113 }
114 case IpmiAction::PowerOff:
115 {
116 return WatchdogService::Action::PowerOff;
117 }
118 case IpmiAction::PowerCycle:
119 {
120 return WatchdogService::Action::PowerCycle;
121 }
122 default:
123 {
124 throw std::domain_error("IPMI Action is invalid");
125 }
126 }
127}
128
Yong Li118907e2019-01-11 17:36:17 +0800129enum class IpmiTimerUse : uint8_t
130{
131 Reserved = 0x0,
132 BIOSFRB2 = 0x1,
133 BIOSPOST = 0x2,
134 OSLoad = 0x3,
135 SMSOS = 0x4,
136 OEM = 0x5,
137};
138
139WatchdogService::TimerUse ipmiTimerUseToWdTimerUse(IpmiTimerUse ipmiTimerUse)
140{
141 switch (ipmiTimerUse)
142 {
143 case IpmiTimerUse::Reserved:
144 {
145 return WatchdogService::TimerUse::Reserved;
146 }
147 case IpmiTimerUse::BIOSFRB2:
148 {
149 return WatchdogService::TimerUse::BIOSFRB2;
150 }
151 case IpmiTimerUse::BIOSPOST:
152 {
153 return WatchdogService::TimerUse::BIOSPOST;
154 }
155 case IpmiTimerUse::OSLoad:
156 {
157 return WatchdogService::TimerUse::OSLoad;
158 }
159 case IpmiTimerUse::SMSOS:
160 {
161 return WatchdogService::TimerUse::SMSOS;
162 }
163 case IpmiTimerUse::OEM:
164 {
165 return WatchdogService::TimerUse::OEM;
166 }
167 default:
168 {
169 return WatchdogService::TimerUse::Reserved;
170 }
171 }
172}
173
Yong Li4dd71af2019-09-29 14:18:07 +0800174static bool timerNotLogFlags = false;
Yong Lia729bf42019-10-14 12:42:10 +0800175static std::bitset<8> timerUseExpirationFlags = 0;
Yong Li4dd71af2019-09-29 14:18:07 +0800176static uint3_t timerPreTimeoutInterrupt = 0;
Yong Lia729bf42019-10-14 12:42:10 +0800177static constexpr uint8_t wdExpirationFlagReservedBit0 = 0x0;
178static constexpr uint8_t wdExpirationFlagReservedBit6 = 0x6;
179static constexpr uint8_t wdExpirationFlagReservedBit7 = 0x7;
William A. Kennington III52575252018-02-09 15:54:56 -0800180
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000181/**@brief The Set Watchdog Timer ipmi command.
182 *
183 * @param
184 * - timerUse
185 * - dontStopTimer
186 * - dontLog
187 * - timerAction
188 * - pretimeout
189 * - expireFlags
190 * - initialCountdown
191 *
192 * @return completion code on success.
193 **/
Patrick Williams1318a5e2024-08-16 15:19:54 -0400194ipmi::RspType<> ipmiSetWatchdogTimer(
195 uint3_t timerUse, uint3_t reserved, bool dontStopTimer, bool dontLog,
196 uint3_t timeoutAction, uint1_t reserved1, uint3_t preTimeoutInterrupt,
197 uint1_t reserved2, uint8_t preTimeoutInterval, std::bitset<8> expFlagValue,
198 uint16_t initialCountdown)
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800199{
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000200 if ((timerUse == wdTimerUseResTimer1) ||
201 (timerUse == wdTimerUseResTimer2) ||
202 (timerUse == wdTimerUseResTimer3) ||
Yong Li4dd71af2019-09-29 14:18:07 +0800203 (timeoutAction > wdTimeoutActionMax) ||
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000204 (preTimeoutInterrupt == wdTimeoutInterruptTimer) ||
Yong Lia729bf42019-10-14 12:42:10 +0800205 (reserved | reserved1 | reserved2 |
206 expFlagValue.test(wdExpirationFlagReservedBit0) |
207 expFlagValue.test(wdExpirationFlagReservedBit6) |
208 expFlagValue.test(wdExpirationFlagReservedBit7)))
William A. Kennington III52575252018-02-09 15:54:56 -0800209 {
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000210 return ipmi::responseInvalidFieldRequest();
William A. Kennington III52575252018-02-09 15:54:56 -0800211 }
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000212
213 if (preTimeoutInterval > (initialCountdown / 10))
214 {
215 return ipmi::responseInvalidFieldRequest();
216 }
217
Yong Li4dd71af2019-09-29 14:18:07 +0800218 timerNotLogFlags = dontLog;
219 timerPreTimeoutInterrupt = preTimeoutInterrupt;
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800220
William A. Kennington III52575252018-02-09 15:54:56 -0800221 try
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800222 {
William A. Kennington III52575252018-02-09 15:54:56 -0800223 WatchdogService wd_service;
224 // Stop the timer if the don't stop bit is not set
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000225 if (!(dontStopTimer))
William A. Kennington III52575252018-02-09 15:54:56 -0800226 {
227 wd_service.setEnabled(false);
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800228 }
229
William A. Kennington III52575252018-02-09 15:54:56 -0800230 // Set the action based on the request
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000231 const auto ipmi_action = static_cast<IpmiAction>(
232 static_cast<uint8_t>(timeoutAction) & wd_timeout_action_mask);
William A. Kennington IIIb638de22018-02-09 16:12:53 -0800233 wd_service.setExpireAction(ipmiActionToWdAction(ipmi_action));
William A. Kennington III52575252018-02-09 15:54:56 -0800234
William A. Kennington III7a0e5df2021-05-19 13:31:29 -0700235 const auto ipmiTimerUse = types::enum_cast<IpmiTimerUse>(timerUse);
Yong Li118907e2019-01-11 17:36:17 +0800236 wd_service.setTimerUse(ipmiTimerUseToWdTimerUse(ipmiTimerUse));
237
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000238 wd_service.setExpiredTimerUse(WatchdogService::TimerUse::Reserved);
239
Yong Lia729bf42019-10-14 12:42:10 +0800240 timerUseExpirationFlags &= ~expFlagValue;
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000241
William A. Kennington III52575252018-02-09 15:54:56 -0800242 // Set the new interval and the time remaining deci -> mill seconds
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000243 const uint64_t interval = initialCountdown * 100;
William A. Kennington III52575252018-02-09 15:54:56 -0800244 wd_service.setInterval(interval);
William A. Kennington IIIebc53cb2019-12-05 17:04:29 -0800245 wd_service.resetTimeRemaining(false);
William A. Kennington III52575252018-02-09 15:54:56 -0800246
William A. Kennington IIIde14a022018-02-09 16:11:18 -0800247 // Mark as initialized so that future resets behave correctly
248 wd_service.setInitialized(true);
Tim Chao65362f42023-11-14 14:47:25 +0800249 wd_service.setLogTimeout(!dontLog);
William A. Kennington IIIde14a022018-02-09 16:11:18 -0800250
William A. Kennington IIIbae471c2018-06-15 10:38:01 -0700251 lastCallSuccessful = true;
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000252 return ipmi::responseSuccess();
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800253 }
Patrick Venture0b02be92018-08-31 11:55:55 -0700254 catch (const std::domain_error&)
William A. Kennington III52575252018-02-09 15:54:56 -0800255 {
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000256 return ipmi::responseInvalidFieldRequest();
William A. Kennington III52575252018-02-09 15:54:56 -0800257 }
William A. Kennington III021b4c12018-05-10 11:12:51 -0700258 catch (const InternalFailure& e)
259 {
William A. Kennington IIIbae471c2018-06-15 10:38:01 -0700260 reportError();
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000261 return ipmi::responseUnspecifiedError();
William A. Kennington III021b4c12018-05-10 11:12:51 -0700262 }
William A. Kennington III52575252018-02-09 15:54:56 -0800263 catch (const std::exception& e)
264 {
George Liu05e93872024-07-17 14:48:14 +0800265 lg2::error("wd_set: {ERROR}", "ERROR", e);
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000266 return ipmi::responseUnspecifiedError();
William A. Kennington III52575252018-02-09 15:54:56 -0800267 }
268 catch (...)
269 {
George Liu05e93872024-07-17 14:48:14 +0800270 lg2::error("wd_set: Unknown Error");
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000271 return ipmi::responseUnspecifiedError();
William A. Kennington III52575252018-02-09 15:54:56 -0800272 }
William A. Kennington III61d5f7b2018-02-09 15:23:53 -0800273}
William A. Kennington III73f44512018-02-09 15:28:46 -0800274
275/** @brief Converts a DBUS Watchdog Action to IPMI defined action
276 * @param[in] wd_action The DBUS Watchdog Action
277 * @return The IpmiAction that the wd_action maps to
278 */
279IpmiAction wdActionToIpmiAction(WatchdogService::Action wd_action)
280{
Patrick Venture0b02be92018-08-31 11:55:55 -0700281 switch (wd_action)
William A. Kennington III73f44512018-02-09 15:28:46 -0800282 {
283 case WatchdogService::Action::None:
284 {
285 return IpmiAction::None;
286 }
287 case WatchdogService::Action::HardReset:
288 {
289 return IpmiAction::HardReset;
290 }
291 case WatchdogService::Action::PowerOff:
292 {
293 return IpmiAction::PowerOff;
294 }
295 case WatchdogService::Action::PowerCycle:
296 {
297 return IpmiAction::PowerCycle;
298 }
299 default:
300 {
301 // We have no method via IPMI to signal that the action is unknown
302 // or unmappable in some way.
303 // Just ignore the error and return NONE so the host can reconcile.
304 return IpmiAction::None;
305 }
306 }
307}
308
Yong Li118907e2019-01-11 17:36:17 +0800309IpmiTimerUse wdTimerUseToIpmiTimerUse(WatchdogService::TimerUse wdTimerUse)
310{
311 switch (wdTimerUse)
312 {
313 case WatchdogService::TimerUse::Reserved:
314 {
315 return IpmiTimerUse::Reserved;
316 }
317 case WatchdogService::TimerUse::BIOSFRB2:
318 {
319 return IpmiTimerUse::BIOSFRB2;
320 }
321 case WatchdogService::TimerUse::BIOSPOST:
322 {
323 return IpmiTimerUse::BIOSPOST;
324 }
325 case WatchdogService::TimerUse::OSLoad:
326 {
327 return IpmiTimerUse::OSLoad;
328 }
329
330 case WatchdogService::TimerUse::SMSOS:
331 {
332 return IpmiTimerUse::SMSOS;
333 }
334 case WatchdogService::TimerUse::OEM:
335 {
336 return IpmiTimerUse::OEM;
337 }
338 default:
339 {
340 return IpmiTimerUse::Reserved;
341 }
342 }
343}
344
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000345/**@brief The getWatchdogTimer ipmi command.
346 *
347 * @return Completion code plus timer details.
348 * - timerUse
349 * - timerAction
350 * - pretimeout
351 * - expireFlags
352 * - initialCountdown
353 * - presentCountdown
354 **/
Patrick Williamsfbc6c9d2023-05-10 07:50:16 -0500355ipmi::RspType<uint3_t, // timerUse - timer use
356 uint3_t, // timerUse - reserved
357 bool, // timerUse - timer is started
358 bool, // timerUse - don't log
Yong Li4dd71af2019-09-29 14:18:07 +0800359
Patrick Williamsfbc6c9d2023-05-10 07:50:16 -0500360 uint3_t, // timerAction - timeout action
361 uint1_t, // timerAction - reserved
362 uint3_t, // timerAction - pre-timeout interrupt
363 uint1_t, // timerAction - reserved
Yong Li4dd71af2019-09-29 14:18:07 +0800364
Yong Lia729bf42019-10-14 12:42:10 +0800365 uint8_t, // pretimeout
366 std::bitset<8>, // expireFlags
367 uint16_t, // initial Countdown - Little Endian (deciseconds)
368 uint16_t // present Countdown - Little Endian (deciseconds)
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000369 >
370 ipmiGetWatchdogTimer()
William A. Kennington III73f44512018-02-09 15:28:46 -0800371{
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000372 uint16_t presentCountdown = 0;
373 uint8_t pretimeout = 0;
William A. Kennington III73f44512018-02-09 15:28:46 -0800374
375 try
376 {
377 WatchdogService wd_service;
378 WatchdogService::Properties wd_prop = wd_service.getProperties();
379
380 // Build and return the response
Yong Lif7c9db02019-01-15 13:45:33 +0800381 // Interval and timeRemaining need converted from milli -> deci seconds
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000382 uint16_t initialCountdown = htole16(wd_prop.interval / 100);
383
384 if (wd_prop.expiredTimerUse != WatchdogService::TimerUse::Reserved)
385 {
Yong Lia729bf42019-10-14 12:42:10 +0800386 timerUseExpirationFlags.set(static_cast<uint8_t>(
387 wdTimerUseToIpmiTimerUse(wd_prop.expiredTimerUse)));
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000388 }
389
William A. Kennington III73f44512018-02-09 15:28:46 -0800390 if (wd_prop.enabled)
391 {
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000392 presentCountdown = htole16(wd_prop.timeRemaining / 100);
Yong Lif7c9db02019-01-15 13:45:33 +0800393 }
394 else
395 {
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000396 if (wd_prop.expiredTimerUse == WatchdogService::TimerUse::Reserved)
397 {
398 presentCountdown = initialCountdown;
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000399 }
400 else
401 {
402 presentCountdown = 0;
Yong Li4dd71af2019-09-29 14:18:07 +0800403 // Automatically clear it whenever a timer expiration occurs.
404 timerNotLogFlags = false;
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000405 }
William A. Kennington III73f44512018-02-09 15:28:46 -0800406 }
Yong Li118907e2019-01-11 17:36:17 +0800407
William A. Kennington III73f44512018-02-09 15:28:46 -0800408 // TODO: Do something about having pretimeout support
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000409 pretimeout = 0;
410
William A. Kennington IIIbae471c2018-06-15 10:38:01 -0700411 lastCallSuccessful = true;
Yong Li4dd71af2019-09-29 14:18:07 +0800412 return ipmi::responseSuccess(
William A. Kennington III7a0e5df2021-05-19 13:31:29 -0700413 types::enum_cast<uint3_t>(
414 wdTimerUseToIpmiTimerUse(wd_prop.timerUse)),
415 0, wd_prop.enabled, timerNotLogFlags,
416 types::enum_cast<uint3_t>(
417 wdActionToIpmiAction(wd_prop.expireAction)),
418 0, timerPreTimeoutInterrupt, 0, pretimeout, timerUseExpirationFlags,
Yong Li4dd71af2019-09-29 14:18:07 +0800419 initialCountdown, presentCountdown);
William A. Kennington III73f44512018-02-09 15:28:46 -0800420 }
William A. Kennington III021b4c12018-05-10 11:12:51 -0700421 catch (const InternalFailure& e)
422 {
William A. Kennington IIIbae471c2018-06-15 10:38:01 -0700423 reportError();
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000424 return ipmi::responseUnspecifiedError();
William A. Kennington III021b4c12018-05-10 11:12:51 -0700425 }
William A. Kennington III73f44512018-02-09 15:28:46 -0800426 catch (const std::exception& e)
427 {
George Liu05e93872024-07-17 14:48:14 +0800428 lg2::error("wd_get: {ERROR}", "ERROR", e);
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000429 return ipmi::responseUnspecifiedError();
William A. Kennington III73f44512018-02-09 15:28:46 -0800430 }
431 catch (...)
432 {
George Liu05e93872024-07-17 14:48:14 +0800433 lg2::error("wd_get: Unknown Error");
Deepak Kumar Sahucfae9482019-05-20 14:58:58 +0000434 return ipmi::responseUnspecifiedError();
William A. Kennington III73f44512018-02-09 15:28:46 -0800435 }
436}