Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp170821rwl; Wed, 4 Jan 2023 17:12:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXtcAuElVdxjOfuDV7EivsWzu4yUTHzVYoDbRRCbdlLi2SGMoQzvr8jhjYMn2Qfat7gERNPW X-Received: by 2002:a17:90a:bb07:b0:225:a3ff:8016 with SMTP id u7-20020a17090abb0700b00225a3ff8016mr53746471pjr.17.1672881121456; Wed, 04 Jan 2023 17:12:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672881121; cv=none; d=google.com; s=arc-20160816; b=OSBhuhnkFQAWvTvkRE+Tx6ENe9gIbGp6eYoaEV9HYwTkgLZgPEk8ct6RO9zozsD+Xk uF4blKb3Ra72ehC2r0GoFeIZu/cD/FbJ/FcUtVOzLjwfi2TA2+6A9qBo5cmDJcbjkwOU cE10QDzZsYzxuc8SrOYHrh/Y1QHsZWe3XjpqfZfNrwjDTIE0LDys5TdEDCASjkhcBqvJ GEyRqdn8vKHQypHhZc9ADr/RNUcwxbZ9t3cI5AeyLqpHd2j45dKlFBKOCkaXCL3oiPdg hTxU+YpxEhSnFX48SIuVvTb9IJGyLIxDSoQix5Q284+wL2GQi6J4iKbVdMzU5uLbeRTG VHGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=leyAfntoPyncGeLmBFFQvj2xV9SgXtKjZS2Ph6m63vk=; b=zqnTeL+qoNRyzE3J3a5/lp+DnkGup0r2EdTG49c0aN3IsIKYeZtBOc91JbPGmdYmX1 BbR3PifLbKRZjPklphP0bTTWJZnsL9IamrcSUOdXHSLggGDgaNCqttkFsDVX3LZd+WNh ztUT1tWiV4irV0k+DKJIWMVrFX26mUzUePkpdvd8OES/ED+A9DLsJlZR00BMQE85BT2p H5u8HTj0nEL1qaW1BWJYzAASxo4wz1ea2fpTotgRqyTA48kwBiJGVxGwmS4EN56L5Pqw f/Jk1V3UywGibi8iVnl1jB26nM8fMzQ4Mbv4JqJ0buJnssedBKlS843NVl1h/dZM5sWG hEfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GN77Hc6X; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx8-20020a17090b4b0800b002199a9891desi483984pjb.141.2023.01.04.17.11.54; Wed, 04 Jan 2023 17:12:01 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=GN77Hc6X; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229927AbjAEBHG (ORCPT + 56 others); Wed, 4 Jan 2023 20:07:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbjAEBHE (ORCPT ); Wed, 4 Jan 2023 20:07:04 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8E1B2F7B2 for ; Wed, 4 Jan 2023 17:07:03 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9053C61881 for ; Thu, 5 Jan 2023 01:07:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAF85C433EF; Thu, 5 Jan 2023 01:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672880823; bh=tNnAiq5HYDDhjHdWky6iQVYABLIWoBenLL5L50zs8N4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GN77Hc6XS1nlTuMi12zL+N+XWGpzdO2v30sgdGDbi9bCgHju5MURna2GwsoIifsPV vc1CaTS3N8FZqPl7Loq6Dtw53crh8h4cwiRccmYhE3kihvi4neBVQHbZZ6A6kpJVxC nT/3hb/XQZwWRMgaTlmuBIb+c9zK90NbpP5svTCaqW6JT2FB1izLxtejExLy3bEGHR e8Fj1/gQ8pg+zZ2twpmPJljotcSA0bMgvp6APi6jrVKUB39Dw3gQs3jPCaKGjvrkzp AnVY3pcTkWw1xmILRbyU7UlcoTOr5lhAEK+B76viUgUg7snuN05dvC2/HgYO5R/pz1 G1YoEbd+wY8CQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A84285C05CA; Wed, 4 Jan 2023 17:07:02 -0800 (PST) From: "Paul E. McKenney" To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org, sboyd@kernel.org, corbet@lwn.net, Mark.Rutland@arm.com, maz@kernel.org, kernel-team@meta.com, neeraju@codeaurora.org, ak@linux.intel.com, feng.tang@intel.com, zhengjun.xing@intel.com, Yunying Sun , "Paul E . McKenney" Subject: [PATCH clocksource 1/6] clocksource: Print clocksource name when clocksource is tested unstable Date: Wed, 4 Jan 2023 17:06:56 -0800 Message-Id: <20230105010701.1773895-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105010429.GA1773522@paulmck-ThinkPad-P17-Gen-1> References: <20230105010429.GA1773522@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Yunying Sun Some "TSC fall back to HPET" messages appear on systems having more than 2 NUMA nodes: clocksource: timekeeping watchdog on CPU168: hpet read-back delay of 4296200ns, attempt 4, marking unstable The "hpet" here is misleading the clocksource watchdog is really doing repeated reads of "hpet" in order to check for unrelated delays. Therefore, print the name of the clocksource under test, prefixed by "wd-" and suffixed by "-wd", for example, "wd-tsc-wd". Signed-off-by: Yunying Sun Signed-off-by: Paul E. McKenney --- kernel/time/clocksource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 9cf32ccda715d..4a2c3bb92e2e9 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -257,8 +257,8 @@ static enum wd_read_status cs_watchdog_read(struct clocksource *cs, u64 *csnow, goto skip_test; } - pr_warn("timekeeping watchdog on CPU%d: %s read-back delay of %lldns, attempt %d, marking unstable\n", - smp_processor_id(), watchdog->name, wd_delay, nretries); + pr_warn("timekeeping watchdog on CPU%d: wd-%s-wd read-back delay of %lldns, attempt %d, marking unstable\n", + smp_processor_id(), cs->name, wd_delay, nretries); return WD_READ_UNSTABLE; skip_test: -- 2.31.1.189.g2e36527f23