Commit graph

890,917 commits

Author SHA1 Message Date
Vipin Deep Kaur
dab3bb095d i2c-msm-v2: Add snapshot of I2C MSM V2 driver
This change adds a snapshot of I2C MSM V2 driver
from the 4.19 branch.
This is snapshot of the I2C MSM V2 driver as of
msm-4.19 'commit dc71920da99e ("Merge "i2c-msm-v2:
Add snapshot of I2C MSM V2 driver"")'.

Change-Id: I25ca3134fe80e5fdefcbfdb568f22692955e863a
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-09-24 17:59:17 +05:30
qctecmdr
1a49066119 Merge "usb: dwc3-msm: Add explicit out-of-bounds check before array access" 2020-09-16 21:04:12 -07:00
qctecmdr
461f66a474 Merge "defconfig: Enable configs for pil modem on sdxlemur" 2020-09-16 21:04:11 -07:00
qctecmdr
3199a268c1 Merge "msm: kgsl: Allow I/O coherency on imported buffers if we can" 2020-09-16 21:04:11 -07:00
qctecmdr
a8e7108d0d Merge "arch: arm: Enables HAVE_FUTEX_CMPXCHG if FUTEX is enabled" 2020-09-16 21:04:10 -07:00
qctecmdr
504a97b013 Merge "rtc: rtc-pm8xxx: Read ALARM_EN and update to alarm enabled status" 2020-09-16 21:04:09 -07:00
qctecmdr
a94047278c Merge "smcinvoke: populate result from correct returned variable" 2020-09-16 21:04:09 -07:00
qctecmdr
ce86c793e6 Merge "defconfig: msm: Enable Yupik platform" 2020-09-16 21:04:09 -07:00
qctecmdr
b7a9f3bf0f Merge "net: qrtr: hold ept sem lock before node lookup" 2020-09-16 21:04:08 -07:00
qctecmdr
ec57ea0659 Merge "cpufreq: qcom-cpufreq-hw: Fix possible NULL pointer dereferences" 2020-09-16 18:18:33 -07:00
qctecmdr
8cc3bb6477 Merge "soc: qcom: smp2p: Add proper retrigger detection" 2020-09-16 18:18:33 -07:00
qctecmdr
8245ad56d8 Merge "cnss2: Update bus bandwidth device tree config read" 2020-09-16 18:18:32 -07:00
qctecmdr
316d8c2835 Merge "msm: kgsl: Enable veto_fal10 for A660 GPU variant" 2020-09-16 18:18:32 -07:00
qctecmdr
67d4b7effc Merge "drivers: thermal: Add limits cdsp Isense driver" 2020-09-16 18:18:31 -07:00
qctecmdr
9d630cbebe Merge "msm: kgsl: Add the user API definition for timelines" 2020-09-16 18:18:31 -07:00
qctecmdr
791f492c81 Merge "soc: mmrm: Adding mmrmm_client_data flags" 2020-09-16 18:18:30 -07:00
Guixiong Wei
2df5fff695 rtc: rtc-pm8xxx: Read ALARM_EN and update to alarm enabled status
ALARM_EN status is retained in PMIC register after device shutdown
if poweron_alarm is enabled. Read it to make sure the driver has
consistent value with the register status.

Change-Id: Ie0c5ce67cf6ee39ee6f156d8b7a4a81c624adec1
Signed-off-by: Guixiong Wei <guixiong@codeaurora.org>
2020-09-16 10:12:29 +08:00
qctecmdr
653a9c02c2 Merge "msm: kgsl: Move the GMU kernel IOMMU device to the GMU platform device" 2020-09-15 18:31:50 -07:00
qctecmdr
56886dbc1a Merge "defconfig: lahaina-gki: enable qti-fixed-regulator driver" 2020-09-15 18:31:49 -07:00
Shivendra Kakrania
936416a310 soc: mmrm: Adding mmrmm_client_data flags
Added support for client data flags set by clients with mmrm_set_value.
These flags will be used for additional information passed from clients
to mmrm driver.

Change-Id: Ic629e3dea3a8ab6d85771dd89aa80feb8b9b9719
Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
2020-09-15 15:58:17 -07:00
Dinesh K Garg
c3b00cbb39 smcinvoke: populate result from correct returned variable
SCM driver upstream effort has broken how results from trusted side
used to be handled. Since, all 4 return variables (return, res[0-2]
are not available, use correct available variable to fill up result.

Change-Id: Iaf930bb1b70a91b34a14490ab1c2c2794c7c0a48
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2020-09-15 13:08:51 -07:00
David Collins
579e911c7a defconfig: lahaina-gki: enable qti-fixed-regulator driver
Enable the qti-fixed-regulator driver so that proxy consumer
voting may be used for fixed regulator devices.

Change-Id: Ibdbe3129de0a11f71d2c0adbae12659e6332f5fd
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-09-15 12:06:36 -07:00
David Collins
1797727401 regulator: add QTI fixed voltage regulator driver
Add a new QTI fixed voltage regulator driver that is derived from
the fixed voltage regulator driver.  Use this to provide support
for proxy consumer voting and debug features required on Qualcomm
Technologies, Inc. boards.  Implement this driver as a wrapper
around fixed.c with #ifdef directives so that future updates to
fixed.c are applied automatically to qti-fixed-regulator.c.

Change-Id: If4cf664b3f6a8214256a4b2de753f7ff27aa864e
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-09-15 12:06:35 -07:00
qctecmdr
31f07c0ce9 Merge "sched/fair: Improve the scheduler" 2020-09-15 08:24:19 -07:00
qctecmdr
05d1e38b39 Merge "msm: cvp: For DSP sessions, enhance CVP persist buffer release process" 2020-09-15 08:24:19 -07:00
qctecmdr
d54c36e840 Merge "msm: kgsl: Pass chipid in correct format to gmufw for A660 variant" 2020-09-15 08:24:18 -07:00
qctecmdr
2592f57116 Merge "cnss2: Avoid null pointer dereference of cnss_platform_cap" 2020-09-15 08:24:18 -07:00
qctecmdr
b8a0ce3faf Merge "Minidump: Dump only accessible pages data" 2020-09-15 08:24:17 -07:00
Jordan Crouse
f68e1ac975 msm: kgsl: Add the user API definition for timelines
Extend the KGSL uapi for the sempahore timeline APIs,
aux commands and syncobjs.

Change-Id: Ic0dedbadf7338b49da52ab9d0e54d5321217c3fd
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-15 09:23:23 -06:00
Jordan Crouse
c117af8e8f msm: kgsl: Remove support for sparse memory
We are choosing to go in a different direction for virtual buffer objects
so remove the old sparse code to get it out of the way. In a few cases
we'll add back similar code so there is a bit of churn but its easierto
just delete everything and start over from scratch.

This doesn't remove the uapi definitions for sparse since we're stuck
with those forever but they'll just harmlessly return error.

Change-Id: Ic0dedbad9a79ef321e9510115d64b5019743eb2b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-15 09:23:23 -06:00
Odelu Kukatla
730027b90a interconnect: qcom: Update the number of DDR channels for Holi
DDR interface is (2x16), so update the number of channels to "2"
and bus width to "4".

Change-Id: I2e6c8f3ebe8cce38412dbcb5fe9032353d28b597
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-09-15 02:35:54 -07:00
Ronak Vijay Raheja
182eba5d94 usb: dwc3-msm: Add explicit out-of-bounds check before array access
Explicitly adding out-of-bounds check to ensure bus_vote_values and
mdwc->dbm_ep_num_mapping use indices within their specified range.

Change-Id: I196f69011f2c2392477e11b6eb19a395bb753dc5
Signed-off-by: Ronak Vijay Raheja <rraheja@codeaurora.org>
2020-09-15 01:56:41 -07:00
Neeraj Upadhyay
b6e6912193 Minidump: Dump only accessible pages data
Check for accessible pages, before capturing the
page context, while dumping pointer data, for
CPU registers.

Change-Id: If7f38f0e3cb12e5c0ad85f8ed3140ce098108f62
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-09-15 12:01:01 +05:30
qctecmdr
550a843c8f Merge "rpmsg: glink: Add error message in case of callback failure" 2020-09-14 23:12:55 -07:00
qctecmdr
3b25a61cba Merge "rpmsg: glink: check channel state before serving intent" 2020-09-14 23:12:55 -07:00
qctecmdr
237a2bb4ec Merge "msm: kgsl: Enable HWCG after a6xx register configurations" 2020-09-14 23:12:54 -07:00
qctecmdr
bcaa466fc5 Merge "Merge android11-5.4.61+ (a564726) into msm-5.4" 2020-09-14 23:12:54 -07:00
qctecmdr
3b1ff0a366 Merge "soc: qcom: guestvm_loader: fix vm start print message" 2020-09-14 23:12:53 -07:00
qctecmdr
b85f85965e Merge "dma-buf: Cache the dma-buf inode number" 2020-09-14 23:12:53 -07:00
qctecmdr
158801d1ab Merge "defconfig: lahaina: Enable USB_BAM and USB_F_QDSS for GKI" 2020-09-14 20:12:26 -07:00
qctecmdr
f0921de704 Merge "mm: page_alloc: avoid fatal sig check for GFP_NOFS" 2020-09-14 20:12:26 -07:00
qctecmdr
c8c83a1c2b Merge "cnss2: Allow cold boot calibration skip for debug" 2020-09-14 20:12:25 -07:00
qctecmdr
19866d43dc Merge "arm64: defconfig: Enable misc config for debugging for Holi" 2020-09-14 20:12:25 -07:00
qctecmdr
3a7521fc46 Merge "soc: qcom: eud: Do not fail the EUD probe for secure device" 2020-09-14 20:12:25 -07:00
qctecmdr
65d212e2e0 Merge "clk: qcom: lahaina: Add runtime_pm support" 2020-09-14 17:26:15 -07:00
qctecmdr
26ef6f324c Merge "clk: qcom: clk-rpmh: Add div_clk1 for Lahaina" 2020-09-14 17:26:15 -07:00
Jordan Crouse
bfd51517d4 msm: kgsl: Allow I/O coherency on imported buffers if we can
Allow I/O coherency to be enabled on imported buffers if I/O coherency
is enabled and we can determine the cache characteristics of the
imported buffer. The caller should check the flags after allocation
to determine if I/O coherency was enabled.

Change-Id: Ic0dedbade77189bd51dddad64d15f0835601e925
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-14 16:03:17 -06:00
Jordan Crouse
3b82217a24 msm: kgsl: Move the GMU kernel IOMMU device to the GMU platform device
In order to make devlink happy we need to bind an IOMMU device on the
primary GMU platform device.  Since we don't need GMU user yet the
decision is easy.  Move GMU kernel to the platform device instead
of a child.

Change-Id: Ic0dedbad082c57b2aeb6a35573ead8535f3b8ab9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-09-14 16:03:14 -06:00
Hareesh Gundu
c86af5a851 msm: kgsl: Enable HWCG after a6xx register configurations
For A6xx GPU enable hardware clock gating after register
configuration to avoid register access issue due to hardware
internal clock gating.

Change-Id: If55632ccf9171a7093bb1e925e4fcdb88066417c
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2020-09-14 10:09:54 -07:00
Manikandan Mohan
7e1ba3ba5e cnss2: Update bus bandwidth device tree config read
Fix out of bounds write during device tree bus bandwidth array copy.

Change-Id: I5fa1be5beabdccc4d662c74018d8fa22c547697b
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-09-14 10:03:45 -07:00