From patchwork Mon Feb 13 18:48:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 56453 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2513364wrn; Mon, 13 Feb 2023 10:53:59 -0800 (PST) X-Google-Smtp-Source: AK7set/CAmY+k5g1LY4o90B7/L1JblEeh5S9pOy0fE/MlsR0Z2d/b7pSJicSTuYaIMrGxAepVkwF X-Received: by 2002:a50:bac5:0:b0:4ac:bb4a:13cd with SMTP id x63-20020a50bac5000000b004acbb4a13cdmr7935358ede.11.1676314439157; Mon, 13 Feb 2023 10:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676314439; cv=none; d=google.com; s=arc-20160816; b=El0u9WZzVhb8ubjKhNGxTrf47u4hCHHZskUR8K0hJ55ygrZBK1uwTuiw2gDvNlw1Jr agS9v+s4y2rt9Hcc5VT+C98GrfGzLMEJxAVuEf9hnayBobtoV+Ed9wk/ATqEX88qqXRp MiUPeBnu4nk+UUJEHIu+HPZQvxdQq1fh8jyB9frC/DboWWiuI2ZvLTWU1LCn9a5PGEbi 4dN5ulTyg/eZMiyr9T9KiITqxJjMToladIX2MxIMR3xfCctL4wuj1GyFElbrZ42rDD+b T7M+ZQIjovzVE01Mg6YJ2s/RnY4c8t49N6OoyycxbkmtAe+mK402IOS5cOO0zE+OLrOn mz4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=k/nAO6D5+40cddh0WbZTxoJpzCW4ZAewqvnajsY1fag=; b=nt97hnmG4F7o4pmbbTEilsKHtjeSrviTR/zJX5NgC0GGUJ/JD9vBuJ2BbQWXy9Tlhc tQHPvUmsbKuklzIInCvT4Sv+hYsTMHAIW7IxutKwvBpa8uF1xhxkOfN7ku5kz71cmwR8 9+VYFiqYRZfu2xmkP/HaKLJhPxp/0a5Zrw7alPrtfCi9GdTyPwMbo+A5no2YAUBoqS30 7YDCB7RIopL+I8tVHBIpuAp2CURhjbQPERTgS6UR57gSJwAoos12rSNywMJUV8bkvlh9 GJgogEnSHeBSwn0a6OVYI5DHyOk7hNXT1xMTela7XO2zyCT91SeTOdFniRDVb1zwHHYx UxfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UfM8+hfa; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aiC7gRq8; 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=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c26-20020a056402101a00b004a0a7d851f5si13624654edu.634.2023.02.13.10.53.33; Mon, 13 Feb 2023 10:53:59 -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=@linutronix.de header.s=2020 header.b=UfM8+hfa; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aiC7gRq8; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230141AbjBMStH (ORCPT + 99 others); Mon, 13 Feb 2023 13:49:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbjBMSsh (ORCPT ); Mon, 13 Feb 2023 13:48:37 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B641CAFA; Mon, 13 Feb 2023 10:48:36 -0800 (PST) Date: Mon, 13 Feb 2023 18:48:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1676314114; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k/nAO6D5+40cddh0WbZTxoJpzCW4ZAewqvnajsY1fag=; b=UfM8+hfar5sYI1mEMKuZtf9gZk6kB8SQ4byg3EpZzkTzyeC1cxNZKNI3IdJmqCaAzmofUs xueYOq6sqzbEQpuKlJxPO2h9gQD2dw0svB1wPSIDwECaDRetrYmrZNP3512Gr8Ozo+Bn4E YoRuhGZo53YGx7+UbniDqWylLNvdVe90pcyp4k+8Wm05lINrwWh0lynF94rScSqs4Uviba VBguS63PYTfFlopUYFVPdg+ITyt/BBXIvKseJbh69zN8kO2qih/JGVBPCnLuoMgJ5Gzd40 mVcYw2WGXXsqyoOyprzXVjOIBwY0OvrbHOnC8EPSMkyhno61B2qbEkKPHfab1A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1676314114; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k/nAO6D5+40cddh0WbZTxoJpzCW4ZAewqvnajsY1fag=; b=aiC7gRq8/iMVEkbCA2f93/jOg/8+V5itdZEoNXurSHvVz4jMsncOhrCly3OZM5H1jQk4Zl agcjvLFCA8JezYBg== From: "tip-bot2 for Yunying Sun" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource: Print clocksource name when clocksource is tested unstable Cc: Yunying Sun , "Paul E. McKenney" , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <167631411430.4906.12795499771072205782.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757743089042937387?= X-GMAIL-MSGID: =?utf-8?q?1757743089042937387?= The following commit has been merged into the timers/core branch of tip: Commit-ID: beaa1ffe551c330d8ea23de158432ecaad6c0410 Gitweb: https://git.kernel.org/tip/beaa1ffe551c330d8ea23de158432ecaad6c0410 Author: Yunying Sun AuthorDate: Wed, 16 Nov 2022 16:22:21 +08:00 Committer: Paul E. McKenney CommitterDate: Tue, 03 Jan 2023 20:43:45 -08:00 clocksource: Print clocksource name when clocksource is tested unstable 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 9cf32cc..4a2c3bb 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: