android_kernel_motorola_sm6375/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Isaac J. Manjarres 8ffa6450ba iommu/arm-smmu: Add support for not removing SMMU power votes
The SMMU driver will vote for the resources it needs before performing
a particular operation, and will remove its votes after the operation
is complete.

When power resources are not currently enabled by other drivers,
the SMMU driver's requests to enable its devices' power resources
go through the slow paths where the hardware power resources
get turned on. So, in a scenario where the SMMU driver is constantly
performing work and having to toggle the state of the power resources,
the SMMU driver operations take more time.

On GKI, the upstream implementation of the IOMMU page table management
code is used, which doesn't have the optimizations we have downstream,
which improve the performance of the SMMU driver when unmapping memory.

The GPU can go into slumber if it is not active, and can relinquish its
votes for the power resources that the SMMU driver votes for when
unmapping memory. This requires the SMMU driver to take the slowpath
of enabling all of these power resources and then disabling them
on every call to unmap memory, which can incur a considerable amount
of delay.

This delay, along with the usage of the unoptimized IOMMU page table
management code in GKI results in slow unmap calls.

Thus, add support for the SMMU driver to never remove its power votes,
so that it doesn't have to spend time voting for power resources while
it is operating.

Change-Id: Id93aafef18f69e377391875e2a7b340b34b4b3e8
Signed-off-by: Isaac J. Manjarres <[email protected]>
2020-11-05 15:36:09 -08:00
..
accessibility
acpi
amba
android Merge android11-5.4.61+ (874de1d) into msm-5.4 2020-10-29 15:36:09 -07:00
ata
atm
auxdisplay
base Merge android11-5.4.61+ (d240b69) into msm-5.4 2020-10-09 07:27:04 -07:00
bcma
block
bluetooth Bluetooth: Don't reserve TCS register address 2020-10-29 20:39:07 -07:00
bus mhi: core: Fix undefined reference to `__bad_udelay' 2020-10-13 16:59:41 -07:00
cdrom
char msm: adsprpc: Donate 5MB of DMA memory for Unsigned process 2020-10-12 18:55:07 -07:00
clk Merge "clk: qcom: gdsc-regulator: Extend the support for ACD reset" 2020-11-02 20:59:37 -08:00
clocksource Merge android11-5.4.61+ (0d36496) into msm-5.4 2020-09-02 16:54:52 -07:00
connector
counter
cpufreq cpufreq: qcom: cpufreq-hw: Add check for get_cpu_device before usage 2020-10-01 21:32:56 +05:30
cpuidle Merge "cpuidle: lpm-levels: Store per core next hrtimer wakeup" 2020-10-29 10:12:26 -07:00
crypto Merge "crypto: Fix possible stack out of bound error" 2020-09-04 18:40:15 -07:00
dax
dca
devfreq devfreq: delete l2wb feature pmu events during governor stop 2020-11-04 11:50:26 +05:30
dio
dma qcom-sps-dma: Add snapshot of QCOM SPS DMA driver 2020-10-08 17:47:58 +05:30
dma-buf dma-buf: Handle dentry->d_fsdata being NULL 2020-09-21 09:20:34 -07:00
edac Merge "drivers: edac: Add Lahaina CPU gold core part id for kryo edac" 2020-10-09 23:26:59 -07:00
eisa
extcon extcon: qcom-spmi: Add support for VBUS detection 2020-09-17 09:38:35 -07:00
firewire
firmware Firmware: arm_scmi: initial support for plh vendor protocol 2020-11-03 06:43:46 -08:00
fpga
fsi
gnss
gpio
gpu Merge "msm: kgsl: Add support for RDPM frequency register writes" 2020-11-04 06:07:46 -08:00
greybus
hid
hsi
hv
hwmon hwmon: qti_amoled_ecm: Suppress printing error logs for probe deferral 2020-10-12 19:11:55 -07:00
hwspinlock
hwtracing Merge "coresight-tmc-etr: Check if page is valid before dma_map_page" 2020-11-02 17:15:19 -08:00
i2c Merge "i2c-msm-v2: Add snapshot of I2C MSM V2 driver" 2020-10-09 23:27:00 -07:00
i3c
ide
idle
iio Merge "iio: qcom-spmi-adc5: Handle EOC properly" 2020-09-19 20:35:23 -07:00
infiniband
input input: qcom-hv-haptics: switch API to trigger PBS for ISC configuration 2020-11-02 09:50:43 +08:00
interconnect interconnect: qcom: sdxlemur: Set keepalive for important BCMs 2020-10-30 12:31:49 -07:00
iommu iommu/arm-smmu: Add support for not removing SMMU power votes 2020-11-05 15:36:09 -08:00
ipack
irqchip irqchip: qcom-pdc: Add yupik target support 2020-10-05 14:03:40 +05:30
isdn
leds leds: qti-flash: Initialize rc in qti_flash_led_symmetry_config() 2020-09-29 15:25:10 -07:00
lightnvm
macintosh
mailbox mailbox: apcs-ipc: Add compatible string for mocaco and scuba 2020-10-20 12:48:58 +05:30
mcb
md
media Merge "msm: cvp: Avoid racing in session deletion and use" 2020-10-08 15:24:56 -07:00
memory
memstick
message
mfd msm: mfd: Enable MFD for sdxlemur 2020-10-06 18:13:52 +05:30
misc qseecom: improve operation when app unload returns EBUSY 2020-10-19 22:08:21 -07:00
mmc Merge "mmc: core: Fix clk scaling deadlock with irqsave" 2020-11-02 07:48:27 -08:00
mtd mtd: msm_qpic_nand: Add a check to read an ONFI parameter page 2020-10-30 07:47:40 -07:00
mux
net Merge "cnss2: Control ADSP power collapse based on WLAN state" 2020-11-04 06:07:46 -08:00
nfc NFC: Add fix for CTS issue of IPC log file creation failed 2020-11-02 10:01:39 +05:30
ntb
nubus
nvdimm
nvme
nvmem
of fdt: Add correct return for early_init_dt_scan_memory 2020-10-15 19:40:10 +08:00
opp
oprofile
parisc
parport
pci Merge "Merge android11-5.4.61+ (874de1d) into msm-5.4" 2020-11-02 20:59:38 -08:00
pcmcia
perf
phy
pinctrl pinctrl: qcom: Expose ufs_reset as gpio on sa8195 2020-10-24 17:35:27 +05:30
platform platform: msm: Export usb_bam symbols for module compilation 2020-09-10 23:56:31 -07:00
pnp
power Merge "power: qcom: Fix return value for iio get function for smb" 2020-10-13 01:05:42 -07:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: fixed: remove QTI_FIXED_REGULATOR definition 2020-09-15 12:06:38 -07:00
remoteproc
reset
rpmsg rpmsg: glink: do not break from interrupt handler 2020-10-19 19:02:30 +05:30
rtc rtc: Disable alarm irq if alarm time is in the past 2020-10-27 20:43:15 -07:00
s390
sbus
scsi scsi: ufs: Fix ufs power down/on specs violation 2020-11-03 09:22:56 +08:00
sfi
sh
siox
slimbus
soc Merge "devfreq: delete l2wb feature pmu events during governor stop" 2020-11-05 01:57:23 -08:00
soundwire
spi spi: spi_qsd: Add snapshot of SPI BLSP driver 2020-10-08 17:47:47 +05:30
spmi
ssb
staging staging: android: ion: Remove system heap aliasing 2020-09-10 21:26:24 -07:00
target
tc
tee
thermal Merge "drivers: thermal: cpu_voltage: initialize pointer variables before using it" 2020-10-13 20:34:00 -07:00
thunderbolt
tty serial: msm_geni_serial: Add new UART IPC log file in DMA mode 2020-11-04 12:06:44 +05:30
uio
usb Merge "usb: gadget: qdss: Add NULL check against channel with usb_qdss_free_req()" 2020-11-04 06:07:46 -08:00
vfio
vhost
video backlight: qcom-spmi-wled: Force HFRC off when WLED is disabled 2020-09-06 20:22:07 -07:00
virt Merge "soc/qcom/hyp_core_ctl: Track VPM Group state for VM" 2020-11-01 20:06:45 -08:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile