From nobody Fri Mar 04 14:45:28 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9056619FA8BA; Fri, 4 Mar 2022 14:45:38 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K99dG3VCSz3Q0M; Fri, 4 Mar 2022 14:45:38 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x734.google.com with SMTP id n185so6556993qke.5; Fri, 04 Mar 2022 06:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uxxP5R/iNJ9HgnMWLCf/tgLZtuXB/jtXWy1HHtCpXJo=; b=Hw9XO7t+G+NMgxPJOfik0CAlq26jb867iCA0EzHABehqXfP9dZiNgNu/xZVCoq8fV6 NYPWDKspnGTzXEFtxq4F7ccbDty9Jp+v63K+irW+So8sF6VdY0EV13zJqThiflUl4gCw shECbEEG4Ztr7DPVqWM0wq313mTNyqRxrpSL0nbLJ8FJxhMTHDoYVeb2qR6vkc4oKZ2k fSVKyboxQ6I+buP/Lvar8NdE/D+ltK0rtTp6jrgLrgZShW+cw4CGJc6KoeC0jkYewSAr xGnj2kBUsSB+icI9yTkazi+iBmMFW0t1fEDMmYNpov6WhHuQ0Ltgj4Gfi/7T2zpsoJfV X8gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=uxxP5R/iNJ9HgnMWLCf/tgLZtuXB/jtXWy1HHtCpXJo=; b=6ahv3P2XedJ3B+4g7xgo29hox2dL3Vmr250b9qqIuY86vGVEwbN1LJ7hsbnS2+WxM+ 3fT5SD9sOfKQPnc3ofTFbMHpcuk9AFfB8n2Hh4dLZy5kGzq3JjJ1M4h0ScY26+8EW0dy Cr7h+tlyYNEvdim6OcdI5gTAKik/qPsz2t8IIShjpbIyegjUYg9/cl1i9bnq+Wnj98C2 FRTqBM7shhXK3avccW09aQqw8zg18laHXSF3nNKmXV+7qxipzM3VlMN1IuPcQi8024Yg sGFb+4bhMm0y13QFfGBzpHWYlTkvDGQ+shb/wivaoP6wydRy5XW38HuUQZXogOGxurlH OTig== X-Gm-Message-State: AOAM532u1v3HiUFnGG6196+mHINFs3J8UGZJbTRGh9yQ/tU9JhM65URE pRjGTb7gm169bgYu7Dw/5C4= X-Google-Smtp-Source: ABdhPJz0NlNpO+fzKQmeNZLLS8YnluXXGHnD6YFIQGOUGuVpl1dtJsVQIBsW81sQVXFQnZm5+7Evxg== X-Received: by 2002:a37:a94:0:b0:663:124a:d3e6 with SMTP id 142-20020a370a94000000b00663124ad3e6mr2691081qkk.50.1646405131733; Fri, 04 Mar 2022 06:45:31 -0800 (PST) Received: from nuc (198-84-189-58.cpe.teksavvy.com. [198.84.189.58]) by smtp.gmail.com with ESMTPSA id e8-20020ac85dc8000000b002de409f360fsm3613404qtx.76.2022.03.04.06.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 06:45:30 -0800 (PST) Date: Fri, 4 Mar 2022 09:45:28 -0500 From: Mark Johnston To: Shawn Webb Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 84369dd52369 - main - x86: Probe the TSC frequency earlier Message-ID: References: <202203011439.221EdtpY038505@gitrepo.freebsd.org> <20220304142447.bmo7r6syd6gsunnt@mutt-hbsd> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304142447.bmo7r6syd6gsunnt@mutt-hbsd> X-Rspamd-Queue-Id: 4K99dG3VCSz3Q0M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Mar 04, 2022 at 09:24:47AM -0500, Shawn Webb wrote: > On Tue, Mar 01, 2022 at 02:39:55PM +0000, Mark Johnston wrote: > > The branch main has been updated by markj: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=84369dd52369cbae28970dca20a53d3de1719907 > > > > commit 84369dd52369cbae28970dca20a53d3de1719907 > > Author: Mark Johnston > > AuthorDate: 2022-03-01 14:39:35 +0000 > > Commit: Mark Johnston > > CommitDate: 2022-03-01 14:39:35 +0000 > > > > x86: Probe the TSC frequency earlier > > > > This lets us use the TSC to implement early DELAY, limiting the use of > > the sometimes-unreliable 8254 PIT. > > > > PR: 262155 > > Reviewed by: emaste > > Tested by: emaste, mike tancsa , Stefan Hegnauer > > MFC after: 1 month > > Sponsored by: The FreeBSD Foundation > > Differential Revision: https://reviews.freebsd.org/D34367 > > --- > > sys/amd64/amd64/machdep.c | 14 +++++- > > sys/i386/i386/machdep.c | 11 ++++- > > sys/x86/include/clock.h | 3 +- > > sys/x86/isa/clock.c | 4 +- > > sys/x86/x86/tsc.c | 123 +++++++++++++++++++++++++--------------------- > > 5 files changed, 94 insertions(+), 61 deletions(-) > > Hey Mark, > > Something about this commit breaks booting in Hyper-V. Reverting this > particular commit makes Hyper-V happy again. How far into bootup do we get? Is there a panic?