Commit Graph

1149827 Commits

Author SHA1 Message Date
qctecmdr
c2a126ebcd Merge "interconnect: qcom: pineapple: Add PCIe CRM nodes" 2023-03-28 14:20:29 -07:00
qctecmdr
66c7e07936 Merge "Merge keystone/android14-6.1-keystone-qcom-release.6.1.15 (4d4b0e0) into msm-pineapple" 2023-03-28 12:03:45 -07:00
qctecmdr
3af53f89dd Merge "defconfig: Enable config for Cliffs chipset" 2023-03-27 23:45:34 -07:00
qctecmdr
eb82fd6605 Merge "drivers: dcvs: MPAM: add driver to configure MPAM" 2023-03-27 21:35:30 -07:00
qctecmdr
ac6e827791 Merge "socinfo: Add ADP into hw_platform list" 2023-03-27 19:16:45 -07:00
qctecmdr
3790e5b972 Merge "qcom: scm: Add the full list of VMID's" 2023-03-27 19:16:45 -07:00
qctecmdr
c6cb31b6b6 Merge "usb: dwc3: dwc3-msm-core: Avoid ss phy powerup from host notifier call" 2023-03-27 19:16:44 -07:00
qctecmdr
3c0d109edb Merge "usb: dwc3: msm: remove one WARN_ON() in dwc3_msm_set_role()" 2023-03-27 19:16:44 -07:00
qctecmdr
1abfd7dc2c Merge "serial: msm_geni_serial: Add check for valid port in isr" 2023-03-27 19:16:44 -07:00
qctecmdr
3807eb0aba Merge "drivers: dcvs: memlat: modify cpucp sample ms interface" 2023-03-27 16:44:31 -07:00
qctecmdr
2bb40d591c Merge "usb: phy: Add snapshot of USB SS QMP PHY driver" 2023-03-27 08:39:08 -07:00
qctecmdr
096d549c2a Merge "soc: qcom: Add snapshot of USB BAM driver" 2023-03-27 08:39:07 -07:00
qctecmdr
9ac68766ec Merge "usb: gadget: Add snapshot of USB DIAG function driver" 2023-03-27 08:39:07 -07:00
qctecmdr
31ec05bfa7 Merge "build: Move more options to image_opts" 2023-03-27 08:39:07 -07:00
qctecmdr
6569efe9b3 Merge "dt-bindings: Add DT bindings specific to gen3auto" 2023-03-27 02:15:58 -07:00
qctecmdr
fdd919c90f Merge "drivers: qcom: sys_pm_vx: Fix crash issue when free buffer before sending messages" 2023-03-27 02:15:57 -07:00
qctecmdr
d91219434f Merge "thermal: qcom: Save tsensor data into minidump" 2023-03-27 02:15:57 -07:00
qctecmdr
20b4bf3865 Merge "Kconfig: Add support for Cliffs chipset" 2023-03-27 02:15:56 -07:00
qctecmdr
97b6d64158 Merge "rproc: qcom: Add spss to exception for rproc_recovery_set vendor hook" 2023-03-26 22:41:48 -07:00
qctecmdr
6c88b7d72d Merge "iio: adc: qcom-spmi-adc5-gen3: Save adc data into minidump" 2023-03-26 22:41:47 -07:00
Abdul Salam
34225b154a build: Move more options to image_opts
Since, there are more options that are not common to
all targets, move them to image_opts as configurable
options.

Change-Id: I5664be920500ee6da1795812d18945d113567401
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
2023-03-27 10:11:34 +05:30
qctecmdr
3123071e38 Merge "spi: spi-msm-geni: add changes for fifo depth registers" 2023-03-26 20:15:33 -07:00
qctecmdr
e87059b64b Merge "soc: qcom: Pass correct node id to gen_pool_create" 2023-03-26 20:15:33 -07:00
qctecmdr
51202ffd13 Merge "soc: hw-fence: add apis to dump debug info" 2023-03-26 20:15:33 -07:00
qctecmdr
c45679d405 Merge "drivers: rdbg: Adds support for debugging multiple DSPs at the same time" 2023-03-26 20:15:32 -07:00
qctecmdr
fd252695cc Merge "sched/walt: eliminate the nr_assist_thresh" 2023-03-26 20:15:32 -07:00
congying
c9d7bb0f1a thermal: qcom: Save tsensor data into minidump
Add support to save tsensor data to minidump so that it can
be obtained from memory dump for analysis.

Change-Id: I269fe49331cba90820797700dda46518145622ba
Signed-off-by: congying <quic_congying@quicinc.com>
2023-03-26 19:31:04 -07:00
congying
c5b0b00d01 iio: adc: qcom-spmi-adc5-gen3: Save adc data into minidump
Add support to save ADC_TM thermal sensor data to minidump
so that it can be obtained from memory dump for analysis.

Change-Id: Ieed85580b47ef27669ef8f09a0a62be4913cf586
Signed-off-by: congying <quic_congying@quicinc.com>
2023-03-26 19:30:21 -07:00
qctecmdr
8cf9e2c33c Merge "soc: qcom: dmesg_dumper: fix the NULL pointer issue" 2023-03-26 18:12:30 -07:00
qctecmdr
bfb3801113 Merge "i2c: i2c-msm-geni: Reset i2c GPIOs using FORCE_DEFAULT" 2023-03-26 06:23:12 -07:00
Udipto Goswami
62d1361f98 usb: dwc3: dwc3-msm-core: Avoid ss phy powerup from host notifier call
Consider a case where DP 4LN is connected and performed a disconnect,
the driver would call the disconnect routine as part of which we would
restore the max_speed to SS/SSP. After this driver will proceed to turn
on gadget where it tried to set USB_ROLE_DEVICE from drd.
This would further perform a core_soft_reset and only after
which it calls gadget_init.

During this, the xhci host tear down will also take place, and xhci_remove
would be called. This would initiate the host_notifier call. Here we again
call ss_powerup and this time driver will call set_suspend(0).

When these two processes are executed together, there is a possibility that
the phy register operations are not yet completed and driver went ahead and
tried to do any other register operation like GTXFIFOSIZ read will give
out 0x00 value. This will lead to a wrong calculation of setting
max_packetlimit for in/out eps and the gadget_init will fail,
leading to an enumeration failure.

 Following is the ilustration:
	<DP disconnect>
	dwc3_otg_start_host(0)
	dwc3_msm_host_ss_powerup(bail out)
	dwc3_msm_clear_dp_only_params
	dwc3_msm_set_max_speed(UNKNOWN)

	speed = max_hw_supported_speed
						usb_disconnect
						usb_remove_hcd
						dwc3_msm_host_notifier
						dwc3_msm_host_ss_powerup
						set_suspend(0)
	start_peripheral(1)
	drd_set_role(DEVICE)
	core_soft_reset
	gadget_init
	REGISTER_READ(GTXFIFOSIZ)
	<<Failure>>
Fix this by blocking the execution of ss_powerup from host_notifier with
in_host_mode check. Driver will rely on msm_resume to call set_suspend(0).

Change-Id: I733f16cb1fd398bbeef3057f0578c00007841551
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2023-03-25 20:06:26 -07:00
Linyu Yuan
4cbc8257f9 usb: dwc3: msm: remove one WARN_ON() in dwc3_msm_set_role()
In 4 lanes display mode, release lane may called before role setting,
it will trigger the WARN_ON(), remove it since it can happen in real
use case.

Also add ipc log entry for debug purpose.

Change-Id: Ie2d910af9e4634526f6c582eddae1f7a7feae0a2
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
2023-03-25 20:06:10 -07:00
Abdul Salam
136c2e6785 dt-bindings: Add DT bindings specific to gen3auto
dt-bindings from drivers specific to gen3auto like clocks,
interconnect, usb, etc.,.

Snapshots taken from msm-5.15 branch at commit
468ae31a ("dt-bindings: clock: Add dt-bindings for SC8180X").

Change-Id: Iaa3c47fb514f825d3f5875ef818c5a870ba827a0
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
2023-03-25 18:34:57 +05:30
qctecmdr
aef001ed58 Merge "sched/walt/halt: ensure per-cpu-kthreads affinity is restored" 2023-03-25 02:00:47 -07:00
qctecmdr
30051d0a83 Merge "drivers: thermal: Add snapshot of thermal minidump driver" 2023-03-25 02:00:47 -07:00
qctecmdr
9f8e2a7448 Merge "firmware: qcom_scm: Unlock global mutex for certain allowed SMC calls" 2023-03-25 02:00:46 -07:00
qctecmdr
27fbe91d43 Merge "dmaengine: msm_gpi: add channel id check" 2023-03-25 02:00:45 -07:00
qctecmdr
4505dce6bc Merge "arm64: defconfig: Enable stm heartbeat on pineapple" 2023-03-25 02:00:45 -07:00
Subhadra Jagadeesan
e426b9e895 socinfo: Add ADP into hw_platform list
ADP is added into the hw_platform list.

Change-Id: I472934aa0bae90c0a2dbe625edc0e5550570e96b
Signed-off-by: Subhadra Jagadeesan <quic_c_subhja@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
2023-03-25 12:55:53 +05:30
Stephen Dickey
8e4ba5d7eb sched/walt: eliminate the nr_assist_thresh
nr_assist_thresh is used by clusters that are assisting other
clusters. Typically this was reserved for gold+, as it's job was to
assist golds. If there were any need for assisting, the cpu would
unhalt, and be available for tasks to run.

With the change to core control to specify a mask for each cluster
that is used to look at which cpus to assist, nr_assist_thresh is
redundant. If the cpus to assist have sufficient tasks, that can
be immediately included in the number of needed cpus.

Update apply_task_need and core control to eliminate the threshold
and always adjust based upon the nr_assist calculated value.

Change-Id: I87f91b67705557c221e2e53fe924e18704ad8be8
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
2023-03-24 21:39:06 -07:00
qctecmdr
4dafbca929 Merge "drivers: qcom: sys_pm_vx: Allow to trigger dump when monitoring system PM" 2023-03-24 21:06:48 -07:00
qctecmdr
0b37e593da Merge "pci: msm: Print RXVEC_STATUS after the RDDM image download" 2023-03-24 21:06:48 -07:00
qctecmdr
08711a591e Merge "drivers: soc: Add support for sdmshrike in llcc driver" 2023-03-24 21:06:48 -07:00
qctecmdr
b0b98c83eb Merge "usb: gadget: qdss: fix clear_eps() operation in hw mode" 2023-03-24 21:06:47 -07:00
qctecmdr
d85fc14771 Merge "defconfig: pineapple-gki: Enable the MSM sysstats driver" 2023-03-24 21:06:47 -07:00
qctecmdr
8e2e57d07a Merge "drivers: firmware: arm_scmi: Add qcom vendor protocol" 2023-03-24 21:06:47 -07:00
qctecmdr
223270d519 Merge "soc: qcom: eud: Allow modification to the EUD UTMI switch delay" 2023-03-24 15:42:44 -07:00
qctecmdr
09b72fa156 Merge "soc: qcom: cpucp_log: Clear buffer lists during probe failures" 2023-03-24 15:42:43 -07:00
qctecmdr
d1a437dc80 Merge "drivers: firmware: Add qcom scm hab driver" 2023-03-24 15:42:43 -07:00
qctecmdr
7442041025 Merge "usb: dwc3: msm: remove core irq handler" 2023-03-24 15:42:43 -07:00