Received: by 2002:a05:6520:1682:b0:147:d1a0:b502 with SMTP id ck2csp5596811lkb; Mon, 11 Oct 2021 09:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRUq/HRkAZzkuUDVlTCxL6trTDI7sG5c1CvI11QltAYpN1l7SylwxeoyQPkCZr4ztyTS4W X-Received: by 2002:a62:1d08:0:b0:44c:6f89:85ef with SMTP id d8-20020a621d08000000b0044c6f8985efmr26825711pfd.42.1633970361113; Mon, 11 Oct 2021 09:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633970361; cv=none; d=google.com; s=arc-20160816; b=IkdpoXn2AMyjzhl6PZWkbKkpS+wqCKDXUn/xh4A9ZYZArGVBX/5cKa+2y1L9uupdWB ctOPl/AW8yyrJpd5AMMT4LSZCZ8rc1J/NLbRkIFpfDgeYp3goeLKvq0ef6HB+ZTH0oPh cyWHFy53UJ2ALugihEgxoy3YujGwvWymmCd3ObojxJh+ltqJD4d3Mgo2wLiaOzbRB1ac h5dJRBinWn5IDTBDkU0JV25T53ZXHcKEkfUyIGHinoD943MgY9YHX2C0da8TDtAtPiUW 1Q5w4acm0T+C1vnHfcbD70iEeJ0SXPA1C/J4NqGROeJ7uogNrrJZwWAkZUlBqFZKP4fi AwAw== 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=tS3gn58fiHE1W9rd+gQPGfyIVmwh+TSAO/cCIefvA7w=; b=YPHjB55XyAt2n9ZWhGAjeNIcBzbCjyTPb8hds7CHI5sew/LjQVqI6z4hAsJXWxH2Ls YAbO7imvfcnMwSeTHug0+Cn+AMoeYvwPoghoStOTbELMe4YjrPQMM67wMH/AVkPRJBIN pG8tiUz5Q8detqYkAiE2W5f/hLmZGn5Z8Z1mLnC9QC3UcPyMRRQG5ydzs8y8Sh36wpgy 2qvLwRDKJPD828wpyD73POq3vKBI0DkM+j3bcC7/5v9YXZGte2GMZyinr9dIedP8Sn5u AuSF3SE1Kk2FewUaImDYOp1RVQQSS4M6NGBz8+pQG/Wyh6Jh2mjSWBlAhD6Sha/yyDex N1gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=y48JT8pK; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si15300472plh.436.2021.10.11.09.39.09; Mon, 11 Oct 2021 09:39:21 -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=@linuxfoundation.org header.s=korg header.b=y48JT8pK; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243784AbhJKOUJ (ORCPT + 99 others); Mon, 11 Oct 2021 10:20:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:38724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243284AbhJKORZ (ORCPT ); Mon, 11 Oct 2021 10:17:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BB29F610F8; Mon, 11 Oct 2021 14:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633961420; bh=CYi226aFCmG3dK7IyYGdL3Cab4XEkOb9x+YX6Rga9/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y48JT8pKxOhg9qC6K46v/5e+pZHnf+YqdscSHFBQiK+OWzDtOtAcWscDGdb6UpxHa YJA8p3lyADvIniXmzhq42AQXani2eWnpEy2OLHD8tX4BdNVlJLOoa5WXp6/0Hv95Eo sEw+/iJeX4k3rMQ4/hjG17Y2jZ9omnaPrM3W/hs4= Date: Mon, 11 Oct 2021 16:05:50 +0200 From: Greg Kroah-Hartman To: Jakub Kicinski 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: References: <20211011134503.715740503@linuxfoundation.org> <20211011134505.483011431@linuxfoundation.org> <20211011065931.78965dff@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211011065931.78965dff@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 06:59:31AM -0700, Jakub Kicinski wrote: > 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. Given that the hardware is still just as broken in those older kernels, why not? thanks, greg k-h