android_kernel_samsung_a7y1.../drivers/acpi
Ronald Tschalär ec0237143d ACPI / SBS: Fix GPE storm on recent MacBookPro's
[ Upstream commit ca1721c5bee77105829cbd7baab8ee0eab85b06d ]

On Apple machines, plugging-in or unplugging the power triggers a GPE
for the EC. Since these machines expose an SBS device, this GPE ends
up triggering the acpi_sbs_callback(). This in turn tries to get the
status of the SBS charger. However, on MBP13,* and MBP14,* machines,
performing the smbus-read operation to get the charger's status triggers
the EC's GPE again. The result is an endless re-triggering and handling
of that GPE, consuming significant CPU resources (> 50% in irq).

In the end this is quite similar to commit 3031cddea633 (ACPI / SBS:
Don't assume the existence of an SBS charger), except that on the above
machines a status of all 1's is returned. And like there, we just want
ignore the charger here.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=198169
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-06 15:20:26 +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 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
custom_method.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
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 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
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 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
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 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
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