]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: set fixed clock frequency indication for Nahum 11 and Nahum 13
authorVitaly Lifshits <vitaly.lifshits@intel.com>
Sun, 25 May 2025 08:38:43 +0000 (11:38 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 17 Jun 2025 17:09:24 +0000 (10:09 -0700)
commit688a0d61b2d7427189c4eb036ce485d8fc957cbb
treee79e39a9dadb90f592ef72ec8d4452d7dade6798
parent48c8b214974dc55283bd5f12e3a483b27c403bbc
e1000e: set fixed clock frequency indication for Nahum 11 and Nahum 13

On some systems with Nahum 11 and Nahum 13 the value of the XTAL clock in
the software STRAP is incorrect. This causes the PTP timer to run at the
wrong rate and can lead to synchronization issues.

The STRAP value is configured by the system firmware, and a firmware
update is not always possible. Since the XTAL clock on these systems
always runs at 38.4MHz, the driver may ignore the STRAP and just set
the correct value.

Fixes: cc23f4f0b6b9 ("e1000e: Add support for Meteor Lake")
Signed-off-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com>
Reviewed-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/ptp.c