Commit graph

882,631 commits

Author SHA1 Message Date
qctecmdr
c8694fd073 Merge "msm: adsprpc: Driver capability" 2020-05-02 00:07:40 -07:00
qctecmdr
80aa14bd32 Merge "lib: spinlock: Cause a watchdog bite on spin_dump" 2020-05-02 00:07:39 -07:00
qctecmdr
09afa87a80 Merge "cnss2: Add code to update cnss soc info" 2020-05-02 00:07:39 -07:00
qctecmdr
e908b225bb Merge "wigig_sensing: fix usage of wait_event_interruptible_timeout()" 2020-05-02 00:07:39 -07:00
qctecmdr
0efb13a580 Merge "defconfig: lahaina: Enable LEDS_TRIGGER_TIMER" 2020-05-01 14:31:15 -07:00
qctecmdr
c04054d971 Merge "iommu/arm-smmu: Fix tbu_ids type in qsmmuv500_tlb_sync_timeout()" 2020-05-01 14:31:15 -07:00
qctecmdr
685a17ec78 Merge "soc: qcom: mem-buf: Fix NULL pointer dereference when assigning memory" 2020-05-01 14:31:15 -07:00
qctecmdr
3b4dcbd4ef Merge "input: qcom-hv-haptics: set auto resonance when loading effects" 2020-05-01 14:31:14 -07:00
qctecmdr
22eaf508c7 Merge "Revert "ASoC: msm: fix integer overflow for long duration offload playback"" 2020-05-01 14:31:14 -07:00
qctecmdr
c16557c4cf Merge "mhi: core: remove duplicate timesync sysfs functions" 2020-05-01 14:31:14 -07:00
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
Mohammed Siddiq
a8e095c1f3 cnss2: Add code to update cnss soc info
Add code to update cnss soc info from the info
received as part of target capability response.

Change-Id: I6b88192d772dd30a8aaeb90725141c7c38b2c50c
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-04-30 10:15:05 -07:00
Fenglin Wu
ec870b7d84 input: qcom-hv-haptics: set auto resonance when loading effects
Set auto resonance when loading effect according to the effect
settings.

Change-Id: I8dc9ac99a57e396d67da28ae7b1eb31813ab3362
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-04-30 11:14:20 +08:00
Fenglin Wu
a7b2b418ea input: misc: qcom-hv-haptics: check nvmem before using it
Currently, nvmem device is used to store closed loop brake settings. If
nvmem-cells is not specified for closed loop brake, then nvmem device
can be NULL. For such case, skip updating closed loop brake settings by
not writing to the nvmem device.

Change-Id: I18d455814f3731af519949f21a3a553bd1692548
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-04-30 09:21:39 +08: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
Bhaumik Bhatt
9298cd3636 mhi: core: remove duplicate timesync sysfs functions
Remove duplicate timesync sysfs functions as they have moved to
a different file.

Change-Id: Ia1988f32eb6bf16914564977d09ba7ee81022335
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-29 14:37:47 -07:00
Bhaumik Bhatt
34e46f48e9 mhi: core: add asynchronous time request support in sysfs
Add support to request time from device using the asynchronous
method in ticks and microseconds using sysfs entries.

Change-Id: Idb661ad6db9f1cc4cd594c96755986ece4961b03
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-04-29 14:37:41 -07:00
Guru Das Srinagesh
185c25ef79 defconfig: lahaina: Enable LEDS_TRIGGER_TIMER
Enabling "timer" LED trigger allows for LED blinking to occur with
user-defined intervals of on and off time. This is achieved by writing
to "delay_on" and "delay_off" parameters under the sysfs directory of
the LED.

Change-Id: I313288a455088dee435ce878edd8bd5000a3b40e
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-04-29 13:28:05 -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
Mohammed Nayeem Ur Rahman
103555a45c msm: adsprpc: Driver capability
Allows the client to query the driver for driver capabilities.
Helpful for maintaining backwards compatibility in future.

Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Change-Id: I82b2e05eae0241dd8cef22f07845998cae739395
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-04-29 15:14:18 +05:30
Isaac J. Manjarres
458ed8c916 iommu/arm-smmu: Fix tbu_ids type in qsmmuv500_tlb_sync_timeout()
qsmmuv500_tlb_sync_timeout() uses for_each_set_bit() to iterate
through the TBU IDs. However, for_each_set_bit() operates on
unsigned longs, while tbu_ids is a u32 variable. Change the type
of tbu_ids to unsigned long.

Change-Id: If59eedebb21d388f864a0e2579f8af6bb1fc0b75
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-04-29 00:27:15 -07:00
Isaac J. Manjarres
7125eb64ce soc: qcom: mem-buf: Fix NULL pointer dereference when assigning memory
The xfer_mem pointer is dereferenced before sanitizing it, so use it
only after it has been sanitized.

Change-Id: Iaedd988903f012e647dcfee9bbe7905e0a4574eb
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-04-29 00:06:09 -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