Commit graph

899,236 commits

Author SHA1 Message Date
Gauri Joshi
8838ca5600 msm: mhi-dev: Add support for AIO write API
Diag client uses asynchronous writes for data transfer.
Adding write_iter API in mhi to support the same.

Change-Id: If14ebdd4aa848046abd15ea93d939691c6962fcd
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
2021-06-21 11:07:39 -07:00
qctecmdr
c728c09e3a Merge "FM: Reduce high scan time" 2021-06-20 22:25:24 -07:00
qctecmdr
12ba0a89d4 Merge "msm: Remove IPA offload config for Realtek driver" 2021-06-20 22:25:24 -07:00
qctecmdr
02d63d875a Merge "msm: adsprpc: Handle ramdump collection" 2021-06-20 22:25:24 -07:00
qctecmdr
aaccbd7039 Merge "cpufreq: qcom-cpufreq-hw: Move CPUFreq HW registers entry to sysfs" 2021-06-20 22:25:24 -07:00
qctecmdr
f5872f25fe Merge "cnss2: Assert on FW mem allocation failure" 2021-06-20 22:25:23 -07:00
qctecmdr
7f74bb83a5 Merge "defconfig: sdxlemur: Cleaning up config" 2021-06-20 22:25:23 -07:00
Akshaya Damodaran
fec58e3766 msm: Remove IPA offload config for Realtek driver
Remove IPA offload config as IOSSv1 glue driver has also been
removed for Realtek.

Change-Id: I3007c300a27cac1eda114109a6f085efb4b4abb3
Signed-off-by: Akshaya Damodaran <adamodar@codeaurora.org>
2021-06-18 13:03:34 -07:00
Prateek Raj Singh
398c89ff03 FM: Reduce high scan time
Changed logic to find Lower Band Limit from Search Up from current
channel with Wrap enable to tuning to Lower Band Limit + chan space
and Search Down with Wrap disable.

Change-Id: I79a686238d96db5dd5df9436b346b465435ae4f5
Signed-off-by: Prateek Raj Singh <pratsing@codeaurora.org>
2021-06-18 06:04:47 -07:00
Jeya R
7987c64862 msm: adsprpc: Handle ramdump collection
Collect the ram dumps when process is
initialized and process is not cleaned
on DSP to fix UAF on init memory.

Change-Id: I3ddae176039efa57e057eca730e7ed1cec706484
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-06-17 22:21:47 -07:00
qctecmdr
91a7f066e1 Merge "clk: qcom: gdsc-regulator: Dump consumers of GDSC" 2021-06-17 06:35:09 -07:00
qctecmdr
6cce42a704 Merge "soc: qcom: Add symon_subsystem_stats driver support" 2021-06-17 06:35:08 -07:00
qctecmdr
f08bf88e74 Merge "icnss2: Add support to vote for SMPS" 2021-06-17 06:35:08 -07:00
qctecmdr
ac35aec4d2 Merge "input: qcom-hv-haptics: Add support for non-hboost haptics" 2021-06-17 06:35:08 -07:00
qctecmdr
63edb9bba3 Merge "serial: msm_geni_serial: Log UART RFR and IRQ enable status in IPC" 2021-06-17 06:35:01 -07:00
qctecmdr
de1884e325 Merge "serial: msm_geni_serial: Avoid unclocked access from start_tx" 2021-06-17 06:34:59 -07:00
Yogesh Lal
a214749c01 defconfig: sdxlemur: Cleaning up config
Removing redundant configs not needed by sdxlemur.

Change-Id: Ic7cb73ce578a71e2b1affdbe6b9abd22a3f79136
Signed-off-by: Yogesh Lal <ylal@codeaurora.org>
2021-06-17 17:34:37 +05:30
Sandeep Singh
1d1b0056f9 icnss2: Add support to vote for SMPS
This change will add support to vote for SMPS node if
regulator handle is provided in DTS source.

Change-Id: I7519b6c2b93c85a4f4bf7e26ca0b72ef03df094b
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2021-06-16 04:09:43 -07:00
Jagadeesh Kona
f622aa8eeb cpufreq: qcom-cpufreq-hw: Move CPUFreq HW registers entry to sysfs
Move the logging of CPUFreq HW debug registers from debugfs to
sysfs under /sys/kernel/qcom-cpufreq-hw.

Change-Id: I2d23052d013125ee69de852dcec621c104f0d50a
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-06-16 03:09:55 -07:00
Kiran Gunda
33686b66f1 input: qcom-hv-haptics: Add support for non-hboost haptics
Some PMICs such as PM5100 does not have the HBOOST peripheral
for haptics input supply. Add a new compatible string to avoid
accessing the non-existent HBOOST peripheral and also make the
necessary configurations required for hpwr supply.

Change-Id: I84301115706ee59984f7b051bc467d1537bbad29
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2021-06-15 23:09:22 -07:00
Bavyasritha Alahari
3fd58de5e5 soc: qcom: Add symon_subsystem_stats driver support
Sysmon subsystem driver exposes API to query various
SoC level Q6 load, power statistics from the shared
memory exported by the remote processor.

Change-Id: I84da55d0f72a0c9d0c4a90a78d8589079aa9b93e
Signed-off-by: Bavyasritha Alahari <alahari@codeaurora.org>
2021-06-15 21:14:29 -07:00
Chandana Kishori Chiluveru
01b9c27d1c serial: msm_geni_serial: Log UART RFR and IRQ enable status in IPC
Add geni_ios changes to log RFR line status in GENI_IOS register.
Also set GENI FORCE_DEFAULT after performing TX/RX Abort Sequence.

Change-Id: I995e5cd864cd1f54dd295b82d887c8df3452e706
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-06-15 20:50:47 -07:00
Chandana Kishori Chiluveru
7304a7bf8d serial: msm_geni_serial: Avoid unclocked access from start_tx
During system suspend/resume testing, when console is in suspended
state and clocks are OFF. Seems UART console used to dump some info on
console and leading to NOC fault.

To fix this issue add defensive check in msm_geni_serial_start_tx() api.

Change-Id: I27edd7814e28946449afe256f72f7cb1c868822e
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-06-15 20:50:02 -07:00
Paul Zhang
914e88ee4e cnss: clean interface per PCI driver update
PCI RC driver is removing EP shadow support to restore EP's config space.
So update cnss driver accordingly.

Change-Id: I562de4b338dcf2204d73b9d5fafebf9e597c7b42
Signed-off-by: Paul Zhang <paulz@codeaurora.org>
2021-06-15 19:04:11 -07:00
qctecmdr
1eb2027a42 Merge "clk: qcom: clk-cpu-sdxlemur: Use correct PLL ops" 2021-06-15 09:08:06 -07:00
Mike Tipton
162fb9a267 clk: qcom: clk-cpu-sdxlemur: Use correct PLL ops
The SDXLEMUR CPU PLL uses a non-standard sequence for latching new
configurations. Using the standard lucid_5lpe ops for this PLL means the
latch won't be asserted and the PLL will run at the original frequency
from before the update.

Change-Id: Ia1cb8b7fd116e17a937b961e5907082097e27bfd
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2021-06-15 06:31:29 -07:00
qctecmdr
4bcd6c1d0b Merge "msm: kgsl: Add APIs to provide GPU stats" 2021-06-15 06:21:29 -07:00
qctecmdr
1422ad1443 Merge "sched: walt: Improve the scheduler" 2021-06-15 06:21:29 -07:00
Mike Tipton
f65f53d3bd clk: qcom: clk-alpha-pll: Add clk_alpha_pll_lucid_5lpe_sdx_cpu_ops
The lucid_5lpe PLL used for the CPU on SDX targets uses a custom
mechanism to assert the latch. Add ops that can be used for this.

Change-Id: I24f8e3db2b908e34e4d0560841f1f5fdcfd215af
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2021-06-15 06:01:56 -07:00
Mike Tipton
5cc0d09264 clk: qcom: clk-cpu-sdxlemur: Don't limit the max register
The lucid_5lpe PLL has multiple registers past 0x3C, including the
ALPHA_VAL and SSC registers. Since we currently set max_register to
0x3C, this causes read failures on ALPHA_VAL in in
alpha_pll_lucid_recalc_rate(). This function ignores the regmap_read()
return codes, which results in the frac variable being uninitialized.

The CPU PLL doesn't currently use fractional operation, so it should
always be zero in HW. But the uninitialized frac variable causes random,
small increases to the calculated frequency.

Specifying max_register is optional, so just remove it and allow the
full range we define in devicetree.

Change-Id: I3549c249f2dfbad5c056de584864b0e1a3eeb912
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2021-06-15 06:01:46 -07:00
qctecmdr
abeb3d1ea2 Merge "msm: kgsl: Add support for enhanced memory accounting" 2021-06-15 00:59:21 -07:00
Deepak Kumar
e646feb198 msm: kgsl: Add APIs to provide GPU stats
Add APIs which provide per GPU freq active and total time,
number of GPU frequency corners and number of frames
processed by GPU.

Change-Id: If42e76a435a4766a3de0b9b028d48b6c1759e466
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2021-06-15 13:27:24 +05:30
Lingutla Chandrasekhar
b048e61d9c sched: walt: Improve the scheduler
This change is for general scheduler improvements.

Change-Id: Ia2854ae8701151761fe0780b6451133ab09a050b
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2021-06-15 10:41:10 +05:30
Jagadeesh Kona
87d7af180e clk: qcom: gdsc-regulator: Dump consumers of GDSC
Dump GDSC consumers and consumer votes in clock dump
API's.

Change-Id: I35b179155756e0aa68da59525888c460d348ff0d
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-06-14 21:47:47 -07:00
qctecmdr
dc1e3e8117 Merge "icnss2: Avoid sending MODE_OFF if MODE_ON is not set" 2021-06-14 12:41:44 -07:00
qctecmdr
0a6f06bd59 Merge "Merge android11-5.4.86+ (7d99cf8) into msm-5.4" 2021-06-14 12:41:44 -07:00
Naman Padhiar
fcf3a13fb7 icnss2: Avoid sending MODE_OFF if MODE_ON is not set
Avoid sending MODE_OFF QMI request to FW if MODE_ON is
not send previously.

Change-Id: I143baac9de884773b1f3c376030d5252bae5fa15
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-06-14 05:54:40 -07:00
qctecmdr
56cc7da79a Merge "arm64: defconfig: holi-gki: enable Cx iPeak limit driver" 2021-06-14 04:15:42 -07:00
qctecmdr
6b217200b3 Merge "clk: qcom: debugcc: Update the MCCC mux offset for BLAIR" 2021-06-10 11:02:08 -07:00
qctecmdr
5dc5bb492a Merge "defconfig: msm: enable remote debugger driver" 2021-06-10 10:39:28 -07:00
qctecmdr
50d36a0369 Merge "cnss2: Export if DRV is supported through platform capability" 2021-06-10 10:39:27 -07:00
qctecmdr
1851caf8cf Merge "block: Enable BFQ io scheduler as default" 2021-06-10 10:39:27 -07:00
qctecmdr
edac9794ec Merge "icnss2: Make SOC_WAKE workqueue as high priority" 2021-06-10 10:39:26 -07:00
qctecmdr
d1220daeff Merge "qpnp-regulator: Add support for pm6125 regulators" 2021-06-10 10:39:24 -07:00
Jeya R
ae323e18fc defconfig: msm: enable remote debugger driver
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I4a96cd5ee354d9be0b2f77eaf3330b6529154aa6
Acked-by: Devender Kaushik <dkaushik@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-06-09 23:00:09 -07:00
Puranam V G Tejaswi
32ce17873b msm: kgsl: Add support for enhanced memory accounting
Update the vm_stat counter NR_UNRECLAIMABLE_PAGES to account for
the total memory allocated. Update the rss_stat counter MM_UNRECLAIMABLE
to account for the memory allocated and memory imported per process.

Change-Id: I0a40bf215fedbe421cce8d5fc41e2580fefb6523
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
2021-06-09 18:52:04 +05:30
Yue Ma
9f8482a379 cnss2: Export if DRV is supported through platform capability
Add CNSS_HAS_DRV_SUPPORT to platform capability to indicate if PCIe
DRV is supported or not.

Change-Id: Id114467d060946dda43bb00fe8856cea2c18e738
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-06-09 16:46:22 +05:30
Pradeep P V K
71edb4e799 block: Enable BFQ io scheduler as default
Enable BFQ IO-Scheduler as a default scheduler
for systems adapting to block multiqueue design.

Change-Id: I12ff8c0495a53f1fc1f1a95c39ed03d927c1821b
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
2021-06-08 21:48:53 -07:00
Naman Padhiar
4ea8e1b341 cnss2: Assert on FW mem allocation failure
Add code to assert if FW requested memory allocation fails.
This helps to collect logs at the time of failure.

Change-Id: I8d3ff82eee545510318e0a9a2a128a71dc8a9fb3
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-06-08 21:33:09 -07:00
qctecmdr
ee8d6eaeda Merge "Merge android11-5.4.86+ (48ffcbf) into msm-5.4" 2021-06-08 09:07:19 -07:00