]> Gentwo Git Trees - linux/.git/commit
vdso/datapage: Define vdso_clock to prepare for multiple PTP clocks
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Mon, 3 Mar 2025 11:11:06 +0000 (12:11 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 8 Mar 2025 13:37:40 +0000 (14:37 +0100)
commita05f14de04e989f0bc32cea128243090e5e5d54b
tree40292eb15ecc5cf4ab72d512f2fda2cf985517e1
parentfa8152ca221110e14e43040bd442c8140bc2e03c
vdso/datapage: Define vdso_clock to prepare for multiple PTP clocks

Multiple PTP clocks, which are independent of timekeeping, are required for
systems, which utilize PTP for synchronizing e.g. automation systems
independent of clock TAI.

PTP clocks are slow to access, but applications require fast access to the
relevant time similar to the regular timekeeping relevant clocks.

To prepare for that the VDSO data representation must be reworked. For
transition to the new structure of the vdso, add a define which maps
vdso_clock to vdso_data. This will be removed when all users are updated
step by step.

No functional change.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250303-vdso-clock-v1-4-c1b5c69a166f@linutronix.de
include/vdso/datapage.h