android_kernel_motorola_sm6375/drivers/acpi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rafael J. Wysocki f331413e1c ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
commit 99387b016022c29234c4ebf9abd34358c6e56532 upstream.

Modify acpi_processor_get_platform_limit() to avoid updating its
frequency QoS request when the _PPC return value has not changed
by comparing that value to the previous _PPC return value stored in
the performance_platform_limit field of the struct acpi_processor
corresponding to the given CPU.

While at it, do the _PPC return value check against the state count
earlier, to avoid setting performance_platform_limit to an invalid
value, and make acpi_processor_ppc_init() use FREQ_QOS_MAX_DEFAULT_VALUE
as the "no limit" frequency QoS for consistency.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Hagar Hemdan <hagarhem@amazon.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 11:53:53 +02:00
..
acpica ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects 2023-05-30 12:44:02 +01:00
apei ACPI: APEI: Better fix to avoid spamming the console with old error logs 2022-08-11 12:57:51 +02:00
arm64 ACPI/IORT: Check node revision for PMCG resources 2022-02-16 12:52:50 +01:00
dptf
hmat
nfit ACPI: NFIT: fix a potential deadlock during NFIT teardown 2023-03-03 11:41:47 +01:00
pmic
x86
ac.c
acpi_adxl.c
acpi_amba.c
acpi_apd.c
acpi_cmos_rtc.c
acpi_configfs.c
acpi_dbg.c
acpi_extlog.c ACPI: extlog: Handle multiple records 2022-10-29 10:20:35 +02:00
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c
acpi_lpss.c ACPI: LPSS: Fix missing check in register_device_clock() 2022-08-25 11:17:31 +02:00
acpi_memhotplug.c
acpi_pad.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
acpi_platform.c
acpi_pnp.c
acpi_processor.c
acpi_tad.c
acpi_video.c ACPI: video: Add Toshiba Satellite/Portege Z830 quirk 2022-10-26 13:22:47 +02:00
acpi_watchdog.c
battery.c ACPI: battery: Fix missing NUL-termination with large strings 2023-03-11 16:43:39 +01:00
bgrt.c
blacklist.c
bus.c
button.c
cm_sbs.c
container.c
cppc_acpi.c ACPI: CPPC: Do not prevent CPPC from working in the future 2022-08-25 11:18:15 +02:00
custom_method.c
debugfs.c
device_pm.c
device_sysfs.c
dock.c
ec.c ACPI: EC: Fix oops when removing custom query handlers 2023-05-30 12:44:02 +01:00
ec_sys.c
event.c
evged.c
fan.c
glue.c
hed.c
internal.h ACPI: EC: Rework flushing of EC work while suspended to idle 2022-01-27 09:19:32 +01:00
ioapic.c
irq.c
Kconfig
Makefile
numa.c
nvs.c
osi.c
osl.c
pci_irq.c
pci_link.c
pci_mcfg.c PCI/ACPI: Guard ARM64-specific mcfg_quirks 2022-08-25 11:18:34 +02:00
pci_root.c
pci_slot.c
power.c
pptt.c
proc.c
processor_core.c
processor_driver.c
processor_idle.c ACPI: processor idle: Check for architectural support for LPI 2022-04-15 14:18:41 +02:00
processor_pdc.c
processor_perflib.c ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily 2023-08-11 11:53:53 +02:00
processor_thermal.c ACPI: processor: Remove freq Qos request for all CPUs 2022-09-05 10:27:44 +02:00
processor_throttling.c
property.c ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool 2022-08-25 11:18:24 +02:00
reboot.c
resource.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes 2022-01-27 09:19:35 +01:00
sleep.c ACPI: PM: save NVS memory for Lenovo G40-45 2022-08-25 11:17:31 +02:00
sleep.h
spcr.c
sysfs.c ACPI: sysfs: Fix BERT error region memory mapping 2022-06-06 08:33:49 +02:00
tables.c
thermal.c ACPI: thermal: drop an always true check 2023-06-09 10:29:01 +02:00
utils.c
video_detect.c ACPI: video: Fix Lenovo Ideapad Z570 DMI match 2023-03-11 16:43:56 +01:00
wakeup.c