| /linux-6.15/drivers/net/netdevsim/ |
| H A D | health.c | 46 if (health->fail_recover) { in nsim_dev_dummy_reporter_recover() 180 struct nsim_dev_health *health = &nsim_dev->health; in nsim_dev_health_init() local 183 health->empty_reporter = in nsim_dev_health_init() 186 0, health); in nsim_dev_health_init() 190 health->dummy_reporter = in nsim_dev_health_init() 193 0, health); in nsim_dev_health_init() 200 if (IS_ERR(health->ddir)) { in nsim_dev_health_init() 206 debugfs_create_file("break_health", 0200, health->ddir, health, in nsim_dev_health_init() 208 health->binary_len = 16; in nsim_dev_health_init() 210 &health->binary_len); in nsim_dev_health_init() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | health.c | 87 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() local 88 struct health_buffer __iomem *h = health->health; in sensor_pci_not_working() 106 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() local 107 struct health_buffer __iomem *h = health->health; in sensor_fw_synd_rfr() 422 struct health_buffer __iomem *h = health->health; in print_health_info() 470 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_diagnose() 500 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_heath_buffer_data_put() 814 queue_work(health->wq, &health->report_work); in poll_health() 821 queue_work(health->wq, &health->report_work); in poll_health() 836 health->health = &dev->iseg->health; in mlx5_start_health_poll() [all …]
|
| /linux-6.15/Documentation/networking/devlink/ |
| H A D | devlink-health.rst | 10 The ``devlink`` health mechanism is targeted for Real Time Alerting, in 21 The main idea is to unify and centralize driver health reports in the 23 attributes of the health reporting and recovery procedures. 25 The ``devlink`` health reporter: 26 Device driver creates a "health reporter" per each error/health type. 29 For each registered health reporter a driver can issue error/health reports 58 To handle devlink health diagnose and health dump requests, devlink creates a 78 via ``devlink``, e.g per error type (per health reporter): 85 .. list-table:: List of devlink health interfaces 103 - Retrieves the last stored dump. Devlink health [all …]
|
| H A D | mlx4.rst | 48 The ``mlx4`` driver supports dumping the firmware PCI crspace and health 55 ``fw-health`` region will contain the device firmware's health buffer.
|
| H A D | mlx5.rst | 164 $ devlink health diagnose pci/0000:82:00.0 reporter tx 172 $ devlink health show pci/0000:82:00.0 reporter tx 192 $ devlink health diagnose pci/0000:82:00.0 reporter rx 200 $ devlink health show pci/0000:82:00.0 reporter rx 214 $ devlink health diagnose pci/0000:82:00.0 reporter fw 218 $ devlink health dump show pci/0000:82:00.0 reporter fw 232 On firmware error, the health buffer is dumped into the dmesg. The log 233 level is derived from the error's severity (given in health buffer). 239 $ devlink health recover pci/0000:82:00.0 reporter fw_fatal 243 $ devlink health dump show pci/0000:82:00.1 reporter fw_fatal [all …]
|
| H A D | devlink-region.rst | 25 states, but see also Documentation/networking/devlink/devlink-health.rst 57 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] max 8 67 $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1 74 $ devlink region read pci/0000:00:05.0/fw-health snapshot 1 address 0 length 16 78 $ devlink region read pci/0000:00:05.0/fw-health address 16 length 16
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| H A D | reporter_vnic.c | 130 struct mlx5_core_health *health = &dev->priv.health; in mlx5_reporter_vnic_create() local 133 health->vnic_reporter = in mlx5_reporter_vnic_create() 137 if (IS_ERR(health->vnic_reporter)) in mlx5_reporter_vnic_create() 140 PTR_ERR(health->vnic_reporter)); in mlx5_reporter_vnic_create() 145 struct mlx5_core_health *health = &dev->priv.health; in mlx5_reporter_vnic_destroy() local 147 if (!IS_ERR_OR_NULL(health->vnic_reporter)) in mlx5_reporter_vnic_destroy() 148 devlink_health_reporter_destroy(health->vnic_reporter); in mlx5_reporter_vnic_destroy()
|
| H A D | crdump.c | 14 return !!dev->priv.health.crdump_size; in mlx5_crdump_enabled() 19 u32 crdump_size = dev->priv.health.crdump_size; in mlx5_crdump_fill() 111 priv->health.crdump_size = space_size; in mlx5_crdump_enable() 117 dev->priv.health.crdump_size = 0; in mlx5_crdump_disable()
|
| /linux-6.15/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | devlink.sh | 411 devlink health recover $DL_HANDLE reporter empty 463 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health 475 devlink health dump clear $DL_HANDLE reporter dummy 478 devlink health recover $DL_HANDLE reporter dummy 488 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health 505 echo "Y"> $DEBUGFS_DIR/health/fail_recover 508 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health 513 devlink health recover $DL_HANDLE reporter dummy 516 echo "N"> $DEBUGFS_DIR/health/fail_recover 519 devlink health recover $DL_HANDLE reporter dummy [all …]
|
| /linux-6.15/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-guruplug-server-plus.dts | 23 pmx_led_health_r: pmx-led-health-r { 27 pmx_led_health_g: pmx-led-health-g { 62 led-health-r { 63 label = "guruplug:red:health"; 66 led-health-g { 67 label = "guruplug:green:health";
|
| H A D | kirkwood-sheevaplug.dts | 31 led-health { 32 label = "sheevaplug:blue:health";
|
| H A D | kirkwood-sheevaplug-esata.dts | 36 led-health { 37 label = "sheevaplug:blue:health";
|
| H A D | kirkwood-mplcec4.dts | 23 pmx_led_health: pmx-led-health { 117 led-health { 118 label = "status:green:health";
|
| /linux-6.15/drivers/power/supply/ |
| H A D | da9052-battery.c | 172 int health; member 406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health() argument 417 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_check_health() 421 if (bat->health != POWER_SUPPLY_HEALTH_OVERHEAT) { in da9052_bat_check_health() 426 bat->health = POWER_SUPPLY_HEALTH_DEAD; in da9052_bat_check_health() 428 bat->health = POWER_SUPPLY_HEALTH_GOOD; in da9052_bat_check_health() 431 *health = bat->health; in da9052_bat_check_health() 603 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_probe()
|
| H A D | ucs1002_power.c | 108 int health; member 382 val->intval = info->health; in ucs1002_get_property() 450 if ((reg & F_ERR) && info->health != POWER_SUPPLY_HEALTH_GOOD) { in ucs1002_health_poll() 457 info->health = POWER_SUPPLY_HEALTH_OVERHEAT; in ucs1002_health_poll() 459 info->health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ucs1002_health_poll() 461 info->health = POWER_SUPPLY_HEALTH_OVERCURRENT; in ucs1002_health_poll() 463 info->health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in ucs1002_health_poll() 465 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_health_poll() 643 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_probe()
|
| H A D | bq24190_charger.c | 995 int health; in bq24190_charger_get_ntc_status() local 1001 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_ntc_status() 1012 return health; in bq24190_charger_get_ntc_status() 1017 int health; in bq24296_charger_get_ntc_status() local 1021 health = POWER_SUPPLY_HEALTH_GOOD; in bq24296_charger_get_ntc_status() 1033 return health; in bq24296_charger_get_ntc_status() 1040 int health; in bq24190_charger_get_health() local 1069 health = -1; in bq24190_charger_get_health() 1083 val->intval = health; in bq24190_charger_get_health() 1576 int health; in bq24190_battery_get_health() local [all …]
|
| H A D | wm831x_power.c | 393 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health() argument 402 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health() 407 *health = POWER_SUPPLY_HEALTH_COLD; in wm831x_bat_check_health() 412 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in wm831x_bat_check_health() 419 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health() 422 *health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in wm831x_bat_check_health() 425 *health = POWER_SUPPLY_HEALTH_GOOD; in wm831x_bat_check_health()
|
| H A D | max1720x_battery.c | 324 unsigned int *health) in max172xx_battery_health() argument 334 *health = POWER_SUPPLY_HEALTH_DEAD; in max172xx_battery_health() 336 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in max172xx_battery_health() 338 *health = POWER_SUPPLY_HEALTH_COLD; in max172xx_battery_health() 340 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in max172xx_battery_health() 342 *health = POWER_SUPPLY_HEALTH_OVERCURRENT; in max172xx_battery_health() 344 *health = POWER_SUPPLY_HEALTH_GOOD; in max172xx_battery_health()
|
| H A D | bq2515x_charger.c | 701 int health = POWER_SUPPLY_HEALTH_GOOD; in bq2515x_charger_get_health() local 720 health = POWER_SUPPLY_HEALTH_HOT; in bq2515x_charger_get_health() 723 health = POWER_SUPPLY_HEALTH_WARM; in bq2515x_charger_get_health() 726 health = POWER_SUPPLY_HEALTH_COOL; in bq2515x_charger_get_health() 729 health = POWER_SUPPLY_HEALTH_COLD; in bq2515x_charger_get_health() 732 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq2515x_charger_get_health() 738 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq2515x_charger_get_health() 741 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq2515x_charger_get_health() 743 val->intval = health; in bq2515x_charger_get_health()
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | devlink.yaml | 599 name: health-reporter 604 name: health-reporter-name 607 name: health-reporter-state 1166 name: dl-health-reporter 1170 name: health-reporter-name 1172 name: health-reporter-state 1876 name: health-reporter-get 1888 - health-reporter-name 1897 name: health-reporter-set 1910 - health-reporter-name [all …]
|
| /linux-6.15/drivers/hwmon/ |
| H A D | pt5161l.c | 524 char health[16]; in pt5161l_debugfs_read_fw_load_sts() local 532 ret = snprintf(health, sizeof(health), "%s\n", in pt5161l_debugfs_read_fw_load_sts() 535 return simple_read_from_buffer(buf, count, ppos, health, ret); in pt5161l_debugfs_read_fw_load_sts() 549 char health[16]; in pt5161l_debugfs_read_hb_sts() local 557 ret = snprintf(health, sizeof(health), "%s\n", in pt5161l_debugfs_read_hb_sts() 560 return simple_read_from_buffer(buf, count, ppos, health, ret); in pt5161l_debugfs_read_hb_sts()
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | papr_scm.c | 760 payload->health.extension_flags |= in papr_pdsm_fuel_gauge() 762 payload->health.dimm_fuel_gauge = statval; in papr_pdsm_fuel_gauge() 800 payload->health = (struct nd_papr_pdsm_health) { in papr_pdsm_health() 1120 u64 health; in flags_show() local 1128 health = READ_ONCE(p->health_bitmap); in flags_show() 1131 if (health & PAPR_PMEM_UNARMED_MASK) in flags_show() 1134 if (health & PAPR_PMEM_BAD_SHUTDOWN_MASK) in flags_show() 1137 if (health & PAPR_PMEM_BAD_RESTORE_MASK) in flags_show() 1140 if (health & PAPR_PMEM_ENCRYPTED) in flags_show() 1143 if (health & PAPR_PMEM_SMART_EVENT_MASK) in flags_show() [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-bus-papr-pmem | 8 more bits set in the dimm-health-bitmap retrieved in 28 There is health event for the NVDIMM. 70 (RO) Reports the health bitmap inject bitmap that is applied to 73 used to simulate various health or shutdown states for an nvdimm
|
| /linux-6.15/Documentation/hwmon/ |
| H A D | userspace-tools.rst | 7 Most mainboards have sensor chips to monitor system health (like temperatures, 18 Core set of utilities that will allow you to obtain health information, 39 If you want some graphical indicators of system health look for applications
|
| /linux-6.15/drivers/platform/mellanox/ |
| H A D | mlx-platform.c | 782 .health = false, 809 .health = true, 848 .health = true, 888 .health = true, 945 .health = true, 1054 .health = true, 1101 .health = true, 1225 .health = true, 1335 .health = true, 1344 .health = true, [all …]
|