Commit Graph

1164163 Commits

Author SHA1 Message Date
qctecmdr
91f57a2d42 Merge "remoteproc: pas: Enable Auto boot for Niobe SoC" 2024-04-25 05:49:14 -07:00
qctecmdr
28b9a20526 Merge "soc: qcom: hab: change device class name from habdev to hab" 2024-04-24 09:43:17 -07:00
qctecmdr
0be26f8c6a Merge "interconnect: qcom: Enable disp_rsc for Volcano" 2024-04-24 02:55:55 -07:00
qctecmdr
aa10819262 Merge "defconfig: Enable RUN_QUEUE_STATS for sdmsteppeauto" 2024-04-24 02:55:54 -07:00
qctecmdr
32493d921b Merge "scm-firmware: Dual vchans for atomic/non-atomic smc calls" 2024-04-24 02:55:54 -07:00
qctecmdr
85e4b015d4 Merge "q2spi-msm-geni: Relax response buffer timeout" 2024-04-24 02:55:53 -07:00
qctecmdr
f6a7b61c5f Merge "clk: qcom: debugcc-niobe: Add gx clocks measure_only support" 2024-04-24 02:55:53 -07:00
Yuhang Ji
b79a0f0d6c scm-firmware: Dual vchans for atomic/non-atomic smc calls
Currently atomic and non-atomic smc calls are reusing same HAB channel.
In concurrent scenarios, when these two types of calls are recv at same
time, the message passing will go out of order.

This commit is to separate the channels, by establishing two virtual
channels on a same physical channel.

Change-Id: I776d6407018a06055a2112b07605de78d4953b62
Signed-off-by: Yuhang Ji <quic_yuhaji@quicinc.com>
2024-04-22 21:46:07 -07:00
Zelong Ren
8c2be5bc61 soc: qcom: hab: change device class name from habdev to hab
The current udev rule of LV HAB is
KERNEL=="hab",SUBSYSTEM=="hab", MODE="0666"

The subsystem name of the event device is the class name
when creating the char device. In order to be compatible with
the default hab udev rules, we need to keep the class name of
char devices unchanged.

The current ueventd config of LA HAB is
/dev/hab                  0666   system     system
Therefore this change has no impact on LA.

Change-Id: Ic9df04b792f97e36454ef4a2ddfef6dfd66ad3c4
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
2024-04-23 11:53:06 +08:00
Visweswara Tanuku
0934f753dc q2spi-msm-geni: Relax response buffer timeout
Its observed that in stress scenarios client is taking
longer time to read response data.
Due to this driver response buffers are getting exhausted
resulting in short of memory and further functional failures.

To mitigate this scenario, increased the timeout from
1.5secs to 15secs to let client consume the rx buffers.

Change-Id: I30c91515eae86753a2c2e9045674a1fe7464074c
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-04-22 05:20:48 -07:00
qctecmdr
5b40ea9ae2 Merge "build: config: Add build support for Niobe TUIVM" 2024-04-22 04:54:46 -07:00
Prajwal V
4ea9fa357a defconfig: Enable RUN_QUEUE_STATS for sdmsteppeauto
Enable RUN_QUEUE_STATS to support irq balancer in userspace.

Change-Id: Ifd12e7c76a5adf1d8446e51c6e639fcf37d81388
Signed-off-by: Prajwal V <quic_prajv@quicinc.com>
2024-04-22 16:10:49 +05:30
Raviteja Laggyshetty
70e393196d interconnect: qcom: Enable disp_rsc for Volcano
Enable display_rsc so that bandwidth requests from display
client will go through disp_rsc.

Change-Id: Icb6176f699bf5f4cb031e0667e2ff11d40c5952b
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-04-22 11:08:38 +05:30
qctecmdr
87d8a7f1f9 Merge "usb: dwc3: msm: Execute PM resume from resume work to get to RPM_ACTIVE" 2024-04-19 12:56:55 -07:00
qctecmdr
c2157d8091 Merge "modules.list.msm.anorak: Add build configs for Anorak" 2024-04-19 10:38:58 -07:00
Kalpak Kawadkar
20a9f5ff7d clk: qcom: debugcc-niobe: Add gx clocks measure_only support
Add measure_only support for gx clocks, so that consumers can
read their frequencies. Also, change gpu_cc_demet_clk as measure_only
support.

Change-Id: Ibdaa3a92cb1d0ee0acaccfdf10a3e2ebf3c8999e
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-04-19 15:14:45 +05:30
qctecmdr
66cd3549a3 Merge "clk: qcom: Update gcc_qupv3_wrap0_s4_clk_src frequency table" 2024-04-19 02:27:15 -07:00
qctecmdr
848fea0129 Merge "serial: msm_geni_serial: Capture logs when CTS line signal is ignored" 2024-04-19 02:27:14 -07:00
qctecmdr
b0bcaf3e30 Merge "defconfig: niobe-gki: Enable debugging context in minidump" 2024-04-19 02:27:14 -07:00
Udipto Goswami
c6a6f79bc9 usb: dwc3: msm: Execute PM resume from resume work to get to RPM_ACTIVE
Consider the case of cable disconnect and the dwc3_msm_resume
sequence is running, if between this a spurious irq(dp/dm/pwr_irq) is
received then the irq handler will set resume_pending flag to true
since the in_lpm check will be 0 until that.
Now the core_complete is received, it will queue the resume_work
and check for resume_pending then calls dwc3_msm_resume. So once
sm_work goes into idle it will be stuck waiting for lpm.

Fix this by replacing the direct dwc3_msm_resume with pm_runtime_resume
which will ensure do rpm_resume before calling the resume function.

Change-Id: I05b4b2449d9b1bc32a177adc004e9c098ad58134
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2024-04-19 02:10:19 -07:00
qctecmdr
3a90f73138 Merge "ufs: ufs-qcom: Defer ufs probe if phy drvdata is not initialized" 2024-04-18 10:19:13 -07:00
qctecmdr
292edd7e51 Merge "q2spi-msm-geni: Add changes to support doorbell CRs processing in order" 2024-04-18 10:19:12 -07:00
qctecmdr
d4d91c7c3e Merge "clk: qcom: Add emac1 clocks for LeMans" 2024-04-18 06:13:12 -07:00
Anaadi Mishra
82f031ede6 clk: qcom: Update gcc_qupv3_wrap0_s4_clk_src frequency table
Update the frequency table adding 51.2 MHz frequency to
qupv3_wrap0_s4_clk_src clock as per latest SW plan on VOLCANO.

Change-Id: I920285c60526799e2a146b4e71592b199662c7a2
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
2024-04-18 04:59:02 -07:00
Prasanna S
2de7fb9105 serial: msm_geni_serial: Capture logs when CTS line signal is ignored
Presently, when CRTSCTS flag is being unset tx_trans_cfg is set to
0x2 and value is printed. Due to this, MSM CTS line signal is being
ignored but from the logs we are not getting enough information
to know this.

Capture more information via logs whenever MSM CTS line signal is
being ignored.

Change-Id: Iec674984ff7906bf8ee02ffa834d84b72b14e6ab
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2024-04-18 17:20:02 +05:30
Meena Pasumarthi
8ae4bc9691 defconfig: niobe-gki: Enable debugging context in minidump
Add different minidump debug context for niobe.

Change-Id: I61d6b484b84a71b343ba15952b8158e46fe647e5
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-04-18 15:26:18 +05:30
Venkata Talluri
e3b20020c0 modules.list.msm.anorak: Add build configs for Anorak
Add build configs for Anorak.

Change-Id: I236932bb730049090d08c93b7a04ec985a7082fe
Signed-off-by: Venkata Talluri <quic_vtalluri@quicinc.com>
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-04-18 12:59:57 +05:30
Venkata Talluri
a3b8bf6422 arm64: defconfig: Add initial configs for Anorak target
Add initial configs to generate the gki and consolidated variants of the
defconfigs meant to support the Anorak target.

Change-Id: Iec2eef0205cc290f3acf65fde773afd32ff68de5
Signed-off-by: Venkata Talluri <quic_vtalluri@quicinc.com>
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-04-18 12:59:29 +05:30
Asit Shah
49685ed111 build: Add bazel support for anorak
Add bazel build support for anorak platform.

Change-Id: Ic8075f546827b8f808547fde7e78ad0537e0eb70
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-04-18 12:58:59 +05:30
qctecmdr
9d33f4a6c1 Merge "soc: qcom: hab: add one device node for each HAB MMID group" 2024-04-17 22:57:42 -07:00
qctecmdr
8dcf1473c6 Merge "net: msm: Added config for EMAC_MDIO_FE" 2024-04-17 22:57:41 -07:00
Gaurav Nagar
9c6c5cbd7f clk: qcom: Add emac1 clocks for LeMans
EMAC1 clocks needed for passthrough of EMAC1 to LA/LV GVM.

Change-Id: I70bdb7f8f5c1c0aaf5c84d0a01a775bc35479775
Signed-off-by: Gaurav Nagar <quic_gauk@quicinc.com>
2024-04-18 11:12:52 +05:30
qctecmdr
772f573cd9 Merge "interconnect: qcom: Enable qos programming for VOLCANO" 2024-04-17 13:55:23 -07:00
qctecmdr
7e8d30efbd Merge "defconfig: Add configs for trustedvm on Niobe" 2024-04-17 13:55:19 -07:00
Sarosh Hasan
cfd693b274 net: msm: Added config for EMAC_MDIO_FE
Added config support for compilation of
EMAC_MDIO_FE driver.

Change-Id: If0503c74fab0748e5b9a9d666ad8a9d6cf713508
Signed-off-by: Sarosh Hasan <quic_sarohasa@quicinc.com>
2024-04-17 16:33:05 +05:30
Hrishabh Rajput
2db66c8b2c build: config: Add build support for Niobe TUIVM
Add build configs and bazel files to support TUIVM on Niobe.

Change-Id: I1e81f0b9433defa63b05f286f99c789414aab856
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-04-17 12:08:29 +05:30
Visweswara Tanuku
407038567d q2spi-msm-geni: Add changes to support doorbell CRs processing in order
This change adds logic to wait for previous SMA read/write opetaion to
complete before processing the next SMA read/write operation.
This will allow the host to process the doorbell CRs in order.

Also added timeout for q2spi_response wait for rx data for 1sec,
to avoid get version stuck issues seen from client side.

Change-Id: I3632a9468674464076ffd97ba97d9df1e8a47a8b
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-04-17 12:05:14 +05:30
Visweswara Tanuku
19d5ec47ff q2spi-msm-geni: Refactor CR headers and error bytes
This change does refactor of code to move CR headers and
error bytes to array in qup_q2spi_cr_header_event structure.

Change-Id: I9155f08c383f4f94eb50996581c1fc79a4e71520
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-04-17 12:05:09 +05:30
qctecmdr
407aabfdaa Merge "defconfig: Enable panel event notifier for niobe" 2024-04-16 18:04:54 -07:00
qctecmdr
eac58f7afb Merge "sched: walt: handle idle target cluster" 2024-04-16 12:40:58 -07:00
qctecmdr
08c23dd27d Merge "firmware: qcom_scm: handle echo b > /proc/sysrq-trigger" 2024-04-16 08:57:22 -07:00
qctecmdr
a09638ab2d Merge "msm: pcie: Fix the issue with icc bw voting" 2024-04-16 03:25:42 -07:00
qctecmdr
13fd2f5e8a Merge "soc: qcom: pmic-pon-log: do not panic for FAULT_REASON2=FAULT_N event" 2024-04-16 03:25:41 -07:00
qctecmdr
e2f917c73f Merge "firmware: qcom_scm: Add new scm to update Camera QoS" 2024-04-16 03:25:41 -07:00
qctecmdr
b8b4f3f17e Merge "pinctrl: qcom: Restore gpios for pincontrols not defining tiles" 2024-04-16 03:25:40 -07:00
Jishnu Prakash
37a0fd3b17 defconfig: Enable panel event notifier for niobe
Enable panel event notifier for niobe.

Change-Id: I9d8b7f514488b2737343aa8cf020d789ac3fa245
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-04-16 15:40:29 +05:30
Zelong Ren
9aee6ca8ff soc: qcom: hab: add one device node for each HAB MMID group
To support split /dev/hab requirement, we need to add
hab group nodes for different mmid groups.

To provide backward compatibility, we will still keep the
default /dev/hab node.

Change-Id: I8d55f2fcfac009d9dcd89dbf755e4d6afc8ab999
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
2024-04-16 14:57:52 +08:00
qctecmdr
fbc3b007e0 Merge "usb: phy: snps-eusb2: Making ref_clk as a optional clk" 2024-04-15 10:01:34 -07:00
qctecmdr
f984fc3cf1 Merge "pci: msm: using i2c client "of_node" to read pcieX_i2c_ctrl properties" 2024-04-15 10:01:30 -07:00
qctecmdr
e6141e579c Merge "wcd939x-i2c: check i2c suspend and defer wcd register writes" 2024-04-15 04:44:02 -07:00