diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-14 23:29:21 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-14 23:29:21 -0400 |
| commit | a3d3203e4bb40f253b1541e310dc0f9305be7c84 (patch) | |
| tree | ac0d74a607493053da92244a6763e503c5904f4f | |
| parent | f937331b3f92cb2f67bc81baa1b8cc5198c439e5 (diff) | |
| parent | ec28dcc6b4c00b78ad269ad5b85ebd5c2d504825 (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (34 commits)
ACPI: processor: push file static MADT pointer into internal map_madt_entry()
ACPI: processor: refactor internal map_lsapic_id()
ACPI: processor: refactor internal map_x2apic_id()
ACPI: processor: refactor internal map_lapic_id()
ACPI: processor: driver doesn't need to evaluate _PDC
ACPI: processor: remove early _PDC optin quirks
ACPI: processor: add internal processor_physically_present()
ACPI: processor: move acpi_get_cpuid into processor_core.c
ACPI: processor: export acpi_get_cpuid()
ACPI: processor: mv processor_pdc.c processor_core.c
ACPI: processor: mv processor_core.c processor_driver.c
ACPI: plan to delete "acpi=ht" boot option
ACPI: remove "acpi=ht" DMI blacklist
PNPACPI: add bus number support
PNPACPI: add window support
resource: add window support
resource: add bus number support
resource: expand IORESOURCE_TYPE_BITS to make room for bus resource type
acpiphp: Execute ACPI _REG method for hotadded devices
ACPI video: Be more liberal in validating _BQC behaviour
...
31 files changed, 1502 insertions, 1434 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index a5cc0db63d7a..ed511af0f79a 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
| @@ -582,3 +582,10 @@ Why: The paravirt mmu host support is slower than non-paravirt mmu, both | |||
| 582 | Who: Avi Kivity <avi@redhat.com> | 582 | Who: Avi Kivity <avi@redhat.com> |
| 583 | 583 | ||
| 584 | ---------------------------- | 584 | ---------------------------- |
| 585 | |||
| 586 | What: "acpi=ht" boot option | ||
| 587 | When: 2.6.35 | ||
| 588 | Why: Useful in 2003, implementation is a hack. | ||
| 589 | Generally invoked by accident today. | ||
| 590 | Seen as doing more harm than good. | ||
| 591 | Who: Len Brown <len.brown@intel.com> | ||
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 3bc48b0bd3a9..e4cbca58536c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
| @@ -200,10 +200,6 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 200 | acpi_display_output=video | 200 | acpi_display_output=video |
| 201 | See above. | 201 | See above. |
| 202 | 202 | ||
| 203 | acpi_early_pdc_eval [HW,ACPI] Evaluate processor _PDC methods | ||
| 204 | early. Needed on some platforms to properly | ||
| 205 | initialize the EC. | ||
| 206 | |||
| 207 | acpi_irq_balance [HW,ACPI] | 203 | acpi_irq_balance [HW,ACPI] |
| 208 | ACPI will balance active IRQs | 204 | ACPI will balance active IRQs |
| 209 | default in APIC mode | 205 | default in APIC mode |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index a7ca07f3754e..f1c9f70b4e45 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | #include <linux/efi.h> | 44 | #include <linux/efi.h> |
| 45 | #include <linux/mmzone.h> | 45 | #include <linux/mmzone.h> |
| 46 | #include <linux/nodemask.h> | 46 | #include <linux/nodemask.h> |
| 47 | #include <acpi/processor.h> | ||
| 47 | #include <asm/io.h> | 48 | #include <asm/io.h> |
| 48 | #include <asm/iosapic.h> | 49 | #include <asm/iosapic.h> |
| 49 | #include <asm/machvec.h> | 50 | #include <asm/machvec.h> |
| @@ -907,6 +908,8 @@ int acpi_map_lsapic(acpi_handle handle, int *pcpu) | |||
| 907 | cpu_set(cpu, cpu_present_map); | 908 | cpu_set(cpu, cpu_present_map); |
| 908 | ia64_cpu_to_sapicid[cpu] = physid; | 909 | ia64_cpu_to_sapicid[cpu] = physid; |
| 909 | 910 | ||
| 911 | acpi_processor_set_pdc(handle); | ||
| 912 | |||
| 910 | *pcpu = cpu; | 913 | *pcpu = cpu; |
| 911 | return (0); | 914 | return (0); |
| 912 | } | 915 | } |
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index a54d714545ff..0061ea263061 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
| @@ -490,6 +490,7 @@ int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity) | |||
| 490 | * ACPI based hotplug support for CPU | 490 | * ACPI based hotplug support for CPU |
| 491 | */ | 491 | */ |
| 492 | #ifdef CONFIG_ACPI_HOTPLUG_CPU | 492 | #ifdef CONFIG_ACPI_HOTPLUG_CPU |
| 493 | #include <acpi/processor.h> | ||
| 493 | 494 | ||
| 494 | static void acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) | 495 | static void acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) |
| 495 | { | 496 | { |
| @@ -567,6 +568,8 @@ static int __cpuinit _acpi_map_lsapic(acpi_handle handle, int *pcpu) | |||
| 567 | goto free_new_map; | 568 | goto free_new_map; |
| 568 | } | 569 | } |
| 569 | 570 | ||
| 571 | acpi_processor_set_pdc(handle); | ||
| 572 | |||
| 570 | cpu = cpumask_first(new_map); | 573 | cpu = cpumask_first(new_map); |
| 571 | acpi_map_cpu2node(handle, cpu, physid); | 574 | acpi_map_cpu2node(handle, cpu, physid); |
| 572 | 575 | ||
| @@ -1293,23 +1296,6 @@ static int __init dmi_disable_acpi(const struct dmi_system_id *d) | |||
| 1293 | } | 1296 | } |
| 1294 | 1297 | ||
| 1295 | /* | 1298 | /* |
| 1296 | * Limit ACPI to CPU enumeration for HT | ||
| 1297 | */ | ||
| 1298 | static int __init force_acpi_ht(const struct dmi_system_id *d) | ||
| 1299 | { | ||
| 1300 | if (!acpi_force) { | ||
| 1301 | printk(KERN_NOTICE "%s detected: force use of acpi=ht\n", | ||
| 1302 | d->ident); | ||
| 1303 | disable_acpi(); | ||
| 1304 | acpi_ht = 1; | ||
| 1305 | } else { | ||
| 1306 | printk(KERN_NOTICE | ||
| 1307 | "Warning: acpi=force overrules DMI blacklist: acpi=ht\n"); | ||
| 1308 | } | ||
| 1309 | return 0; | ||
| 1310 | } | ||
| 1311 | |||
| 1312 | /* | ||
| 1313 | * Force ignoring BIOS IRQ0 pin2 override | 1299 | * Force ignoring BIOS IRQ0 pin2 override |
| 1314 | */ | 1300 | */ |
| 1315 | static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d) | 1301 | static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d) |
| @@ -1345,82 +1331,6 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = { | |||
| 1345 | }, | 1331 | }, |
| 1346 | 1332 | ||
| 1347 | /* | 1333 | /* |
| 1348 | * Boxes that need acpi=ht | ||
| 1349 | */ | ||
| 1350 | { | ||
| 1351 | .callback = force_acpi_ht, | ||
| 1352 | .ident = "FSC Primergy T850", | ||
| 1353 | .matches = { | ||
| 1354 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), | ||
| 1355 | DMI_MATCH(DMI_PRODUCT_NAME, "PRIMERGY T850"), | ||
| 1356 | }, | ||
| 1357 | }, | ||
| 1358 | { | ||
| 1359 | .callback = force_acpi_ht, | ||
| 1360 | .ident = "HP VISUALIZE NT Workstation", | ||
| 1361 | .matches = { | ||
| 1362 | DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), | ||
| 1363 | DMI_MATCH(DMI_PRODUCT_NAME, "HP VISUALIZE NT Workstation"), | ||
| 1364 | }, | ||
| 1365 | }, | ||
| 1366 | { | ||
| 1367 | .callback = force_acpi_ht, | ||
| 1368 | .ident = "Compaq Workstation W8000", | ||
| 1369 | .matches = { | ||
| 1370 | DMI_MATCH(DMI_SYS_VENDOR, "Compaq"), | ||
| 1371 | DMI_MATCH(DMI_PRODUCT_NAME, "Workstation W8000"), | ||
| 1372 | }, | ||
| 1373 | }, | ||
| 1374 | { | ||
| 1375 | .callback = force_acpi_ht, | ||
| 1376 | .ident = "ASUS CUR-DLS", | ||
| 1377 | .matches = { | ||
| 1378 | DMI_MATCH(DMI_BOA | ||
