/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 94 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() local 95 struct health_buffer __iomem *h = health->health; in sensor_pci_not_working() 103 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() local 104 struct health_buffer __iomem *h = health->health; in sensor_fw_synd_rfr() 302 if (dev->priv.health.fatal_error != MLX5_SENSOR_PCI_COMM_ERR) in mlx5_handle_bad_state() 379 struct mlx5_core_health *health = &dev->priv.health; in print_health_info() local 380 struct health_buffer __iomem *h = health->health; in print_health_info() 414 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_diagnose() local 415 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_diagnose() 452 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_heath_buffer_data_put() local [all …]
|
D | en_selftest.c | 65 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info() local 67 return health->fatal_error ? 1 : 0; in mlx5e_test_health_info()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | health.c | 43 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_recover() local 46 if (health->fail_recover) { in nsim_dev_dummy_reporter_recover() 54 kfree(health->recovered_break_msg); in nsim_dev_dummy_reporter_recover() 55 health->recovered_break_msg = kstrdup(ctx->break_msg, in nsim_dev_dummy_reporter_recover() 57 if (!health->recovered_break_msg) in nsim_dev_dummy_reporter_recover() 190 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump() local 200 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump() 208 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose() local 211 if (health->recovered_break_msg) { in nsim_dev_dummy_reporter_diagnose() 214 health->recovered_break_msg); in nsim_dev_dummy_reporter_diagnose() [all …]
|
/kernel/linux/linux-5.10/Documentation/networking/devlink/ |
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 30 asynchronously. All health reports handling is done by ``devlink``. 31 Device driver can provide specific callbacks for each "health reporter", e.g.: 38 Different parts of the driver can register different types of health reporters 44 Once an error is reported, devlink health will perform the following actions: [all …]
|
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.
|
D | devlink-region.rst | 25 states, but see also :doc:`devlink-health` 48 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] 58 $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1 65 $ devlink region read pci/0000:00:05.0/fw-health snapshot 1 address 0 length 16
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 137 struct bnxt_fw_health *health = bp->fw_health; in bnxt_dl_fw_reporters_create() local 139 if (!bp->dl || !health) in bnxt_dl_fw_reporters_create() 142 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET) || health->fw_reset_reporter) in bnxt_dl_fw_reporters_create() 145 health->fw_reset_reporter = in bnxt_dl_fw_reporters_create() 149 if (IS_ERR(health->fw_reset_reporter)) { in bnxt_dl_fw_reporters_create() 151 PTR_ERR(health->fw_reset_reporter)); in bnxt_dl_fw_reporters_create() 152 health->fw_reset_reporter = NULL; in bnxt_dl_fw_reporters_create() 160 if (!health->fw_reporter) { in bnxt_dl_fw_reporters_create() 161 health->fw_reporter = in bnxt_dl_fw_reporters_create() 165 if (IS_ERR(health->fw_reporter)) { in bnxt_dl_fw_reporters_create() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink.sh | 376 devlink health show $DL_HANDLE reporter empty >/dev/null 379 devlink health dump show $DL_HANDLE reporter empty >/dev/null 382 devlink health diagnose $DL_HANDLE reporter empty >/dev/null 385 devlink health recover $DL_HANDLE reporter empty 400 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]") 431 devlink health set $DL_HANDLE reporter dummy auto_recover false 437 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health 442 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j) 449 devlink health dump clear $DL_HANDLE reporter dummy 452 devlink health recover $DL_HANDLE reporter dummy [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
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 health-r { 63 label = "guruplug:red:health"; 66 health-g { 67 label = "guruplug:green:health";
|
D | kirkwood-sheevaplug.dts | 31 health { 32 label = "sheevaplug:blue:health";
|
D | kirkwood-sheevaplug-esata.dts | 36 health { 37 label = "sheevaplug:blue:health";
|
D | kirkwood-mplcec4.dts | 23 pmx_led_health: pmx-led-health { 117 health { 118 label = "status:green:health";
|
D | kirkwood-linksys-viper.dts | 59 white-health { 60 label = "viper:white:health"; 72 pmx_led_white_health: pmx-led-white-health {
|
D | kirkwood-dockstar.dts | 45 health { 46 label = "status:green:health";
|
D | kirkwood-pogo_e02.dts | 36 health { 37 label = "pogo_e02:green:health";
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
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() 108 priv->health.crdump_size = space_size; in mlx5_crdump_enable() 114 dev->priv.health.crdump_size = 0; in mlx5_crdump_disable()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
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()
|
D | ucs1002_power.c | 108 int health; member 387 return val->intval = info->health; in ucs1002_get_property() 451 if ((reg & F_ERR) && info->health != POWER_SUPPLY_HEALTH_GOOD) { in ucs1002_health_poll() 458 info->health = POWER_SUPPLY_HEALTH_OVERHEAT; in ucs1002_health_poll() 460 info->health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ucs1002_health_poll() 462 info->health = POWER_SUPPLY_HEALTH_OVERCURRENT; in ucs1002_health_poll() 464 info->health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in ucs1002_health_poll() 466 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_health_poll() 645 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_probe()
|
D | bq24190_charger.c | 810 int health; in bq24190_charger_get_health() local 821 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_health() 826 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health() 829 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health() 832 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health() 843 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health() 846 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health() 849 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health() 852 health = -1; in bq24190_charger_get_health() 861 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health() [all …]
|
D | bq2515x_charger.c | 696 int health = POWER_SUPPLY_HEALTH_GOOD; in bq2515x_charger_get_health() local 715 health = POWER_SUPPLY_HEALTH_HOT; in bq2515x_charger_get_health() 718 health = POWER_SUPPLY_HEALTH_WARM; in bq2515x_charger_get_health() 721 health = POWER_SUPPLY_HEALTH_COOL; in bq2515x_charger_get_health() 724 health = POWER_SUPPLY_HEALTH_COLD; in bq2515x_charger_get_health() 727 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq2515x_charger_get_health() 733 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq2515x_charger_get_health() 736 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq2515x_charger_get_health() 738 val->intval = health; in bq2515x_charger_get_health()
|
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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 556 payload->health.extension_flags |= in papr_pdsm_fuel_gauge() 558 payload->health.dimm_fuel_gauge = statval; in papr_pdsm_fuel_gauge() 586 payload->health = (struct nd_papr_pdsm_health) { in papr_pdsm_health() 599 payload->health.dimm_health = PAPR_PDSM_DIMM_FATAL; in papr_pdsm_health() 601 payload->health.dimm_health = PAPR_PDSM_DIMM_CRITICAL; in papr_pdsm_health() 603 payload->health.dimm_health = PAPR_PDSM_DIMM_UNHEALTHY; in papr_pdsm_health() 835 u64 health; in flags_show() local 843 health = READ_ONCE(p->health_bitmap); in flags_show() 846 if (health & PAPR_PMEM_UNARMED_MASK) in flags_show() 849 if (health & PAPR_PMEM_BAD_SHUTDOWN_MASK) in flags_show() [all …]
|
/kernel/linux/linux-5.10/Documentation/hwmon/ |
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
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | mlx-platform.c | 452 .health = false, 461 .health = false, 470 .health = false, 479 .health = true, 491 .health = false, 500 .health = false, 509 .health = false, 518 .health = true, 566 .health = false, 575 .health = true, [all …]
|
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/mellanox/ |
D | mlx5.rst | 15 - `Devlink health reporters`_ 179 Devlink health reporters 200 $ devlink health diagnose pci/0000:82:00.0 reporter tx 207 $ devlink health show pci/0000:82:00.0 reporter tx 227 $ devlink health diagnose pci/0000:82:00.0 reporter rx 234 $ devlink health show pci/0000:82:00.0 reporter rx 248 $ devlink health diagnose pci/0000:82:00.0 reporter fw 252 $ devlink health dump show pci/0000:82:00.0 reporter fw 270 $ devlink health recover pci/0000:82:00.0 reporter fw_fatal 274 $ devlink health dump show pci/0000:82:00.1 reporter fw_fatal
|