Re: [ 10/18] ACPI / EC: Add HP Folio 13 to ec_dmi_table in order to skip DSDT scan

From: Luis Henriques
Date: Mon Jul 22 2013 - 12:13:45 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:

> 3.0-stable review patch. If anyone has any objections, please let me know.

Sorry for the late review, but this patch is actually tagged for
stable kernels >= 3.9 ("Cc: 3.9+ <stable@xxxxxxxxxxxxxxx>"). But it
is probably harmless and not worth the trouble of reverting them from
3.0 and 3.4.

Cheers,
--
Luis


>
> ------------------
>
> From: Lan Tianyu <tianyu.lan@xxxxxxxxx>
>
> commit eff9a4b62b14cf0d9913e3caf1f26f8b7a6105c9 upstream.
>
> HP Folio 13's BIOS defines CMOS RTC Operation Region and the EC's
> _REG method will access that region. To allow the CMOS RTC region
> handler to be installed before the EC _REG method is first invoked,
> add ec_skip_dsdt_scan() as HP Folio 13's callback to ec_dmi_table.
>
> References: https://bugzilla.kernel.org/show_bug.cgi?id=54621
> Reported-and-tested-by: Stefan Nagy <public@xxxxxxxxxxxxxx>
> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/acpi/ec.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> --- a/drivers/acpi/ec.c
> +++ b/drivers/acpi/ec.c
> @@ -964,6 +964,10 @@ static struct dmi_system_id __initdata e
> ec_enlarge_storm_threshold, "CLEVO hardware", {
> DMI_MATCH(DMI_SYS_VENDOR, "CLEVO Co."),
> DMI_MATCH(DMI_PRODUCT_NAME, "M720T/M730T"),}, NULL},
> + {
> + ec_skip_dsdt_scan, "HP Folio 13", {
> + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13"),}, NULL},
> {},
> };
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/