RE: [PATCH] acpi cpuidle driver should handle max_cstate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

>-----Original Message-----
>From: Li, Shaohua 
>Sent: Monday, April 02, 2007 1:38 AM
>To: linux acpi
>Cc: Brown, Len; Adam Belay; Pallipadi, Venkatesh
>Subject: [PATCH] acpi cpuidle driver should handle max_cstate
>
>After switching to cpuidle framework, acpi driver ingorned max_cstate,
>which will break ipw driver. Below patch fixed the issue. It's a little
>complicated, but this really should be handled in the driver instead of
>cpuidle core. If you have better fix, please speak.
>
>Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx>
>
> 
>-module_param(max_cstate, uint, 0644);
>+void acpi_max_cstate_changed(void)
>+{
>+	/* Driver will reset devices' max cstate limit */
>+	cpuidle_unregister_driver(&acpi_idle_driver);
>+	cpuidle_register_driver(&acpi_idle_driver);
>+}

Will a redetect work instead of unregister/register.

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux