[PATCH] Quirk to fix suspend/resume on Lenovo Edge 11,13,14,15

Tim Gardner tcanonical at tpi.com
Thu Jan 13 20:33:02 UTC 2011


On 01/13/2011 10:23 AM, Manoj Iyer wrote:
> Set acpi_skip_timer_override to force ignoring BIOS
> IRQ0 pin2 override. This fixes resume from suspend on
> AMD based ThinkPad Edge 11,13,14 and 15.
>
> Signed-off-by: Manoj Iyer<manoj.iyer at canonical.com>
> ---
>   arch/x86/kernel/acpi/boot.c |   36 ++++++++++++++++++++++++++++++++++++
>   1 files changed, 36 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
> index c05872a..715abe9 100644
> --- a/arch/x86/kernel/acpi/boot.c
> +++ b/arch/x86/kernel/acpi/boot.c
> @@ -1425,6 +1425,42 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = {
>   		     DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"),
>   		     },
>   	 },
> +	/* ThinkPad Edge 11 (AMD) */
> +	{
> +	 .callback = dmi_ignore_irq0_timer_override,
> +	 .ident = "ThinkPad Edge",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "254523U"),
> +		    },
> +	},
> +	/* ThinkPad Edge 13 (AMD) */
> +	{
> +	 .callback = dmi_ignore_irq0_timer_override,
> +	 .ident = "ThinkPad Edge",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "022120U"),
> +		    },
> +	},
> +	/* ThinkPad Edge 14 (AMD) */
> +	{
> +	 .callback = dmi_ignore_irq0_timer_override,
> +	 .ident = "ThinkPad Edge",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "019923U"),
> +		    },
> +	},
> +	/* ThinkPad Edge 15 (AMD) */
> +	{
> +	 .callback = dmi_ignore_irq0_timer_override,
> +	 .ident = "ThinkPad Edge",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "030222U"),
> +		    },
> +	},
>   	{}
>   };
>

This is an SRU patch, so it needs a BugLink.

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list