Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1484300
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist |
| Date | 2016-09-15 17:20 +0200 |
| Message-ID | <shGCd-dP-9@gated-at.bofh.it> (permalink) |
| References | <shGsx-ar-5@gated-at.bofh.it> <shGsx-ar-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 15, 2016 at 11:04:18AM -0400, Prarit Bhargava wrote:
> +++ b/arch/x86/kernel/tsc.c
> @@ -689,11 +689,18 @@ unsigned long native_calibrate_tsc(void)
> switch (boot_cpu_data.x86_model) {
> case INTEL_FAM6_SKYLAKE_MOBILE:
> case INTEL_FAM6_SKYLAKE_DESKTOP:
> + case INTEL_FAM6_KABYLAKE_MOBILE:
> + case INTEL_FAM6_KABYLAKE_DESKTOP:
> crystal_khz = 24000; /* 24.0 MHz */
> break;
> + case INTEL_FAM6_SKYLAKE_X:
> + crystal_khz = 24000; /* 25.0 MHz */
^^^ != ^^^^
did you mean to type: 25000 ?
> + break;
> case INTEL_FAM6_ATOM_GOLDMONT:
> crystal_khz = 19200; /* 19.2 MHz */
> break;
> + default:
> + crystal_khz = 0;
> }
> }
>
> --
> 1.7.9.3
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist Prarit Bhargava <prarit@redhat.com> - 2016-09-15 17:10 +0200
Re: [PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist Peter Zijlstra <peterz@infradead.org> - 2016-09-15 17:20 +0200
RE: [PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist "Brown, Len" <len.brown@intel.com> - 2016-09-15 18:10 +0200
Re: [PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist Peter Zijlstra <peterz@infradead.org> - 2016-09-15 19:50 +0200
Re: [PATCH 2/2] x86/tsc: Add additional Intel CPU models to crystal_khz whitelist Prarit Bhargava <prarit@redhat.com> - 2016-09-15 19:50 +0200
csiph-web