]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/time: Add PtP driver
authorSven Schnelle <svens@linux.ibm.com>
Wed, 23 Oct 2024 06:56:01 +0000 (08:56 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:02:39 +0000 (17:02 -0700)
commit2d7de7a3010d713fb89b7ba99e6fdc14475ad106
treeebc2fc75697fc77e455781534553d23ead90317d
parentf247fd22e9f27d919d81861e4dcc438e0b6d179b
s390/time: Add PtP driver

Add a small PtP driver which allows user space to get
the values of the physical and tod clock. This allows
programs like chrony to use STP as clock source and
steer the kernel clock. The physical clock can be used
as a debugging aid to get the clock without any additional
offsets like STP steering or LPAR offset.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Link: https://patch.msgid.link/20241023065601.449586-3-svens@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
arch/s390/include/asm/stp.h
arch/s390/include/asm/timex.h
arch/s390/kernel/time.c
drivers/ptp/Kconfig
drivers/ptp/Makefile
drivers/ptp/ptp_s390.c [new file with mode: 0644]