Commit Graph

1169344 Commits

Author SHA1 Message Date
LuK1337
ef6745fc13 Android: Add empty Android.mk file
* This prevents inclusion of drivers/staging/greybus/tools/Android.mk
  which will conflict in case we have more than 1 kernel tree in AOSP
  source dir.

Change-Id: I335bca7b6d6463b1ffc673ab5367603347516e13
2024-10-05 13:25:26 +02:00
Linux Build Service Account
7cf8e36f33 Merge 328d73e6b8 on remote branch
Change-Id: Ifb5ec2e7d8b7b8b3b11a6aba3565d1c0faa7e4b1
2024-09-11 03:24:30 -07:00
QCTECMDR Service
328d73e6b8 Merge "net: stmmac: Fix LPM issue on gen3" 2024-09-04 19:04:22 -07:00
QCTECMDR Service
9a254c3f9e Merge "soc: qcom: hab: Replace imp whse with rbtree based" 2024-09-04 19:04:21 -07:00
QCTECMDR Service
9ec41dc89f Merge "defconfig: sdmsteppeauto: Enable gpi config" 2024-09-04 19:04:21 -07:00
QCTECMDR Service
17124d3595 Merge "q2spi-msm-geni: Ensure Channel errors handled sequentially after START sequence fail" 2024-09-04 08:58:22 -07:00
Kishor Krishna Bhat
9e0b7733ce defconfig: sdmsteppeauto: Enable gpi config
Enable gpi config to allow the uart to access gpi.

Change-Id: I37bb00f25f3f5caed974b06828a118739a857e29
Signed-off-by: Kishor Krishna Bhat <quic_kishkris@quicinc.com>
2024-09-04 12:48:51 +05:30
QCTECMDR Service
e8fcda613b Merge "net: qrtr: Add condition to check data length while logging" 2024-09-03 22:40:04 -07:00
Chandana Kishori Chiluveru
4219aa4a08 q2spi-msm-geni: Ensure Channel errors handled sequentially after START sequence fail
When slave is in sleep q2spi host transfer will fail with GSI
start sequence failure. In this scenario two events reported from
GSI channel error and TX dma completion event 0x22. Since GSI
reports these events separately if start sequence fail is not
processed before channel error gpi_q2spi_terminate_all is called twice
and leading to GSI failures.

Ensure Channel errors in GSI recover path are handled sequentially
only after START sequence fail is processed.

Change-Id: Ie85528b6354241153330c403ba026c5006d5c78e
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-09-03 05:48:04 -07:00
Suraj Jaiswal
d2744b2a67 net: stmmac: Fix LPM issue on gen3
Fix LPM issue on gen3.

Change-Id: Ib7f4953e2cd25db3ace8a5912490ad528b6a0059
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-09-03 15:09:54 +05:30
QCTECMDR Service
7f32770218 Merge "kernel: msm: Adding PPS2/PPS3" 2024-09-02 23:10:38 -07:00
QCTECMDR Service
10192a0685 Merge "usb: dwc3: dwc3-msm-core: configured dp/dm irqs" 2024-09-02 23:10:38 -07:00
QCTECMDR Service
488e19cdcf Merge "usb: dwc3: dwc3-msm-core: Switch to UTMI clk during host teardown" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
ec0db65b6e Merge "net: stmmac: Re initialize Rx buffers" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
e3bfd6c700 Merge "usb: gadget: f_gsi: bail out if opts is null" 2024-09-02 23:10:37 -07:00
QCTECMDR Service
472400d2a2 Merge "drivers: dcvs: bwmon: synchronize_irq before hibernation" 2024-09-02 23:10:36 -07:00
QCTECMDR Service
c69541a532 Merge "defconfig: Add support for usb related configs in Neo" 2024-09-02 23:10:36 -07:00
QCTECMDR Service
f5d64bca6c Merge "q2spi-msm-geni: Perform GSI terminate sequence for sleep packet" 2024-09-02 23:10:36 -07:00
Pranav Mahesh Phansalkar
cc7ea4f701 net: qrtr: Add condition to check data length while logging
For non QMI packets having data length less than eight bytes,
skb_copy_bits fails to copy packet data to log buffer.

So, Add condition to check data length. If the data length is less
than eight bytes, send actual data length to skb_copy_bits.

Change-Id: I2181016f224952d214a8f39fb06b47ace01dc51a
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-08-30 14:50:23 +05:30
Shubham Chouhan
573d0730c5 defconfig: Add support for usb related configs in Neo
Add support for usb related defconfigs on neo.

Change-Id: I3b6270e4f2f543af77af2d6357aa7011074023b3
Signed-off-by: Shubham Chouhan <quic_schouhan@quicinc.com>
2024-08-30 00:39:09 -07:00
Chintan Kothari
a324ec868e ARM: config: msm: Enable config for buses drivers in NEO
Enabling config for HS_UART,i2c,spi,gpi drivers for NEO soc.

Change-Id: Id177635b376d3078999e296b792389eadd5a232d
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-08-30 00:38:43 -07:00
Prashanth K
2e6653987c usb: gadget: f_gsi: bail out if opts is null
Currently, functions gsi_inst_clean & gsi_free_inst utilises
gsi_opts without any check, however there is a possibility
that the opts structure could become NULL. In such case, due
to lack of if checks can result in NULL pointer dereference.

Change-Id: I548690e2eee377b5292f258972ae7e38417f3085
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-08-29 22:50:58 -07:00
Wesley Cheng
85b2f4820c usb: dwc3: dwc3-msm-core: Switch to UTMI clk during host teardown
After moving the flush_work() call after the usb_phy_notify_disconnect()
to address USB type C compliance issues (LFPS generated during host
teardown):

commit fb3c680116db ("usb: dwc3: dwc3-msm-core: Notify PHY disconnect
before doing flush_work")

During USB device PIPO, the notify PHY disconnect call to the QMP PHY
will cause the PHY to be powered down.  As part of the stop host mode
routine, the DWC3 core has to be placed back into device/peripheral
mode.  Some parts of the device mode initialization sequence, such as
the core soft reset, requires that the PIPE clk (or controller source
clock) be active, otherwise the core soft reset will time out.

To mitigate the side effect, temporarily switch to the UTMI as the
controller clock source, so that the PIPE clock can be powered off
without any consequences.  Once the move to DWC3 gadget mode is
complete, re-enable the PIPE clock as the controller source. (after
flush_work() is complete).

Change-Id: I59de803d737581c0037348498b8447f872adb62f
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2024-08-29 22:39:12 -07:00
QCTECMDR Service
d2fad072d1 Merge "clk: qcom: gcc-mdm9607: Fix cmd_rcgr offset for blsp1_uart6_apps_clk_src" 2024-08-29 00:47:47 -07:00
QCTECMDR Service
5b5c055ca1 Merge "defconfig: autogvm: Enable Aquantia PHY" 2024-08-29 00:47:47 -07:00
Srinath Pandey
b3bbfe7c43 net: stmmac: Re initialize Rx buffers
reinit rx buffers in resume.
Add support for driver remove\shutdown operation.

Change-Id: I3df26647627817a574990c223382d8e5d4da4c03
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-28 23:20:09 -07:00
Uttkarsh Aggarwal
37b027fb58 usb: dwc3: dwc3-msm-core: configured dp/dm irqs
- Ensure proper configuration of USB wakeup interrupts for
  DP_HS_PHY_IRQ and DM_HS_PHY_IRQ.
- Apply level high trigger when in host mode without a connected
  device.
- Use edge rising trigger otherwise.

Change-Id: I5962baa53c5170c61bca7be389d38bf63894caea
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-08-28 21:43:02 -07:00
QCTECMDR Service
840e64a463 Merge "remoteproc: qcom: pas: Fix rproc_config_check" 2024-08-28 13:18:17 -07:00
Srinath Pandey
b70cdcf3aa defconfig: autogvm: Enable Aquantia PHY
Enable CONFIG_AQUANTIA_PHY to support Aquantia phy in LA Guest.

Change-Id: I0823019f287974187b917193215bc0f389527920
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-28 10:36:13 -07:00
QCTECMDR Service
02d9ccf25c Merge "arm64: defconfig: Enable socinfo and smem drivers for Seraph SoC" 2024-08-28 10:00:20 -07:00
QCTECMDR Service
9da77be8b0 Merge "soc: qcom: hab: Add 3 new mmids in virtio-hab" 2024-08-28 06:34:20 -07:00
QCTECMDR Service
10a316335c Merge "net: ethernet: stmmac: Add 2.5G Phy Support" 2024-08-28 06:34:20 -07:00
QCTECMDR Service
c0db2be621 Merge "serial: msm_geni_serial: Prevent geni register access while suspend is in progress" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
f90bdc4aa7 Merge "defconfig: Enable interconnect driver for NEO" 2024-08-28 03:07:30 -07:00
QCTECMDR Service
c1365d16ff Merge "drivers: emac_mdio_fe: Add module dependency" 2024-08-28 03:07:29 -07:00
Chandana Kishori Chiluveru
2c81d56368 q2spi-msm-geni: Perform GSI terminate sequence for sleep packet
Currently GSI terminate sequence not executed when sleep packet
fails with start sequence timeout and leading to GSI failures.

Perform q2spi gsi terminate sequence for sleep packet failures.

Change-Id: Ic9135e5eed9e8dbb616d796bc13ba5dfb0be9e66
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-08-28 00:30:28 -07:00
Visweswara Tanuku
33bf11a9b4 q2spi-msm-geni: Add 2msec delay for slave to complete sleep state
Add 2msec delay for slave to complete sleep state after it received
a sleep packet from host.

If slave is going to sleep, any data packet from host to slave while
slave's sleep process is ongoing will result in unwanted failures.
Slave expects minimum 1msec to complete its sleep process. Hence
added delay of 2msecs to let slave complete its sleep process.

Change-Id: I9d444ce420580f3b7c8eb582fdaa28e3b0a10bda
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-08-28 00:28:09 -07:00
Visweswara Tanuku
e4b373f66a q2spi-msm-geni: Prevent double free of q2spi_req data_buff pointer
When allocation of tid fails, since q2spi_add_req_to_tx_queue
accepts q2spi_req as value its leading to double free of
data_buff in q2spi_transfer.

Pass q2spi_req by reference to q2spi_add_req_to_tx_queue to
avoid double free of pointer.

Change-Id: Ic2d984ce4a54da33016dad805ec74b9f4bc53f37
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2024-08-28 00:24:58 -07:00
Anil Veshala Veshala
2875185c00 q2spi-msm-geni: skip terminate sequence during start sequence failed
When SOC in sleep state, q2spi first transfer will be failed with
start sequence timed out status. As part of timeout host performs
terminate sequence, once terminate sequence is done, GSI-FW can
serve the doorbell any point of time, which is leading to race
conditions. To solve this skipped terminate sequence during
start sequence failure case.

Also modified SW sequence as per recommendation by HPG.

Change-Id: I8ccbb93d45b2fe6da67bc36086691666e34cb0db
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-08-28 00:22:17 -07:00
Chandana Kishori Chiluveru
811947e6b5 q2spi-msm-geni: connect GSI doorbell after start channel operation
Synchronous channel command 48 needed to connect doorbell signal
after performing start channel operation to serve the doorbell
signal from gsi. Also ensure doorbell buffers are mapped after
doorbell connect cmd. Without this GSI FW corruptions seen
during q2spi sleep wakeup sequence.

Change-Id: Idf7a420e29eac3767d66492872d54c20bb657371
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2024-08-28 00:18:04 -07:00
Urmila Pundalikrao Lakade
f1e0fdbcd5 clk: qcom: gcc-mdm9607: Fix cmd_rcgr offset for blsp1_uart6_apps_clk_src
Fix cmd_rcgr offset for blsp1_uart6_apps_clk_src on mdm9607 platform.

Change-Id: Iddba14caa2f59cba6d2723cbed98410930f3a8c2
Signed-off-by: Urmila Pundalikrao Lakade <quic_upundali@quicinc.com>
2024-08-27 23:13:04 -07:00
Srinath Pandey
fef9e81ee1 net: ethernet: stmmac: Add 2.5G Phy Support
Add 2.5G support for SA8775 and enable CL45 read write
through indirect read/write APIs.

Change-Id: Ia71501f27429ff775a1b39a6754922047d30a44f
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
2024-08-27 13:02:44 -07:00
QCTECMDR Service
76c1fe285b Merge "thermal: qcom: Add support to update tsens trip based on nvmem data" 2024-08-27 11:39:45 -07:00
Kamati Srinivas
cb2f2e127f remoteproc: qcom: pas: Fix rproc_config_check
Introduce delay only if read value is mis-matched with
requested state.

Change-Id: I5c35706bcfe00151b09e90f20b8e14e9a8842643
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-08-27 16:27:54 +05:30
Deyan Wang
269307d1c1 soc: qcom: hab: Add 3 new mmids in virtio-hab
Add 3 new mmids for VNW, EXT and GPCE.

Change-Id: I79801c87b22313cfbce0c83887a946e04e7e7915
Signed-off-by: Deyan Wang <quic_deyawang@quicinc.com>
2024-08-27 03:56:55 -07:00
QCTECMDR Service
1b41b89e9c Merge "q2spi-msm-geni: Set sma write pending during multi CRs" 2024-08-27 00:38:54 -07:00
QCTECMDR Service
5767bda0a5 Merge "rpmsg: native: Increase iterations count in glink ISR" 2024-08-27 00:38:53 -07:00
QCTECMDR Service
1b7462b00f Merge "arm64: defconfig: Add pwm support for NIOBE" 2024-08-27 00:38:53 -07:00
Shivnandan Kumar
23a1aabf8f drivers: dcvs: bwmon: synchronize_irq before hibernation
During the hibernation preparation phase, the bwmon driver disables
the bwmon hardware, including its IRQ.  However, there can be
instances where a bwmon IRQ remains pending at the GIC level even
after the hardware and IRQ are disabled. Upon hibernation exit,
the GIC resumes first and restores all pending IRQs, including
bwmon if it was pending before hibernation entry. This can lead to
an IRQ storm. To fix this, call synchronize_irq before hibernation
entry to ensure that there are no pending bwmon IRQs before
hibernation entry.

Change-Id: Ib64510cb93296f37ab5fecd8944ce33a3c95e17b
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2024-08-27 10:38:03 +05:30
Manaf Meethalavalappu Pallikunhi
3f7ba8359f thermal: qcom: Add support to update tsens trip based on nvmem data
Add support to detect higher thermal profile parts and update thermal
zone trips dynamically based on nvmem cell data for tsens.

Change-Id: I792c4f2736d10d68b45cc9b64c0ec08d185cf007
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-08-26 22:11:30 +05:30