Commit graph

882,608 commits

Author SHA1 Message Date
qctecmdr
0ee1d44884 Merge "msm: adsprpc: allow only unsigned offload for untrusted apps" 2020-05-01 14:31:13 -07:00
qctecmdr
2a8de75724 Merge "sched/walt: Remove fixup_walt_sched_stats sched_class method" 2020-04-30 13:38:47 -07:00
qctecmdr
303f69ea7a Merge "hvc: haven: Move CONSOLE_OPEN before hvc_instantiate" 2020-04-30 12:47:32 -07:00
qctecmdr
c58342fceb Merge "smcinvoke: Port smcinvoke driver changes" 2020-04-30 12:47:32 -07:00
qctecmdr
1389989ffa Merge "usb: gsi: Add NULL pointer check" 2020-04-30 12:47:32 -07:00
qctecmdr
b2cb5d11d4 Merge "arm64: defconfig: Enable Haven ctrl for Lahaina" 2020-04-30 12:47:31 -07:00
qctecmdr
2d22a3a07e Merge "cpufreq: qcom: Add sysfs to reflect the limit frequency" 2020-04-30 12:47:31 -07:00
qctecmdr
1c730ce06f Merge "clk: qcom: gcc-holi: Add GCC support for HOLI" 2020-04-29 18:21:33 -07:00
qctecmdr
744e6ae9a6 Merge "tmc-etr: Add ETR status check in usb_notifier" 2020-04-29 18:21:33 -07:00
qctecmdr
9a5ca1eeec Merge "input: qcom-hv-haptics: add RC clock calibration for FIFO mode" 2020-04-29 18:21:33 -07:00
Himateja Reddy
9d43774cd2 msm: adsprpc: allow only unsigned offload for untrusted apps
Restrict untrusted third-party applications to only unsigned PD
offload on the remote subsystem. This is done by comparing PID at
the time of process create with the one stored during device open
as the fastrpc device will be opened by DSP HAL service on behalf
of third-party applications.

Change-Id: Ibaead21a429e6bffe8f0808eebf93bf71d1db7ab
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-04-29 16:16:32 -07:00
qctecmdr
2104c7da74 Merge "drivers: lpm-levels: use correct CPUHP notifications for QoS" 2020-04-29 11:27:21 -07:00
qctecmdr
3ad6a3f532 Merge "soc: qcom: eud: Define dummy set_temios and get_mctrl callbacks" 2020-04-29 11:27:21 -07:00
qctecmdr
97b2f5ea8f Merge "mmc: sdhci-msm: Port fixes from previous qcom SoCs to Lahaina" 2020-04-29 11:27:21 -07:00
qctecmdr
9b45d45187 Merge "mhi: core: Add support to re-try requesting firmware image" 2020-04-29 11:27:20 -07:00
qctecmdr
6326cc9757 Merge "iommu/arm-smmu: Fix transaction flags in qsmmuv500_iova_to_phys" 2020-04-29 11:27:20 -07:00
qctecmdr
6d967e6db5 Merge "arm64: defconfig: Enable CONFIG_HH_MEM_NOTIFIER" 2020-04-29 03:27:32 -07:00
qctecmdr
e2267310b5 Merge "firmware: qcom: add encrypted tz and qsee log support" 2020-04-29 03:27:31 -07:00
qctecmdr
8841bd70d4 Merge "haven: rm: Add support to get hypervisor resources" 2020-04-29 03:27:31 -07:00
qctecmdr
da6a98b89c Merge "msm: kgsl: Allow compatible string matching for gpu devices" 2020-04-29 03:27:30 -07:00
Shyam Kumar Thella
b789e7bf6e input: qcom-hv-haptics: add RC clock calibration for FIFO mode
As per the hardware documentation, adjust T_LRA using RC clock
calibration when playing in FIFO mode with play rate not less than
8 KHz. Based on the closed loop T_LRA, adjust the open loop T_LRA
specified in the device tree and use it in the calculation.

Change-Id: I5197bd04051c2aaab38c5ff5f37a47e0ef4b48d3
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-04-29 10:41:13 +05:30
Pavankumar Kondeti
260fab38d8 sched/walt: Remove fixup_walt_sched_stats sched_class method
fixup_walt_sched_stats method in sched_class was required because
fair class need to handle it differently when CFS_BANDWIDTH feature
is enabled. Since that is gone, we can remove this method and reduce
WALT footprint in other files.

Change-Id: Ia20c4accf9beb9f79554636c8faced3d31358622
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
[clingutla@codeaurora.org: Resolved trivial merge conflicts]
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-04-28 20:41:45 -07:00
Lingutla Chandrasekhar
4946953476 sched: walt: Remove CFS_BANDWIDTH support in WALT
WALT load tracking supports CFS_BANDWIDTH, which is not enabled for
Android and no users available for it. Remove it.

Change-Id: I4f3c66a1b567976aadb4a4f91a3dd66230386981
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2020-04-28 20:37:43 -07:00
Pavankumar Kondeti
9c82d639c7 sched/walt: remove references to unused sched_disable_window_stats
sched_disable_window_stats was used while resetting the window
size in legacy code. The current code does not use this anymore.

Change-Id: If77dcfcae917a6632125d205db9082e6b25ccbf6
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-04-28 18:57:43 -07:00
Shaleen Agrawal
dc8050ca5d sched: fair: Improve the Scheduler
This change is for general scheduler improvement.

Change-Id: I92c13d8e6681adb2655a1dae1b5c92fd0fe32166
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-04-28 18:57:12 -07:00
qctecmdr
f69d3db037 Merge "msm: kgsl: Add check not to decrement refcount when debug_fs is disabled" 2020-04-28 13:12:18 -07:00
qctecmdr
e3f797128a Merge "mhi: core: create sysfs nodes before devices" 2020-04-28 13:12:18 -07:00
qctecmdr
9bc4396584 Merge "mhi: cntrl: qcom: remove boot monitor thread to use status cb" 2020-04-28 13:12:17 -07:00
qctecmdr
4bb5eb96b4 Merge "defconfig: lahaina: Enable DMA_CONFIGURE_ALIGNMENT" 2020-04-28 13:12:17 -07:00
qctecmdr
bca5c0fffa Merge "drivers: qmi_sensor: Add support for mmw ADC thermistors" 2020-04-28 07:42:07 -07:00
qctecmdr
c3669a6bbc Merge "sched: rt: print sched_rt_runtime during throttling" 2020-04-28 07:42:07 -07:00
qctecmdr
c4b03962f3 Merge "mhi: core: block low power modes only in mission mode" 2020-04-28 07:42:06 -07:00
qctecmdr
9b3bcd0a43 Merge "cnss2: Clear host driver ops if register driver gets killed" 2020-04-28 07:42:06 -07:00
Saurabh Sahu
bf1bf3d83d clk: qcom: gcc-holi: Add GCC support for HOLI
Add support for Global Clock Controller for peripheral clock
clients to be able to request for the clocks for HOLI.

Change-Id: I65b34b1bd6de0a9d1fc871984026e20bb56f43ed
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2020-04-28 16:46:36 +05:30
Taniya Das
912a4128f4 dt-bindings: clk: gcc: Remove vsensor clock ID for Holi
The vsensor clock is not required to be controlled from HLOS, thus
remove the clock ID reference.

Change-Id: I096b70d9a9dbc5cffe7e4e13a947328766fa1307
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-04-28 16:44:57 +05:30
Mao Jinlong
6ce22978d1 tmc-etr: Add ETR status check in usb_notifier
It is possible that notify call is called after etr is disabled or
after mode switch from usb to etr. Add etr status check to avoid
exception.

Change-Id: I4feb36df28b6fc059598af98b6fb9ccf698d3aaf
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-04-28 01:22:43 -07:00
Hemant Kumar
70f0d2aabd mhi: core: Add support to re-try requesting firmware image
In case firmware request fails to find firmware in default
location, re-try with fall back location. This is done by
adding fall back firmware image location in controller
structure and firmware request is sent again using fall
back location. Send a status call back to controller when
re-try is done.

Change-Id: I252fa2721df335cbff11b8894adb9ad8cf7bf54f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-04-27 20:15:00 -07:00
qctecmdr
5bd24ffbc4 Merge "soc: qcom: Add RPM SMD Driver" 2020-04-27 18:02:44 -07:00
qctecmdr
e03730187b Merge "cnss2: Add code to pick hang data offset based on deviceID" 2020-04-27 18:02:44 -07:00
qctecmdr
5626116d5a Merge "usb: gsi: Allocate strings IDs for functions on every bind" 2020-04-27 13:03:00 -07:00
qctecmdr
fb8f0234a7 Merge "phy: ufs-qcom: Update offsets for Lahaina" 2020-04-27 13:02:59 -07:00
qctecmdr
06c5838be5 Merge "spi: spi-msm-geni: Convert IB vote into KHz unit" 2020-04-27 13:02:59 -07:00
Yue Ma
95d28c8aec cnss2: Clear host driver ops if register driver gets killed
Avoid any host driver ops access after register driver gets killed
by marking it as NULL.

Change-Id: Idd268d5d8d31569c4272fde566866c4d79bc1cad
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-04-27 11:59:39 -07:00
Prakruthi Deepak Heragu
8b11d9697c msm: kgsl: Add check not to decrement refcount when debug_fs is disabled
As there is no increment in ref_count on context when debug_fs is
disabled, ensure there is no decrement in ref_count either.

Change-Id: I8da258a78a8b82ee967b1c944209f6777439e682
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-04-27 10:58:52 -07:00
Murali Nalajala
ebba4e821d haven: rm: Add support to get hypervisor resources
VMs need to make GET_HYP_RESOURCE call to get resource information (dbl,
msgqs) associated between VMs. If the caller VM want to get resources
associated with another VM, caller VM has to supply the VMID of the
end point. Add support to get hypervisor resources.

Change-Id: Id5f16796ba2a84917c9a072cfeb36d24010e34da
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-04-27 10:51:07 -07:00
Bhaumik Bhatt
c234a26803 mhi: core: block low power modes only in mission mode
While attempting to block low power modes before sending
commands to modify channel state, make sure that execution
environment is in mission mode as we may run into a race
condition where a forced suspend/resume cycle does not get
a chance to run.

Change-Id: Ibc7ca5a52036e18677bb597dc0cd95be96d6698a
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-27 09:39:55 -07:00
Bhaumik Bhatt
aa01212fe5 mhi: core: use internal sequence numbers for timesync doorbells
When attempting to latch the remote timer value, host should be
using internal sequence numbers that change every time a client
calls the exposed API and rings the time synchronization
doorbell so that device can identify them as different requests.

Change-Id: I2a38b63c6b942df032f096b17b1fdbc2abdb171b
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-27 09:39:51 -07:00
Bhaumik Bhatt
2a7d70f2d6 mhi: core: enable doorbell method for time synchronization
Some devices support doorbell method to collect time
synchronization information. Add support from host for the
updated way of handling initialization and advertising
support.

Change-Id: I5bc82b946fd64927a2a88babc8d383e5fa664cf6
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-27 09:39:44 -07:00
Jordan Crouse
3f65d0a911 msm: kgsl: Allow compatible string matching for gpu devices
Allow a GPU definition to specify a compatible string to match a GPU
target. If specified a matching compatible string will take priority
over the GPU chipid match.

Change-Id: Ic0dedbadd998dcc8e8f9bc5de2e383870258ad48
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-27 10:35:04 -06:00
Jordan Crouse
a0e052ce2a msm: kgsl: Remove legacy platform probe table
Remove the legacy platform id_table and just rely on the standard
of_match_table instead. Use the standard macro for specifying
the match table pointer and set the MODULE_DEVICE_TABLE.

Change-Id: Ic0dedbad84f80b28d1885a7326324eb67ef97d9b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-27 10:35:03 -06:00