From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9723409629; Fri, 29 May 2026 20:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780084868; cv=none; b=GQoaUL6PoP8ntuY/vrC1lOsALibQ8f89W7Oleb6+BVhZbnucse59PUtw0FBgbWPiyUVWrwNT4YMza9UTYI560oG5tIAoJB6M9OaHdKYIfsO9zM8S0L9yk2ugSIkjJ97KdWyeikZ1v9bDA2KH8hJSDdDFNu4ytlEFH9+qbz47zoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780084868; c=relaxed/simple; bh=+R7XSpN6ilecmjqcuCuZezg0eoN+spQg6JBV5nfvJuU=; h=Date:Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=XQoXxZO5kOVpCx/GxwpLZoH41gyOhDUMJAemmYM6U9HnUX/tPy5HPvBaSIJzbIGzgttOKCpS8q+BAwDCuX6p/fsq49c76QypJaquo+A6qUWGqW7FzO7iajhLwNrd1GiHyo0hRG9wrruxkV3p3+mc/MqhXNauAn0BmN9TF88fDB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l1FsqaaX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l1FsqaaX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C58E31F00893; Fri, 29 May 2026 20:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780084867; bh=s9+Lz026QcH5bg8yJpyql8pfzxPiIysiXMh+fVqDlzk=; h=Date:From:To:Cc:Subject:References; b=l1FsqaaXGqD7R54MAvOyntq0dp+NJaYnuv3I/6d2D7kjvx5xm1BKcAXYtVL7nhypg MkDbqqDK3amPIPsRUDej+mq+iUW8REPRKPMEAtdR+OSwxyE0F7ZqKHdC8zVGfGYTjf NLGm9Cmtvtmv5Ier2DGSA8TJqyDb+pIPZU67jJFlvLJJ2Hnv5cHP38rJOuCq/0Y8Ar t/69ilYKyGqlUj1R0lqu4F6JYxomLpuM4Dh+xOVN2HCUx4iV1ROInItGX/ynNqGCR2 IBpIxfNRKz9W+RXUS5JyeeRMMYORtlgkKzbZ3WdWxm3KJrKzCTFlnX2Q5/EOgeXcTS cAOR+pwTYrJDw== Date: Fri, 29 May 2026 22:01:05 +0200 Message-ID: <20260529195557.897808371@kernel.org> User-Agent: quilt/0.69 From: Thomas Gleixner To: LKML Cc: David Woodhouse , Miroslav Lichvar , John Stultz , Stephen Boyd , Anna-Maria Behnsen , Frederic Weisbecker , thomas.weissschuh@linutronix.de, Arthur Kiyanovski , Rodolfo Giometti , Vincent Donnefort , Marc Zyngier , Oliver Upton , kvmarm@lists.linux.dev, Oliver Upton , Richard Cochran , netdev@vger.kernel.org, Takashi Iwai , Miri Korenblit , Johannes Berg , Jacob Keller , Tony Nguyen , Saeed Mahameed , Peter Hilber , "Michael S. Tsirkin" , virtualization@lists.linux.dev, linux-wireless@vger.kernel.org, linux-sound@vger.kernel.org, David Woodhouse , Vadim Fedorenko Subject: [patch V2 19/25] ptp: Use system_device_crosststamp::sys_systime References: <20260529193435.921555544@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: Thomas Gleixner .. to prepare for cross timestamps with variable clock IDs. No functional change. Signed-off-by: Thomas Gleixner Tested-by: David Woodhouse Tested-by: Arthur Kiyanovski Reviewed-by: David Woodhouse Reviewed-by: Jacob Keller --- drivers/ptp/ptp_chardev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ptp/ptp_chardev.c +++ b/drivers/ptp/ptp_chardev.c @@ -333,7 +333,7 @@ static long ptp_sys_offset_precise(struc ts = ktime_to_timespec64(xtstamp.device); precise_offset.device.sec = ts.tv_sec; precise_offset.device.nsec = ts.tv_nsec; - ts = ktime_to_timespec64(xtstamp.sys_realtime); + ts = ktime_to_timespec64(xtstamp.sys_systime); precise_offset.sys_realtime.sec = ts.tv_sec; precise_offset.sys_realtime.nsec = ts.tv_nsec; ts = ktime_to_timespec64(xtstamp.sys_monoraw);