Commit Graph

1168833 Commits

Author SHA1 Message Date
QCTECMDR Service
75f5dade13 Merge "remoteproc: pas: Check running ack for D0 transition" 2024-07-11 09:00:59 -07:00
Android Build Coastguard Worker
9a510e82ad Snap for 12072890 from 76f8f56b9a to android14-6.1-keystone-qcom-release
Change-Id: I5356ebe1bf8861226566e7ff08c2a9df29cfa742
Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
2024-07-11 08:45:23 +00:00
Kalesh Singh
b6577b7604 ANDROID: 16K: Avoid mmap lock assertions for padding VMAs
The padding VMA is never inserted into the VMA tree; therefore we
don't need to have the mmap lock in exclusive mode to modify it.

Test: v2/android-gki/ack_platform_integration_main_cf_arm64_boot_test
      on kernel_virt_debug_aarch64
Bug: 346741763
Bug: 352463814
Change-Id: I4ca3ed22dab45b6bb895cb41c5c6792344188b61
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
(cherry picked from commit a8b3ebe7f90afe0ad0d9a8b0b90f266da06a7007)
2024-07-11 07:05:47 +00: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
Satya Durga Srinivasu Prabhala
76f8f56b9a Merge "ANDROID: consolidate.fragment: don't disable CONFIG_PM_ADVANCED_DEBUG" into android14-6.1-keystone-qcom-dev 2024-07-10 16:45:44 +00:00
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
keystone-kernel-automerger
a885ef997c Merge android14-6.1-2024-06_r3 into HEAD
* commit 'cb6c9fcea75d596f3ea030f1179093d4cedced60':
  ANDROID: GKI: Update symbol list for mtk

Change-Id: I758cb38a9b9d7dad2dd131cbde1ed992eacb9c8b
Signed-off-by: keystone-kernel-automerger <keystone-kernel-automerger@google.com>
2024-07-10 06:42:04 +00:00
Srinivasarao Pathipati
e06c78e3bd ANDROID: consolidate.fragment: don't disable CONFIG_PM_ADVANCED_DEBUG
ACK commit 4744b3a4ed ("ANDROID: GKI: Expose device async
to userspace") updates config dependency. Keep config
CONFIG_PM_ADVANCED_DEBUG enable to fix build issue with this
dependency change.

Bug: 352197598
Change-Id: I05a605fb9d3ce0905a60360a00e5f782b33d78eb
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-07-10 05:08:17 +00: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
Seiya Wang
cb6c9fcea7 ANDROID: GKI: Update symbol list for mtk
1 function symbol(s) added
  'int phy_create_lookup(struct phy*, const char*, const char*)'

Bug: 350828988
Bug: 351222890
Change-Id: If747b9e3acdf6e644ee23783f4997aff1d973e64
Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
(cherry picked from commit ce6f9cab9edca2712f312476ddc137f18c8ecfff)
2024-07-05 00:54:02 +00: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
Ram Kumar Dwivedi
1ad69c1fa8 mmc: sdhci-msm: Declare three instances of host structure pointer
Currently there is support upto three distinct sdhci host
controllers, whose host index is parsed from device tree.

But while allocting pointers to host str, only two instances
are declared.

This will cause error if three host controllers are present
on a SoC.

So, declare three instances of pointers to host str.

Change-Id: Id1d673205c75ee40fadcc249720692a5f38bfeca
Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
2024-07-04 14:19:37 +05:30
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
Srinivasarao Pathipati
4c4c28f4e7 defconfig: don't disable CONFIG_SPI_ZYNQMP_GQSPI
upstream commit a35ab02c85 ("spi: spi-zynqmp-gqspi: fix driver
kconfig dependencies") updates config dependency. Don't disable
config CONFIG_SPI_ZYNQMP_GQSPI to fix build issue with this
dependency change.

Change-Id: Idcb13d7e53bcb39b1d07b5946bf67ca2897a5936
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-07-03 03:34:48 -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
QCTECMDR Service
66dbaf121b Merge "bus: mhi: uci: Reorder the mhi mutex locks in UCI driver probe" 2024-07-02 06:32:52 -07:00
Yuanfang Zhang
7f1b35f715 coresight-tmc-etf: fix failure to disable/enable ETF after reading
ETF may fail to re-enable after reading, and driver->reading will
not be set to false, this will cause failure to enable/disable to ETF.
This change set driver->reading to false even if re-enabling fail.

Change-Id: Ie06b49379c200d0bdd3c3f4acb1e7e612c03ad1a
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-07-02 16:26:28 +08:00
Singa Reddy Dasari
c1a40c827f build: bazel: Enable GKI based build for authoghgvm
Enable GKI based build system for autoghgvm.

Change-Id: Ieecd9110d5e78eaa5d54edbef6ba99218cf43bac
Signed-off-by: Singa Reddy Dasari <quic_singredd@quicinc.com>
2024-07-02 13:15:03 +05:30
QCTECMDR Service
e7279e863a Merge "defconfig: Enable pcie-pdc driver for niobe" 2024-07-01 23:42:54 -07:00
QCTECMDR Service
18c548cef9 Merge "net: stmmac: marker for suspend/resume" 2024-07-01 20:24:12 -07:00
Uppalamarthi Sowmya
bf87f0cb09 kernel: msm: Add IO macro for SA6155
Added IO macro setting for SA6155.

Change-Id: Iab9041a5abe0fbd2a2a2b44d613979267aaddfb0
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-07-01 22:11:47 +05:30
QCTECMDR Service
c93f4551d8 Merge "clk: qcom: gcc-mdm9607: Update EMAC clocks" 2024-07-01 07:29:23 -07:00
Suraj Jaiswal
1d4ed51128 net: stmmac: marker for suspend/resume
Enable support for Ethernet Link UP KPI marker for
as part of system resume.
Currenlty Ethernet Link up KPI marker is printed
once & print flag is set to true to avoid further
Link UP KPI print. This flag need to reset as part of
suspend to print the Ethernet Link UP KPI marker at resume.

Change-Id: I849a76520c4c619255ba650fff546a32a05adc2e
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-07-01 16:26:08 +05:30
QCTECMDR Service
bd5f39c0fd Merge "drivers: thermal: qcom: bcl_pmic5: Add BPM feature support" 2024-07-01 03:40:27 -07:00
Raghavendra Kakarla
b3ad2ff8b9 defconfig: Enable pcie-pdc driver for niobe
This change enables the pcie-pdc driver.

Change-Id: Ic70c50c008c1a5cca0faa1a75ec3526ab6167823
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2024-07-01 14:26:47 +05:30
QCTECMDR Service
d77ce93164 Merge "soc: qcom: hab: virtio-hab: increase each in/out buf slot by 1 hab_header size to prevent out-of-bounds access" 2024-06-30 23:45:51 -07:00
QCTECMDR Service
91ddef1891 Merge "interconnect: qcom: niobe: Add CESTA ICC and BCM nodes to topology" 2024-06-30 23:45:50 -07:00
QCTECMDR Service
b42f12a695 Merge "i2c-msm-geni: Add additional register dumps during error scenarios" 2024-06-30 23:45:50 -07:00
QCTECMDR Service
3bae3e2687 Merge "dt-bindings: clock: Add EMAC_0_125M_CLK_SRC clock support for mdm9607" 2024-06-30 23:45:49 -07:00