Patch "net/mlx5e: Change 1PPS out scheme" has been added to the 4.12-stable tree
This is a note to let you know that I've just added the patch titled
net/mlx5e: Change 1PPS out scheme
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-mlx5e-change-1pps-out-scheme.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Tue Aug 8 16:27:29 PDT 2017
From: Eugenia Emantayev <[email protected]>
Date: Sun, 28 May 2017 14:06:01 +0300
Subject: net/mlx5e: Change 1PPS out scheme
From: Eugenia Emantayev <[email protected]>
[ Upstream commit 4272f9b88db9223216cdf87314f570f6d81295b4 ]
In order to fix the drift in 1PPS out need to adjust the next pulse. On each 1PPS out falling edge driver gets the event, then the event handler adjusts the next pulse starting time.
--- drivers/net/ethernet/mellanox/mlx5/core/en.h | 9 + drivers/net/ethernet/mellanox/mlx5/core/en_clock.c | 116 ++++++++++++++------- 2 files changed, 87 insertions(+), 38 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/en.h +8 -1
@@ -261,6 +261,13 @@ struct mlx5e_dcbx { };#endif +#define MAX_PIN_NUM 8 +struct mlx5e_pps { +u8 pin_caps[MAX_PIN_NUM ]; +struct work_struct out_work; +u64 start[MAX_PIN_NUM ]; +}; +struct mlx5e_tstamp {rwlock_t lock;struct cyclecounter cycles;
@@ -272,7 +279,7 @@ struct mlx5e_tstamp {struct mlx5_core_dev *mdev;struct ptp_clock *ptp;struct ptp_clock_info ptp_info; -u8 *pps_pin_caps; +struct mlx5e_pps pps_info; };enum {
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c +79 -37
177 lines not on this page · raw message
Patches currently in stable-queue which might be from [email protected] are
queue-4.12/net-mlx5e-change-1pps-out-scheme.patch queue-4.12/net-mlx5e-schedule-overflow-check-work-to-mlx5e-workqueue.patch queue-4.12/net-mlx5e-fix-wrong-delay-calculation-for-overflow-check-scheduling.patch queue-4.12/net-mlx5e-add-missing-support-for-ptp_clk_req_pps-request.patch queue-4.12/net-mlx5e-fix-broken-disable-1pps-flow.patch queue-4.12/net-mlx5-fix-mlx5_ifc_mtpps_reg_bits-structure-size.patch queue-4.12/net-mlx5e-add-field-select-to-mtpps-register.patch