]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: change k1 configuration on MTP and later platforms
authorVitaly Lifshits <vitaly.lifshits@intel.com>
Thu, 13 Mar 2025 14:05:56 +0000 (16:05 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 2 Apr 2025 15:51:41 +0000 (08:51 -0700)
commitefaaf344bc2917cbfa5997633bc18a05d3aed27f
tree13933327bbce5c0a4a4a5fae26ea0ed51aba3bda
parentd931cf9b38da0f533cacfe51c863a9912e67822f
e1000e: change k1 configuration on MTP and later platforms

Starting from Meteor Lake, the Kumeran interface between the integrated
MAC and the I219 PHY works at a different frequency. This causes sporadic
MDI errors when accessing the PHY, and in rare circumstances could lead
to packet corruption.

To overcome this, introduce minor changes to the Kumeran idle
state (K1) parameters during device initialization. Hardware reset
reverts this configuration, therefore it needs to be applied in a few
places.

Fixes: cc23f4f0b6b9 ("e1000e: Add support for Meteor Lake")
Signed-off-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/defines.h
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/ich8lan.h