]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: mlx-platform: Add ASIC hotplug device configuration
authorVadim Pasternak <vadimp@mellanox.com>
Thu, 26 Jul 2018 22:41:00 +0000 (22:41 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 2 Aug 2018 00:41:31 +0000 (17:41 -0700)
commit0404a0b2ca3b88eab1e44b7a1d80c2aeb37fb2f1
treec5fd0c835e314330d417dcab3f5dffef3003c915
parent9272d2d1d3bf5b66242acaeffe442fcd6079624e
platform/x86: mlx-platform: Add ASIC hotplug device configuration

Add support for ASIC hotplug device events for the all system types. The
ASIC hotplug event is sent in cases ASIC reaches the good health state or
dropped to the bad health state. The health state is used to change, when
device is reset or in case of some system failures. In such cases hwmon
uevent notification will be sent.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c