Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp440499rwd; Thu, 8 Jun 2023 03:01:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wH4IErEVkPtEQY3QhMnlombugZRz9PEunM6KXd2k1h+0SW7g1mt0njApRhV0NPdojplob X-Received: by 2002:a17:903:1250:b0:1b0:4680:3f with SMTP id u16-20020a170903125000b001b04680003fmr4255795plh.41.1686218485273; Thu, 08 Jun 2023 03:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686218485; cv=none; d=google.com; s=arc-20160816; b=XoKhdKZBg525uTzXI3b+LuCnYughk353G+kKd6tw+fW73serYttUafFdyqkL3ac4j6 zlqwZx0PsucTNQrcIr+jAMTEIjPIIfROOYgDaakHE9zBqEX0xnXPhZrJIXyf+yieNmrY ryKuNXa+cTC6BKCGWcoiuk6IzueEKyi9Dt/VY7csL++stbGzYePQUUGVNDktvwsz6FQc 52IJToD7pq7nq2wjLuTcN+9k7C6eUiCXfDpYt8Imj+QLaKeG6Sv86gMkGxuR7OEPfW4G OyFYU2qoToN6hvgvAOUc3j8IYlrq90KE2wOYIicHIg6Gb98mCoB3ynV7kNEdfhlROGHQ 0drQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C0rSNYJAAkGVGvXyT9xVOarM8J//G5UDa6R1/kM0Qto=; b=LYkwk/rJQUXoiAWcvQQnrYRkKh9mVD5uCuoAA1i1bi6ikjoZU2Vo2Ndf63HbHjr/MT O4pzxTZ+cy27+JmfAAYwcLmLTEfYS1pDhjHW0ZDBi7HdIu9x/45494jRn+AbLWr/F71y Ig7U3P9sxpnje++mgdesnnA+srpeahrfSX/7TNcUsoogpgtGbly9bZQ/KHW2AQWwCRbh bHAytv9QqGXanFRMh5DzSNQ+1Q80u332jIi4vmdu23DQwS/lh+CbOUyfnkiYxtejvdc1 8HlS+BlywKWxlzw2VWySw0Pk61mJstDoWHhLJDthmbQSOcbkWx4eJlmIYXyVPGSSrCmA 15Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=N8YLznZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a170903230e00b001aafc6a76e1si889284plh.69.2023.06.08.03.01.11; Thu, 08 Jun 2023 03:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=N8YLznZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234958AbjFHJmF (ORCPT + 99 others); Thu, 8 Jun 2023 05:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232233AbjFHJmE (ORCPT ); Thu, 8 Jun 2023 05:42:04 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E11213C for ; Thu, 8 Jun 2023 02:42:03 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-56ca07b34b1so3417847b3.0 for ; Thu, 08 Jun 2023 02:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686217322; x=1688809322; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=C0rSNYJAAkGVGvXyT9xVOarM8J//G5UDa6R1/kM0Qto=; b=N8YLznZ9FSIfPXhZCq0gFbw8PYMpOn7N1L8jXEJ/RuUBy6880zurMNAn1KzcJEzLoW zf15QZpI/Y0JMuXE4YqqvqScTCLdIdI9kGmKK7GgpwFzD8qDMjeYBoUqc9eaAOVnSXIR 7rIBNmzaVg0uHNMbH1GxHdhzOwI5MaRqFvdIJ4Vujn0shG0ChacjoNMwr0moKgZEyMhf API2Sql41r8lpBa2k45Dv0VjPQj9vVpKGlOGxZ5+JkNGxNeWna6xlf3b/2G1lBp9i0Uf JVK8Gqqnys6bksls+w5NSvv/VhQ7bfbdkIZJtWLgzxNFo+YTY9eWPGYAwQjTEq8s/PaC RcsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686217322; x=1688809322; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C0rSNYJAAkGVGvXyT9xVOarM8J//G5UDa6R1/kM0Qto=; b=ItIHIhkg2AoyE0qjqjsyqJVgwkNeOnNMxC2JrTmYtLzxXJRH4Fis1tqGQpCQPjH6Gx SvZaFyD0wlxdvYINUfQ4YUkx+ltlT/89kNhUyfnOl1g6+56y3TEO/wG58JFCIeuMqmix 7STzZpz0Df9ZxVSbhgXkZbGTL5xsoVGanPE8y5Ogq16VZ4yb04YHHbYBW9ybHwiZbMZs LVlzobS55EiMwjrEmUj1p4MBOHoIlRqWP7/subUd3P5hZPt1TVbCjK/yRSnafn46U2NW 5yPXjpOCkEszaKcIKLiFxdBoLXYvnfjpHu+6Q5dJfz9EFnPXLecdtjVZBYnYv1IBZjz3 C6DQ== X-Gm-Message-State: AC+VfDx+TCH22tPZbxSdOtW2koA0V3EhRQEOiX1lY2S0z/boJw01MfpF 0oj1YwXzITjadrmts4m3qWfeH54jpVhngB9JAx7D0lj8JS8= X-Received: by 2002:a81:a202:0:b0:565:b76d:3af7 with SMTP id w2-20020a81a202000000b00565b76d3af7mr8991054ywg.3.1686217322134; Thu, 08 Jun 2023 02:42:02 -0700 (PDT) MIME-Version: 1.0 References: <86521835-f13f-4d43-9a38-9a55abae0b89@paulmck-laptop> In-Reply-To: <86521835-f13f-4d43-9a38-9a55abae0b89@paulmck-laptop> From: Chris Bainbridge Date: Thu, 8 Jun 2023 10:41:51 +0100 Message-ID: Subject: Re: PROBLEM: skew message does not handle negative ns skew To: paulmck@kernel.org Cc: Feng Tang , tglx@linutronix.de, sboyd@kernel.org, LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Jun 2023 at 20:04, Paul E. McKenney wrote: > > That is a bit user-unfriendly. Does the following fix address this > issue at your end? [ 2.095149] clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as unstable because the skew is too large: [ 2.095152] clocksource: 'hpet' wd_nsec: 515998611 wd_now: 1c29fb9 wd_last: 151e3b8 mask: ffffffff [ 2.095154] clocksource: 'tsc' cs_nsec: 515124524 cs_now: 8af4c89f9 cs_last: 874f8e80b mask: ffffffffffffffff [ 2.095155] clocksource: Clocksource 'tsc' skewed -874087 ns (0 ms) over watchdog 'hpet' interval of 515998611 ns (515 ms)