Commit Graph

1156996 Commits

Author SHA1 Message Date
Wasim Nazir
d44a0d2727 modules.list: Add gunyah vm-loader for cpusysvm in PITTI
Add vm-loader in first-stage for pitti.

Change-Id: Ie6e562009139a20408cd960a12c25a24c052aaef
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2023-12-04 15:53:48 +05:30
Wasim Nazir
247a4eaa9a defconfig: Enable gunyah vm-loader for cpusysvm in Pitti
Enable secure-vm-loader for loading/start/stop cpusys-vm.

Change-Id: I6abdb941e6b3469f3feee0dbaeee8a0f92a26570
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2023-12-04 15:53:09 +05:30
qctecmdr
48729dbd21 Merge "defconfig: Enable USB Driver configurations for Pitti" 2023-12-03 20:34:03 -08:00
qctecmdr
78b7ff4625 Merge "serial: msm_geni_serial: Keep IO driving to Pads for UART" 2023-12-03 18:50:41 -08:00
qctecmdr
01d550bb2a Merge "i3c-master-msm-geni: Initialize local variables" 2023-12-03 16:46:28 -08:00
qctecmdr
82ecdffa06 Merge "q2spi-msm-geni: Fix q2spi_transfer request race with independent doorbell" 2023-12-01 17:46:36 -08:00
qctecmdr
cc235deb8d Merge "modules.list.msm.pitti: Add qrtr module" 2023-12-01 10:21:05 -08:00
qctecmdr
48d8a56f9e Merge "defconfig: niobe: Enable IOMMU related configs" 2023-12-01 08:33:15 -08:00
qctecmdr
02d89ece11 Merge "bindings: clock: tcsrcc: Update PCIE and USB clkref IDs" 2023-12-01 07:00:23 -08:00
Chandana Kishori Chiluveru
6d98ee53ed q2spi-msm-geni: Fix q2spi_transfer request race with independent doorbell
In issue case, independent doorbell request from Ganges received while
q2spi_transfer is in progress and added to same tx_queue_list.
This is further leading to q2spi_packet pointer corruptions and
causing NULL pointer access faults and q2spi transfer failures.

Fix this by adding doorbell_pending flag and marking as soon as
independent doorbell is received.

When doorbell_pending is set driver returns failure code for
q2spi transfer and retry the same transfer again with some delay.

Also mark packet to DELETED state after packet is deleted.

Use cr_queue_lock to synchronize addition and deletion
of CR packet from cr_queue_list.

Change-Id: Ied11326fb3e67e00e29c861e96150f78ba88f218
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-12-01 06:54:03 -08:00
qctecmdr
879bf603bb Merge "dt-binding: qcom: Add client IDs for SAIL" 2023-12-01 05:19:08 -08:00
Visweswara Tanuku
d927e5c452 i3c-master-msm-geni: Initialize local variables
Initialize local variables 'ret' and 'reg' in
geni_i3c_enable_regulator.

Change-Id: I6e11c02b72e230aead3770702c821592b39bb452
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2023-12-01 05:08:27 -08:00
Pranav Mahesh Phansalkar
6c814bee53 modules.list.msm.pitti: Add qrtr module
Add qrtr module as part of first stage loading.

Change-Id: I3be8a09b4801bc37623035bad2946aafbbc87a10
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2023-12-01 16:15:27 +05:30
qctecmdr
f4c467962a Merge "power: supply: qbg: Add QBG driver header to fix compilation" 2023-12-01 01:18:32 -08:00
Pratyush Brahma
5b4372a93b defconfig: niobe: Enable IOMMU related configs
Enable the fastmap, ECATS debug, TLB sync timeout debug and
iommu logger features through related configs for niobe.

Change-Id: Ie132b19bfb7e66617e9331c8e93095235019f66c
Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>
2023-12-01 12:43:45 +05:30
Kalpak Kawadkar
9bae41cbd7 bindings: clock: tcsrcc: Update PCIE and USB clkref IDs
Update PCIE and USB clkref IDs as per latest HW recommendation
on NIOBE platform.

Change-Id: Ib564a0ef3f49a04c6ef8cf564c661ec512fb4afe
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-12-01 11:41:30 +05:30
qctecmdr
3070dbf3be Merge "sched/walt: Add fallback plan in WALT_BUGs" 2023-11-30 17:11:16 -08:00
Sidharth Suresh
f62db22610 dt-binding: qcom: Add client IDs for SAIL
Add client IDs for SAIL-APSS communication.

Change-Id: I1976d8606b3f96b8681b5d255d70f2845dfe5711
Signed-off-by: Sidharth Suresh <quic_sidhsure@quicinc.com>
2023-11-30 16:47:36 -08:00
qctecmdr
bb197460ee Merge "modules.list.msm.pitti: Add dispcc to first stage on PITTI" 2023-11-30 09:59:33 -08:00
qctecmdr
278fdabf3e Merge "ufs: ufs-qcom: Add check to prevent null pointer exception" 2023-11-29 11:30:56 -08:00
qctecmdr
8bc7a90cab Merge "arm64: defconfig: Enable DISPCC clock driver for PITTI" 2023-11-29 05:59:21 -08:00
qctecmdr
68adcf1745 Merge "i2c: i2c-msm-geni: check for gi2c->cur null pointer" 2023-11-29 05:59:20 -08:00
qctecmdr
d18635d8da Merge "clk: qcom: dispcc-pitti: Add support for DISPCC on PITTI" 2023-11-29 04:03:30 -08:00
Udipto Goswami
842bf1ff0e defconfig: Enable USB Driver configurations for Pitti
This changes enables the configurations of the necessary
drivers required for USB functionality in Pitti.

Change-Id: Iea5300d4ba6c21cc29b6bf37a2853231ec657326
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
2023-11-29 16:20:24 +05:30
Somesh Dey
3b8851f974 i2c: i2c-msm-geni: check for gi2c->cur null pointer
In geni_i2c_irq_handle_watermark, due to spurious
interrupt gi2c->cur is becoming null resulting in crash.

Hence added a check to prevent this scenario due to
spurious interrupts.

Change-Id: I522b2dbdacb48208ecddd81115c7a9a7c40da021
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Somesh Dey <quic_somedey@quicinc.com>
2023-11-28 20:22:06 -08:00
qctecmdr
773c8efa66 Merge "Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (7b83c4d) into qcom-6.1" 2023-11-28 19:44:19 -08:00
qctecmdr
ca8055ebc2 Merge "sched/walt: catch/fix possible corruption of level local var" 2023-11-28 17:58:02 -08:00
Shaleen Agrawal
427da3d77b sched/walt: Add fallback plan in WALT_BUGs
In the event that userspace has disabled WALT_BUGs from panic, ensure
the system can continue to operate in a relatively sane manner by
resetting appropriate values. For example, if scheduler crashes as time
appears to have gone backwards, reset the clock time to appear to be
the latest recorded one.

Change-Id: I6e26c71e9185b2e7704be3a6a519b48301d4a2a3
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
2023-11-28 17:06:27 -08:00
Ashay Jaiswal
3da009b250 sched: walt: crash system if UTRA is called without runqueue lock
"update_task_ravg" is expected to be called with runqueue lock held by
the caller, induce a panic if UTRA is called for a runqueue without it
being locked.

Also, add an early runqueue lock check in "__walt_irq_work_locked" to
dump debug data and induce system crash.

Change-Id: Ie7bb29a7845004b3c64541b32295bb61bbe32aba
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
2023-11-28 17:03:45 -08:00
qctecmdr
ac60f9e6ac Merge "i2c: i2c-msm-geni: Keep IO driving to Pads for I2C" 2023-11-28 11:48:22 -08:00
qctecmdr
27c3ad353d Merge "spi: spi-msm-geni: Keep IO driving to Pads for SPI" 2023-11-28 11:48:22 -08:00
qctecmdr
7c122d3c4c Merge "i3c-master-msm-geni: Keep IO driving to Pads" 2023-11-28 11:48:20 -08:00
Kamal Wadhwa
b594c01ef5 power: supply: qbg: Add QBG driver header to fix compilation
Currently, QBG driver is not present on 6.1 kernel version.

However the QBG userspace daemon, which has to work with both
5.15 and 6.1 kernels versions, depends on the QBG UAPIs.

To avoid compilation issues with the QBG userspace daemon add
qbg.h and qbg-profile.h files to 6.1 kernel.

Snapshot taken from 5.15 commit 51193befa8c4
("Merge "ARM: dts: msm: Cleanup debug config from defconfig"").

Change-Id: I9c0bcdf8ebe94a697a420142134a86a5d487c84e
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
Signed-off-by: Umang Chheda <quic_uchheda@quicinc.com>
2023-11-28 09:51:48 -08:00
qctecmdr
185260d8f4 Merge "defconfig: Enable aoss transport for niobe" 2023-11-28 09:32:43 -08:00
qctecmdr
8616557033 Merge "defconfig: Enable ipc logging for niobe" 2023-11-28 09:32:42 -08:00
Visweswara Tanuku
d2d337bae5 serial: msm_geni_serial: Keep IO driving to Pads for UART
This change programs GENI output control register before
starting any UART transfer after previous suspend.

We need to overwrite again the programmed value, though
the value 0x7F is programmed during geni_se_init.
May be post suspend it's losing contents or something
is going wrong from QUP to Pad output path.

Change-Id: Ic9fd921f137f3d7c6bf4cc6b40d4d719caaa5d02
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-28 06:21:34 -08:00
Imran Shaik
68a7fae1d7 modules.list.msm.pitti: Add dispcc to first stage on PITTI
Add dispcc pitti module to modules list, to enable it to load
during first stage init.

Change-Id: I19b863b1983887ad6a946eadbdc5818993ebeeeb
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2023-11-28 04:05:43 -08:00
Imran Shaik
71ade9e01c arm64: defconfig: Enable DISPCC clock driver for PITTI
Add support to enable display clock controller driver for PITTI platform.

Change-Id: I6017b9f90cf5b14c4e85d8cd8b159eff7cad6f30
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2023-11-28 04:05:30 -08:00
Imran Shaik
16cd6e2c5c clk: qcom: dispcc-pitti: Add support for DISPCC on PITTI
Add support for display clock controller on PITTI, for display clients
to be able to request for the clocks.

Change-Id: I53c58a5d8f3fae328abafe012b0098adc1ac3fa8
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
2023-11-28 17:13:40 +05:30
Kishore Kumar Ravi
3a3982499d defconfig: Enable ipc logging for niobe
Enable ipc logging for niobe. This enabled ipc
logging for all the module.

Change-Id: I6a5e187afb91bf7c18ec81db1ef621906723080d
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-28 02:27:30 -08:00
Kishore Kumar Ravi
2f1ba6e337 defconfig: Enable aoss transport for niobe
Enable the aoss qmp transport for niobe.

Change-Id: I946cc7372f2c9a7d05a2b0fd2bb2bb7de3d45fe7
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-28 02:03:57 -08:00
Jyothi Kumar Seerapu
ec3e883841 i3c-master-msm-geni: Keep IO driving to Pads
This change programs GENI output control register before starting
any i3c transfer after previous suspend. Seems we just need to
overwrite again though the value 0x7F is programmed from the
bootup time. May be post suspend it's losing contents OR some
thing going wrong from QUP to Pad output path.

Change-Id: I72edb8f5938b07d306f0a1f4f7b88edc6917e244
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-11-28 12:07:26 +05:30
Mukesh Kumar Savaliya
32fce8b458 spi: spi-msm-geni: Keep IO driving to Pads for SPI
This change programs GENI output control register before starting
any SPI transfer after previous suspend. Seems we just need to
overwrite again though the value 0x7F is programmed from the
bootup time. May be post suspend it's losing contents OR some
thing going wrong from QUP to Pad output path.

Change-Id: Ifa8356ddf971eb2900710bac18d753a2bb942b9f
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
2023-11-28 12:01:09 +05:30
Jyothi Kumar Seerapu
3d22c66070 i2c: i2c-msm-geni: Keep IO driving to Pads for I2C
This change programs GENI output control register before starting
any i2c transfer after previous suspend. Seems we just need to
overwrite again though the value 0x7F is programmed from the
bootup time. May be post suspend it's losing contents OR some
thing going wrong from QUP to Pad output path.

Change-Id: I7bed11ec9df8aba92229324b1787cbb9e97b9bef
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-11-28 11:58:39 +05:30
Chandana Kishori Chiluveru
9822fa53b1 q2spi-msm-geni: Dump client error registers in case of transfer failures
This change is to dump Q2SPI client Q2SPI_SLAVE_ERROR and
Q2SPI_HDR_ERROR registers in case of Q2SPI transfer failures.

Change-Id: Ied292ca03bba53248350dda26e4dc2ef99c668df
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-11-27 21:04:49 -08:00
qctecmdr
653fe83552 Merge "defconfig: Enable smp2p and qmp for niobe" 2023-11-27 17:05:34 -08:00
qctecmdr
5624163964 Merge "include: linux: Fixing compilation issues for upgrade to kernel 6.x" 2023-11-27 10:18:47 -08:00
qctecmdr
020eabcdf4 Merge "i2c: i2c-msm-geni: Correct the I2C error codes for geni_i2c_xfer" 2023-11-27 08:37:04 -08:00
Kishore Kumar Ravi
641fb31702 defconfig: Enable smp2p and qmp for niobe
Enable the smp2p, qmp and msm_qmp drivers for niobe. These drivers enable
interrupt signal and basic mailbox communication to remote procs.

Change-Id: I1bcda9f06d80895ada5271e4fde01a07b0fa623c
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-11-27 18:45:40 +05:30
qctecmdr
cf9f24ef35 Merge "q2spi-msm-geni: Add boot kpi markers" 2023-11-27 04:03:21 -08:00