Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2876762ybd; Thu, 27 Jun 2019 22:10:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9pQpaYo2sd5oSNon6JvTYlVm4ym9eq4a1U1Dk8IE2ExOdHOybs8M1/KGzMeTXwwMzPHWH X-Received: by 2002:a17:90a:c596:: with SMTP id l22mr10855484pjt.46.1561698617616; Thu, 27 Jun 2019 22:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561698617; cv=none; d=google.com; s=arc-20160816; b=Zit8migxqDAtPG8T85p7opUAFe8V7NSsu+XrHoInwoboo11bJyvdheylKsZa3gzKZn GG5jyloL/q1dhT7VX8DxuWbITaUt2CJmAT0GCLpN3JjZcqR59fMPzNSaf71PtVqlGX57 K5Nf2s9WwDUyeh+v+etEnusfn2bG4MseHK2OrmXoCP8wN7DLkTxgKq/GBkLbEX8FBxgI Fw6Grx26OqpERj3SThUnroD6vOb3onQK3u7CsZx1eB16qF2ByWoLdPE0ctRo0sbv6M7l Hxvxpjy85wTAqqQhMLIlzMMZFArngbd/jfprvemWcGHIJ5+KeVS8hkEI/BgLmEDRd6OV FmOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=+rJZl2ofJ5nfO3sypefL7dHkKrrmyDyellTH/smJpR4=; b=Le6zAcZrlAGhJlzA6vUJ/4+7tn/ufY0xAduky5smLlCE/sAlXUe5zEgYmHTk1i3+TX ANh+g8M1bMDzIEYFL8Wj8sRj59WuFC4qzGBP421axxfV9/gYf+y6socTjsyXRDZw5rf7 Kci8C0tRpnDUMz9gnYrZJxp6thg4pV7uLtkRM4/HIWaJpsqbtFVqf1Ma1jdVk9r/PUiY 5RU+pB3jr0J4ck75t51885/mqyhAkH5ymDspFrA5HHOU1c1wE9CJztvUwNqvlPBM9InV xMoaKxvzxsSP8+3jYg9kyQtrF2cxrx3vM/bYCbs4y7KXLiF77i94h6HGYsqnuPtEP48y gzjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si1162834pgq.504.2019.06.27.22.09.48; Thu, 27 Jun 2019 22:10:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726695AbfF1FHs (ORCPT + 99 others); Fri, 28 Jun 2019 01:07:48 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:33915 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfF1FHs (ORCPT ); Fri, 28 Jun 2019 01:07:48 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hgj6s-0001zy-0d; Fri, 28 Jun 2019 07:07:42 +0200 Date: Fri, 28 Jun 2019 07:07:40 +0200 (CEST) From: Thomas Gleixner To: Daniel Drake cc: Linux Kernel , Ingo Molnar , Borislav Petkov , Hans de Goede , david.e.box@linux.intel.com, Linux Upstreaming Team , "Wysocki, Rafael J" , x86@kernel.org Subject: Re: No 8254 PIT & no HPET on new Intel N3350 platforms causes kernel panic during early boot In-Reply-To: Message-ID: References: <20190627085419.27854-1-drake@endlessm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Jun 2019, Daniel Drake wrote: > On Thu, Jun 27, 2019 at 10:07 PM Thomas Gleixner wrote: > > Nah. That extra timer works thing is just another bandaid. > > > > What I had in mind is something like the below. That's on top of > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/apic > > > > Be warned. It's neither compiled nor tested, so keep a fire extinguisher > > handy. If it explodes you own the pieces. > > Thanks, it works, and makes sense! > > I'll add a commit message and send it as a patch, just one quick > function naming question... did you mean apic_and_tsc_needs_pit() or > apic_needs_pit()? That's the only compile fix needed. I'd say apic_needs_pit(). Less places to change :) Thanks, tglx