Searched refs:hp_elog (Results 1 – 6 of 6) sorted by relevance
343 int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_elog) in handle_dlpar_errorlog() argument348 switch (hp_elog->id_type) { in handle_dlpar_errorlog()350 hp_elog->_drc_u.drc_count = in handle_dlpar_errorlog()351 be32_to_cpu(hp_elog->_drc_u.drc_count); in handle_dlpar_errorlog()354 hp_elog->_drc_u.drc_index = in handle_dlpar_errorlog()355 be32_to_cpu(hp_elog->_drc_u.drc_index); in handle_dlpar_errorlog()358 hp_elog->_drc_u.ic.count = in handle_dlpar_errorlog()359 be32_to_cpu(hp_elog->_drc_u.ic.count); in handle_dlpar_errorlog()360 hp_elog->_drc_u.ic.index = in handle_dlpar_errorlog()361 be32_to_cpu(hp_elog->_drc_u.ic.index); in handle_dlpar_errorlog()[all …]
106 int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog) in dlpar_hp_pmem() argument119 if (hp_elog->id_type != PSERIES_HP_ELOG_ID_DRC_INDEX) { in dlpar_hp_pmem()121 hp_elog->id_type); in dlpar_hp_pmem()125 drc_index = hp_elog->_drc_u.drc_index; in dlpar_hp_pmem()129 if (hp_elog->action == PSERIES_HP_ELOG_ACTION_ADD) { in dlpar_hp_pmem()131 } else if (hp_elog->action == PSERIES_HP_ELOG_ACTION_REMOVE) { in dlpar_hp_pmem()134 pr_err("Unsupported hotplug action (%d)\n", hp_elog->action); in dlpar_hp_pmem()
61 int dlpar_memory(struct pseries_hp_errorlog *hp_elog);62 int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog);64 static inline int dlpar_memory(struct pseries_hp_errorlog *hp_elog) in dlpar_memory() argument68 static inline int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog) in dlpar_hp_pmem() argument75 int dlpar_cpu(struct pseries_hp_errorlog *hp_elog);77 static inline int dlpar_cpu(struct pseries_hp_errorlog *hp_elog) in dlpar_cpu() argument
868 int dlpar_memory(struct pseries_hp_errorlog *hp_elog) in dlpar_memory() argument875 switch (hp_elog->action) { in dlpar_memory()877 switch (hp_elog->id_type) { in dlpar_memory()879 count = hp_elog->_drc_u.drc_count; in dlpar_memory()883 drc_index = hp_elog->_drc_u.drc_index; in dlpar_memory()887 count = hp_elog->_drc_u.ic.count; in dlpar_memory()888 drc_index = hp_elog->_drc_u.ic.index; in dlpar_memory()898 switch (hp_elog->id_type) { in dlpar_memory()900 count = hp_elog->_drc_u.drc_count; in dlpar_memory()904 drc_index = hp_elog->_drc_u.drc_index; in dlpar_memory()[all …]
886 int dlpar_cpu(struct pseries_hp_errorlog *hp_elog) in dlpar_cpu() argument891 count = hp_elog->_drc_u.drc_count; in dlpar_cpu()892 drc_index = hp_elog->_drc_u.drc_index; in dlpar_cpu()896 switch (hp_elog->action) { in dlpar_cpu()898 if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_COUNT) in dlpar_cpu()900 else if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_INDEX) { in dlpar_cpu()914 if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_COUNT) in dlpar_cpu()916 else if (hp_elog->id_type == PSERIES_HP_ELOG_ID_DRC_INDEX) in dlpar_cpu()922 pr_err("Invalid action (%d) specified\n", hp_elog->action); in dlpar_cpu()
287 struct pseries_hp_errorlog *hp_elog; in ras_hotplug_interrupt() local298 hp_elog = (struct pseries_hp_errorlog *)pseries_log->data; in ras_hotplug_interrupt()304 if (hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_MEM || in ras_hotplug_interrupt()305 hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_CPU || in ras_hotplug_interrupt()306 hp_elog->resource == PSERIES_HP_ELOG_RESOURCE_PMEM) in ras_hotplug_interrupt()307 queue_hotplug_event(hp_elog); in ras_hotplug_interrupt()