]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Enable GPT clock before sending message to CSME
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 8 May 2022 07:09:05 +0000 (10:09 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 14 Jul 2022 16:16:47 +0000 (09:16 -0700)
commite3e9b8530c6274e5cf321895149b4edeea6a0777
tree78c432707aca8885ed583bd2a2e61d63e915f5d7
parent504e9e0d996e839c51d9630da09e90fdf6ac42c6
e1000e: Enable GPT clock before sending message to CSME

On corporate (CSME) ADL systems, the Ethernet Controller may stop working
("HW unit hang") after exiting from the s0ix state. The reason is that
CSME misses the message sent by the host. Enabling the dynamic GPT clock
solves this problem. This clock is cleared upon HW initialization.

Fixes: 8d272c27c39a ("e1000e: Add handshake with the CSME to support S0ix")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214821
Reviewed-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c