Commit graph

895,155 commits

Author SHA1 Message Date
qctecmdr
131cada24d Merge "soc: qcom: slatecom: uevent for slate dsp and bt state" 2021-04-12 23:41:42 -07:00
qctecmdr
118838bc40 Merge "clk: qcom: vdd-level: Update the vdd level" 2021-04-12 23:41:42 -07:00
qctecmdr
9505c04db9 Merge "serial: msm_geni_serial: Bailout from suspend if RX data is pending" 2021-04-12 23:41:42 -07:00
qctecmdr
a63e351607 Merge "defconfig: Enable CONFIG_SERIAL_MSM_HS for sdxnightjar perf build" 2021-04-12 23:41:42 -07:00
qctecmdr
61212ec9d5 Merge "byte-cntr: Don't write csr register when byte-cntr is disabled" 2021-04-12 23:41:41 -07:00
qctecmdr
0a298ddac0 Merge "usb: dwc3: gadget: Properly handle ClearFeature(halt)" 2021-04-12 23:41:41 -07:00
qctecmdr
0fe659e0b8 Merge "defconfig: autogvm: Enable CNSS2 and QRTR-MHI" 2021-04-12 23:41:41 -07:00
qctecmdr
d8724f5e92 Merge "defconfig: sdxlemur: Enable boot time marker" 2021-04-12 20:21:32 -07:00
qctecmdr
9af27a3638 Merge "input: qcom-hv-haptics: Don't initialize swr regulator for HAP_CFG V3" 2021-04-12 20:21:32 -07:00
qctecmdr
0ce006ce47 Merge "cnss2: Log SW_CTRL GPIO value if PCIe link training fails" 2021-04-12 20:21:32 -07:00
qctecmdr
5b0eaef40f Merge "profiler: Add a communication interface between userspace and tz services" 2021-04-12 20:21:31 -07:00
Lijuan Gao
adb6088e14 defconfig: Enable CONFIG_SERIAL_MSM_HS for sdxnightjar perf build
Enable CONFIG_SERIAL_MSM_HS for sdxnightjar perf build, it's used
for bluetooth.

Change-Id: I0493eb222d94982fe4e177fc4f26c8080041ddf0
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2021-04-13 09:43:55 +08:00
qctecmdr
b709b7ac72 Merge "rpmsg: glink: Pass task structure to set_cpus_allowed_ptr" 2021-04-12 17:20:22 -07:00
qctecmdr
77e147b951 Merge "defconfig: msm: Enable QTI composite gadget on sdxlemur" 2021-04-12 17:20:21 -07:00
qctecmdr
310b581dbb Merge "arm64: defconfig: Enable gcc, debugcc and cpufreq_hw for direwolf" 2021-04-12 17:20:21 -07:00
qctecmdr
f01aeaaa13 Merge "sdxnightjar: enable CONFIG_HARDENED_USERCOPY" 2021-04-12 17:20:21 -07:00
qctecmdr
e67e77ee58 Merge "clk: qcom: rpmcc: Add rpm smd clock changes in monaco" 2021-04-12 17:20:20 -07:00
qctecmdr
553c299c89 Merge "soc: qcom: socinfo: Add socinfo for sdxlemur single die and lite" 2021-04-12 17:20:20 -07:00
qctecmdr
4a1f712628 Merge "net: stmmac: Fixing KW errors" 2021-04-12 10:06:13 -07:00
qctecmdr
3aaec0904c Merge "msm_rtb: Redefine readX_no_log based on architecture" 2021-04-12 10:06:12 -07:00
qctecmdr
3890e7c19d Merge "icnss2: Setup DMS QMI client for WLAN MAC address" 2021-04-12 10:06:12 -07:00
qctecmdr
9aace5e349 Merge "interconnect: qcom: yupik: Enable the QoS for GIC port" 2021-04-12 10:06:11 -07:00
qctecmdr
c458c46182 Merge "Revert "msm: pci: Update VREG info fron DT"" 2021-04-12 10:06:10 -07:00
qctecmdr
eaffffbb7b Merge "cnss2: Skip the dump segment if memory allocation fails" 2021-04-12 10:06:09 -07:00
qctecmdr
9a7b6fe9af Merge "cnss2: Do not wait in loop if MAC is not provisioned" 2021-04-12 10:06:09 -07:00
qctecmdr
fef2d7f67d Merge "clk: qcom: Add USB2 virtio clocks for sa8195p" 2021-04-12 10:06:08 -07:00
qctecmdr
e2e067d6a4 Merge "msm: adsprpc: Check for valid error returned from mini dump" 2021-04-12 10:06:08 -07:00
qctecmdr
dd1bed2eff Merge "msm: veth: Increase outstanding packet thresholds" 2021-04-12 10:06:06 -07:00
vgattupa
f6803cc3d2 msm: adsprpc: Check for valid error returned from mini dump
Add check to verify if valid error code is returned from mini
dump add region.

Change-Id: I02e2cfef22ce5f812104d7dc05dbb623c5c1670f
Signed-off-by: vgattupa <vgattupa@codeaurora.org>
2021-04-12 21:12:21 +05:30
Kuichu Ni
491bdb6316 defconfig: autogvm: Enable CNSS2 and QRTR-MHI
Add required configs to enable CNSS2 and QRTR-MHI to support QCA WLAN
devices for VM platform.

Change-Id: If480fcd92da9ccf4dfe364a89a15b065164f442c
Signed-off-by: Kuichu Ni <kuichun@codeaurora.org>
2021-04-12 16:49:11 +08:00
qctecmdr
0a6012abb0 Merge "Use environment variable to find unifdef tool for auto target" 2021-04-12 01:02:01 -07:00
qctecmdr
ce16a622ad Merge "Use environment variable to find unifdef tool" 2021-04-12 01:02:00 -07:00
Rohith Kollalsi
24823f1592 usb: dwc3: gadget: Properly handle ClearFeature(halt)
Commit 1bfa091472 ("usb: dwc3: gadget: Properly handle
ClearFeature(halt)") introduces stop active transfer to be done
as a part of clear feature. But for gsi as a part of clear
feature if stop active transfer is issued, as gsi uses hardware
path for transfers it cannot issue start active transfer which
leads to device sending not ready to the host while host trying
to send data which inturn leads to rmnet call failure. Fix this
by bailing out early without issuing stop active transfer in clear
feature for the interfaces that use hardware path for transfers.

Change-Id: I3929c610f50e6e5798517a03a9929db2824f87ff
Signed-off-by: Rohith Kollalsi <rkollals@codeaurora.org>
2021-04-09 23:37:16 -07:00
Yuanfang Zhang
320c664b60 byte-cntr: Don't write csr register when byte-cntr is disabled
It is possible that byte-cntr release happens after byte-cntr is disabled.
Don't write csr register when byte-cntr is disabled to avoid the register
access issue.

Change-Id: Ic818107e1bcbe31e1a55cdc8c0f6ff89ff70564f
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2021-04-08 22:49:46 -07:00
Lei wang
0675c71004 profiler: Add a communication interface between userspace and tz services
Add snapshot of profiler driver from msm-4.4.
This snapshot is taken as of msm-4.4 commit bf01369440c0
(profiler: Add a communication interface between userspace and tz services)
Refine code for llcc support and use API in kernel 5.4.

Change-Id: Icc545138781c26a82ae6234965cb975b11b7079e
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2021-04-09 09:45:42 +08:00
Melody Olvera
c5961cdab5 soc: qcom: socinfo: Add socinfo for sdxlemur single die and lite
Add soc ids for sdxlemur single die and sdxlemur lite devices.

Change-Id: I97389f688957213abfd49d6958bf5f40305f2889
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
2021-04-08 11:43:37 -07:00
Veera Vegivada
2b1956c87c arm64: defconfig: Enable gcc, debugcc and cpufreq_hw for direwolf
Enable global clock controller and cpufreq hw driver so
that consumers can manage clocks and also enable debugcc
for clock measure functionality.

Change-Id: I0ba5d680cf3697c436da3087ff8181df8f887937
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-04-08 16:16:56 +05:30
Veera Vegivada
a7fc919b7f clk: qcom: Add the debug mux information for Direwolf
Add the debug mux structure with inputs for measuring the
HLOS controlled clocks on Direwolf.

Change-Id: I75417cbeab928a09db5c94ffe9856a52f383c03d
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-04-08 16:16:10 +05:30
Veera Vegivada
16498b68e9 clk: qcom: Add GCC clock driver for direwolf
Add support for peripheral clocks controlled by
global clock controller.

Change-Id: I420ab0edbb48f84dd8d94b458d8bf2b5cb0b51bd
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-04-08 16:15:09 +05:30
Odelu Kukatla
10df136829 interconnect: qcom: yupik: Enable the QoS for GIC port
Enable QoS configuration for GIC master port to set the default
priority to P2.

Change-Id: I16fca1e47be19bfe395ec71fc32ac66a664f9b4e
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2021-04-08 14:23:03 +05:30
Suraj Jaiswal
3ed3433704 net: stmmac: Fixing KW errors
- Fixing various types of kw errors.
List of KW
1. Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1396

2.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1354

3.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 423

4.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 443

5.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1683

6.Uninitialized variable is used at
dwmac-qcom-pps.c: 46.

Change-Id: I3c98c804c0fee2ecc291852e38a104ca12c42dcc
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 14:21:23 +05:30
Odelu Kukatla
955838aadb icc: dt-bindings: add endpoint IDs for interconnects for YUPIK
Add endpoint ID for GIC master which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: I673888840c4dc2770ccb6d5dab76bab72c3af3cf
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2021-04-08 14:18:18 +05:30
Likai Ding
69f53cdee2 sdxnightjar: enable CONFIG_HARDENED_USERCOPY
add CONFIG_HARDENED_USERCOPY to both variants

Change-Id: Idc005208baa1f2e130a84f01924afcecfd62a77a
Signed-off-by: Likai Ding <likaid@codeaurora.org>
2021-04-08 15:02:04 +08:00
Akshay Pandit
7975380de6 msm: veth: Increase outstanding packet thresholds
Increase outstanding packet threshold to allow netdev to recover.

Change-Id: Ia987dc330faeb9e4114e6303877758fbaba9b2b3
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-04-07 23:23:21 -07:00
Suraj Jaiswal
dff51d939b net: stmmac: boot KPI optimization
Avoid PHY reset when early Ethernet is enabled to save
atleast 90ms . Also, move Early Eth IP address assignment to
workqueue to save time taken in IP assignment.

Change-Id: Ifd04579894e93761eef2896596101dd17540e6a6
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 11:17:24 +05:30
Suraj Jaiswal
11a75d9e26 net: stmmac: marker for suspend/resume
Enable support for Ethernet Link UP KPI marker for
as part of system resume.
Currenlty Ethernet Link up KPI marker is printed
once once & print flag is set to true to avoid further
Link UP KPI print. This flag need to reset as part of
suspend to print the Ethernet Link UP KPI marker at resume.

Change-Id: I849a76520c4c619255ba650fff546a32a05adc2e
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 10:52:18 +05:30
Suraj Jaiswal
63c2f5b3fa STMMAC: msm: Ethernet Marker
Add STMMAC Ethernet end probe marker.

Change-Id: I5360ec9b3a64cc1c63d33a74f0ba31de8f0bd898
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 10:48:25 +05:30
Shyam Kumar Thella
112211dd54 input: qcom-hv-haptics: Don't initialize swr regulator for HAP_CFG V3
Since HAP_CFG V3 doesn't support soundwire haptics, skip initializing
swr regulator so that swr_haptics cannot use it.

Change-Id: I64d783aabcf699233c68a96af5ffd922d361fb24
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2021-04-08 10:43:43 +05:30
Chandana Kishori Chiluveru
f46551cd83 serial: msm_geni_serial: Bailout from suspend if RX data is pending
This change is to resolve potential race btw stop rx and cancel rx
due to interrupt latency in the system.

Change-Id: I7b510949f75bac5ec9f8f42f3d139131b259600f
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-04-08 09:28:06 +05:30
Chandana Kishori Chiluveru
235585bd23 serial: msm_geni_serial: Do not change Flow control from termios
This change ensures UART driver doesn't control the flow lines when
baud change is requested. UART client must ensure that peer device
is flowed off before requesting the baud change.

If UART driver control the Flow lines it may happen that after baud
rate change, immediately driver decides to Flow it ON which may have
side effect to client if it doesn't really intend to receive anything
from ther peer side.

This way we are ensuring the window of baud change is controlled by
client and not disturbed by the driver.

Change-Id: Id88ae03dc8a81830393597e72109ee7015cb6226
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-04-08 09:26:28 +05:30