Commit Graph

1130251 Commits

Author SHA1 Message Date
Huang Yiwei
3a24de7bce qcom: debug-symbol: Add debug-symbol feature
Use kallsyms address provided by debug-kinfo driver, symbol address
can be searched by traversing kallsyms table. So the new debug-symbol
feature is added and can replace android_debug_symbols approach.

Change-Id: I27fb788ef3d17426bb0d40afb8bf58f2427a4649
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-12-02 15:53:23 +08:00
John Moon
f7bb27227f ANDROID: Update pineapple module output list
Add new output drivers to pineapple list.

Change-Id: I0914fa503ac1933b99947c873218f879049b1bba
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-12-01 11:44:21 -08:00
qctecmdr
835f1ee0f9 Merge "arm64: defconfig: enable drm display helper compilation" 2022-11-30 21:08:58 -08:00
qctecmdr
705d77d8eb Merge "build: Add --out_dir argument to build_with_bazel.py" 2022-11-30 19:21:16 -08:00
John Moon
4c016f8d92 build: Add --out_dir argument to build_with_bazel.py
Currently, there's no way for a user to specify a custom output
directory when using build_with_bazel.py.

Add a command line argument to allow such usage (similar to the
OUT_DIR environment variable from build.sh).

Change-Id: I44f720c85409fc8ec82a9f4a96d428fab80a7547
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-30 17:47:02 -08:00
qctecmdr
07309e43a5 Merge "net: qrtr: Change port insertion to atomic" 2022-11-30 17:33:45 -08:00
qctecmdr
e601a621cd Merge "msm:abi_gki: Add missing symbol" 2022-11-30 17:33:44 -08:00
qctecmdr
3ad41fc11e Merge "wcd939x-usbss: update AUDIO mode for ctype GND_MIC swap" 2022-11-30 17:33:44 -08:00
qctecmdr
49057e9ddc Merge "dwc3-msm-core: Perform runtime resume with dwc3 dev instead of mdwc" 2022-11-30 17:33:44 -08:00
qctecmdr
b138e50a1a Merge "abi_gki_aarch64_qcom: Add rmnet related symbols" 2022-11-30 17:33:43 -08:00
qctecmdr
69ba5ed381 Merge "build: Fix OSError exception" 2022-11-30 17:33:43 -08:00
qctecmdr
7c3188880c Merge "build: Add logic to use default extensions if none are found" 2022-11-30 15:49:15 -08:00
Nisarg Bhavsar
ce9053a644 arm64: defconfig: enable drm display helper compilation
Enables compilation of the drm display helpers for display
driver to link against.

Change-Id: I0ef8b033cbd766e47480e3962bf89c33f239cccd
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
2022-11-30 15:04:24 -08:00
Nisarg Bhavsar
76cc526c8f drivers: msm: enable drm display helper compilation
Adds wrapper Kconfig symbol to enable compilation
of the drm display helpers for the display driver
to link against.

Change-Id: I3096fc10a94768758e01e6c22c982ed29eb2aa34
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
2022-11-30 14:19:05 -08:00
Nisarg Bhavsar
c1b5ed6dd5 msm: abi_gki: Add display api to export symbols list
Adding symbols in abi file.

Change-Id: Ib82a879f3e223584d3c804ded7a81028a31282d0
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
2022-11-30 13:39:28 -08:00
Subash Abhinov Kasiviswanathan
c711f00085 abi_gki_aarch64_qcom: Add rmnet related symbols
Add the symbols needed to compile the rmnet modules.

CRs-Fixed: 3347777
Change-Id: I6561ff325e76c0053c1b3952435d6ff034f19b4d
Signed-off-by: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
2022-11-30 13:24:56 -08:00
qctecmdr
5f06a98905 Merge "soc:qcom: Add extra byte for tailing NUL" 2022-11-30 13:10:16 -08:00
Michael Adisumarta
ad4f1d90d4 abi_gki_aarch64_qcom: Adding missing symbols
Adding new symbols to the list.

Change-Id: I6dfa017cd2ebef84a8aa2ae25a73971aa49c8e17
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-11-30 12:13:52 -08:00
Mayank Rana
15d7afdbd0 dwc3-msm-core: Perform runtime resume with dwc3 dev instead of mdwc
mdwc device (a600000.ssusb) is parent to dwc3 device (a600000.dwc3).
With stop host mode, commit b10349def39c ("usb: dwc3-msm: Handle
potential errors in dwc3_msm_resume") is resuming mdwc device instead
of dwc3 device which is updating usage count wrongly causing mdwc
device to stay as runtime active. This result into no runtime idle
schedule to put mdwc device into low power mode causing switching
from host mode to device mode failure.

Change-Id: I2f0a6ce06cef90b22bfb5b9a2e000857a5cc0281
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
2022-11-29 16:38:33 -08:00
Sam Rainey
5a19600230 abi_gki_aarch64_qcom: Add symbol for snd soc hw params
Add snd_soc_set_runtime_hwparams to the ABI list.

Change-Id: I255861c3330f97695a2a0110aba0ab69ba34b3c4
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2022-11-29 15:57:29 -08:00
John Moon
20ed5f73a6 build: Add logic to use default extensions if none are found
Currently, the Bazel build may fail if symlinks to the Bazel
extension files are not linked to the proper locations.

To make sure the build always works (falling back on default
extensions), configure the script to create the symlinks to the
default files in case they don't exist or are broken symlinks.

Change-Id: Ie385e4ede912d0f40026ef6c78a9c2fb60ca8924
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-29 14:11:58 -08:00
Prasad Kumpatla
93ed8096a8 wcd939x-usbss: update AUDIO mode for ctype GND_MIC swap
update AUDIO mode to FSM when connection type is GND_MIC
Swap.

Change-Id: I7cc1b065ce18c1bd6024ece1148784b0d9f5af2b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-29 03:13:01 -08:00
qctecmdr
95442d514e Merge "defconfig: pineapple_tuivm: SELinux configs" 2022-11-28 20:14:51 -08:00
Tony Truong
8fb044e2d6 net: qrtr: Change port insertion to atomic
The xa_insert function cannot be called with GFP_ATOMIC if the context
does not have preemption disabled. There was a change to make the port
insertion structure synchronize with rcu and therefore was no longer
protected with spinlocks. Using RCUs lead to a performance degredation
so spinlock synchronization was reinstated. Now that port insertion
happens within a spinlock, GFP_KERNEL cannot be used.

Change-Id: Ib09addbcaa7802bf80ddb953901e07e43c0f376e
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
2022-11-28 16:25:32 -08:00
qctecmdr
b1f018dd8d Merge "ANDROID: Update pineapple module output list" 2022-11-28 14:37:33 -08:00
John Moon
1a0df71fe8 build: Fix OSError exception
When the Bazel subprocess exits unexpectedly, the wrapper script
gets an OSError exception while cleaning up the processes.

Ignore the OSError exception to make sure all subprocesses are
cleaned up properly.

Change-Id: I7c1062a900e70cfc2d90bd9695254ba80b07721b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-28 13:39:02 -08:00
Dennis Cagle
0657f76455 defconfig: pineapple_tuivm: SELinux configs
Enable SELinux related defconfig options.

Change-Id: Icf4818ab3b1f004a30faa2fd9726004430db8bda
Signed-off-by: Dennis Cagle <quic_dcagle@quicinc.com>
2022-11-28 10:49:33 -08:00
John Moon
36f288e1f6 ANDROID: Update pineapple module output list
Add new output drivers to pineapple list.

Change-Id: I69bafed217b090370288aeade0383977775048e2
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-28 10:22:16 -08:00
qctecmdr
7c38a3fd23 Merge "usb: dwc3: msm: add orientation gpio support" 2022-11-28 02:50:38 -08:00
qctecmdr
d17cc6885c Merge "wcd939x-usbss: update AUDIO mode on AATC usecase" 2022-11-28 02:50:38 -08:00
qctecmdr
5f2a8575e0 Merge "soc: qcom: crm: Add IPC logging" 2022-11-28 02:50:38 -08:00
Prasad Kumpatla
ba335150d7 wcd939x-usbss: update AUDIO mode on AATC usecase
update AUDIO mode to FSM when AATC plug detects and restore
to MANUAL once plug-out.

Change-Id: I2b31b67ab713823d2dca07327c141c386ac3b394
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-27 20:58:57 -08:00
Linyu Yuan
1f40435ba0 usb: dwc3: msm: add orientation gpio support
As dwc3 msm support override orientation and super speed phy lane flag,
it is better support orientation gpio here.

Change-Id: I2460286d8538bae3f2e768eb380e11f11faf97fc
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
2022-11-27 18:23:28 -08:00
Linyu Yuan
e22de8882b arm64: defconfig: enable nb7vpq904m redriver
Enable NB7VPQ904M redriver for pineapple, that is used to improve USB
super speed(plus) signal.

Change-Id: I128b6421530bb0ae283f6c9bebeea445b4e1ddb0
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
2022-11-28 10:16:05 +08:00
qctecmdr
77e6e012b8 Merge "arm64: defconfig: Enable QCOM_RPROC_BOTH_DUMPS for defconfig" 2022-11-25 11:05:43 -08:00
qctecmdr
b33aa5cac8 Merge "remoteproc: qcom: pas: remove remoteproc dependency on ramdump driver" 2022-11-25 08:51:12 -08:00
qctecmdr
c848758c70 Merge "ufs-host: qcom: Retain MCQ configuration" 2022-11-25 08:51:12 -08:00
qctecmdr
747a2bb02f Merge "soc: qcom: llcc: Modify ALGO_CFG regmap_write to RMW Approach" 2022-11-25 08:51:12 -08:00
qctecmdr
bc131a4f9d Merge "dma: qcom: bam_dma: Add QCOM BAM DMA driver snapshot" 2022-11-25 08:51:11 -08:00
qctecmdr
35a81ef8ec Merge "cpuidle: governors: qcom-lpm: Misc Fixes" 2022-11-25 08:51:11 -08:00
qctecmdr
1ed8e955fd Merge "defconfig: pineapple-gki: Enable download mode driver" 2022-11-25 08:51:11 -08:00
qctecmdr
d8d5f72e35 Merge "ufs: host: data encryption support snapshot" 2022-11-25 08:51:10 -08:00
Cong Zhang
2646d90dd9 soc:qcom: Add extra byte for tailing NUL
Add extra byte for trailing NUL to make sure we can use the whole 12 or
9 length of entry name.

Change-Id: I6438bdcebc993f6d4779fd2ea440a7d76045e720
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-11-25 15:09:09 +08:00
Cong Zhang
f133022edf soc: qcom: Shorten minidump entry names
Since "vmid_" is added as the prefix of entry name in TUIVM, we only
have 9 bytes left for minidump entries. The change is to shorten
minidump entry names to less than 9 bytes.

Change-Id: I7b38a61bc3fcd2022b03a6d9b88df4e004cc4563
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-11-25 13:39:27 +08:00
Naman Jain
05e5fb01e1 arm64: defconfig: Enable QCOM_RPROC_BOTH_DUMPS for defconfig
Enable QCOM_RPROC_BOTH_DUMPS in GKI config for pineapple
to collect both full and mini dumps for SSRs in the case where
both dumps collection is enabled for subsystem.

Change-Id: Ie166199b91c95f3ab7a34c10a0a46260b4412f6d
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-11-24 21:34:55 -08:00
Naman Jain
4f8722d6b5 remoteproc: qcom: pas: enable both dumps collection for mpss in pineapple
Enable collection of both minidump and fulldump in SSR for mpss in
pineapple by setting the flag to true in adsp_data.

Change-Id: If85564b090dc60cbaf04403e67dbf86507bc6db6
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-11-24 21:34:47 -08:00
Naman Jain
715100c478 remoteproc: qcom: support collection of mini and full dumps in SSR
Add a field for rproc client to enable collection of both minidump and
fulldump in coredump collection in recovery during SSR. Collect both
the dumps only if debug config is enabled, the flag for collecting
both dumps is set for the client and the collection of both dumps
is enabled by sysfs node by the user.

Change-Id: I6792da1c739bced7bee74b33ffa91d12792c758b
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-11-24 21:34:06 -08:00
Naman Jain
9654c24068 remoteproc: qcom: Add config to collect both mini and full dumps in ssr
Add a debug config to allow collecting both minidump and fulldump for
the case where minidump is allowed by policy and enabled for a subsystem.
Helps finding the reason for crashes where minidump lacks required
information and fulldumps are not available.

Change-Id: I40a198f711e6ad52e4ee45129cae26bf1d946ccd
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-11-25 11:01:16 +05:30
Maulik Shah
040f2a75d1 soc: qcom: crm: Add IPC logging
Add IPC logging for caching and writing various power states along
with channel switch and completion IRQ logging.

Change-Id: I4b7d263258b1228fcea1b7c2339e3c7cdf6dde8b
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-11-24 05:38:05 -08:00
Wesley Cheng
ff382ccda5 usb: dwc3: dwc3-msm-core: Check for valid EXTCON connection source
During DWC3 MSM probe, if extcon and usb role switch are both undefined,
the mode will be set to peripheral.  However, in case EUD is defined, then
the extcon parameter will be non-null, and the probe routine will avoid
setting the default mode into peripheral, even though there is no valid
source for notifying cable events.

In case of when EUD is registered as the EXTCON device, continue to allow
setting the default mode as peripheral mode, as it does not send cable
events to DWC3 MSM.  This is useful bringup scenarios where UCSI role
switch is not ready, but EUD is enabled.

Change-Id: I82263a125f67560558236356ddc733301c586de3
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-11-24 01:44:19 -08:00