android_kernel_xiaomi_sm7250/drivers
Sultan Alsawaf aae02f228c cpuidle: Mark CPUs idle as late as possible to avoid unneeded IPIs
It isn't guaranteed a CPU will idle upon calling lpm_cpuidle_enter(),
since it could abort early at the need_resched() check. In this case,
it's possible for an IPI to be sent to this "idle" CPU needlessly, thus
wasting power. For the same reason, it's also wasteful to keep a CPU
marked idle even after it's woken up.

Reduce the window that CPUs are marked idle to as small as it can be in
order to improve power consumption.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-11-12 11:24:03 +00:00
..
accessibility
acpi This is the 4.19.264 stable release 2022-11-07 09:38:03 +01:00
amba
android BACKPORT: FROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txn 2022-11-12 11:23:12 +00:00
ata ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS 2022-11-03 23:52:24 +09:00
atm atm: idt77252: fix use-after-free bugs caused by tst_timer 2022-08-25 11:15:39 +02:00
auxdisplay
base iommu: msm: Rewrite to improve clarity and performance 2022-11-12 11:24:01 +00:00
bcma
block block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
bluetooth Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-09-22 14:02:10 +05:30
bus Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-09-07 22:01:02 +05:30
cdrom
char qos: Replace expensive cpumask usage with raw bitwise operations 2022-11-12 11:24:02 +00:00
clk drivers: clk: Specify sync probe for gcpu_cc kona and lito 2022-11-12 11:19:37 +00:00
clocksource Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-06-30 15:31:02 +05:30
connector
cpufreq cpufreq: Kill userspace CPU boosting entirely 2022-11-12 11:23:57 +00:00
cpuidle cpuidle: Mark CPUs idle as late as possible to avoid unneeded IPIs 2022-11-12 11:24:03 +00:00
crypto crypto: msm: fix -Wmisleading-indentation warnings 2022-11-12 11:19:18 +00:00
dax vm_ops: rename .split() callback to .may_split() 2022-11-12 11:21:26 +00:00
dca
devfreq PM / devfreq: Make max_freq node read only 2022-11-12 11:21:40 +00:00
dio
dma drivers: dma: qcom: Specify sync probe for gpi_dma 2022-11-12 11:19:37 +00:00
dma-buf mm: introduce vma_set_file function v5 2022-11-12 11:21:27 +00:00
edac
eisa
energy_model
esoc
extcon Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-06-30 15:31:02 +05:30
firewire
firmware Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
fmc
fpga fpga: altera-pr-ip: fix unsigned comparison with less than zero 2022-08-25 11:15:14 +02:00
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-26 13:19:33 +02:00
gnss
gpio This is the 4.19.260 stable release 2022-09-28 11:16:09 +02:00
gpu qos: Replace expensive cpumask usage with raw bitwise operations 2022-11-12 11:24:02 +00:00
hid mass revert: clean 2022-11-12 11:18:57 +00:00
hsi HSI: omap_ssi_port: Fix dma_map_sg error check 2022-10-26 13:19:30 +02:00
hv Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region 2022-09-28 11:02:57 +02:00
hwmon This is the 4.19.264 stable release 2022-11-07 09:38:03 +01:00
hwspinlock
hwtracing Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-09-22 14:02:10 +05:30
i2c i2c: i2c-qcom-geni: Add a function to get the IRQ of a client's adapter 2022-11-12 11:23:59 +00:00
i3c
ide block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
idle
iio Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
infiniband This is the 4.19.262 stable release 2022-10-30 16:23:17 +01:00
input input: focaltouch: Affine IRQ to the prime CPU cluster 2022-11-12 11:23:57 +00:00
iommu iommu: msm: Rewrite to improve clarity and performance 2022-11-12 11:24:01 +00:00
ipack
irqchip Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-09-22 14:02:10 +05:30
isdn mISDN: fix use-after-free bugs in l1oip timer handlers 2022-10-26 13:19:26 +02:00
leds drivers: led/flashlight: import picasso-r-oss changes 2022-11-12 11:19:13 +00:00
lightnvm
macintosh macintosh/adb: fix oob read in do_adb_query() function 2022-08-11 12:48:41 +02:00
mailbox mailbox: msm_qmp: Remove IRQF_NO_SUSPEND. 2022-11-12 11:19:33 +00:00
mcb
md Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
media msm: vidc: Guard debugfs 2022-11-12 11:19:45 +00:00
memory memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:19:28 +02:00
memstick block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
message
mfd Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
misc drivers: haptics: aw8624: silence it 2022-11-12 11:19:54 +00:00
mmc block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
mtd block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
mux
net UPSTREAM: wireguard: device: check for metadata_dst with skb_valid_dst() 2022-11-12 11:22:37 +00:00
nfc Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-08-03 19:42:38 +05:30
ntb NTB: ntb_tool: uninitialized heap data in tool_fn_write() 2022-08-25 11:15:39 +02:00
nubus
nvdimm block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
nvme block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
nvmem
of drivers: batterydata: use generic node if no node is found 2022-11-12 11:19:17 +00:00
opp
oprofile
parisc parisc: ccio-dma: Add missing iounmap in error path in ccio_probe() 2022-09-28 11:02:52 +02:00
parport
pci Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
pcmcia pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards 2022-06-14 16:59:31 +02:00
perf Merge tag 'LA.UM.9.12.r1-14800-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/kernel/msm-4.19 into android12-base 2022-10-19 10:43:50 +05:30
phy Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
pinctrl pinctrl: msm: prevent access to GPIOs used by trustzone 2022-11-12 11:19:13 +00:00
platform platform: msm: gsi: Fix symbol versioning failure for gsi_write_channel_scratch 2022-11-12 11:19:04 +00:00
pnp
power drivers: power: disable some logs 2022-11-12 11:19:55 +00:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-26 13:19:36 +02:00
pps
ps3
ptp
pwm Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-06-30 15:31:02 +05:30
rapidio
ras
regulator Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
remoteproc remoteproc: qcom: wcnss: Fix handling of IRQs 2022-08-25 11:15:21 +02:00
reset
rpmsg rpmsg: glink: Remove IRQF_NO_SUSPEND. 2022-11-12 11:19:34 +00:00
rtc Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-06-30 15:31:02 +05:30
s390 block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
sbus
scsi block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
sensors
sfi
sh
siox
slimbus
sn
soc random: early_random: Fix races when initializing random pools 2022-11-12 11:22:41 +00:00
spi spi: spi-geni-qcom: Add a function to get the IRQ of a device's master 2022-11-12 11:24:00 +00:00
spmi spmi: pmic-arb: correct duplicate APID to PPID mapping logic 2022-10-26 13:19:34 +02:00
ssb
staging ion: Mark workqueues freeing buffers asynchronously as CPU intensive 2022-11-12 11:24:02 +00:00
target mass revert: clean 2022-11-12 11:18:57 +00:00
tc
tee This is the 4.19.256 stable release 2022-09-20 16:32:36 +02:00
thermal Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
thunderbolt thunderbolt: Use the actual buffer in tb_async_error() 2022-09-15 12:17:03 +02:00
tty msm_serial_hs: make the Bluetooth tty thread RT 2022-11-12 11:19:29 +00:00
uio
usb Revert "usb: gadget: mtp: Increase RX transfer length to 1M" 2022-11-12 11:24:02 +00:00
uwb
vfio This is the 4.19.256 stable release 2022-09-20 16:32:36 +02:00
vhost This is the 4.19.262 stable release 2022-10-30 16:23:17 +01:00
video drivers: led/flashlight: import picasso-r-oss changes 2022-11-12 11:19:13 +00:00
virt vboxguest: Do not use devm for irq 2022-08-25 11:15:43 +02:00
virtio Merge 4.19.253 into android-4.19-stable 2022-07-23 13:50:21 +02:00
visorbus
vlynq
vme
vservices
w1
watchdog
xen xen/gntdev: Prevent leaking grants 2022-11-03 23:52:29 +09:00
zorro
Kconfig drivers: soundwire: nuke it! 2022-11-12 11:19:08 +00:00
Makefile drivers: soundwire: nuke it! 2022-11-12 11:19:08 +00:00
OWNERS