From: Richard Cochran <richardcochran@gmail.com> Date: 2015-06-11 12:51:35
When programming the start of a periodic output, the code wrongly places
the seconds value into the "low" register and the nanoseconds into the
"high" register. Even though this is backwards, it slipped through my
testing, because the re-arming code in the interrupt service routine is
correct, and the signal does appear starting with the second edge.
This patch fixes the issue by programming the registers correctly.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
drivers/net/ethernet/intel/igb/igb_ptp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: "Keller, Jacob E" <jacob.e.keller@intel.com> Date: 2015-06-11 17:06:02
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Thanks Richard! Easy detail to miss.
Regards,
Jake
On Thu, 2015-06-11 at 14:51 +0200, Richard Cochran wrote:
quoted hunk
When programming the start of a periodic output, the code wrongly
places
the seconds value into the "low" register and the nanoseconds into
the
"high" register. Even though this is backwards, it slipped through
my
testing, because the re-arming code in the interrupt service routine
is
correct, and the signal does appear starting with the second edge.
This patch fixes the issue by programming the registers correctly.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
drivers/net/ethernet/intel/igb/igb_ptp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Jeff Kirsher <hidden> Date: 2015-06-11 22:59:07
On Thu, 2015-06-11 at 14:51 +0200, Richard Cochran wrote:
When programming the start of a periodic output, the code wrongly
places
the seconds value into the "low" register and the nanoseconds into the
"high" register. Even though this is backwards, it slipped through my
testing, because the re-arming code in the interrupt service routine
is
correct, and the signal does appear starting with the second edge.
This patch fixes the issue by programming the registers correctly.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
From: David Miller <davem@davemloft.net> Date: 2015-06-11 23:04:22
From: Jeff Kirsher <redacted>
Date: Thu, 11 Jun 2015 15:59:05 -0700
On Thu, 2015-06-11 at 14:51 +0200, Richard Cochran wrote:
quoted
When programming the start of a periodic output, the code wrongly
places
the seconds value into the "low" register and the nanoseconds into the
"high" register. Even though this is backwards, it slipped through my
testing, because the re-arming code in the interrupt service routine
is
correct, and the signal does appear starting with the second edge.
This patch fixes the issue by programming the registers correctly.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>