This patcheset contain:
Patch #1 Add fields for interrupt storm handling
Patch #2 Add support for handling interrupt storm
v0->v2
Comments pointed out by Ilpo:
- Renamed the macro MLXREG_HOTPLUG_WM_WINDOW to MLXREG_HOTPLUG_WM_WINDOW_MS to indicate milli seconds
- Removed the timestamp stored in wmark_high_ts and used jiffies directly
- Calculating the time window and storing it in the new variable wmark_window.
- Removed the variables wmark_low_ts and wmark_high_ts
- Used continue statement inside the time window check
Changes added by Ciju:
- Renamed variable wmark_low_cntr to wmark_cntr
- Fixed the time window to check for interrupt storm
Ciju Rajan K (2):
platform_data/mlxreg: Add fields for interrupt storm handling
platform/mellanox: mlxreg-hotplug: Add support for handling interrupt
storm
drivers/platform/mellanox/mlxreg-hotplug.c | 32 ++++++++++++++++++++--
include/linux/platform_data/mlxreg.h | 6 ++++
2 files changed, 36 insertions(+), 2 deletions(-)
--
2.47.2