[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-12-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 Ed Maste changed: What|Removed |Added CC||ema...@freebsd.org Status|N

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #10 from Neel Chauhan --- Thanks for merging this into CURRENT! -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list ht

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #9 from commit-h...@freebsd.org --- A commit references this bug: Author: kib Date: Wed Sep 25 13:36:56 UTC 2019 New revision: 352684 URL: https://svnweb.freebsd.org/changeset/base/352684 Log: x86: Fall back to leaf 0x16 if T

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #8 from Konstantin Belousov --- https://reviews.freebsd.org/D21777 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #7 from Neel Chauhan --- It's true that Linux does this (lines 660-661): crystal_khz = eax_base_mhz * 1000 * eax_denominator / ebx_numerator; But in the same function, Linux returns this (line 674): return cry

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #6 from Konstantin Belousov --- Your patch is still not equivalent to what Linux did. Note that they still apply the nom/denom coefficient reported from leaf 0x15, but take adjusted mhz from 0x16, instead of zero hz from 0x15.

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #4 from Neel Chauhan --- Created attachment 207426 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207426&action=edit dmesg log on the Spectre x360 without any patches (LiveUSB) -- You are receiving this mail because

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #5 from Neel Chauhan --- Created attachment 207427 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207427&action=edit dmesg log on the Spectre x360 with the Bug 240475 patch (Main System) -- You are receiving this ma

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #3 from Neel Chauhan --- This patch is based upon an existing Linux commit: https://github.com/torvalds/linux/commit/604dc9170f2435d27da5039a3efd757dceadc684 In the commit message: Skylake, Kabylake and all variants of tho

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 Konstantin Belousov changed: What|Removed |Added CC||k...@freebsd.org --- Comment

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 --- Comment #1 from Neel Chauhan --- Fixed description: If frequency for CPUID 0x15 is zero, fall back to CPUID 0x16 for the TSC clock if available. This is needed on some Intel SOCs like Skylake and Kaby Lake which report 0 for the crysta

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 Mark Linimon changed: What|Removed |Added Keywords||patch -- You are receiving this ma

[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)

2019-09-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475 Bug ID: 240475 Summary: [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock) Product: Base System Version: CURRENT Hardware: Any OS: An