Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 1 | #include "config.h" |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 2 | |
| 3 | #include "oemhandler.hpp" |
| 4 | |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 5 | #include "elog-errors.hpp" |
Matt Spinler | 34aca01 | 2018-09-25 11:21:06 -0500 | [diff] [blame] | 6 | #include "local_users.hpp" |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 7 | |
| 8 | #include <endian.h> |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 9 | #include <host-ipmid/ipmid-api.h> |
| 10 | #include <stdio.h> |
| 11 | #include <string.h> |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 12 | #include <systemd/sd-bus.h> |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 13 | |
| 14 | #include <fstream> |
| 15 | #include <functional> |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 16 | #include <host-interface.hpp> |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 17 | #include <host-ipmid/ipmid-host-cmd.hpp> |
| 18 | #include <memory> |
Tom Joseph | 3503fdc | 2019-01-10 11:25:27 +0530 | [diff] [blame^] | 19 | #include <org/open_power/Host/error.hpp> |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 20 | #include <org/open_power/OCC/Metrics/error.hpp> |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 21 | #include <sdbusplus/bus.hpp> |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 22 | |
Andrew Jeffery | 8fb3f03 | 2018-07-27 16:45:44 +0930 | [diff] [blame] | 23 | void register_netfn_ibm_oem_commands() __attribute__((constructor)); |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 24 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 25 | const char* g_esel_path = "/tmp/esel"; |
Chris Austen | 29a8e0f | 2015-10-30 11:44:38 -0500 | [diff] [blame] | 26 | uint16_t g_record_id = 0x0001; |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 27 | using namespace phosphor::logging; |
| 28 | constexpr auto occMetricsType = 0xDD; |
| 29 | |
| 30 | std::string readESEL(const char* fileName) |
| 31 | { |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 32 | std::string content{}; |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 33 | |
| 34 | std::ifstream handle(fileName); |
| 35 | |
| 36 | if (handle.fail()) |
| 37 | { |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 38 | log<level::ERR>("Failed to open eSEL", entry("FILENAME=%s", fileName)); |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 39 | return content; |
| 40 | } |
| 41 | |
| 42 | handle.seekg(0, std::ios::end); |
| 43 | content.resize(handle.tellg()); |
| 44 | handle.seekg(0, std::ios::beg); |
| 45 | handle.read(&content[0], content.size()); |
| 46 | handle.close(); |
| 47 | |
| 48 | return content; |
| 49 | } |
| 50 | |
| 51 | void createOCCLogEntry(const std::string& eSELData) |
| 52 | { |
| 53 | // Each byte in eSEL is formatted as %02x with a space between bytes and |
| 54 | // insert '/0' at the end of the character array. |
| 55 | constexpr auto byteSeperator = 3; |
| 56 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 57 | std::unique_ptr<char[]> data( |
| 58 | new char[(eSELData.size() * byteSeperator) + 1]()); |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 59 | |
| 60 | for (size_t i = 0; i < eSELData.size(); i++) |
| 61 | { |
| 62 | sprintf(&data[i * byteSeperator], "%02x ", eSELData[i]); |
| 63 | } |
| 64 | data[eSELData.size() * byteSeperator] = '\0'; |
| 65 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 66 | using error = sdbusplus::org::open_power::OCC::Metrics::Error::Event; |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 67 | using metadata = org::open_power::OCC::Metrics::Event; |
| 68 | |
| 69 | report<error>(metadata::ESEL(data.get())); |
| 70 | } |
| 71 | |
Tom Joseph | 3503fdc | 2019-01-10 11:25:27 +0530 | [diff] [blame^] | 72 | void createHostEntry(const std::string& eSELData) |
| 73 | { |
| 74 | // Each byte in eSEL is formatted as %02x with a space between bytes and |
| 75 | // insert '/0' at the end of the character array. |
| 76 | std::string inventoryPath{}; |
| 77 | constexpr auto byteSeperator = 3; |
| 78 | |
| 79 | std::unique_ptr<char[]> data( |
| 80 | new char[(eSELData.size() * byteSeperator) + 1]()); |
| 81 | |
| 82 | for (size_t i = 0; i < eSELData.size(); i++) |
| 83 | { |
| 84 | sprintf(&data[i * byteSeperator], "%02x ", eSELData[i]); |
| 85 | } |
| 86 | data[eSELData.size() * byteSeperator] = '\0'; |
| 87 | |
| 88 | using hosterror = sdbusplus::org::open_power::Host::Error::Event; |
| 89 | using hostmetadata = org::open_power::Host::Event; |
| 90 | |
| 91 | report<hosterror>( |
| 92 | Entry::Level::Warning, hostmetadata::ESEL(data.get()), |
| 93 | hostmetadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); |
| 94 | } |
| 95 | |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 96 | /////////////////////////////////////////////////////////////////////////////// |
Patrick Williams | 24fa5a9 | 2015-10-30 14:53:57 -0500 | [diff] [blame] | 97 | // For the First partial add eSEL the SEL Record ID and offset |
| 98 | // value should be 0x0000. The extended data needs to be in |
| 99 | // the form of an IPMI SEL Event Record, with Event sensor type |
| 100 | // of 0xDF and Event Message format of 0x04. The returned |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 101 | // Record ID should be used for all partial eSEL adds. |
| 102 | // |
Chris Austen | ba54afb | 2016-02-19 23:18:42 -0600 | [diff] [blame] | 103 | // This function creates a /tmp/esel file to store the |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 104 | // incoming partial esel. It is the role of some other |
Patrick Williams | 24fa5a9 | 2015-10-30 14:53:57 -0500 | [diff] [blame] | 105 | // function to commit the error log in to long term |
| 106 | // storage. Likely via the ipmi add_sel command. |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 107 | /////////////////////////////////////////////////////////////////////////////// |
Patrick Williams | 24fa5a9 | 2015-10-30 14:53:57 -0500 | [diff] [blame] | 108 | ipmi_ret_t ipmi_ibm_oem_partial_esel(ipmi_netfn_t netfn, ipmi_cmd_t cmd, |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 109 | ipmi_request_t request, |
| 110 | ipmi_response_t response, |
| 111 | ipmi_data_len_t data_len, |
| 112 | ipmi_context_t context) |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 113 | { |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 114 | uint8_t* reqptr = (uint8_t*)request; |
| 115 | esel_request_t esel_req; |
| 116 | FILE* fp; |
| 117 | int r = 0; |
| 118 | uint8_t rlen; |
| 119 | ipmi_ret_t rc = IPMI_CC_OK; |
| 120 | const char* pio; |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 121 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 122 | esel_req.resid = le16toh((((uint16_t)reqptr[1]) << 8) + reqptr[0]); |
| 123 | esel_req.selrecord = le16toh((((uint16_t)reqptr[3]) << 8) + reqptr[2]); |
| 124 | esel_req.offset = le16toh((((uint16_t)reqptr[5]) << 8) + reqptr[4]); |
| 125 | esel_req.progress = reqptr[6]; |
Nan Li | b6c4c56 | 2016-03-30 17:06:13 +0800 | [diff] [blame] | 126 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 127 | // According to IPMI spec, Reservation ID must be checked. |
| 128 | if (!checkSELReservation(esel_req.resid)) |
| 129 | { |
| 130 | // 0xc5 means Reservation Cancelled or Invalid Reservation ID. |
| 131 | printf("Used Reservation ID = %d\n", esel_req.resid); |
| 132 | rc = IPMI_CC_INVALID_RESERVATION_ID; |
Nan Li | b6c4c56 | 2016-03-30 17:06:13 +0800 | [diff] [blame] | 133 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 134 | // clean g_esel_path. |
| 135 | r = remove(g_esel_path); |
| 136 | if (r < 0) |
| 137 | fprintf(stderr, "Error deleting %s\n", g_esel_path); |
Nan Li | b6c4c56 | 2016-03-30 17:06:13 +0800 | [diff] [blame] | 138 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 139 | return rc; |
| 140 | } |
Nan Li | b6c4c56 | 2016-03-30 17:06:13 +0800 | [diff] [blame] | 141 | |
| 142 | // OpenPOWER Host Interface spec says if RecordID and Offset are |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 143 | // 0 then then this is a new request |
| 144 | if (!esel_req.selrecord && !esel_req.offset) |
| 145 | pio = "wb"; |
| 146 | else |
| 147 | pio = "rb+"; |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 148 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 149 | rlen = (*data_len) - (uint8_t)(sizeof(esel_request_t)); |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 150 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 151 | if ((fp = fopen(g_esel_path, pio)) != NULL) |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 152 | { |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 153 | fseek(fp, esel_req.offset, SEEK_SET); |
| 154 | fwrite(reqptr + (uint8_t)(sizeof(esel_request_t)), rlen, 1, fp); |
| 155 | fclose(fp); |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 156 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 157 | *data_len = sizeof(g_record_id); |
| 158 | memcpy(response, &g_record_id, *data_len); |
| 159 | } |
| 160 | else |
| 161 | { |
| 162 | fprintf(stderr, "Error trying to perform %s for esel%s\n", pio, |
| 163 | g_esel_path); |
| 164 | rc = IPMI_CC_INVALID; |
| 165 | *data_len = 0; |
| 166 | } |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 167 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 168 | // The first bit presents that this is the last partial packet |
| 169 | // coming down. If that is the case advance the record id so we |
| 170 | // don't overlap logs. This allows anyone to establish a log |
| 171 | // directory system. |
| 172 | if (esel_req.progress & 1) |
| 173 | { |
| 174 | g_record_id++; |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 175 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 176 | auto eSELData = readESEL(g_esel_path); |
| 177 | |
| 178 | if (eSELData.empty()) |
| 179 | { |
| 180 | return IPMI_CC_UNSPECIFIED_ERROR; |
| 181 | } |
| 182 | |
| 183 | // If the eSEL record type is OCC metrics, then create the OCC log |
| 184 | // entry. |
| 185 | if (eSELData[2] == occMetricsType) |
| 186 | { |
| 187 | createOCCLogEntry(eSELData); |
| 188 | } |
Tom Joseph | 3503fdc | 2019-01-10 11:25:27 +0530 | [diff] [blame^] | 189 | else |
| 190 | { |
| 191 | createHostEntry(eSELData); |
| 192 | } |
Tom Joseph | 246bc0d | 2017-10-17 16:08:38 +0530 | [diff] [blame] | 193 | } |
| 194 | |
| 195 | return rc; |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 196 | } |
| 197 | |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 198 | // Prepare for FW Update. |
| 199 | // Execute needed commands to prepare the system for a fw update from the host. |
| 200 | ipmi_ret_t ipmi_ibm_oem_prep_fw_update(ipmi_netfn_t netfn, ipmi_cmd_t cmd, |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 201 | ipmi_request_t request, |
| 202 | ipmi_response_t response, |
| 203 | ipmi_data_len_t data_len, |
| 204 | ipmi_context_t context) |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 205 | { |
| 206 | ipmi_ret_t ipmi_rc = IPMI_CC_OK; |
| 207 | *data_len = 0; |
| 208 | |
| 209 | int rc = 0; |
| 210 | std::ofstream rwfs_file; |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 211 | const char* busname = "org.openbmc.control.Bmc"; |
| 212 | const char* objname = "/org/openbmc/control/bmc0"; |
| 213 | const char* iface = "org.openbmc.control.Bmc"; |
| 214 | sd_bus* bus = ipmid_get_sd_bus_connection(); |
| 215 | sd_bus_message* reply = NULL; |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 216 | sd_bus_error error = SD_BUS_ERROR_NULL; |
| 217 | int r = 0; |
| 218 | |
| 219 | // Set one time flag |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 220 | rc = system( |
| 221 | "fw_setenv openbmconce copy-files-to-ram copy-base-filesystem-to-ram"); |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 222 | rc = WEXITSTATUS(rc); |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 223 | if (rc != 0) |
| 224 | { |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 225 | fprintf(stderr, "fw_setenv openbmconce failed with rc=%d\n", rc); |
Andrew Geissler | d929605 | 2017-06-15 14:57:25 -0500 | [diff] [blame] | 226 | return IPMI_CC_UNSPECIFIED_ERROR; |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 227 | } |
| 228 | |
| 229 | // Touch the image-rwfs file to perform an empty update to force the save |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 230 | // in case we're already in ram and the flash is the same causing the ram |
| 231 | // files to not be copied back to flash |
| 232 | rwfs_file.open("/run/initramfs/image-rwfs", |
| 233 | std::ofstream::out | std::ofstream::app); |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 234 | rwfs_file.close(); |
| 235 | |
| 236 | // Reboot the BMC for settings to take effect |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 237 | r = sd_bus_call_method(bus, busname, objname, iface, "warmReset", &error, |
| 238 | &reply, NULL); |
| 239 | if (r < 0) |
| 240 | { |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 241 | fprintf(stderr, "Failed to reset BMC: %s\n", strerror(-r)); |
| 242 | return -1; |
| 243 | } |
| 244 | printf("Warning: BMC is going down for reboot!\n"); |
| 245 | sd_bus_error_free(&error); |
| 246 | reply = sd_bus_message_unref(reply); |
| 247 | |
| 248 | return ipmi_rc; |
| 249 | } |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 250 | |
Matt Spinler | 3288471 | 2018-09-28 13:56:20 -0500 | [diff] [blame] | 251 | ipmi_ret_t ipmi_ibm_oem_reset_bmc_auth(ipmi_netfn_t netfn, ipmi_cmd_t cmd, |
| 252 | ipmi_request_t request, |
| 253 | ipmi_response_t response, |
| 254 | ipmi_data_len_t data_len, |
| 255 | ipmi_context_t context) |
Adriana Kobylak | 81e2310 | 2018-08-09 14:44:19 -0500 | [diff] [blame] | 256 | { |
Matt Spinler | 34aca01 | 2018-09-25 11:21:06 -0500 | [diff] [blame] | 257 | ipmi_ret_t rc; |
| 258 | |
| 259 | rc = local::users::enableUsers(); |
| 260 | |
| 261 | return rc; |
Adriana Kobylak | 81e2310 | 2018-08-09 14:44:19 -0500 | [diff] [blame] | 262 | } |
| 263 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 264 | namespace |
| 265 | { |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 266 | // Storage to keep the object alive during process life |
| 267 | std::unique_ptr<open_power::host::command::Host> opHost |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 268 | __attribute__((init_priority(101))); |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 269 | std::unique_ptr<sdbusplus::server::manager::manager> objManager |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 270 | __attribute__((init_priority(101))); |
| 271 | } // namespace |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 272 | |
Andrew Jeffery | 8fb3f03 | 2018-07-27 16:45:44 +0930 | [diff] [blame] | 273 | void register_netfn_ibm_oem_commands() |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 274 | { |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 275 | printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n", NETFUN_IBM_OEM, |
| 276 | IPMI_CMD_PESEL); |
| 277 | ipmi_register_callback(NETFUN_IBM_OEM, IPMI_CMD_PESEL, NULL, |
| 278 | ipmi_ibm_oem_partial_esel, SYSTEM_INTERFACE); |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 279 | |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 280 | printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n", NETFUN_OEM, |
| 281 | IPMI_CMD_PREP_FW_UPDATE); |
| 282 | ipmi_register_callback(NETFUN_OEM, IPMI_CMD_PREP_FW_UPDATE, NULL, |
| 283 | ipmi_ibm_oem_prep_fw_update, SYSTEM_INTERFACE); |
Adriana Kobylak | 187bfce | 2016-03-04 11:55:43 -0600 | [diff] [blame] | 284 | |
Matt Spinler | 3288471 | 2018-09-28 13:56:20 -0500 | [diff] [blame] | 285 | ipmi_register_callback(NETFUN_IBM_OEM, IPMI_CMD_RESET_BMC_AUTH, NULL, |
| 286 | ipmi_ibm_oem_reset_bmc_auth, SYSTEM_INTERFACE); |
Adriana Kobylak | 81e2310 | 2018-08-09 14:44:19 -0500 | [diff] [blame] | 287 | |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 288 | // Create new object on the bus |
| 289 | auto objPath = std::string{CONTROL_HOST_OBJ_MGR} + '/' + HOST_NAME + '0'; |
| 290 | |
| 291 | // Add sdbusplus ObjectManager. |
| 292 | auto& sdbusPlusHandler = ipmid_get_sdbus_plus_handler(); |
| 293 | objManager = std::make_unique<sdbusplus::server::manager::manager>( |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 294 | *sdbusPlusHandler, CONTROL_HOST_OBJ_MGR); |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 295 | |
| 296 | opHost = std::make_unique<open_power::host::command::Host>( |
Patrick Venture | 02261c0 | 2018-10-31 15:16:23 -0700 | [diff] [blame] | 297 | *sdbusPlusHandler, objPath.c_str()); |
Vishwanatha Subbanna | 0765506 | 2017-07-14 20:31:57 +0530 | [diff] [blame] | 298 | |
| 299 | // Service for this is provided by phosphor layer systemcmdintf |
| 300 | // and this will be as part of that. |
Tom | cbfd6ec | 2016-09-14 17:45:55 +0530 | [diff] [blame] | 301 | return; |
Chris Austen | 4d98c1e | 2015-10-13 14:33:50 -0500 | [diff] [blame] | 302 | } |