diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/Kconfig | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/cpufreq/Kconfig | 19 | ||||
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 4 |
3 files changed, 18 insertions, 6 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 1cad418373c3..145bb824b2a8 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -701,6 +701,7 @@ menu "Bus options (PCI etc.)" | |||
701 | 701 | ||
702 | config PCI | 702 | config PCI |
703 | bool "PCI support" | 703 | bool "PCI support" |
704 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) | ||
704 | 705 | ||
705 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. | 706 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. |
706 | config PCI_DIRECT | 707 | config PCI_DIRECT |
diff --git a/arch/x86_64/kernel/cpufreq/Kconfig b/arch/x86_64/kernel/cpufreq/Kconfig index 40acb67fb882..c0749d2479f5 100644 --- a/arch/x86_64/kernel/cpufreq/Kconfig +++ b/arch/x86_64/kernel/cpufreq/Kconfig | |||
@@ -16,6 +16,9 @@ config X86_POWERNOW_K8 | |||
16 | help | 16 | help |
17 | This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors. | 17 | This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors. |
18 | 18 | ||
19 | To compile this driver as a module, choose M here: the | ||
20 | module will be called powernow-k8. | ||
21 | |||
19 | For details, take a look at <file:Documentation/cpu-freq/>. | 22 | For details, take a look at <file:Documentation/cpu-freq/>. |
20 | 23 | ||
21 | If in doubt, say N. | 24 | If in doubt, say N. |
@@ -38,6 +41,9 @@ config X86_SPEEDSTEP_CENTRINO | |||
38 | mobile CPUs. This means Intel Pentium M (Centrino) CPUs | 41 | mobile CPUs. This means Intel Pentium M (Centrino) CPUs |
39 | or 64bit enabled Intel Xeons. | 42 | or 64bit enabled Intel Xeons. |
40 | 43 | ||
44 | To compile this driver as a module, choose M here: the | ||
45 | module will be called speedstep-centrino. | ||
46 | |||
41 | For details, take a look at <file:Documentation/cpu-freq/>. | 47 | For details, take a look at <file:Documentation/cpu-freq/>. |
42 | 48 | ||
43 | If in doubt, say N. | 49 | If in doubt, say N. |
@@ -55,6 +61,9 @@ config X86_ACPI_CPUFREQ | |||
55 | Processor Performance States. | 61 | Processor Performance States. |
56 | This driver also supports Intel Enhanced Speedstep. | 62 | This driver also supports Intel Enhanced Speedstep. |
57 | 63 | ||
64 | To compile this driver as a module, choose M here: the | ||
65 | module will be called acpi-cpufreq. | ||
66 | |||
58 | For details, take a look at <file:Documentation/cpu-freq/>. | 67 | For details, take a look at <file:Documentation/cpu-freq/>. |
59 | 68 | ||
60 | If in doubt, say N. | 69 | If in doubt, say N. |
@@ -62,7 +71,7 @@ config X86_ACPI_CPUFREQ | |||
62 | comment "shared options" | 71 | comment "shared options" |
63 | 72 | ||
64 | config X86_ACPI_CPUFREQ_PROC_INTF | 73 | config X86_ACPI_CPUFREQ_PROC_INTF |
65 | bool "/proc/acpi/processor/../performance interface (deprecated)" | 74 | bool "/proc/acpi/processor/../performance interface (deprecated)" |
66 | depends on PROC_FS | 75 | depends on PROC_FS |
67 | depends on X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI | 76 | depends on X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI |
68 | help | 77 | help |
@@ -86,16 +95,18 @@ config X86_P4_CLOCKMOD | |||
86 | slowdowns and noticeable latencies. Normally Speedstep should be used | 95 | slowdowns and noticeable latencies. Normally Speedstep should be used |
87 | instead. | 96 | instead. |
88 | 97 | ||
98 | To compile this driver as a module, choose M here: the | ||
99 | module will be called p4-clockmod. | ||
100 | |||
89 | For details, take a look at <file:Documentation/cpu-freq/>. | 101 | For details, take a look at <file:Documentation/cpu-freq/>. |
90 | 102 | ||
91 | Unless you are absolutely sure say N. | 103 | Unless you are absolutely sure say N. |
92 | 104 | ||
93 | 105 | ||
94 | config X86_SPEEDSTEP_LIB | 106 | config X86_SPEEDSTEP_LIB |
95 | tristate | 107 | tristate |
96 | default X86_P4_CLOCKMOD | 108 | default X86_P4_CLOCKMOD |
97 | 109 | ||
98 | endif | 110 | endif |
99 | 111 | ||
100 | endmenu | 112 | endmenu |
101 | |||
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index dd14ffa565b1..2a2df14dab7e 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -1954,18 +1954,18 @@ int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) | |||
1954 | if (irq < 0) | 1954 | if (irq < 0) |
1955 | return irq; | 1955 | return irq; |
1956 | 1956 | ||
1957 | set_irq_msi(irq, desc); | ||
1958 | ret = msi_compose_msg(dev, irq, &msg); | 1957 | ret = msi_compose_msg(dev, irq, &msg); |
1959 | if (ret < 0) { | 1958 | if (ret < 0) { |
1960 | destroy_irq(irq); | 1959 | destroy_irq(irq); |
1961 | return ret; | 1960 | return ret; |
1962 | } | 1961 | } |
1963 | 1962 | ||
1963 | set_irq_msi(irq, desc); | ||
1964 | write_msi_msg(irq, &msg); | 1964 | write_msi_msg(irq, &msg); |
1965 | 1965 | ||
1966 | set_irq_chip_and_handler_name(irq, &msi_chip, handle_edge_irq, "edge"); | 1966 | set_irq_chip_and_handler_name(irq, &msi_chip, handle_edge_irq, "edge"); |
1967 | 1967 | ||
1968 | return irq; | 1968 | return 0; |
1969 | } | 1969 | } |
1970 | 1970 | ||
1971 | void arch_teardown_msi_irq(unsigned int irq) | 1971 | void arch_teardown_msi_irq(unsigned int irq) |