727103 Commits

Author SHA1 Message Date
qctecmdr Service
da1bc76d7b Merge "ARM: dts: msm: Add dp dm interrupts for SM6150" 2018-08-21 08:36:02 -07:00
Sandeep Panda
b1b5abb3bb ARM: dts: msm: enable ESD for hx83112a panel on sm6150
Enable ESD feature for hx83112a video mode panel on
sm6150 platform.

Change-Id: I068f08f4ea43f239ac9f1910528d639c092e99ea
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2018-08-21 19:34:23 +05:30
qctecmdr Service
97c0e80046 Merge "drm/msm/sde: fix split sel configuration in the interface" 2018-08-21 06:35:44 -07:00
Sandeep Panda
4a7e4fdbf0 drm/msm/dsi-staging: avoid dumping panel commands in dmesg
Avoid unnecessarily dumping all the panel specific commands
in dmesg log.

Change-Id: I6b1189b32c7477d6aab39b65e430fc7171cef6e5
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2018-08-21 19:03:41 +05:30
Shefali Jain
1c8a2f31e7 clk: qcom: Fix compilation issue in NPUCC clock driver
Declare npu_gdsc variable to fix the compilation issue.

Change-Id: Ie661fe040721f7a9491076e1eae1e7db7fe7bf04
Signed-off-by: Shefali Jain <shefjain@codeaurora.org>
2018-08-21 18:13:13 +05:30
qctecmdr Service
541439b3cc Merge "Revert "usb: phy: dual-role: update sysfs attrs when changed"" 2018-08-21 04:41:31 -07:00
qctecmdr Service
6f9e223fc9 Merge "dwc3: gadget: Take copy of dwc->gadget_driver before releasing lock" 2018-08-21 04:41:31 -07:00
qctecmdr Service
2094211f0d Merge "ARM: dts: msm: Enable ro.boot.avb_version for sm6150" 2018-08-21 04:41:30 -07:00
qctecmdr Service
e363500c10 Merge "msm: ipa4: Update the missing config on sdx24" 2018-08-21 04:41:30 -07:00
qctecmdr Service
ed528d25cd Merge "defconfig: qcs405: Enable AR803x PHY config" 2018-08-21 04:41:29 -07:00
qctecmdr Service
cd6537f877 Merge "ARM: dts: msm: Update the L3 GPU vote for sm8150 v2" 2018-08-21 04:41:29 -07:00
Aditya Bavanari
15559c8e48 ARM: dts: msm: Enable wcn-btfm interface in sm6150
Enable BTFM interface to add the FM related DAI
links in sm6150 target.

CRs-Fixed: 2286582
Change-Id: Iad5d6f428e59fb2f098d2821df9940e80766545e
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-21 17:02:48 +05:30
qctecmdr Service
28c413ffef Merge "drm/msm/sde: add sysfs node in dpu driver to provide fps" 2018-08-21 04:06:14 -07:00
Arunk Khandavalli
b5516cedd0 nl80211: nl80211_update_ft_ies to validate NL80211_ATTR_IE
Current nl80211_update_ft_ies doesn't validate NL80211_ATTR_IE
before dereferencing it, which leads to a null pointer exception
if not passed.
This commit validates this attribute too.

Change-Id: Ia40b02fc218bc26a07bc6b2153f425b8cae3bd82
CRs-Fixed: 2261685
Signed-off-by: Arunk Khandavalli <akhandav@codeaurora.org>
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
2018-08-21 15:52:26 +05:30
Mohammed Javid
ef6e8cfc1f ARM: dts: msm: Enable PM for IPA device on SM6150
Adding IPA power management feature support to SM6150
target.

Change-Id: Ifa7e8048a1d63f0d9919337c7bc2b6e48d49a819
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-08-21 14:01:52 +05:30
qctecmdr Service
9c0bdc256f Merge "ARM: dts: msm: Disable ATOS feature for smmu for sm6150" 2018-08-21 00:44:44 -07:00
qctecmdr Service
12ae6ca2b6 Merge "msm: ice: Add crypto context to parse ICE settings correctly" 2018-08-21 00:44:44 -07:00
qctecmdr Service
47a48fd286 Merge "msm: kgsl: Don't pad VA allocations on sm8150v2" 2018-08-21 00:44:44 -07:00
qctecmdr Service
28e5f7afcf Merge "msm: ipa3: Software workaround to fix GSI2.2 HW bug in SM6150" 2018-08-21 00:44:43 -07:00
Mohammed Javid
a318f0684c defconfig: qcs405: Enable AR803x PHY config
Enable AR803x PHY support for Ethernet for perf.
This also enable ptp config.
KS8851 PHY is not needed for qcs405 removed
it.

Change-Id: If0fca7b2247324915d3427f89a1fac22d5ec6b99
Acked-by: Suraj Jaiswal <c_surajj@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-08-20 23:39:53 -07:00
Monika Singh
f9c503da00 ARM: dts: msm: Enable ro.boot.avb_version for sm6150
Enable ro.boot.avb_version and add "android,vbmeta" for
setting system properties for verified boot.

Change-Id: I91f43728f90ec6175743a5e2c52a6915b8a84777
Signed-off-by: Monika Singh <monising@codeaurora.org>
2018-08-20 22:31:37 -07:00
Pavankumar Kondeti
eb35eebc5c sched: walt: Optimize cpu_util() and cpu_util_cum()
The task demand in 1024 units is readily available in task_struct, so
use it directly for cumulative_runnable_avg and cum_window_demand
accounting. The cpu_util() and cpu_util_cum() functions which are
called multiple times during the task placement can return the
scaled values without doing any math.

Scaling the sum of unscaled demand of tasks is more accurate compared
to the sum of scaled demand of tasks, but it is good enough for
task placement decisions.

Change-Id: Iba4be93cd34f130bed1cb533ecaa52ab8bae5f3d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-08-21 10:41:37 +05:30
Pavankumar Kondeti
289dd294f3 sched: walt: Optimize task_util()
task_util() for WALT is currently defined as

p->ravg.demand / (sched_ravg_window >> SCHED_CAPACITY_SHIFT);

This math is required to scale the task demand to 1024 scale.
task_util() is used many times in task placement. So the calls
to this can be optimized by caching the scaled value when task
demand is calculated.

Change-Id: I0c170a10704ae3e8fe4e9f271e8e65c3923075e5
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-08-21 10:41:36 +05:30
Pavankumar Kondeti
635bbd2366 sched: walt: Refactor WALT initialization routine
The global variables are initialized in walt_sched_init(). This
function is called for each rq initialization and the global
variables are initialized again unnecessarily. Refactor the code
to fix this.

Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Change-Id: I085bc9ff576f655afa12fda015f054fbab3a0c91
2018-08-21 10:41:36 +05:30
Harsh Shah
87ceb2155c UPSTREAM: commit '0a738d239a93fa2c7a67b50f83b427a1138b5fc9' 08/20
* commit '0a738d239a93fa2c7a67b50f83b427a1138b5fc9':
  msm: camera: isp: Poll for CSID hardware reset status
  msm: camera: icp: Relaxing the aggression for Clock and BW voting
  msm: camera: req_mgr: Populate dev_hdl to notify events to RT devices
  msm: camera: isp: Add active list request flush support
  msm: camera: isp: Report bubble on request in wait list
  ARM: dts: msm: Add src-clock-name in csiphy node
  msm: camera: Add support for nominal l1 clock
  msm: camera: cpas: Add sm6150 camera hw version support
  msm: camera: ife: config rdi HFR
  msm: camera: cci: Modify condition check to read CCI data
  msm: camera: sync: Add callback mechanism for signaled objects
  ARM: dts: msm: Add camera dts node for sm6150
  msm: camera: icp: Change log type for hfi queue dump

Change-Id: I25d4c2b039ce1b7f1d395639e2c1902ecd76af98
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
2018-08-20 19:45:30 -07:00
qctecmdr Service
dcb40bc829 Merge "ARM: dts: msm: Reduce size of offline-able memory region" 2018-08-20 17:11:53 -07:00
qctecmdr Service
d04d38082e Merge "Revert "ashmem: switch to ->read_iter"" 2018-08-20 17:11:53 -07:00
qctecmdr Service
7b50e078d3 Merge "sdmsteppe_defconfig: Enable the smcinvoke driver" 2018-08-20 17:11:52 -07:00
Mayank Rana
7a8f381496 dwc3: gadget: Take copy of dwc->gadget_driver before releasing lock
gadget_driver can become null if gadget_stop is called while any other
gadget callbacks are in progress. As gadget callbacks needs to release
spinlock before the callback, store the local copy of gadget_driver to
avoid the race with gadget_stop.

Change-Id: I7f0cbf9af3e3b286f2826647f08215f29f699de1
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2018-08-20 17:00:38 -07:00
Sujeev Dias
f3eab7ec6d mhi: dev: uci: remove boot logger channel from userspace
External modem boot logs will be routed to ipc logging buffer
instead of userspace.

CRs-Fixed: 2299820
Change-Id: Ib8fc6896f9ec3e0560409422b031ae9ac60e5c71
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2018-08-20 16:43:50 -07:00
Dinesh K Garg
e3ae22c800 msm: ice: Add crypto context to parse ICE settings correctly
As part of improving FDE performance, code to get ICE settings
is not quite clear. Hence, adding context in ICE setting so that
it is clear what settings is ICE HW getting for each context.

Change-Id: Iab521e893a0a204719dd29e2d69fc8f0261720d0
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2018-08-20 15:49:09 -07:00
Sudarshan Rajagopalan
c5800e467d ARM: dts: msm: Opt-out PCIe TBU from halting
When the PCIe TBU gets halted due to atos debugging, any traffic
that the PCIe master sends gets halted on TBU/NNOC and any
transaction sent to PCIe slave from CPU gets hanged as well because
of the dependency on PCIe master to finish the transaction. Due to
CPU being hanged, there is no way to unhalt the TBU by SW and the
system enters into deadlock. Avoid such scenarios from occurring by
opting-out PCIe TBU from being halted.

Change-Id: I83f3a06cdfe509c458369ea8a550c1184a9d49ff
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2018-08-20 15:45:24 -07:00
Sudarshan Rajagopalan
096d8277a3 iommu: arm-smmu: Allow TBUs to opt-out from halting
Halting certain TBUs would cause considerable impact to the system
such as introducing HW deadlocks on demand. Such TBUs should not
participate in being halted for any atos debugging or power collapse
features. Allow such TBUs to be opted-out.

Change-Id: I5ae3d72d0b2536fd4e909b556361236bae282163
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2018-08-20 15:34:25 -07:00
Urvashi Agrawal
1a12ee05e1 msm: kgsl: Don't pad VA allocations on sm8150v2
sm8150v2 does not require VA allocations to be padded up.
Remove the VA padding requirement on this device.

Change-Id: Ibdafa78abe8a6fe0ab87d1d31af3cfc7874d25fc
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
2018-08-20 15:23:15 -07:00
Sujeev Dias
a89cab3e3c mhi: controller: qcom: fix unbalance runtime enable counts
A bug in MHI system suspend function caused the function to exit
prematurely without disabling runtime suspend. The subsequent
runtime resume caused unbalance enable count.

CRs-Fixed: 2291885
Change-Id: I9f45a86fff2caf4ba13236677d1325e7093a1947
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2018-08-20 14:40:47 -07:00
Dhaval Patel
99d5e9f6b3 drm/msm/sde: manage sde pm_qos vote through atomic counter
SDE driver registers for single pm_qos node but uses it for
multiple command displays. That may lead to warnings if multiple
independent command mode displays try to keep vote at same time.
This change adds atomic refcount to add/remove the vote.

Change-Id: Idc5655bff2fea4a9724a6b9024e85ced46a9c4bc
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2018-08-20 13:52:17 -07:00
qctecmdr Service
3fe40271dd Merge "ARM: dts: msm: Add wcss tpdm for SM6150" 2018-08-20 13:38:26 -07:00
qctecmdr Service
99c07646e9 Merge "defconfig: Enable /dev/mem virtual device support on sm8150" 2018-08-20 13:38:25 -07:00
qctecmdr Service
b55851ee28 Merge "ARM: dts: msm: enable dynamic fps for SM6150" 2018-08-20 13:38:25 -07:00
qctecmdr Service
a6cd83ce00 Merge "defconfig: Increase SSR notification timeout values" 2018-08-20 13:38:24 -07:00
qctecmdr Service
80c733d4b9 Merge "usb: xhci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET" 2018-08-20 13:38:24 -07:00
qctecmdr Service
fe7a2f5b00 Merge "ARM: dts: msm: Update SM8150 QRD USB redriver settings" 2018-08-20 13:38:23 -07:00
Kyle Piefer
897900e080 Revert "msm: kgsl: Prevent dual ownership of GMU counters"
The GMU firmware team does not currently use the counters that are
reserved for them, so they are allowing them to be reclaimed
by KGSL for the purpose of monitoring the throttled clock cycles.

This reverts commit 9d57d42d4ed99649aded636977a46735d2393575.

Change-Id: I15e75f77188e91ecdbcf1ea1e2458d1f65122dfb
Signed-off-by: Kyle Piefer <kpiefer@codeaurora.org>
2018-08-20 10:26:46 -07:00
Mohammed Javid
a8721e2874 msm: ipa4: Update the missing config on sdx24
Couple of missing config changes on sdx24 with
respect to EE_n_GSI_CH_k_QOS register,

 - USE_DB_ENG
	starting from sdx24, since there is no
	smart prefetch in MCS, this field should
	be 0 (for direct mode) for all channels,
	except for MHI with burst mode enabled.

 - MAX_PREFETCH
	This should be 0 (i.e, one prefetch buffer)

 - WRR_WEIGHT
	Software configurable, already taken care.

 - ESCAPE_BUFFER_ONLY
	update as per ep config excel.

Change-Id: Ib464f5b475f843ed0f913f737a1fe6f046969fc1
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-08-20 21:59:06 +05:30
Raviteja Tamatam
5b66c5f464 ARM: dts: msm: enable dynamic fps for SM6150
Enabling dynamic fps for hx83112a truly dsi
video panels on SM6150. The feature helps to reduce fps
when static screen leading to power saving.

Change-Id: I719d809997067492c1130e95fc099d8fb22b3bba
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2018-08-20 19:17:43 +05:30
Pavankumar Kondeti
0f07a9533e sched: walt: Remove unused last_switch_out_ts member from task_struct
last_switch_out_ts member in task_struct is not used. So remove it.

Change-Id: I7f088f1ee86fa61d3ce88646734866dd7ed2bfe2
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-08-20 19:10:08 +05:30
qctecmdr Service
bdd63def94 Merge "qcs405_defconfig: Enable the Qseecom and tzlog driver" 2018-08-20 05:32:10 -07:00
qctecmdr Service
da1b8f079e Merge "defconfig: Enable EHSET test fixture driver on sm8150 Auto" 2018-08-20 05:32:10 -07:00
Monika Singh
964428d1b0 Documentation: bindings: Add node details for VB
Add reference for Verified boot node to support
system properties.

Change-Id: Ibef29e92ded50ec34c1fb88a2c81d216b29f3c0f
Signed-off-by: Monika Singh <monising@codeaurora.org>
2018-08-20 16:13:02 +05:30
Vijayanand Jitta
b1d5575829 ARM: dts: msm: Disable ATOS feature for smmu for sm6150
Due to HW errata on the eCATS functionality, doing TBU halt
while data traffic is in progress can cause a system hang.
Disabling ATOS/eCATS is the only way of working around this
errata.

Change-Id: Ie668d7d2a0b7473048a5070bb87d4065d35e1c25
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-08-20 11:48:00 +05:30