[PATCH v2 0/2] Add missing facility check to ptp_s390 driver
From: Sven Schnelle
Date: Tue Jul 14 2026 - 09:10:46 EST
This patchset adds a missing facility check and a check that the 'query
physical clock' (PTFF QPT) function is actually available. If it's not
present, no qpt ptp device will be registered. In order to use ptff_query()
in a module, the first patch adds a EXPORT_SYMBOL() to export
ptff_function_mask.
Changes in v2:
- drop CC check
- add PTFF QAF check
- add patch to export ptff_function_mask
Sven Schnelle (2):
s390/ptff: Export ptff_function_mask[]
ptp: ptp_s390: Add missing facility check
arch/s390/kernel/time.c | 1 +
drivers/ptp/ptp_s390.c | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
--
2.55.0