Subject: Re: [PATCH v3 net-next 1/3] ptp_mock: Expose ptp_clock_info to external drivers

From: Jakub Kicinski <[email-masked]>
Date: Wed, 25 Feb 2026 17:57:01 -0800

On Wed, 25 Feb 2026 16:38:56 +0100 Maciek Machnikowski wrote:
> Allow exposing the ptp_clock_info of the ptp_mock to the external drivers.
> Convert spinlocks to SLIS to allow gettime to be called from the netdevsim.
> This is a prerequisite for implementing ptp support on netdevsim.

Slight build error here:

drivers/ptp/ptp_mock.c:57:9: error: ‘spin_lock_irqsave’ undeclared (first use in this function); did you mean ‘ss_lock_irqsave’?
   57 |         spin_lock_irqsave(&phc->lock);
      |         ^~~~~~~~~~~~~~~~~
      |         ss_lock_irqsave
-- 
pw-bot: cr