Bug 476981
Summary: | Do not load powernow-k8 cpufreq driver on AMD Xen systems | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Prarit Bhargava <prarit> |
Component: | kernel | Assignee: | Prarit Bhargava <prarit> |
Status: | CLOSED NOTABUG | QA Contact: | Martin Jenner <mjenner> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 5.3 | CC: | clalance, dzickus, riel |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-18 13:48:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Prarit Bhargava
2008-12-18 13:45:11 UTC
Uh. Nevermind. -128.el5 looks correct: static int __cpuinit powernowk8_init(void) { unsigned int i, supported_cpus = 0; #ifdef CONFIG_XEN if (!is_initial_xendomain()) { /* Xen PV domU's can't possibly do powersaving; bail */ return -EPERM; } #endif for_each_online_cpu(i) { if (check_supported_cpu(i)) supported_cpus++; } if (supported_cpus != num_online_cpus()) return -ENODEV; /* AMD provides AGESA library modules for use in their BIOS. The default AGESA code creates the _PSD with the assumption the APICs are numbered per the BKDG HOWEVER, there is a callback (ibvPSDApicIDtoNode) to set the APIC ID to node translation for _PSD dependency domains if the system numbers the APICs differently. It looks like HP did not follow spec on both fronts (it numbered differently from the BKDG as well as did not implement the callback to set the domains properly). AMD reports that HP is the only vendor to implement CPU enumeration this way. */ if (preregister_acpi_perf == 1 && cpu_family == CPU_OPTERON) { char * dmi_data = dmi_get_system_info(DMI_BIOS_VENDOR); if (dmi_data && !strncmp(dmi_data, "Hewlett-Packard", 15)) { /* Disable preregistering ACPI data for HP AMD Opteron systems */ preregister_acpi_perf = 0; } } |