android_kernel_samsung_a7y1.../drivers/acpi
Ronald Tschalär 0cbc5ec323 ACPI / SBS: Fix rare oops when removing modules
[ Upstream commit 757c968c442397f1249bb775a7c8c03842e3e0c7 ]

There was a small race when removing the sbshc module where
smbus_alarm() had queued acpi_smbus_callback() for deferred execution
but it hadn't been run yet, so that when it did run hc had been freed
and the module unloaded, resulting in an invalid paging request.

A similar race existed when removing the sbs module with regards to
acpi_sbs_callback() (which is called from acpi_smbus_callback()).

We therefore need to ensure no callbacks are pending or executing before
the cleanups are done and the modules are removed.

Signed-off-by: Ronald Tschalär <ronald@innovation.ch>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:32:57 +02:00
..
acpica A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apei A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ac.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_apd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_cmos_rtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_extlog.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_ipmi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_lpat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_lpss.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_memhotplug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_pad.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_platform.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_pnp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_processor.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi_video.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
battery.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bgrt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blacklist.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
button.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cm_sbs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
container.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cppc_acpi.c ACPI / CPPC: do not require the _PSD method 2020-04-07 07:38:54 +02:00
custom_method.c ACPI: custom_method: fix memory leaks 2020-04-07 07:38:59 +02:00
debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
device_pm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
device_sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ec_sys.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
event.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
glue.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gsi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hed.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
int340x_thermal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
internal.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioapic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nfit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nfit.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
numa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nvs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
osl.c ACPI / SBS: Fix rare oops when removing modules 2020-04-07 12:32:57 +02:00
pci_irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_link.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci_root.c PCI/ACPI: Correct error message for ASPM disabling 2020-04-07 12:28:27 +02:00
pci_slot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
proc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_driver.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_idle.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_pdc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_perflib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_thermal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
processor_throttling.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
property.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
resource.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sbs.c ACPI / SBS: Fix GPE storm on recent MacBookPro's 2020-04-06 15:20:26 +02:00
sbshc.c ACPI / SBS: Fix rare oops when removing modules 2020-04-07 12:32:57 +02:00
sbshc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sleep.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sleep.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tables.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
thermal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video_detect.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wakeup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30