android_kernel_lge_bullhead/drivers/acpi/apei
James Morse 71bec91ec4 ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal
commit 7d64f82cceb21e6d95db312d284f5f195e120154 upstream.

When removing a GHES device notified by SCI, list_del_rcu() is used,
ghes_remove() should call synchronize_rcu() before it goes on to call
kfree(ghes), otherwise concurrent RCU readers may still hold this list
entry after it has been freed.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Fixes: 81e88fdc43 (ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMI notification type support)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-11-02 10:45:59 +01:00
..
Kconfig llist: Make some llist functions inline 2011-10-04 11:30:53 +02:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00
apei-base.c ACPI, APEI: Fixup incorrect 64-bit access width firmware bug 2013-01-19 01:34:43 +01:00
apei-internal.h ACPI, APEI, Avoid too much error reporting in runtime 2012-06-12 00:17:18 -04:00
cper.c aerdrv: Move cper_print_aer() call out of interrupt context 2013-05-30 10:51:20 -07:00
einj.c ACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table 2012-12-07 11:50:02 -08:00
erst-dbg.c ACPI / APEI: Fix the returned value in erst_dbg_read 2013-01-03 13:10:20 +01:00
erst.c efi_pstore: Add a sequence counter to a variable name 2012-11-26 16:07:44 -08:00
ghes.c ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal 2017-11-02 10:45:59 +01:00
hest.c ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off 2013-02-23 00:27:29 +01:00