Commit graph

891,368 commits

Author SHA1 Message Date
qctecmdr
43cd233e24 Merge "input: touchscreen: st: toggle reset gpio during error on SVM" 2020-10-08 15:24:52 -07:00
qctecmdr
580b442865 Merge "msm: cvp: Fix sum fps aggregation setting" 2020-10-08 15:24:52 -07:00
qctecmdr
c047705b3a Merge "msm: kgsl: Enable Battery Current Limiting feature for A660" 2020-10-08 08:33:26 -07:00
qctecmdr
689186736c Merge "msm: kgsl: Hook preemption sysfs nodes to hwscheduling" 2020-10-08 08:33:25 -07:00
qctecmdr
fceae6a2fb Merge "ABI: Update section name in script and internal allowed list" 2020-10-08 08:33:25 -07:00
qctecmdr
0ed475921c Merge "arch: arm: Fix the DTB_OBJS macro to include vendor dtbs" 2020-10-08 08:33:25 -07:00
qctecmdr
1b8ece591f Merge "rpmsg: glink: Send READ_NOTIFY command in FIFO full case" 2020-10-08 08:33:24 -07:00
qctecmdr
a27d90db9e Merge "dma-mapping-fast: Ensure reserved iovas are actually reserved" 2020-10-08 08:33:24 -07:00
qctecmdr
755a91289f Merge "defconfig: Enable EXT4 and FAT FS for sdxlemur" 2020-10-08 08:33:23 -07:00
qctecmdr
3896f5dd3f Merge "hwkm: Empty RSP buffer before any command" 2020-10-08 08:33:23 -07:00
qctecmdr
b8e66109f7 Merge "Revert "arm64: kpti: force off kpti"" 2020-10-08 08:33:22 -07:00
qctecmdr
4f9050fe53 Merge "drivers: soc: qcom: suppress platform driver bind / unbind feature" 2020-10-08 08:33:22 -07:00
qctecmdr
5702001dfb Merge "haven: hh_dbl: Add missing unlock in hh_dbl_validate_params" 2020-10-07 12:10:27 -07:00
qctecmdr
052304f2c9 Merge "mmc: core: Select HS mode in device first and then in the host" 2020-10-07 12:10:26 -07:00
qctecmdr
ceac5f30ac Merge "minidump: use *_irqsave() and *_irqrestore() API's for minidump locks" 2020-10-07 12:10:26 -07:00
qctecmdr
c9df82f9bc Merge "power: smb1398: Update adapter_type in the work-queue's context" 2020-10-07 12:10:26 -07:00
qctecmdr
eccbaefe84 Merge "msm: ipa: interface to provide pdn configuration" 2020-10-07 12:10:25 -07:00
qctecmdr
f5a31e044e Merge "clk: qcom: camcc: Update camcc_cphy_rx Fmax corner for Shima" 2020-10-07 12:10:25 -07:00
qctecmdr
f98e28a053 Merge "defconfig: sdxlemur: add support for net, iptables and netfilter" 2020-10-07 12:10:25 -07:00
qctecmdr
83a71adbff Merge "haven: Remove unused constants" 2020-10-07 12:10:24 -07:00
qctecmdr
6dcc24a002 Merge "iommu/arm-smmu: add qsmmuv2 sync timeout handler" 2020-10-07 12:10:24 -07:00
qctecmdr
8fb4ad599c Merge "arm64: defconfig: Disable LOCKUP_DETECTOR for lahaina QGKI" 2020-10-07 12:10:24 -07:00
qctecmdr
ecc87fe5e2 Merge "mtd: msm_qpic_nand: Add snapshot of QPIC nand driver" 2020-10-07 12:10:23 -07:00
qctecmdr
409ef17263 Merge "iommu: arm-smmu: add capturebus support for smmuv500" 2020-10-07 12:10:23 -07:00
Harshdeep Dhatt
2a826db07d msm: kgsl: Hook preemption sysfs nodes to hwscheduling
With hwscheduling, we need to communicate the preemption parameters
to GMU. Also, we need to use GET_VALUE hfi packet to get the
number of preemptions since last SLUMBER exit.

Change-Id: I2ab342817a3cea4e1d1797369aa272895730357b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:12 -06:00
Harshdeep Dhatt
4f3a132f88 msm: kgsl: Move preemption sysfs nodes to dispatcher
This paves the way to hook preemption sysfs nodes to hwscheduling
which need to talk to GMU when changing preemption parameters
via sysfs.

Change-Id: I6940dbf294ad71a18b2dcded207cbacf18ba661d
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:11 -06:00
Harshdeep Dhatt
c7fdd108da msm: kgsl: Enable preemption for hwscheduling enabled devices
Send the HFI feature control packet to the GMU in order to enable
preemption.

Change-Id: Ic00e3943bceb29feb28740dbadd3fb7c6fdc562b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:11 -06:00
Harshdeep Dhatt
a920566522 msm: kgsl: Enable secure buffers via memalloc packets
This is to allow GMU to request secure gpu global buffers.

Change-Id: Iacef726ee3abe02b56178f475ebe9835649a868c
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:10 -06:00
Harshdeep Dhatt
83db7b2733 msm: kgsl: Correctly mask out the OOB bits
The result of GENMASK needs to be inverted so that the
handler doesn't report OOB bits as unknown bits.

Change-Id: I3e39334a6dd79343109591b043c9aa30a8bdff9d
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:09 -06:00
Harshdeep Dhatt
640c8e1be7 msm: kgsl: Print global memory flags in debugfs
With hwscheduling, the flags are requested by GMU outside
of kgsl domain. Printing these flags helps to know the flags
as requested by GMU.

Change-Id: I71d19ead02e115c0a4ead9861de9afd2a0dd2608
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:38:09 -06:00
Harshdeep Dhatt
738e1770d6 msm: kgsl: Make sure dispatch jobs are not lost due to faults
Say a context has only one submission i.e. it has only one dispatch
job. And say gpu encounters a fault and sets dispatcher fault. The
dispatch job will be free'd and post recovery, the context will never
get to the ringbuffer until it queues another submission. This behaviour
holds true in cases where dispatcher is halted for example during
suspend. So in either case, add back the job the the dispatcher jobs
list to make sure the job is not lost.

Change-Id: Iec0a0abfbdcf2535d7f82ec1e286581e1c93a3ea
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-07 08:37:22 -06:00
Santosh Mardi
a4b0d927d8 drivers: soc: qcom: suppress platform driver bind / unbind feature
For rimps_log and qcom_rimps platform driver does not
support the manual bind / unbind feature through sysfs,
Suppress the bind / unbind calls using driver attribute.

Change-Id: I9734d62e19ef16b01039757a92ef2489baea91b3
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-10-07 17:42:24 +05:30
Sarthak Garg
c3d355d133 mmc: core: Avoid mmc_power_off during shutdown/reboot
During shutdown/sleep putting vdd-io in LPM mode after sending the
Poweroff notify command is leading to OCP.

Avoid putting vdd-io in LPM mode during shutdown/sleep.

This change is inline with earlier kernels.

Change-Id: I08698bc8b4f1c420910747b6374485f6265d553b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2020-10-06 14:49:33 +05:30
Neeraj Upadhyay
53fc7838ad haven: hh_dbl: Add missing unlock in hh_dbl_validate_params
Add missing unlock of cap_entry_lock in hh_dbl_validate_params().

Change-Id: Icdcf7aa1bcb2c037f4a924cddcad36007beadd00
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-10-06 11:26:47 +05:30
Sarthak Garg
7cbd556e90 mtd: msm_qpic_nand: Add snapshot of QPIC nand driver
Add snapshot of QPIC nand driver and it's supported files.

This is a snapshot of the QPIC nand driver as of kernel msm-4.14
'commit 5cc17e2cfb19 ("mtd: msm_qpic_nand: Disable Pagescope on
sdxprairie")'.

Change-Id: I994f4432ddd417743a1d7bf27b57755adc90b702
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2020-10-06 10:32:35 +05:30
Arun Kumar Neelakantam
ec707c5973 rpmsg: glink: Send READ_NOTIFY command in FIFO full case
The current design sleeps unconditionally in TX FIFO full case and
wakeup only after sleep timer expires which adds random delays in
clients TX path.

Avoid sleep and use READ_NOTIFY command so that writer can be woken up
when remote notifies about read completion by sending IRQ.

Change-Id: I1b44df0ec437d4e76aff181470fcf4cafbdd098a
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-10-05 16:09:14 -07:00
Vijayanand Jitta
38edc27806 iommu: arm-smmu: add capturebus support for smmuv500
add a debugfs interface under /sys/kernel/debug/iommu/capturebus
to support capture bus for smmuv500.

Change-Id: Ibf2a2daf87941387c1b3f990f05d86a1cd4dbfff
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
[guptap@codeaurora.org: refactored implementation]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-10-05 23:03:36 +05:30
Ronald Karyodisa
235171a308 msm: cvp: Fix sum fps aggregation setting
Initialize the sum fps calculation to avoid the value keep
increasing.

Change-Id: I826c88f7e75d318e2b328e8a525afb44511fb662
Signed-off-by: Ronald Karyodisa <ronaldk@codeaurora.org>
2020-10-05 09:20:43 -07:00
Sayali Lokhande
b3ccc39737 mmc: core: Select HS mode in device first and then in the host
While switching from hs400 to hs200 mode, high speed mode
timing should be selected in the device before changing the
clock frequency in the host. But current implementation,
(mmc_hs400_to_hs200) first updates the frequency in the host
and then updates mode in the device. This is a spec violation.
Hence update the sequence to comply with the spec.

Change-Id: I0694edac9dd005ec68add9cc38bbe6fa4245ed48
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2020-10-05 03:17:56 -07:00
qctecmdr
5168327a4f Merge "tracing: Add CONFIG_KPROBES_QGKI config" 2020-10-03 15:19:06 -07:00
qctecmdr
461e53e008 Merge "defconfig: Enable CONFIG_UFS_DBG for general builds" 2020-10-03 15:19:06 -07:00
qctecmdr
19b319fef6 Merge "ICNSS2: Send MSA address range to firmware" 2020-10-03 15:19:05 -07:00
qctecmdr
9627f80437 Merge "msm: pcie: add debugfs cat capabilities for PCIe entries" 2020-10-03 15:19:05 -07:00
qctecmdr
db00d9572b Merge "icnss2: Fix null-pointer derefrence while thermal unregister" 2020-10-03 15:19:05 -07:00
qctecmdr
656aca69a7 Merge "defconfig: enable rpmh retry debug prints for lahiana" 2020-10-03 04:38:40 -07:00
qctecmdr
a859fa7618 Merge "dwc3-msm: Map IPA GSI channel doorbell register for different UDC core" 2020-10-03 04:38:40 -07:00
qctecmdr
733b596e70 Merge "defconfig: Enable IPC logging for f_fs on Holi" 2020-10-03 04:38:40 -07:00
qctecmdr
5bacff506a Merge "tracing: Add CONFIG_KPROBES_DEBUG config" 2020-10-03 04:38:39 -07:00
qctecmdr
e35b5d5867 Merge "net: aquantia: support for 32-bit ARM target" 2020-10-03 04:38:39 -07:00
qctecmdr
4e37bafc65 Merge "pci/of: expand match PCI devices to OF nodes" 2020-10-03 01:44:48 -07:00