Commit graph

889,477 commits

Author SHA1 Message Date
qctecmdr
aff7b89ff7 Merge "iommu: skip iommu_tlb_sync in iommu_unmap()" 2020-08-26 13:02:15 -07:00
qctecmdr
2251e53c39 Merge "defconfig: Enable SMB5 and QG drivers for holi" 2020-08-26 04:59:27 -07:00
qctecmdr
365f875612 Merge "msm: adsprpc: Add capability for error code change in kernel" 2020-08-26 04:59:26 -07:00
qctecmdr
0576a37c73 Merge "cpuidle: lpm-levels: Fix RIMPS timer programming" 2020-08-26 04:59:25 -07:00
qctecmdr
b417ee1163 Merge "msm_rtb: Evaluate parameter only once in reads/writes" 2020-08-26 04:59:25 -07:00
qctecmdr
c6cac6db7c Merge "clk: qcom: shima: Fix stuck at off warnings during probe" 2020-08-26 04:59:24 -07:00
qctecmdr
09882fffec Merge "iommu/arm-smmu: Ensure power resources are enabled during tlb maintenance" 2020-08-26 04:59:24 -07:00
qctecmdr
86d7ed9aeb Merge "msm: kgsl: Fix overflow issue to gpu_busy" 2020-08-26 04:59:24 -07:00
qctecmdr
a344fa7c85 Merge "msm: cvp: Fixed a deadlock during power update" 2020-08-26 04:59:23 -07:00
qctecmdr
d13eadc631 Merge "arm64: defconfig: Enable DYNAMIC_DEBUG for holi target" 2020-08-26 04:59:22 -07:00
qctecmdr
cf90c05d27 Merge "msm: kgsl: Remove VM_MAYWRITE flag to restrict mprotect" 2020-08-26 00:27:09 -07:00
qctecmdr
259941df19 Merge "msm: adsprpc: allow unsigned PD offload to secure channel" 2020-08-26 00:27:09 -07:00
qctecmdr
27c842bb53 Merge "msm: kgsl: Update preemption context record size for a660" 2020-08-26 00:27:08 -07:00
qctecmdr
51758060a0 Merge "cnss2: Wait for power up complete during SSR restart" 2020-08-26 00:27:08 -07:00
qctecmdr
74abb1f6bd Merge "defconfig: lahaina: Disable console on GKI builds" 2020-08-26 00:27:07 -07:00
qctecmdr
3535559198 Merge "cnss2: Use correct timer for forcing FW assert" 2020-08-26 00:27:07 -07:00
qctecmdr
bf233d6ffb Merge "defconfig: Enable CONFIG_VMSPLIT_3G_OPT" 2020-08-26 00:27:06 -07:00
qctecmdr
20318614fa Merge "dt-bindings: iio: add IIO channel IDs for QG device" 2020-08-26 00:27:05 -07:00
qctecmdr
cddf9787a3 Merge "arm64: defconfig: enable autosleep and wakelock configs" 2020-08-25 20:50:05 -07:00
qctecmdr
d1d8422b47 Merge "cnss2: Fix for static analysis issue" 2020-08-25 20:50:05 -07:00
qctecmdr
7d24c95d2b Merge "soc: mmrm: Multimedia Resource Manager interface" 2020-08-25 20:50:04 -07:00
qctecmdr
8baae46492 Merge "ANDROID: Revert "module: Refactor section attr into bin attribute"" 2020-08-25 20:50:04 -07:00
qctecmdr
7399f76820 Merge "drivers: thermal: cpu_voltage: Use the child device node" 2020-08-25 20:50:04 -07:00
qctecmdr
7965554ba6 Merge "NFC: Align DT property name with DTSI files" 2020-08-25 20:50:03 -07:00
Subbaraman Narayanamurthy
844516d943 Revert "input: qcom-hv-haptics: read CAL_TLRA_CL_STS from SDAM after boot up"
This reverts commit 7d3ecfd796.

This change had caused a regression with swr-haptics driver probe
as the soundwire master couldn't enumerate swr haptics. Revert
this until we can understand why soundwire enumeration fails.

Change-Id: Ie5840247013a1a3fab15758e9ace7b131619be49
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-08-24 15:27:02 -07:00
Ashish Bhimanpalliwar
deb4ad8ce9 arm64: defconfig: Enable DYNAMIC_DEBUG for holi target
Dynamic debug allows one to dynamically enable/disable
kernel code to obtain additional kernel information.

Change-Id: I3756769cd4f651aad095638e2951f462eac4ec30
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-08-24 19:45:30 +05:30
Prakash Gupta
4ca0be7a2c iommu: skip iommu_tlb_sync in iommu_unmap()
Downstream arm-smmu impl, perform SYNC as part of unmap().
This is done under arm_smmu_tlb_inv_context_s1. This double the sync
operation. This impacts the unmap time, remove this duplicate sync
operation.

Change-Id: Ic98fc04a8102fe3a0b79e52b33daabf94732fcbf
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-08-24 09:46:53 +05:30
Neeraj Upadhyay
efff3931e0 msm_rtb: Evaluate parameter only once in reads/writes
This reverts commit fc44c0ba38 ("msm_rtb: Don't lose
the __user tag on relaxed reads/writes"). This causes
address parameter, with side effects, to be evaluated
more than once.

Change-Id: Ib37665763736bdf562afcc8335b014a2724a7598
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-08-23 16:34:40 +05:30
Jagadeesh Kona
b1332729e2 clk: qcom: shima: Fix stuck at off warnings during probe
Add CLK_DONT_HOLD_STATE flag to avoid the framework from
placing a proxy vote to enable the clocks during probe since
these GPU clocks are failing to turn on as their corresponding
GDSC is not enabled yet.

Change-Id: I4771d1c5696a069d0d67d407de3a7a5b1f5b139e
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-08-23 15:41:57 +05:30
Mayank Grover
0afd6cbeae arm64: defconfig: enable CONFIG_DEBUG_PREEMPT for debug config
Enable CONFIG_DEBUG_PREEMPT for debug builds, to help
enable atomic context debugging.

Change-Id: I301b15dc4f780e00f5c9146fca8e8122fd2ce3f6
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2020-08-22 03:44:26 -07:00
Jishnu Prakash
b0030513a9 defconfig: Enable SMB5 and QG drivers for holi
Enable SMB5 and QG drivers which control the main charger and
Qgauge peripherals present on PM7250b.

Change-Id: I66925cdbefd160d09f221734d5b9f676f822fe8d
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-22 02:48:11 -07:00
Shyam Kumar Thella
7bfcd4bd53 power: supply: qg: Add support to make QG driver GKI compliant
Add support for "bms" power supply which is not present in kernel 5.4
through IIO device and properties under it through individual IIO
channels under the IIO device.

Change-Id: I55c44e5db2dc4549021cb429444c7c5afa679c3a
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-08-22 02:43:04 -07:00
Shyam Kumar Thella
1074012e87 dt-bindings: iio: add IIO channel IDs for QG device
Add channel IDs required for QG IIO device to dt-binding includes.

Change-Id: I02a7d8348020345025a454cfa85740ec089ac6fd
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-08-22 02:42:36 -07:00
Jishnu Prakash
da167e08a9 power: supply: qcom: Add support to make SMB5 charger GKI compliant
SMB5 charger drivers and their helper files use several power supply
properties on msm-4.19 which cannot be supported on msm-5.4 due to the
need for GKI compliance. Add support for main charger to register
as an IIO device with individual channels under it corresponding to
missing power supply properties from msm-4.19.

Change-Id: I7182160258fa2ebd4af36b0531b11d988cffdbd3
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-22 10:37:14 +05:30
Jishnu Prakash
2e61611bb3 dt-bindings: iio: Add IIO channel numbers for QPNP-SMB5 charger
Add channel IDs required for QPNP-SMB5 IIO device's channels.

Change-Id: Id323424bfe66a396decc4babf248a2688438db75
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-22 10:09:12 +05:30
qctecmdr
f0e66e8900 Merge "arm64: defconfig: Set panic timeout and panic oops config" 2020-08-21 18:26:14 -07:00
Patrick Daly
fddc100d0a defconfig: Enable CONFIG_VMSPLIT_3G_OPT
sdxlemur will have at most 1GB of DDR, so allow all of it to be
mapped as lowmem instead of enabling CONFIG_HIGHMEM.

Change-Id: I89148d18e0be0c1d99795b7f49184bb5421af0f1
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-08-21 16:18:13 -07:00
Yue Ma
f9593505f8 cnss2: Use correct timer for forcing FW assert
When force FW assert, it should use RDDM timer instead of FW
boot timer since it expects FW entering RDDM mode.

Change-Id: Ic8498b0f3c23dc494267571da7f627eace9f91bd
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-08-21 15:35:43 -07:00
Prakruthi Deepak Heragu
c5f0d98fd9 defconfig: lahaina: Disable console on GKI builds
When serial driver is present in second stage ramdisk, it takes ~5 sec to
init the UART. All the data bufferred till then will have to be put onto
the console taking a console lock and this causes a watchdog bark. To
avoid this watchdog issue, disable the console. This also disables early
console.

Change-Id: Ibded81922cb735e3035fc960258213c4de1d6a74
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-08-21 14:26:38 -07:00
Shivendra Kakrania
6e86463009 soc: mmrm: Multimedia Resource Manager interface
MMRM interface is used to do admission control of
specific resources (eg: clock) of multimedia clients
(camera/display/video/cvp).

Change-Id: Ife92d31ab08c80c06467771e74d05ab1a9a8a54b
Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
2020-08-21 10:43:27 -07:00
Murali Nalajala
9f543e181c arm64: defconfig: enable autosleep and wakelock configs
SVM going to rely on kernel autosleep feature to do suspend-to-RAM.
Enable required configurations to achieve suspend-to-RAM functionality.

Change-Id: Ie31abce7927c8b6b2ce5dad6f917f96c52e90803
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-08-21 08:57:20 -07:00
Murali Nalajala
a02a3e54b2 haven: configure dbl and msgq interrupts as wakeup capable
Configure dbl and msgq interrupts as wakeup capable to wake up the SVM
from suspend-to-RAM state.

Change-Id: I1825109736ace36c5c871d52dfefe4a320fea335
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-08-21 08:56:15 -07:00
Sandeep Singh
a9974f00fc defconfig: Enable CONFIG_NL80211_TESTMODE config for holi
This change enables CONFIG_NL80211_TESTMODE config for
wlan host driver in holi.

Change-Id: I0974f58a2f25c14991ff4a22b998827b0a579b95
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-08-21 13:33:27 +05:30
Harshdeep Dhatt
7d44d933cf msm: kgsl: Update preemption context record size for a660
Add per a6xx target member to specify the preemption record size
in case it is different than the default size for all a6xx.

Change-Id: I6e5579eae47dc4ee6707437d858b8b969fe573ea
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-08-20 17:30:20 -06:00
Nitheesh Muthuraj
277697890b msm: kgsl: Fix overflow issue to gpu_busy
gpu_busy is an unsigned 64 bit int and accumulates overtime
while running gpu intensive application(no slumber)
which eventually results in overflow.

Change-Id: Ifda376918ac58fa393a1958101d3d4b161bdd3c0
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
2020-08-20 16:06:24 -07:00
Ram Chandrasekar
83d14255e3 drivers: thermal: cpu_voltage: Use the child device node
The cooling device registration is using the parent node of the cpu
voltage cooling device. The devicetree configs are using the child node
to identify the cooling device. Switch to use the child device node, so
that the cooling device is bound with the thermal zone.

Change-Id: Id501421002c5dac7cb924455e09538a384ec9f85
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-08-20 16:05:36 -07:00
Manikandan Mohan
cd7f415867 cnss2: Wait for power up complete during SSR restart
Update SSR power up function to wait for FW recovery complete to
avoid race condition with linux PM sleep entry.

Change-Id: Ief0d64e7699956ba30f2ff84732e36f6b2fdc3b0
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-08-20 15:01:35 -07:00
George Shen
81c40bf201 msm: cvp: Fixed a deadlock during power update
Change to use dyn_clk mutex from core mutex to avoid the deadlock.

Change-Id: I01a5aaba6f461255861f09e75c992d22217ae66a
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-08-20 13:06:43 -07:00
Tapas Dey
8c7862e060 NFC: Align DT property name with DTSI files
Modified code in driver to align DT property
name with DTSI files.

Change-Id: I6423dcc68eb1dbf73c63240b128f41476caba99c
Signed-off-by: Tapas Dey <tdey@codeaurora.org>
2020-08-20 21:12:50 +05:30
qctecmdr
1e4aef37ea Merge "regulator: rpm-smd: Correct proxy regulator registration" 2020-08-20 04:00:19 -07:00