idle patches for 2.6.36-rc6
Subsystems (4)
Len Brown
reviewerHere is my idle queue for 2.6.36-rc6.
Please let me know if you have troubles with any of these patches.
thanks,
-Len Brown, Intel Open Source Technology Center
Len Brown
reviewerPATCH 1/5 intel_idle: PCI quirk to prevent Lenovo Ideapad s10-3 boot hang
From: Len Brown <[email protected]>
When the Lenovo Ideapad S10-3 is booted with HT enabled, it hits a boot hang in the intel_idle driver.
This occurs when entering ATM-C4 for the first time, unless BM_STS is first cleared.
acpi_idle doesn't see this because it first checks and clears BM_STS, but it would hit the same hang if that check were disabled.
http://bugs.meego.com/show_bug.cgi?id=7093
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/634702
--- drivers/pci/quirks.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)
drivers/pci/quirks.c +20 -0
@@ -163,6 +163,26 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_CBUS_2, quirk_isa_dDECLARE_PCI_FIXUP_FINAL (PCI_VENDOR_ID_NEC ,PCI_DEVICE_ID_NEC_CBUS_3 , quirk_isa_dma_hangs);/* +* Intel NM10 "TigerPoint" LPC PM1a_STS.BM_STS must be clear +* for some HT machines to use C4 w/o hanging. +*/ +static void __devinit quirk_tigerpoint_bm_sts (struct pci_dev *dev) +{ +u32 pmbase; +u16 pm1a; + +pci_read_config_dword (dev,0x40 , &pmbase); + pmbase = pmbase &0xff80 ; + pm1a =inw (pmbase); + +if (pm1a &0x10 ) { +dev_info (&dev->dev,FW_BUG "TigerPoint LPC.BM_STS cleared\n" ); +outw (0x10 , pmbase); + } +} +DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_TGP_LPC , quirk_tigerpoint_bm_sts); + +/* * Chipsets where PCI->PCI transfers vanish or hang */ static void __devinit quirk_nopcipci (struct pci_dev *dev)
Signature · 1 line
1.7.3.2.g9027fa
Len Brown
reviewerPATCH 2/5 cpuidle: Fix typos
In reply to Len BrownFrom: Lucas De Marchi <[email protected]>
--- drivers/cpuidle/governors/menu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpuidle/governors/menu.c +1 -1
@@ -80,7 +80,7 @@* Limiting Performance Impact * --------------------------- * C states, especially those with large exit latencies, can have a real -* noticable impact on workloads, which is not acceptable for most sysadmins, +* noticeable impact on workloads, which is not acceptable for most sysadmins, * and in addition, less performance has a power price of its own. * * As a general rule of thumb, menu assumes that the following heuristic
Signature · 1 line
1.7.3.2.g9027fa
Len Brown
reviewerPATCH 3/5 intel_idle: Change mode 755 => 644
In reply to Len BrownFrom: Thomas Weber <[email protected]>
Remove execution permission from source file.
---
0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 drivers/idle/intel_idle.c
drivers/idle/intel_idle.c +0 -0
Signature · 1 line
1.7.3.2.g9027fa
Len Brown
reviewerPATCH 4/5 intel_idle: add missing __percpu markup
In reply to Len BrownFrom: Namhyung Kim <[email protected]>
intel_idle_cpuidle_devices is a percpu pointer but was missing __percpu markup.
--- drivers/idle/intel_idle.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/idle/intel_idle.c +1 -1
@@ -83,7 +83,7 @@ static unsigned int mwait_substates;/* Reliable LAPIC Timer States, bit 1 for C1 etc. */ static unsigned int lapic_timer_reliable_states; -static struct cpuidle_device *intel_idle_cpuidle_devices; +static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;static int intel_idle (struct cpuidle_device *dev,struct cpuidle_state *state);static struct cpuidle_state *cpuidle_state_table;
Signature · 1 line
1.7.3.2.g9027fa
Len Brown
reviewerPATCH 5/5 acpi_idle: add missing \n to printk
In reply to Len BrownFrom: Len Brown <[email protected]>
otherwise, these two lines print as one:
ACPI: acpi_idle yielding to intel_idle
ACPI: SSDT 3f5d8741 00203 (v02 PmRef Cpu0Ist 00003000 INTL 20050624)
--- drivers/acpi/processor_driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/processor_driver.c +1 -1
@@ -850,7 +850,7 @@ static int __init acpi_processor_init(void)printk (KERN_DEBUG "ACPI: %s registered with cpuidle\n" , acpi_idle_driver.name); }else { -printk (KERN_DEBUG "ACPI: acpi_idle yielding to %s" , +printk (KERN_DEBUG "ACPI: acpi_idle yielding to %s\n" ,cpuidle_get_driver ()->name); }
Signature · 1 line
1.7.3.2.g9027fa