Commit graph

898,925 commits

Author SHA1 Message Date
qctecmdr
b52ffb09f0 Merge "drivers: gnss: Add SiRFStart GNSS chip power controls" 2021-05-03 18:42:37 -07:00
qctecmdr
aced172961 Merge "hwrng: refine hwrng delay for retry" 2021-05-03 18:42:37 -07:00
Vijayakumar Badiger
72dffdb9d1 drivers: gnss: Add SiRFStart GNSS chip power controls
This is a driver to handle SiRFStar GNSS chip power controls,
a device node is created to interact with driver power controls
and exposes set of IOCTLs. These IOCTLs provide mechanisms to
transition of GNSS receiver power state.

Change-Id: Idf8ff2553736221930f4f032455692e3752176ce
Signed-off-by: Vijayakumar Badiger <vbadig@codeaurora.org>
Signed-off-by: Santoshkumar Zalake <szalake@codeaurora.org>
2021-05-03 11:34:29 -07:00
Rituraj Raman
001efe54a3 msm: kgsl: Add Common Boot KPI marker
Add a boot marker to indicate the time when
driver kgsl is initialised and ready.

Change-Id: I4c3073f642354ef16d1f1f8ed99f520e3ec76c59
Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
2021-05-03 17:34:21 +05:30
Vinay Sudra
a61b5c69a2 char: virtio_fastrpc: Move PM notifier to driver probe
Register pm notifier from driver init to driver probe.

Change-Id: I97e68410879dd075ec5ee51f508adc2ace8e9705
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-05-03 16:05:21 +05:30
Vinay Sudra
0e594a594b defconfig: gen3auto: Enable driver to print xbl log
Enable driver to print xbl log on console through sysfs node.

Change-Id: Ifad2ce5c3a9d9e08d998f97c2cbd0d522f831b9e
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-05-03 15:34:36 +05:30
qctecmdr
e92ca5084e Merge "mhi: msm: Abort RDDM dump collection in PBL state" 2021-05-03 02:52:55 -07:00
Sandeep Singh
6e7f8feb82 cnss2: Print address range for minidump region
Print address range for minidump region.

Change-Id: I63c91de94cfc2a6687714c6ddcaa33a23049e063
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2021-05-03 13:19:26 +05:30
qctecmdr
825798613d Merge "power: supply: Add support to report QC3+ adapter power rating" 2021-05-03 00:20:59 -07:00
qctecmdr
cee0efef7d Merge "ais: corrected auto camera headers path" 2021-05-03 00:20:58 -07:00
Prakash Gupta
cb53a68d6a iommu/arm-smmu: sign extend iova for fault handler
The address in the CB's FAR is not sign-extended. With split page tables,
this can cause software page table walk causing warning.

WARNING: CPU: 2 PID: 264 at drivers/iommu/arm-smmu.c:3161 arm_smmu_iova_to_phys+0xfc/0x128
kgsl kgsl-3d0: CP Illegal instruction error
kgsl kgsl-3d0: CP Illegal instruction error
kgsl kgsl-3d0: CP Illegal instruction error
kgsl kgsl-3d0: CP Illegal instruction error
pc : arm_smmu_iova_to_phys+0xfc/0x128
lr : arm_smmu_context_fault+0x188/0xea4

Perform the sign extension in fault handler, as arm_smmu_iova_to_phys()
expects the IOVA to be sign extended.

Fixes: ff4f34660e ("iommu/arm-smmu: Add support for split page table domains")
Change-Id: Iced0b7a518dbc27b2770fdae47bedce4e72cc3c1
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2021-05-03 11:04:04 +05:30
qctecmdr
80cba7e40c Merge "arm: defconfig: Add video h/w accelerators support for MONACO" 2021-05-02 21:52:49 -07:00
E V Ravi
7145a68e6f ais: corrected auto camera headers path
updated auto camera headers path to align with ais techpack

Change-Id: I1bf4fecaf2feead42d2ecc4b9ca9a686f70b49ca
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2021-05-02 20:57:53 -07:00
Anirudh Ghayal
10829a37d7 power: smb5-lib: Improve the charge-termination WA handling
In rare scenarios when the battery enters/exits JEITA conditions
post termination, the termination workaround restarts thus
resetting the reference values. Improve this handling by
restarting the WA only if the existing WA timer is not running
thus avoiding WA restarts across minor JEITA oscillations.

Change-Id: I5bf91367b633abf79cbc60ef5bdf93cca9559022
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2021-05-02 23:04:25 +05:30
qctecmdr
2bbcc09826 Merge "smcinvoke: Move IPC_LOG before deleting cb_txn" 2021-05-02 06:41:52 -07:00
Amir Levy
e8be6092f8 msm: ipa: Add QMI messages for moving NAT table
Add interface for receiving QMI request to move
NAT table to DDR or to SRAM and forward request to IPACM.
Add IOCTL for sending indication when move was completed.

Change-Id: Idb886a56586d830664a25371d48d2fac5a5e51c5
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2021-05-02 11:51:46 +03:00
qctecmdr
943946435c Merge "Merge android11-5.4.86+ (884688f) into msm-5.4" 2021-05-01 20:53:08 -07:00
wadesong
84cfeec0fd cnss2: Restore PCIe config space before enable PCIe device
Enabling PCIe device will also modify PCIe config space so doing it
after PCIe config space has been restored.

Change-Id: Idcc8410696523dd80c3c339f380f963f986c94c5
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Signed-off-by: wadesong <wadesong@codeaurora.org>
2021-05-02 10:09:23 +08:00
qctecmdr
d92f4c724b Merge "msm: kgsl: Add missing syncpoint_fence/expire trace" 2021-05-01 15:09:13 -07:00
qctecmdr
a09e83797e Merge "soc: qcom: Add check to handle out of bound access" 2021-05-01 15:09:13 -07:00
qctecmdr
9be83d1c65 Merge "msm-5.4 Enable SIP Segmentation Defconfig for sdxlemur" 2021-05-01 15:09:12 -07:00
qctecmdr
a054465a50 Merge "msm: kgsl: Cleanup some of the a6xx gpudev functions" 2021-05-01 15:09:12 -07:00
qctecmdr
9c15b3bfd8 Merge "usb: dwc3: Drive a pulse on DP on CDP detection" 2021-05-01 15:09:11 -07:00
Deepak Kumar
e4f4b83ee1 msm: kgsl: Fix race between kgsl device open and close
In current code, kgsl_close_device holds device mutex and calls
last_close in case open_count goes to zero. But as part of
last_close call, device mutex is released intermittently to wait
for active count to go to zero and also for dispatcher idle. This
intermittent release of device mutex opens up a window where a
kgsl_open_device call can go ahead and call first_open. As this
first_open is triggered before last_close could finish it messes
up the complete state machine. To fix this, move decrement of
open_count after last_close to allow any open/close happening when
last_close is in progress to just increment/decrement open_count
without triggering first_open or last_close.

Change-Id: Ibb2567e3ef0dc1864f2bfca346b0682792d0b675
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2021-05-01 00:43:51 +05:30
Anmolpreet Kaur
07e8c4b8d3 smcinvoke: Move IPC_LOG before deleting cb_txn
Move IPC_LOG inside mutex lock and bfefore deleting
cb_txn inside process_tzcb_req to make sure that
we are not accessing cb_req value that has gone bad.

Change-Id: Icc04bab52d1364d883b0a4bb07ff4cf2cc8ce6f8
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2021-04-30 22:33:35 +05:30
qctecmdr
e71361a466 Merge "interconnect: qcom: Enable real interconnect provider for Monaco" 2021-04-30 07:36:00 -07:00
qctecmdr
91db2b4779 Merge "rpmsg: glink: mark intent request complete before wake up" 2021-04-30 07:35:59 -07:00
Deepak Kumar
84835ce299 msm: kgsl: Add missing syncpoint_fence/expire trace
Add missing syncpoint_fence and syncpoint_fence_expire
trace for syncpoint timeline event.

Change-Id: If437217e52c10a5a911cb04197213d3b7835ed4b
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2021-04-30 18:00:56 +05:30
Paras Jain
0ecff9c28e msm-5.4 Enable SIP Segmentation Defconfig for sdxlemur
- Enable CONFIG_NF_CONNTRACK_SIP_SEGMENTATION defconfig for sdxlemur.config

Change-Id: Ic1c6c256f43bed460db2994f00ad104bbdd2765b
Signed-off-by: Paras Jain <parassin@codeaurora.org>
2021-04-30 04:52:52 -07:00
qctecmdr
6004767ce2 Merge "defconfig: sdxlemur: Enable thermal drivers" 2021-04-30 04:52:46 -07:00
qctecmdr
23fa0d09b8 Merge "msm-5.4: Auto pcie aspm config propagation" 2021-04-30 04:52:45 -07:00
qctecmdr
f75d1aeaef Merge "drivers: soc: qcom: rimps_memlat: add NULL check for SCMI handle" 2021-04-30 04:52:45 -07:00
qctecmdr
9de6449183 Merge "defconfig: Enable ADC_TM for sdxnightjar" 2021-04-30 04:52:45 -07:00
qctecmdr
9c2a4c2078 Merge "net: aquantia: Remove IOSSv1 glue driver" 2021-04-30 04:52:44 -07:00
qctecmdr
6259297d62 Merge "msm: adsprpc: Handle UAF in ramdumps collection" 2021-04-30 04:52:44 -07:00
Hareesh Gundu
15ce1860f8 msm: kgsl: Cleanup some of the a6xx gpudev functions
Few functions can be handled directly without having
the gpuid checks. So cleanup these functions to avoid
unnecessary gpuid checks.

Change-Id: If5b88adb4d21d327a39dc92d657d1bf5066f6667
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2021-04-30 15:06:14 +05:30
qctecmdr
58b018ec79 Merge "defconfig: Enable LLCC PMU on Direwolf target" 2021-04-30 02:05:34 -07:00
qctecmdr
b76cd3e6db Merge "power: supply: smblite: Add support for concurrency mode" 2021-04-30 02:05:33 -07:00
qctecmdr
3e979f8e83 Merge "drivers: thermal: qmi_cooling: Add new cooling device support" 2021-04-30 02:05:32 -07:00
qctecmdr
c0ecce976b Merge "rpmsg: glink: Use cpu_mask variable from glink structure" 2021-04-30 02:05:31 -07:00
qctecmdr
38b03951c3 Merge "drivers: qcom: Add Bootloader timestamps to the boot_marker list" 2021-04-30 02:05:30 -07:00
qctecmdr
b57c0b4235 Merge "soc: qcom: hgsl: Fix OOB" 2021-04-30 02:05:30 -07:00
Tengfei Fan
7d806449c6 sched/walt: consider average max_nr when compare max_nr
There is frequent Ping-Pong effect if only consider max_nr
in core control, so also consider average max_nr which in
many windows, this will make core control more smooth.

Change-Id: Ic5f3285db604357f7c953b02ec40379ac49b95e0
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2021-04-30 16:42:36 +08:00
Sneh Shah
15a7538044 net: stmmac: cleanup and free the nodes and gpios setup in probe
Cleanup debugfs, dev nodes and gpios on driver removal.

Change-Id: Icd18103ef0d968edb9f2ab254321a14323dd1c5a
Signed-off-by: Sneh Shah <snehshah@codeaurora.org>
2021-04-30 01:42:20 -07:00
Ashish Chavan
e033d8781c power: supply: Add support to report QC3+ adapter power rating
Report the QC3+ adapter power-rating via "power_now" in the usb
power-supply class.

Change-Id: I0d0e9a3e9d2f5d57f5e8696dea8f4e17a8f2df5f
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2021-04-30 12:44:36 +05:30
Jeya R
a2c0b7a337 msm: adsprpc: Handle UAF in ramdumps collection
Added process exit checks when adding
file init memory to ramdump collection
to fix use after free for file init memory.

Change-Id: I8991d27e4c83f572a6baacc478a09eb42ea76d8f
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-04-29 22:28:24 -07:00
qctecmdr
11b282467f Merge "clk: qcom: gcc-blair: Remove support for GCC_PRNG_BCR" 2021-04-29 21:27:44 -07:00
qctecmdr
0b0fccfc72 Merge "coresight-tmc-etr: fix memory leak" 2021-04-29 21:27:44 -07:00
qctecmdr
6f6903d2ba Merge "defconfig: sdmsteppeauto: enable cnss module" 2021-04-29 21:27:43 -07:00
qctecmdr
63fb6a1668 Merge "defconfig: Enable configs for ramdump support on Direwolf" 2021-04-29 21:27:43 -07:00