Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1617748pxb; Mon, 11 Oct 2021 09:34:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyze6tE++9pMVFsjhq64Zo1NU2W2eVjePtlH6vjJ3q0qAQe6dksJVjLCMQdFGYTQoTkbyJb X-Received: by 2002:a63:9858:: with SMTP id l24mr4445667pgo.258.1633970082919; Mon, 11 Oct 2021 09:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633970082; cv=none; d=google.com; s=arc-20160816; b=MhqZK7D7OIzASyJpSZb7fnSc13TbZr6EN6Mz6eqWer4X5rjoDS+ur1yiUXVyW78+mY GxJVMCkhveoUUW+VZPO9L/0n33JBbThX4zvGTyMDMBNOnRN+Ci7FQBmLdNVqpsjAerGn 0iNzqZ+m0SoQkusZZGafbZAqkhhHHy9Go5Gz63nL7pZdryUexslCwxdxnO7IB8EkR4Az qjqnOuqXFMpP8IwqmbftBXVKvxJ5IWd9XKNz4pEVrT7z69C9LAy58bnjXD/1FMhqrq32 C0hphZpF/f8XNR7zxPBcyXXw05ACROdZgyZLcsxZOjYbchWNw6nCGStwxwDsGXDt7Knq I2ag== 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:subject:cc:to:from:date :dkim-signature; bh=+rw7ZAtBsGwh9EIlh9UsMAU+ihzEpbpJu7dtw9yB+Rc=; b=XhZhaIgUmiZX0Tb7nTDxtoHFYRvxpjPiWCr2OG6OZ/Ck45qFeQayfH6URPBwdcJrxY YiARJjgyr03f70vWNXSvDPuC+OpTaYTD+1Bqy9dF9gPJYefTxqHgcuCZH7jDbT2VJk2I 4J0KA75i5TzVoErIRYeGjNfWemZcntwtnoIwUgHDTOhSB0wF3+wQNwxzd0kHso0aEbHm KXWBw/7VmwRHODiRSFWt/yyhHheXFBDbSZcXmnBcNwZZLeBpk0FdHMwjza38eOpLM3Mc pABfQf2B9IPjBmfx0NdjIFh3++J44O4TmLh0HWGGGLSPHAhvXFnDTdkVzn3OG+LOfbvV qNmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lDG0thgJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w63si10673042pgd.305.2021.10.11.09.34.30; Mon, 11 Oct 2021 09:34:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lDG0thgJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S241463AbhJKOH0 (ORCPT + 99 others); Mon, 11 Oct 2021 10:07:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:57814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238667AbhJKOFJ (ORCPT ); Mon, 11 Oct 2021 10:05:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7CA3861206; Mon, 11 Oct 2021 13:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633960773; bh=iJ19XUu6miTNkPhxzTcAIecPW6SYgVEeC8WUUhrwnHI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lDG0thgJ3WPAFSP8F8+ajl74djwB5b5DUDzpp75W/i8gqAoH4w47Z3jF16y6wFbPy cz/CYznQkD9cm83rjB+Oa0Y6vb7Uao51tYOKgsakjXkGxLkFr0eIGsCErW/Mh0aenU hgYV4cEhoJmjEfKojif+FlWVcfkp0GrTZhF8z5zuCfe095XT8XKov42IT7kfgOlmE2 NIvzpB9nBuJ7LihkENWwxPttT80NCfj2Ep9lyP3gDsalYZr6+f/upn9LDeKo2Xo1XW iJchAVhoCBgJqfNhrgTvdIKwTcgpUedemKJOKr3sFFRrnF1VsX+iFDzE3qQgGA3QuY ocb9D3Qmkk6Sw== Date: Mon, 11 Oct 2021 06:59:31 -0700 From: Jakub Kicinski To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Thomas Gleixner , "Rafael J. Wysocki" , Kai-Heng Feng , Bjorn Helgaas Subject: Re: [PATCH 5.4 51/52] x86/hpet: Use another crystalball to evaluate HPET usability Message-ID: <20211011065931.78965dff@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20211011134505.483011431@linuxfoundation.org> References: <20211011134503.715740503@linuxfoundation.org> <20211011134505.483011431@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Oct 2021 15:46:20 +0200 Greg Kroah-Hartman wrote: > From: Thomas Gleixner > > commit 6e3cd95234dc1eda488f4f487c281bac8fef4d9b upstream. > > On recent Intel systems the HPET stops working when the system reaches PC10 > idle state. > > The approach of adding PCI ids to the early quirks to disable HPET on > these systems is a whack a mole game which makes no sense. > > Check for PC10 instead and force disable HPET if supported. The check is > overbroad as it does not take ACPI, intel_idle enablement and command > line parameters into account. That's fine as long as there is at least > PMTIMER available to calibrate the TSC frequency. The decision can be > overruled by adding "hpet=force" on the kernel command line. > > Remove the related early PCI quirks for affected Ice Cake and Coffin Lake > systems as they are not longer required. That should also cover all > other systems, i.e. Tiger Rag and newer generations, which are most > likely affected by this as well. > > Fixes: Yet another hardware trainwreck > Reported-by: Jakub Kicinski > Signed-off-by: Thomas Gleixner > Tested-by: Jakub Kicinski > Reviewed-by: Rafael J. Wysocki > Cc: stable@vger.kernel.org > Cc: Kai-Heng Feng > Cc: Bjorn Helgaas > Signed-off-by: Greg Kroah-Hartman FWIW I've never seen any problems prior to Paul's rework of bad clock detection in 5.13. Backports to 5.4 and 5.10 are not necessary.