Message ID | 20130111165054.GD10751@liondog.tnic (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
U28sIEkgaGFkIHRyaWVkIG91dCB0aGUgY2FzZSB3aGVuIGFjcGktY3B1ZnJlcSB3YXMgY29tcGls ZWQgaW50byB0aGUga2VybmVsIGFuZCBsb29rZWQgYXQgdGhlIHJldHVybiB2YWx1ZXMgZnJvbSBy ZXF1ZXN0X21vZHVsZSgpOyBpdCByZXR1cm5zIGEgcG9zaXRpdmUgdmFsdWUgKDI1NSkgYm90aCB3 aGVuIGFjcGktY3B1ZnJlcSB3YXMgY29tcGlsZWQtaW4gYW5kIHdoZW4gbm90IGNvbXBpbGVkLWlu LiAgKFBsZWFzZSBkbyBsZXQgbWUga25vdyBpZiBJIGFtIG1pc3Npbmcgc29tZXRoaW5nIGhlcmUu Li4pDQooVGhpcyB3YXMgdGhlIGNhc2UgQW5kcmVhcyBoYWQgbWVudGlvbmVkIGluIHRoZSBidWcg cmVwb3J0IHRvbykNCg0KSXQgd2FzIGR1ZSB0byB0aGlzIHRoYXQgSSBoYWQgZGVjaWRlZCB0byBq dXN0IGNoZWNrIHRoZSBDT05GSUcgb3B0aW9uIGFuZCBwcmludCBvdXQgYSB3YXJuaW5nIHRvIHRo ZSB1c2VyLg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogQm9yaXNsYXYgUGV0 a292IFttYWlsdG86YnBAYWxpZW44LmRlXSANClNlbnQ6IEZyaWRheSwgSmFudWFyeSAxMSwgMjAx MyAxMDo1MSBBTQ0KVG86IEdvcGFsYWtyaXNobmFuLCBBcmF2aW5kOyBBbmRyZSBQcnp5d2FyYTsg cmp3QHNpc2sucGw7IGNwdWZyZXFAdmdlci5rZXJuZWwub3JnOyBsaW51eC1wbUB2Z2VyLmtlcm5l bC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcNCkNjOiBBbmRyZWFzDQpTdWJqZWN0 OiBSZTogW1BB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QoNCi0tDQpSZWdh cmRzL0dydXNzLA0KICAgIEJvcmlzLg0KDQpTZW50IGZyb20gYSBmYXQgY3JhdGUgdW5kZXIgbXkg ZGVzay4gRm9ybWF0dGluZyBpcyBmaW5lLg0KLS0NCg0K -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index 934854ae5eb4..7227cd734042 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 @@ -106,7 +106,7 @@ config X86_POWERNOW_K7_ACPI config X86_POWERNOW_K8 tristate "AMD Opteron/Athlon64 PowerNow!" select CPU_FREQ_TABLE - depends on ACPI && ACPI_PROCESSOR + depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ help This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. Support for K10 and newer processors is now in acpi-cpufreq. diff --git a/drivers/cpufreq/powernow-k8.c b/drivers/cpufreq/powernow-k8.c index 056faf6af1a9..1adbe86d0d3b 100644 --- a/drivers/cpufreq/powernow-k8.c +++ b/drivers/cpufreq/powernow-k8.c @@ -1256,8 +1256,12 @@ static int __cpuinit powernowk8_init(void) int rv; if (static_cpu_has(X86_FEATURE_HW_PSTATE)) { - pr_warn(PFX "this CPU is not supported anymore, using acpi-cpufreq instead.\n"); - request_module("acpi-cpufreq"); + pr_warn(PFX "This CPU is now supported by acpi-cpufreq, loading it.\n"); + + if (request_module("acpi-cpufreq")) + pr_warn(PFX "Error loading acpi-cpufreq, make sure you " + "have it enabled, else you won't have any " + "Pstates support on this CPU!\n"); return -ENODEV; }