Home
last modified time | relevance | path

Searched hist:aba9777ae3ddea356874d46431183efaff0b3b1a (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-platform.cdiff aba9777ae3ddea356874d46431183efaff0b3b1a Thu Nov 10 17:09:45 CST 2016 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Add a workaround for Tx timestamp issue

Update the reading of the Tx timestamp to account for a hardware issue
on how the fields and interrupt are cleared. The "seconds" portion of
the timestamp should be read first, followed by the "nanoseconds" portion.
Reading the "nanoseconds" portion should clear the timestamp data and the
interrupt. Because of an issue with the hardware this order is reversed
and reading the "seconds" portion actually clears the timestamp. The code
currently follows this workaround, but to guard against future versions
where this is fixed add a field to the version data to indicate if the
workaround is required or not.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dxgbe-dev.cdiff aba9777ae3ddea356874d46431183efaff0b3b1a Thu Nov 10 17:09:45 CST 2016 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Add a workaround for Tx timestamp issue

Update the reading of the Tx timestamp to account for a hardware issue
on how the fields and interrupt are cleared. The "seconds" portion of
the timestamp should be read first, followed by the "nanoseconds" portion.
Reading the "nanoseconds" portion should clear the timestamp data and the
interrupt. Because of an issue with the hardware this order is reversed
and reading the "seconds" portion actually clears the timestamp. The code
currently follows this workaround, but to guard against future versions
where this is fixed add a field to the version data to indicate if the
workaround is required or not.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dxgbe.hdiff aba9777ae3ddea356874d46431183efaff0b3b1a Thu Nov 10 17:09:45 CST 2016 Lendacky, Thomas <Thomas.Lendacky@amd.com> amd-xgbe: Add a workaround for Tx timestamp issue

Update the reading of the Tx timestamp to account for a hardware issue
on how the fields and interrupt are cleared. The "seconds" portion of
the timestamp should be read first, followed by the "nanoseconds" portion.
Reading the "nanoseconds" portion should clear the timestamp data and the
interrupt. Because of an issue with the hardware this order is reversed
and reading the "seconds" portion actually clears the timestamp. The code
currently follows this workaround, but to guard against future versions
where this is fixed add a field to the version data to indicate if the
workaround is required or not.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>