From: Ingo Molnar <mingo@elte.hu>
To: Andreas Herrmann3 <andreas.herrmann3@amd.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: fix cpu MHz reporting for AMD family 0x11
Date: Fri, 25 Jan 2008 13:41:54 +0100 [thread overview]
Message-ID: <20080125124154.GA10871@elte.hu> (raw)
In-Reply-To: <20080125122834.GA6978@alberich.amd.com>
* Andreas Herrmann3 <andreas.herrmann3@amd.com> wrote:
> Fix cpu MHz reporting for AMD family 0x11 when powernow-k8 is
> disabled.
>
> Just adhere to the CONSTANT_TSC feature bit for AMD CPUs when deciding
> whether cpu_khz needs calibration. The additional check for CPU family
> is not needed and prevents calibration for future CPUs.
> cpu_khz = tsc_khz;
> if (cpu_has(&boot_cpu_data, X86_FEATURE_CONSTANT_TSC) &&
> - boot_cpu_data.x86_vendor == X86_VENDOR_AMD &&
> - boot_cpu_data.x86 == 16)
> + (boot_cpu_data.x86_vendor == X86_VENDOR_AMD))
> cpu_khz = calculate_cpu_khz();
thanks Andreas, applied!
Ingo
prev parent reply other threads:[~2008-01-25 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-25 12:28 [PATCH] x86: fix cpu MHz reporting for AMD family 0x11 Andreas Herrmann3
2008-01-25 12:41 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080125124154.GA10871@elte.hu \
--to=mingo@elte.hu \
--cc=andreas.herrmann3@amd.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox