Date: Fri, 4 Mar 2022 09:24:47 -0500 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Mark Johnston <markj@FreeBSD.org> 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: <20220304142447.bmo7r6syd6gsunnt@mutt-hbsd> In-Reply-To: <202203011439.221EdtpY038505@gitrepo.freebsd.org> References: <202203011439.221EdtpY038505@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--6s7oph7buyslzh5y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 01, 2022 at 02:39:55PM +0000, Mark Johnston wrote: > The branch main has been updated by markj: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D84369dd52369cbae28970dca20= a53d3de1719907 >=20 > commit 84369dd52369cbae28970dca20a53d3de1719907 > Author: Mark Johnston <markj@FreeBSD.org> > AuthorDate: 2022-03-01 14:39:35 +0000 > Commit: Mark Johnston <markj@FreeBSD.org> > CommitDate: 2022-03-01 14:39:35 +0000 >=20 > x86: Probe the TSC frequency earlier > =20 > This lets us use the TSC to implement early DELAY, limiting the use of > the sometimes-unreliable 8254 PIT. > =20 > PR: 262155 > Reviewed by: emaste > Tested by: emaste, mike tancsa <mike@sentex.net>, Stefan Hegnaue= r <stefan.hegnauer@gmx.ch> > 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. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --6s7oph7buyslzh5y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmIiIS0ACgkQ/y5nonf4 4fqYGA/+M98XGxG66xTY0jDdBEPZKnnxEBkLA/voPPhhAd3F1TW0BKs8PA+Em50B d53vJfuF9fmCr/o6s8CQxC32ZSCtL7WBwkhagBEJOVYrYRYXznmgYFAKDyllUt+1 Mh8caJrrKV2JCvwRNEZHOCr1B4lEb5UJiopVNXYdwhJbFNE5DReBCxK2pSFRUxWt lgmQC5gBrQ0vkb/I1TLHkSrigwWnxhYZFW0MAdBsNJSouFZ514m0Dfv58wtZVQ2n 1e+CIi358hCP700rcZA4Xj7WJ/FIyAybrbAAr2NCONieDmALK3NjY09MZR/QQeox zJux/bUy8wKBOfRXu19U/FhMDOwFTlfNGXNE46T6RuTg9xM37kCwa9lx5i9ByZ8o qipeD0O9o5mGXGiT4zIrYKnrE+HDGg8Sgj9dQ2fxkDU9n5Q+iyFeNtal9fV/FOHq T2TwernwQ8fbcGtbGbwn4LP34av/r9xjmtxq+NU/EUfRDWdOV5ev8lI9grMSDxZv VreHLI5Yg+zmQHoN6asZgY0/OLVZY2LHQpwhi7N3drHswiEOzIaRNGHUmVEkCrzx UtamOeHb5QQVWyDIITQ3IIBLoH7ZFHD7ADy081avfPpa7MqXjxcwwdePQ0IfO6NU Pqt0xEb3rpdaetBhjDuTb3X+DoUNoR6Uig0gkuznDce0w1Tf1HI= =WTHP -----END PGP SIGNATURE----- --6s7oph7buyslzh5y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220304142447.bmo7r6syd6gsunnt>