From: Thomas Renninger Date: Thu, 21 Oct 2010 16:24:57 +0000 (+0200) Subject: ACPI: Make Embedded Controller command timeout delay configurable X-Git-Tag: v2.6.37-rc1~100^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a18e96dcbdec3c96876444ae2c7e36ce458e151;p=pandora-kernel.git ACPI: Make Embedded Controller command timeout delay configurable Here and then there show up machines which need higher timeout values. Finding this on affected machines can be cumbersome, because ACPI_EC_DELAY is a compile option -> make it configurable via boot param. This can even be provided writable at runtime via: /sys/modules/acpi/parameters/ec_delay Known machines where this helps: Some HP machines where for whatever reasons specific EC accesses take very long at resume from S3 (in _WAK function). The AE_TIME error is passed upwards and the ACPI interpreter will not execute the rest of the _WAK function which results in not properly initialized devices/variables with different side-effects. Afaik, on some MSI machines this helped as well. If this param is needed there probably are underlying problems like: - EC firmware bug - A kernel EC driver bug - An ACPI interpreter behavior (e.g. timings when specific EC accesses happen and how) which the EC does not like - ... which should get evaluated further, but often are nasty or impossible to fix from OS side. Signed-off-by: Thomas Renninger Signed-off-by: Len Brown --- Reading git-diff-tree failed