When we see an e1000e HW lockup in CI, it is typically fatal with the hang repeating until the host is forcibly rebooted. Speed up that process by tainting the kernel, which CI can trivially detect (and is being used to detect similarly fatal CI conditions) and reboot soon after. Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Tomi Sarvela <tomi.p.sarvela@xxxxxxxxx> --- drivers/net/ethernet/intel/e1000e/netdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c index 9f18d39bdc8f..bcc4b226a184 100644 --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++ b/drivers/net/ethernet/intel/e1000e/netdev.c @@ -1170,6 +1170,8 @@ static void e1000_print_hw_hang(struct work_struct *work) /* Suggest workaround for known h/w issue */ if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) e_err("Try turning off Tx pause (flow control) via ethtool\n"); + + add_taint(TAINT_WARN, LOCKDEP_STILL_OK); } /** -- 2.15.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx