Commit graph

1167830 commits

Author SHA1 Message Date
Auditya Bhattaram
5a09efd218 drivers: nvmem: qfprom: Add keepout_regions for pineapple
Add keepout_regions for pineapple.

Change-Id: I54840adc0ec5c4f3124495d5b2d5c763bf41390d
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
2024-08-06 11:14:58 +05:30
QCTECMDR Service
9e53a33998 Merge "remoteproc: pas: check if there is a crash in rproc_set_state" 2024-07-17 01:27:26 -07:00
QCTECMDR Service
2cd2782062 Merge "ufs: ufs-qcom: Shorten the region's name to meet the limitation" 2024-07-16 09:14:31 -07:00
Gokul krishna Krishnakumar
4ec25ce07d remoteproc: pas: check if there is a crash in rproc_set_state
return EBUSY if there was a crash while handling rproc_set_state.
While at it also log the client name in error scenario.

Change-Id: Ida9e47cdfde7eead2f20af4913f3f51ee35d3459
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-07-16 08:19:46 -07:00
Fei Yang
569a801330 ufs: ufs-qcom: Shorten the region's name to meet the limitation
Only 10 chars available for the region's name on autoGVM platform.
Shorten the region's name to meet the string length limitation.

Change-Id: Ie1e14905a5a479af77fb76dc1d0a4520ea0c34ae
Signed-off-by: Fei Yang <quic_feiyan@quicinc.com>
2024-07-16 00:55:55 -07:00
QCTECMDR Service
daa59f32ec Merge "defconfig: Enable QRTR_GUNYAH for niobe" 2024-07-15 11:33:44 -07:00
QCTECMDR Service
621f1d7015 Merge "defconfig: sdmsteppeauto: enable smmu testbus dump support" 2024-07-15 11:33:42 -07:00
Vishnu Santhosh
e1234378ef defconfig: Enable QRTR_GUNYAH for niobe
Enable QRTR_GUNYAH and QRTR for vm communication
for niobe config. Add qrtr core driver module to
enable qrtr-gunyah support.

Change-Id: I9a046c7f1b7300303d6b8a421fad146153ae5b29
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
Signed-off-by: Vishnu Santhosh <quic_vishsant@quicinc.com>
2024-07-15 13:35:23 +05:30
Yash Jain
3dc1c3d1b1 defconfig: sdmsteppeauto: enable smmu testbus dump support
Enable testbus dump support for SA6155.

Change-Id: I3c355c104d95f911fddd93ed850fc9c5393f173f
Signed-off-by: Yash Jain <quic_yashmj@quicinc.com>
2024-07-15 12:15:07 +05:30
QCTECMDR Service
bede792704 Merge "interconnect: qcom: pitti: increase pimem master priority to P3" 2024-07-12 10:41:49 -07:00
QCTECMDR Service
dce4cff494 Merge "modules.blocklist: Blocklist ipclite_test module" 2024-07-12 10:41:49 -07:00
QCTECMDR Service
eea0c6a020 Merge "power: supply: qti_battery_charger: Detect second USB dynamically" 2024-07-12 10:41:49 -07:00
QCTECMDR Service
e0eacbb640 Merge "net: stmmac: Fix for LPM issue with boot kpi configuration" 2024-07-12 10:41:48 -07:00
Jishnu Prakash
fae6b292ae power: supply: qti_battery_charger: Detect second USB dynamically
In the current design, second USB port support is enabled based on a
DT property alone. On the other hand, the charger firmware that runs on
the remote processor detects the second port presence dynamically
reading a HW fuse.

To make the design seamless, charger firmware has added a new
property under first USB port, to provide the number of USB ports
supported.

Add logic to read this new property, in addition to the existing DT
property based detection, to enable support for the second port.

Change-Id: Ie70294cb314c6b53e60c36398665ae4f218ea662
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-07-11 22:36:12 -07:00
QCTECMDR Service
f585da1444 Merge "power: supply: qti_battery_charger: Add missing USB opcodes" 2024-07-11 21:00:42 -07:00
Chelliah Vinu R
1afd43e03d modules.blocklist: Blocklist ipclite_test module
Add ipclite_test to be blocklisted by default on niobe.

Change-Id: Ic1f397b8606ac23e6b72e4f2c28b33a539d5d5f7
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2024-07-11 20:59:41 -07:00
QCTECMDR Service
3804d957c2 Merge "usb: dwc3: dwc3-msm-core: MOVE perf_vote_enable in msm_suspend" 2024-07-11 12:57:59 -07:00
QCTECMDR Service
5c2c511e54 Merge "soc: qcom: hab: use high tasklet for message recv routine" 2024-07-11 09:01:03 -07:00
QCTECMDR Service
2335f2cd2a Merge "build: bazel: Enable GKI based build for authoghgvm" 2024-07-11 09:01:02 -07:00
QCTECMDR Service
13674c5e77 Merge "defconfig: anorak: add qti epm hardware driver" 2024-07-11 09:01:01 -07:00
QCTECMDR Service
182a83a2e5 Merge "soc: qcom: gic routing: Fix for single CPU affinity setting" 2024-07-11 09:01:01 -07:00
QCTECMDR Service
9a00f3a498 Merge "coresight-tmc-etf: fix failure to disable/enable ETF after reading" 2024-07-11 09:01:00 -07:00
QCTECMDR Service
75f5dade13 Merge "remoteproc: pas: Check running ack for D0 transition" 2024-07-11 09:00:59 -07:00
Raviteja Laggyshetty
06f253efc4 interconnect: qcom: pitti: increase pimem master priority to P3
Increase pimem master priority to P3 from P2 based on post silicon
recommendation from tlm team.
Compared to blair, pimem traffic is more on pitti and increasing the
priority is helping to fix pimem timeouts.

Change-Id: Ib951e7e0d7f2c29b2c1cb519c1b08396d974961a
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-07-11 08:25:19 +05:30
Uppalamarthi Sowmya
4d90e82bad net: stmmac: Fix for LPM issue with boot kpi configuration
With Early Ethernet enabled Link is not up after S2R.
reset the PHY at S2R to fix the Link issue.

Change-Id: I8549d4af7c4dcdc84abcf8deb136028925db5dae
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-07-10 04:32:34 -07:00
QCTECMDR Service
b0e9354523 Merge "i2c: i2c-master-msm-geni: add null pointer check in event call back" 2024-07-09 13:57:45 -07:00
QCTECMDR Service
c659d8f37f Merge "soc: qcom: hab: increase OUT_LARGE_BUF_SIZE from 50k to 64k" 2024-07-09 13:57:44 -07:00
QCTECMDR Service
efb2478173 Merge "Serial: msm-geni: Avoid reading of secure SE register from APPS" 2024-07-09 13:57:44 -07:00
QCTECMDR Service
c3d2c5adbd Merge "net: stmmac: update the KPI marker" 2024-07-09 13:57:43 -07:00
QCTECMDR Service
a503e76779 Merge "serial: msm_geni_serial: Stop primary/secondary engine during probe" 2024-07-09 13:57:42 -07:00
Rajashekar kuruva
6b964b0f9f usb: dwc3: dwc3-msm-core: MOVE perf_vote_enable in msm_suspend
During Host mode RT suspend, we remove PM QoS requests at the
beginning of msm_suspend(). However, if msm_prepare_suspend()
fails and we bail out after resuming xHCI. And we won't add
the perf votes again from msm_resume(), since msm_suspend()
never succeeded and the in_lpm flag was not set.

Consequently, during the next dwc3_msm_suspend(), we remove the
perf votes again results in warnings in kernel logs.

To address this issue:
- Move the perf_vote_enable(false) operation after completing
  dwc3_msm_prepare_suspend().
- moving pm_qos_add() or pm_qos_remove() to msm_probe and
  msm_remove respectively.

Change-Id: Id064b0fe55e03905ba6c60c533519d5e0268b1c1
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
2024-07-09 07:43:52 -07:00
Rajashekar kuruva
3b9ebc6f81 usb: dwc3: dwc3-msm-core: Fix cyclomatic complexity in msm_probe()
commit: 9bbb1b4dc059a introduced new conditional check in
msm_probe function, results in cyclomatic complexity

Move IRQ registration to new function dwc3_msm_register_interrupt
Fix cyclomatic complexity for function dwc3_msm_probe().

Change-Id: Iad10117156dc2b0b86583f1cdafa31ecdbc55ef6
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
2024-07-09 20:09:03 +05:30
Anil Veshala Veshala
2d078e3007 i2c: i2c-master-msm-geni: add null pointer check in event call back
Currently i2c geni driver doesn't have null pointer check condition
in event call back function. If any invalid event is coming from GSI,
i2c geni driver accessing null pointer which is causing crash.
To solve this added null pointer checks in event call back functions.

Change-Id: Ie14a40eee846c0ea29bec512d6320e9548c509b5
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2024-07-09 07:09:18 +05:30
Aniket Randive
86494558f6 Serial: msm-geni: Avoid reading of secure SE register from APPS
Due to the permissions are not provided to the apps to read
the secure SE registers. Instead, consider reading the RO
registers that are available.

Change-Id: I350c23eea1f319a50e7fdd61151041bebdbfce7c
Signed-off-by: Aniket Randive <quic_arandive@quicinc.com>
2024-07-08 19:53:03 +05:30
Zelong Ren
f4ecfb8b83 soc: qcom: hab: increase OUT_LARGE_BUF_SIZE from 50k to 64k
The hab team recommends that the maximum message size that the
hab client can send is 64k. We increase the size of
OUT_LARGE_BUF_SIZE to 64K so that the memory pool can cover
all messages of the recommended size.

In non-stress scenarios, this helps to avoid jitter in the
performance of sending messages due to memory requests.

This change does not result in a large amount of additional
reserved memory, because OUT_LARGE_BUF_NUM is 10, and each
pchan group will only reserves (64k- 50k) * 10 = 140k more memory.

Change-Id: Ia26f408230e1121d6f927dd084f551cc64656e96
Signed-off-by: Zelong Ren <quic_zeloren@quicinc.com>
2024-07-08 13:57:46 +08:00
QCTECMDR Service
029712d054 Merge "crypto-qt-virt: HAB open as unintteruptible to maintain same atomic context" 2024-07-07 16:45:38 -07:00
QCTECMDR Service
8881ccf189 Merge "soc: qcom: hgsl: check debugfs creating failing" 2024-07-07 16:45:38 -07:00
QCTECMDR Service
cd9bc453a1 Merge "defconfig: Enable CONFIG_QCOM_MEMORY_DUMP_V2 for LVGVM" 2024-07-07 16:45:37 -07:00
QCTECMDR Service
bc1449b2a6 Merge "defconfig: autogvm: Enable QCOM_VA_MINIDUMP for auto LAGVM" 2024-07-05 12:30:28 -07:00
Sarosh Hasan
30e9180816 net: stmmac: update the KPI marker
Fix for Boot KPI marker condition.

Change-Id: Ie234fd50d061465f0fb9be7e92f3a55c99c9d414
Signed-off-by: Sarosh Hasan <quic_sarohasa@quicinc.com>
2024-07-05 16:58:56 +05:30
Gokul krishna Krishnakumar
a8ce5c2552 remoteproc: pas: Check running ack for D0 transition
The TCSR register alone cannot be relied for confirming the D0
state, adding another smp2p bit to confirm the D0 state.

Change-Id: Ibfc3cf0b1c47450026b820e5c99ddc2c615224e1
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-07-04 22:18:45 -07:00
Kasin Li
cae6328131 soc: qcom: hgsl: check debugfs creating failing
The debugfs creating call should return error number if failed, need
assign null to debugfs ptr for releasing stage.

Change-Id: I45a979014cb083cf9c322af71b15d977700e3bfc
Signed-off-by: Kasin Li <quic_donglil@quicinc.com>
2024-07-04 05:30:22 -07:00
QCTECMDR Service
4cada9904a Merge "slimbus: qcom-ngd-ctrl: Avoid accessing deallocated stack" 2024-07-04 04:24:12 -07:00
Jishnu Prakash
89ad96a88f power: supply: qti_battery_charger: Add missing USB opcodes
Add some missing USB opcodes to ensure they are aligned
correctly with the USB opcodes defined on CHGFW side. This is
needed to ensure that a new USB opcode which will be added does
not overlap with any of the older existing opcodes.

Change-Id: Ibf05acec9346786193745e1f9db7c1b40e8651b7
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-07-04 04:08:02 -07:00
QCTECMDR Service
d694f9c51e Merge "clk: qcom: niobe: Remove gpu ff clocks support" 2024-07-04 00:40:35 -07:00
Nitesh Kumar
cdf3cf25dd defconfig: anorak: add qti epm hardware driver
Add and enable qti epm hardware driver and thermal zone
debug feature driver in config and bazel for anorak.

Change-Id: Ib262762b46c37ba01c8ed177291a411011af6001
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-07-04 10:37:06 +05:30
QCTECMDR Service
c7d8f6d107 Merge "kernel: msm: Add IO macro for SA6155" 2024-07-03 21:08:27 -07:00
QCTECMDR Service
982117ed19 Merge "pci: msm: Register with RPMSG driver only when DRV is supported" 2024-07-03 08:09:28 -07:00
Zou Shunxiang
6437ae114d defconfig: Enable CONFIG_QCOM_MEMORY_DUMP_V2 for LVGVM
CONFIG_QCOM_MEMORY_DUMP_V2 is required by cnss2 to
support latest wlan chips for wlan fw dump.

Change-Id: I47e42054614979192e5713e1b6c36720c5a32266
Signed-off-by: Zou Shunxiang <quic_shunxian@quicinc.com>
2024-07-03 16:33:00 +08:00
Santosh Dronamraju
9257bb4b5a crypto-qt-virt: HAB open as unintteruptible to maintain same atomic context
Make hab open as uninterruptible to maintain same atomic
context to avoid file system sync issues.

This is snapshot from msm-5.4 branch with commit ids
commit a099f7774d07 ("crypto-qti-virt: Proper handling of hab close call"),
commit 8aa1befa10e8 ("crypto-qti-virt: Make fbe hab request as
uninterruptible"),
commit 	947ff2fe45e2 ("crypto-qt-virt: Remove kthread mechanism while
sending request").

test: VTS kernel encryption tests passed.

Change-Id: Iad8eed6cd8cc8569aea4b1a42ba4b9923b6ac9ab
Signed-off-by: Santosh Dronamraju <quic_sdronamr@quicinc.com>
2024-07-03 12:51:06 +05:30