linux-stable/drivers
Rafael J. Wysocki a241fc02f1 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
commit 99387b0160 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:57:44 +02:00
..
accessibility
acpi ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily 2023-08-11 11:57:44 +02:00
amba
android binder: fix UAF caused by faulty buffer cleanup 2023-06-05 09:07:04 +02:00
ata ata: pata_ns87415: mark ns87560_tf_read static 2023-08-11 11:57:38 +02:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:23:35 +02:00
auxdisplay
base x86/srso: Add a Speculative RAS Overflow mitigation 2023-08-08 19:57:40 +02:00
bcma
block nbd: Add the maximum limit of allocated index in nbd_dev_add 2023-07-27 08:44:36 +02:00
bluetooth Bluetooth: hci_qca: fix debugfs registration 2023-06-14 11:09:52 +02:00
bus bus: ti-sysc: Fix dispc quirk masking bool variables 2023-07-27 08:43:46 +02:00
cdrom
char tpm_tis: Explicitly check for error code 2023-08-11 11:57:42 +02:00
clk clk: qcom: ipq6018: fix networking resets 2023-07-27 08:44:03 +02:00
clocksource clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe 2023-07-27 08:43:33 +02:00
connector
counter counter: 104-quad-8: Fix race condition between FLAG and CNTR reads 2023-05-17 11:47:28 +02:00
cpufreq cpufreq: intel_pstate: Fix energy_performance_preference for passive 2023-07-27 08:43:34 +02:00
cpuidle cpuidle: psci: Iterate backwards over list in psci_pd_remove() 2023-03-22 13:30:05 +01:00
crypto crypto: marvell/cesa - Fix type mismatch warning 2023-07-27 08:44:00 +02:00
dax dax: Introduce alloc_dev_dax_id() 2023-07-27 08:44:00 +02:00
dca
devfreq
dio
dma dmaengine: pl330: rename _start to prevent build error 2023-06-09 10:30:04 +02:00
dma-buf
edac EDAC/skx: Fix overflows on the DRAM row address mapping arrays 2023-05-17 11:47:39 +02:00
eisa
extcon extcon: Fix kernel doc of property capability fields to avoid warnings 2023-07-27 08:44:04 +02:00
firewire
firmware firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool() 2023-07-27 08:44:30 +02:00
fpga fpga: bridge: fix kernel-doc parameter description 2023-05-17 11:47:55 +02:00
fsi
gnss
gpio gpio: tps68470: Make tps68470_gpio_output() always set the initial value 2023-08-11 11:57:31 +02:00
gpu drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb() 2023-08-11 11:57:38 +02:00
greybus
hid HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651. 2023-07-27 08:43:31 +02:00
hsi
hv Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs 2023-06-28 10:28:07 +02:00
hwmon hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled 2023-08-11 11:57:42 +02:00
hwspinlock
hwtracing coresight: Fix loss of connection info when a module is unloaded 2023-07-27 08:44:05 +02:00
i2c i2c: nomadik: Remove a useless call in the remove function 2023-08-11 11:57:32 +02:00
i3c
ide
idle
iio meson saradc: fix clock divider mask length 2023-07-27 08:44:31 +02:00
infiniband RDMA/mthca: Fix crash when polling CQ for shared QPs 2023-08-11 11:57:38 +02:00
input Input: adxl34x - do not hardcode interrupt trigger type 2023-07-27 08:43:46 +02:00
interconnect interconnect: qcom: osm-l3: fix icc_onecell_data allocation 2023-04-05 11:23:29 +02:00
iommu iommu/amd: Don't block updates to GATag if guest mode is on 2023-06-09 10:30:04 +02:00
ipack
irqchip irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation 2023-08-11 11:57:42 +02:00
isdn
leds leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename 2023-07-27 08:44:14 +02:00
lightnvm
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-17 11:48:00 +02:00
mailbox mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0 2023-07-27 08:44:08 +02:00
mcb mcb-pci: Reallocate memory region to avoid memory overlapping 2023-05-30 12:57:50 +01:00
md dm cache policy smq: ensure IO doesn't prevent cleaner policy progress 2023-08-11 11:57:44 +02:00
media media: cec: i2c: ch7322: also select REGMAP 2023-07-27 08:44:08 +02:00
memory memory: brcmstb_dpfe: fix testing array offset after use 2023-07-27 08:43:48 +02:00
memstick memstick r592: make memstick_debug_get_tpc_name() static 2023-07-27 08:43:40 +02:00
message scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-05-30 12:57:49 +01:00
mfd mfd: stmpe: Only disable the regulators if they are enabled 2023-07-27 08:44:07 +02:00
misc misc: pci_endpoint_test: Re-init completion for every test 2023-07-27 08:44:29 +02:00
mmc mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used. 2023-07-27 08:44:12 +02:00
most
mtd mtd: rawnand: meson: fix unaligned DMA buffers handling 2023-07-27 08:44:25 +02:00
mux
net virtio-net: fix race between set queues and probe 2023-08-11 11:57:43 +02:00
nfc nfcsim.c: Fix error checking for debugfs_create_dir 2023-06-28 10:28:14 +02:00
ntb NTB: ntb_tool: Add check for devm_kcalloc 2023-07-27 08:44:22 +02:00
nubus nubus: Partially revert proc_create_single_data() conversion 2023-07-27 08:43:31 +02:00
nvdimm
nvme nvme-pci: fix DMA direction of unmapping integrity data 2023-07-27 08:44:25 +02:00
nvmem
of of: Fix modalias string generation 2023-05-17 11:47:56 +02:00
opp
oprofile
parisc
parport
pci PCI/ASPM: Avoid link retraining race 2023-08-11 11:57:32 +02:00
pcmcia
perf perf/arm-cmn: Fix DTC reset 2023-07-27 08:43:33 +02:00
phy phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() 2023-08-11 11:57:35 +02:00
pinctrl pinctrl: amd: Use amd_pinconf_set() for all config options 2023-07-27 08:44:39 +02:00
platform platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100 2023-08-11 11:57:36 +02:00
pnp
power power: supply: Fix logic checking if system is running from battery 2023-06-21 15:45:36 +02:00
powercap powercap: RAPL: Fix CONFIG_IOSF_MBI dependency 2023-07-27 08:43:34 +02:00
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-04-05 11:23:47 +02:00
pwm pwm: meson: fix handling of period/duty if greater than UINT_MAX 2023-08-11 11:57:33 +02:00
rapidio
ras
regulator regulator: core: Streamline debugfs operations 2023-07-27 08:43:38 +02:00
remoteproc remoteproc: stm32_rproc: Add mutex protection for workqueue 2023-05-30 12:57:48 +01:00
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:39:47 +01:00
rtc rtc: st-lpc: Release some resources in st_rtc_probe() in case of error 2023-07-27 08:44:07 +02:00
s390 s390/dasd: fix hanging device after quiesce/resume 2023-08-11 11:57:44 +02:00
sbus
scsi scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue 2023-07-27 08:44:33 +02:00
sfi
sh
siox
slimbus
soc drivers: meson: secure-pwrc: always enable DMA domain 2023-07-27 08:43:55 +02:00
soundwire soundwire: cadence: Drain the RX FIFO after an IO timeout 2023-03-11 16:40:18 +01:00
spi spi: bcm63xx: fix max prepend length 2023-07-27 08:44:38 +02:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-17 11:47:59 +02:00
ssb
staging staging: r8712: Fix memory leak in _r8712_init_xmit_priv() 2023-08-11 11:57:43 +02:00
target scsi: target: iscsi: Prevent login threads from racing between each other 2023-06-28 10:28:14 +02:00
tc
tee tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta' 2023-06-14 11:09:53 +02:00
thermal thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe() 2023-07-27 08:43:34 +02:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:23:37 +02:00
tty tty: n_gsm: fix UAF in gsm_cleanup_mux 2023-08-11 11:57:41 +02:00
uio
usb Revert "usb: xhci: tegra: Fix error check" 2023-08-11 11:57:41 +02:00
vdpa vdpa/mlx5: Don't clear mr struct on destroy MR 2023-03-11 16:39:45 +01:00
vfio vfio/type1: prevent underflow of locked_vm via exec() 2023-03-11 16:40:07 +01:00
vhost vhost: support PACKED when setting-getting vring_base 2023-06-14 11:09:57 +02:00
video fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe 2023-07-27 08:44:40 +02:00
virt
virtio
visorbus
vlynq
vme
w1 w1: fix loop in w1_fini() 2023-07-27 08:44:02 +02:00
watchdog watchdog: menz069_wdt: fix watchdog initialisation 2023-06-09 10:30:07 +02:00
xen xen/pvcalls-back: fix double frees with pvcalls_new_active_socket() 2023-05-30 12:57:58 +01:00
zorro
Kconfig
Makefile