]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI / watchdog: Prefer iTCO_wdt always when WDAT table uses RTC SRAM
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 22 May 2018 11:16:50 +0000 (14:16 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 May 2018 08:52:49 +0000 (10:52 +0200)
commit5a802a7a285c8877ca872e44eeb0f06afcb5212f
tree7bf84f2a8a566ab35e45733dc2285cff9d497243
parent771c577c23bac90597c685971d7297ea00f99d11
ACPI / watchdog: Prefer iTCO_wdt always when WDAT table uses RTC SRAM

After we added quirk for Lenovo Z50-70 it turns out there are at least
two more systems where WDAT table includes instructions accessing RTC
SRAM. Instead of quirking each system separately, look for such
instructions in the table and automatically prefer iTCO_wdt if found.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=199033
Reported-by: Arnold Guy <aurnoldg@gmail.com>
Reported-by: Alois Nespor <nespor@fssp.cz>
Reported-by: Yury Pakin <zxwarior@gmail.com>
Reported-by: Ihor Chyhin <ihorchyhin@ukr.net>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_watchdog.c