On 07/27/2017 03:08 PM, Richard Cochran wrote:
On Wed, Jul 26, 2017 at 05:11:36PM -0500, Grygorii Strashko wrote:
@@ -217,6 +231,19 @@ struct ptp_clock *ptp_clock_register(struct ptp_clock_info
*info,
mutex_init(>pincfg_mux);
init_waitqueue_head(>tsev_wq);
+ if
On Wed, Jul 26, 2017 at 05:11:36PM -0500, Grygorii Strashko wrote:
> @@ -217,6 +231,19 @@ struct ptp_clock *ptp_clock_register(struct
> ptp_clock_info *info,
> mutex_init(>pincfg_mux);
> init_waitqueue_head(>tsev_wq);
>
> + if (ptp->info->do_aux_work) {
> + char
Many PTP drivers required to perform some asynchronous or periodic work,
like periodically handling PHC counter overflow or handle delayed timestamp
for RX/TX network packets. In most of the cases, such work is implemented
using workqueues. Unfortunately, Kernel workqueues might introduce