]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
s390/stp: Default to enabled
authorSven Schnelle <svens@linux.ibm.com>
Thu, 29 Feb 2024 07:34:43 +0000 (08:34 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 21 Jul 2025 10:41:56 +0000 (12:41 +0200)
With time steering moved to userspace, stp can be enabled
by default.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/time.c

index 5a021b6dbb3ab38966baaa62933b2411fcfc5d90..63517b85f4c930b799235c381d9d6b263fff5431 100644 (file)
@@ -397,7 +397,7 @@ struct clock_sync_data {
 /*
  * Server Time Protocol (STP) code.
  */
-static bool stp_online;
+static bool stp_online = true;
 static struct stp_sstpi stp_info;
 static void *stp_page;
 
@@ -423,7 +423,6 @@ static void __init stp_reset(void)
        if (rc == 0)
                set_bit(CLOCK_SYNC_HAS_STP, &clock_sync_flags);
        else if (stp_online) {
-               pr_warn("The real or virtual hardware system does not provide an STP interface\n");
                free_page((unsigned long) stp_page);
                stp_page = NULL;
                stp_online = false;