Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3198752rwd; Mon, 22 May 2023 09:59:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SUR/qQxF6BQav6PQyoKPNdkfTxFU8oBqQRFeZJcUSQS7YggfW98vanL46UuXjTtO3Fzr1 X-Received: by 2002:a17:902:c942:b0:1ae:52ea:416a with SMTP id i2-20020a170902c94200b001ae52ea416amr13003201pla.2.1684774775298; Mon, 22 May 2023 09:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684774775; cv=none; d=google.com; s=arc-20160816; b=pzrCx4vGwcXNCUiW7eMWZGbqdPCEk9/jEKiF6iQjsuG1/tAzAURI1q7kLh5/EqG7cg FHe9DcJk9ahqQbmkTjPTl/53fimEEocwfoORSxtbC3HvaMOALh5GovPPd1d6/Hn6s0Ej AyLsMvFas3Z03lsD1hKcFlKEljQvni3JqavVZQ+smIDA+lc+EmPlcjxf1BQIM+U4Nbe6 TzUpoM1mIccCZzg2vNi0wvlM4uQpAD2nRGtbuTmRiHxF9L9Wpo/qerD3nGE/GUKB3oUj C/qEJMT1KIziqZn+0H7twj/WcUKBE9ZuwTgG6VHJR9E9VIMBZ7kxo5eQlMoYSKyoreAy MtNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3Kof4Ubyf4S7Z31yQZ2w4xYy+/GOvsdXgqUlhiAJQaw=; b=kfOPhOJs2Y7im2ZsbCqqly3R37CLQNcKLIVc+8ktReX5P7JiTfHla5qSsELe6r2Yym OE6zuUX36IjiZsjQbk4H8NpDIIRtPWNjlLCkYl5b1aYdZNHhMGg4vGOY5CLolxT3RfCl lK9aKW2QWRowMJrZTEEpWOfTcOMe1rlRCoS1F9zMuJIzHACu4ogTCfrWgNyWYqSHDrkV pk+z61GAuKXNAMRDopPAwqlYnkCuOfnbXuwDWwFgRUtMO/NaS5yriJeNK+Z+j9EdZVM0 axWd70QwD0s/UHA7vaXomkfviIJhxvI60AgrIN1N9/NiWbX5+LDqI5eCBvS42MSmRX7d vZuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=q4+StTJb; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je13-20020a170903264d00b001a637201992si4694718plb.488.2023.05.22.09.59.18; Mon, 22 May 2023 09:59:35 -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=@infradead.org header.s=desiato.20200630 header.b=q4+StTJb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234463AbjEVQMU (ORCPT + 99 others); Mon, 22 May 2023 12:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233770AbjEVQMT (ORCPT ); Mon, 22 May 2023 12:12:19 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 978D7B6 for ; Mon, 22 May 2023 09:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3Kof4Ubyf4S7Z31yQZ2w4xYy+/GOvsdXgqUlhiAJQaw=; b=q4+StTJbdXWKDwrNRlP/N5Kss5 dQHUNe9SdQL+zR+DuM1TeJh/aEr+MJHta6JbLORfgkaiP8MWcI4zqYRT2LmCop/Kl6n58S4b7oiHc q+td9BM+L2mn6ez/DeF8GmxqaslCzI7C6+GfQmpUnQ+t/ojoMp7FDGQzZNlx6E02t7Rv3AIDU6NCc SPlSkxu9C8b0xgnurLe1VjuQXBUnn+3gMzDMF28ic5yCPA0+HaXag3/shZMOwOT9+o0JDvlzrO72w N6rzWKkOyYnzYaeQ+LuKU0unzoxYLMcZCs23FrxNY6eU8XHR3T794GFV9TRQ9CU7zxbGmY/d1ILTA WbMI2rHw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q188f-0024R2-10; Mon, 22 May 2023 16:12:01 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 297B9300338; Mon, 22 May 2023 18:11:59 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 01C0A243487CE; Mon, 22 May 2023 18:11:58 +0200 (CEST) Date: Mon, 22 May 2023 18:11:58 +0200 From: Peter Zijlstra To: Feng Tang Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , paulmck@kernel.org, rui.zhang@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, bin.gao@intel.com Subject: Re: [PATCH RFC] x86/tsc: Make recalibration default on for TSC_KNOWN_FREQ cases Message-ID: <20230522161158.GA3330346@hirez.programming.kicks-ass.net> References: <20230522033018.1276836-1-feng.tang@intel.com> <87h6s4ye9b.ffs@tglx> <87zg5wwppa.ffs@tglx> <87pm6swi7z.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_NONE,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 Mon, May 22, 2023 at 11:20:15PM +0800, Feng Tang wrote: > And I don't understand the commit log: "On Intel GOLDMONT Atom SoC > TSC is the only reliable clocksource. We mark TSC reliable to avoid > watchdog on it." > > Clearly the Denventon I found today has both HPET and ACPI_PM timer: > > [root@dnv0 ~]# grep . /sys/devices/system/clocksource/clocksource0/* > /sys/devices/system/clocksource/clocksource0/available_clocksource:tsc hpet acpi_pm > /sys/devices/system/clocksource/clocksource0/current_clocksource:tsc > > The lscpu info is: > > Architecture: x86_64 > CPU op-mode(s): 32-bit, 64-bit > Address sizes: 39 bits physical, 48 bits virtual > Byte Order: Little Endian > CPU(s): 12 > On-line CPU(s) list: 0-11 > Vendor ID: GenuineIntel > BIOS Vendor ID: Intel(R) Corporation > Model name: Intel(R) Atom(TM) CPU C3850 @ 2.10GHz > BIOS Model name: Intel(R) Atom(TM) CPU C3850 @ 2.10GHz CPU @ 2.1GHz > BIOS CPU family: 43 > CPU family: 6 > Model: 95 > Thread(s) per core: 1 > Core(s) per socket: 12 > Socket(s): 1 > Stepping: 1 > > Maybe this cpu model (0x5F) has been used by some type of platforms > which has met the false alarm watchdog issue. It has them; but they are not *reliable*.