]> Pileus Git - ~andy/linux/commitdiff
[CPUFREQ] powernow-k8: On load failure, remind the user to enable support in BIOS...
authorMarti Raudsepp <marti@juffo.org>
Wed, 20 Jan 2010 17:19:33 +0000 (19:19 +0200)
committerDave Jones <davej@redhat.com>
Tue, 3 Aug 2010 17:47:04 +0000 (13:47 -0400)
On Wed, 2010-01-20 at 16:56 +0100, Thomas Renninger wrote:
> But most often this happens if people upgrade their CPU and do not
> update their BIOS.
> Or the vendor does not recognise the new CPU even if the BIOS got
> updated.

Maybe some of those people just didn't realize it was disabled in BIOS?
If you tell users that it's a firmware bug then they'll probably just
give up.

> The itself message might be an enhancment, IMO it's not worth a patch.

Why do you think so? I spent an hour on hunting down the BIOS upgrade,
only to find that it didn't improve anything. It was a day later that I
realized that it might be a BIOS option; and the option was literally
the _last_ option in the whole BIOS setup. :)

This message would have saved the day.

> But do not revert the FW_BUG part!

Sure, you have a point here.

How about this patch?

arch/x86/kernel/cpu/cpufreq/powernow-k8.c

index 3e90cce3dc8bfe50fa245e8febe2aaf2625df25e..c48b44b3b43ab1e08c0c5c250f3a7f2fcbc5caf6 100644 (file)
@@ -806,6 +806,8 @@ static int find_psb_table(struct powernow_k8_data *data)
         * www.amd.com
         */
        printk(KERN_ERR FW_BUG PFX "No PSB or ACPI _PSS objects\n");
+       printk(KERN_ERR PFX "Make sure that your BIOS is up to date"
+               " and Cool'N'Quiet support is enabled in BIOS setup\n");
        return -ENODEV;
 }