Commit Graph

1980 Commits

Author SHA1 Message Date
Linux Image Build Automation
6b3c53ad88 Revert "dt-bindings: Document qcom,initial-movable-zone-size property"
This reverts commit 18f2c74330.

Change-Id: I7130537e2d1c7f761683b1161b0eaee875a7d811
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:19:12 -07:00
Linux Image Build Automation
c8686bdc04 Revert "ARM: dts: msm: Add qcom,initial-movable-zone-size property"
This reverts commit c0fc43c3f7.

Change-Id: Iba58091938ab6a7d26090bf7fd8158ee209dab5d
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:19:00 -07:00
Linux Image Build Automation
8f089d2f5e Revert "ARM: dts: msm: Increase virtio-mem maximum size"
This reverts commit 691880141b.

Change-Id: I0c3b6426ea3895affb7fe37dca526e2f7c7c18b0
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:18:48 -07:00
Patrick Daly
691880141b ARM: dts: msm: Increase virtio-mem maximum size
ZRAM is being disabled on tuivm due to observed stability issues due to
ZRAM's use of GFP_MEMALLOC. Increase maximum movable zone size to
compensate.

When kswapd swaps out pages, PF_MEMALLOC is set, which results in zram
ignoring the min_watermark, and lowmem_reserve. This is problematic
because we intend for movable memory to stay in ZONE_MOVABLE, rather
than falling back to ZONE_NORMAL. If the later occurs to such a high
degree that all ZONE_NORMAL memory is consumed, as is observed to be
the case during a "C2PA" testcase, attempts to plug in additional
ZONE_MOVABLE memory may fail due to requiring a small amount of
GFP_KERNEL memory.

Change-Id: Ic847e90514f80ccb91daa98849440d7a9b97f156
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-13 13:26:30 -07:00
Patrick Daly
c0fc43c3f7 ARM: dts: msm: Add qcom,initial-movable-zone-size property
"qcom,initial-movable-zone-size" creates a movable zone of the given size
before userspace starts. This is useful in a system where a userspace
component (psi-daemon) is used to hotplug in memory on a on-demand basis.

With swap disabled, the current tvm carveout size (68 Mb) hits
out-of-memory condition before psi-deamon is started.

Once psi-daemon is running, it detects the number of blocks added to the
movable zone via "qti_virtio_mem/kernel_plugged" sysfs file, and
can reduce or increment the number as necessary.

Change-Id: I5b62b6227e8a357ba3012979ed4bf937f1810437
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-13 13:26:29 -07:00
Patrick Daly
18f2c74330 dt-bindings: Document qcom,initial-movable-zone-size property
This property describes how large of a movable zone should be created
when the virtio_mem device probes.

Also, fix all errors reported by make dt_binding_check.

Change-Id: I487ad7592d54021ddbb3caddb20774d3e076c766
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-13 13:26:28 -07:00
Patrick Daly
00cd93793f ARM: dts: msm: Fix dependency between virtio-mem and mem-buf-msgq
The virtio-mem device has always had a dependency on mem-buf for plugging
in memory. Previously, the ordering was not a concern, since hotplug was
not done until userspace was up. However, in subsequent patches we
will instead hotplug in memory as soon as the virtio-mem device probes.

Change-Id: I9c4e4728a15ab32d65ffaea0ba2681a816a4abf0
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2024-08-13 13:26:27 -07:00
Huang Yiwei
615c0e453f ARM: dts: msm: Add platform_mpam slc node for sun
Add platform_mpam slc node for sun.

Change-Id: Iacf470e2a8ca60277a817a4f8d159b5c75b80bc6
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-08-13 13:26:25 -07:00
Avinash Philip
76a2be019a dts: sun: Add Nodes for SLC MPAM support.
Support for MPAM SLC support

Change-Id: Id98cc9e2d346d536905d92d0ef15ecf90ca8d162
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-13 13:26:18 -07:00
Avinash Philip
522bab2225 dt-bindings: arm: msm: qcom,llcc: Add compatible for child node
Child node support for SCID heuristics compatible device.

Change-Id: Id1fb1e190181d39053dce629c6807262032744ad
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-13 13:26:11 -07:00
Avinash Philip
28cb435321 ARM: dts: msm: SLC SCID Heuristics support for sun
Enables HEURISTICS SCID for sun.

Change-Id: I1f52aeb0000c5835236bf6c04cc3c51e87cdfedf
Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
2024-08-13 13:26:10 -07:00
Linux Build Service Account
f9c315061d Merge e1668828f6 on remote branch
Change-Id: I121c871058e9a1930e6d29607e025db3d3417896
2024-08-08 15:48:41 -07:00
QCTECMDR Service
e1668828f6 Merge "ARM: dts: msm: Add sw drv3 of disp_crm for sun" 2024-08-06 10:20:25 -07:00
QCTECMDR Service
c530fdee32 Merge "dt-bindings: interconnect: Add interconnect bindings for TUNA" 2024-08-06 02:48:58 -07:00
Maulik Shah
0455109209 ARM: dts: msm: Add sw drv3 of disp_crm for sun
SW drv3 may be used sometimes by display panel. Add it.

Change-Id: I03fc0bee08c44447caf689b747b054f4aa62ffca
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-08-06 01:38:51 -07:00
Huang Yiwei
0f6b6ee49a dt-bindings: Add new bindings for SLC MPAM
Add new bindings for SLC MPAM.

Change-Id: I21e19e73ff17916f84a25a52535e81ea97cae8d6
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-08-04 18:45:53 -07:00
QCTECMDR Service
dba669a7e0 Merge "ARM: dts: qcom: Add aoss, aop and tme nodes for kera" 2024-08-03 00:05:08 -07:00
QCTECMDR Service
494a19a4ca Merge "ARM: dts: qcom: Add 3.5mm with Kiwi WLAN for MTP platform" 2024-08-02 21:13:26 -07:00
QCTECMDR Service
c0808eafeb Merge "ARM: dts: msm: ravelin: remove atomic in secure use case for ravelin" 2024-08-02 18:18:38 -07:00
QCTECMDR Service
c78f5dc38c Merge "ARM: dts: qcom: Update bootargs for parrot and ravelin" 2024-08-02 18:18:38 -07:00
QCTECMDR Service
67d061eb7d Merge "ARM: dts: msm: ravelin: Add msgq-names property for ravelin" 2024-08-02 18:18:38 -07:00
QCTECMDR Service
9cf9e56a8a Merge "ARM: dts: msm: Add compatible for CPUFREQ HW DEBUG node on MONACO" 2024-08-02 10:56:40 -07:00
Prakash Yadachi
20818089ae ARM: dts: qcom: Update bootargs for parrot and ravelin
Removed console=ttyMSM0,115200n8 form bootargs for
parrot and ravelin targets.

Change-Id: I7b1c942343e71e809d234800f7ea6d6469a4c306
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
2024-08-02 04:55:14 -07:00
Srinivasarao Pathipati
5f6d4987b1 ARM: dts: msm: ravelin: remove atomic in secure use case for ravelin
Atomic and secure domains are not a legal combination so remove
atomic entry for secure use case.

Change-Id: Ibd163da686e0d982dcb085ab32d4f01cdb4fcf69
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-08-01 16:20:52 +05:30
Srinivasarao Pathipati
69ee6cf4c7 ARM: dts: msm: ravelin: Add msgq-names property for ravelin
The commit 39dd329a019b ("mem-buf-msgq: Support multiple msgqs")
mandates to have 'msgq-names' property in node 'mem-buf-msgq'.
Adding default msgq entry to fix probe failure.

Change-Id: I9dc802604cabff1b808c08302e1b77bf61fd7b3f
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-08-01 03:42:42 -07:00
QCTECMDR Service
89835d05e2 Merge "dt-bindings: Add new bindings for platform MPAM" 2024-07-31 22:00:46 -07:00
Linux Image Build Automation
4cf6f596f7 Revert "ARM: dts: msm: Enable broken AH8 WA for sun ufs"
This reverts commit e3869b4a44.

Change-Id: I4f467c4a36350bdce67174822816b5b02c5cb2cb
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:05:39 -07:00
Linux Image Build Automation
4fd0383ff3 Revert "ARM: dts: msm: parrot: Add msgq-names property for Parrot"
This reverts commit 547429d6f5.

Change-Id: Iddd7397118e088207fa15d426883e00a306070c9
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:05:27 -07:00
Linux Image Build Automation
a6420355ec Revert "ARM: dts: msm: Add interconnect-names for Ravelin"
This reverts commit e8ed46620f.

Change-Id: Ie5e837211e4bfd33c4a6a12e945393c565604009
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:05:15 -07:00
Linux Image Build Automation
55943af2a2 Revert "ARM: dts: qcom: Update proper clock name"
This reverts commit 5adc01c6d2.

Change-Id: I1b6ecceb66cec69342cdde80e7f62764c3724bce
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:05:03 -07:00
Linux Image Build Automation
1a1f59d86d Revert "ARM: dts: msm: Add qrng device node"
This reverts commit 4e5a5b38b8.

Change-Id: I219414ab029e5eceb9eed4243d436915f4f7c0a4
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:04:51 -07:00
Linux Image Build Automation
064cef190e Revert "ARM: dts: msm: Add smp2p ipa nodes for ravelin"
This reverts commit 0aa1c814bb.

Change-Id: Idb2b3a085eb8d961fd25076010035354aff140fa
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:04:39 -07:00
Linux Image Build Automation
4ace9e88ca Revert "ARM: dts: msm: Enable PM8010 nodes for Ravelin"
This reverts commit 95c5560197.

Change-Id: Ieb5c6327853142fdff8a4ed9bf235bb8456144a3
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:04:28 -07:00
Linux Image Build Automation
85d5809513 Revert "ARM: dts: msm: Add qseecom compatible"
This reverts commit f803421561.

Change-Id: I66d3755da607372ac855302b53ac5db202a08f15
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:04:16 -07:00
Linux Image Build Automation
4631a7f10b Revert "ARM: dts: msm: disable movable zone for parrot and ravelin"
This reverts commit 96b635959d.

Change-Id: I0be955c8dd1df51fdb08e05341cc17e38ef48a7b
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:04:04 -07:00
Linux Image Build Automation
d25b61d828 Revert "ARM: dts: msm: add ufs wrapped key support to ravelin"
This reverts commit 4bfa7a3ca5.

Change-Id: I3415ea2d71e2dd083f374e98deecb33e56174c32
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:03:52 -07:00
Linux Image Build Automation
7d910120e3 Revert "dt-bindings: soc: add qcom,cpucp_fast documentation"
This reverts commit f2f5a9cf12.

Change-Id: I6977b9fca3b8ef82aea16122b877b42f1a73b207
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:03:40 -07:00
Linux Image Build Automation
ba7c431be6 Revert "ARM: dts: msm: Add fast entry in sun"
This reverts commit 20bac1b6a5.

Change-Id: I86e5a278a7d8063287a37284d0c4646bceb6e709
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:03:28 -07:00
Linux Image Build Automation
8ef2bcda57 Revert "ARM: dts: msm: SLC SCID Heuristics support for sun"
This reverts commit bf3fe3da0a.

Change-Id: I18dc89aa96d1de5b6b9e283879a07e0062488191
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:03:16 -07:00
Linux Image Build Automation
260d7c2dcc Revert "dt-bindings: arm: msm: qcom,llcc: Add compatible for child node"
This reverts commit 86a0fd1cc1.

Change-Id: If0e1b973461dd9c85fbba4404eaeff545d8ecc4d
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:03:04 -07:00
Linux Image Build Automation
3c4d676258 Revert "dts: sun: Add Nodes for SLC MPAM support."
This reverts commit be62fafa03.

Change-Id: I3a16f1982b23436a430da13cf0c5c63ef2d28982
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:02:52 -07:00
Linux Image Build Automation
425a1d0e77 Revert "ARM: dts: msm: Add platform_mpam slc node for sun"
This reverts commit 3692d3d423.

Change-Id: I9a8ba66cba08d78df58f19bc15dc5845eac395d0
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-07-31 15:02:41 -07:00
QCTECMDR Service
a860d465c6 Merge "ARM: dts: msm: Enable memmap_on_memory on arm64 on sun-vm" 2024-07-31 10:10:15 -07:00
QCTECMDR Service
1efaf82eaf Merge "ARM: dts: msm: Add shutdown ack for each remoteproc processors" 2024-07-31 02:21:33 -07:00
QCTECMDR Service
ea9d62622e Merge "ARM: dts: msm: Add smem nodes for kera" 2024-07-30 21:02:58 -07:00
QCTECMDR Service
6f00fb2dd7 Merge "ARM: dts: msm: Remove unused SW DRVs for disp_crm device for sun" 2024-07-30 21:02:58 -07:00
Huang Yiwei
7a4a207629 dt-bindings: Add new bindings for platform MPAM
Add new bindings for platform MPAM.

Change-Id: I311a902e3135c5a825dcf4d6446d578489498b66
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-07-31 10:29:56 +08:00
Huang Yiwei
b7ca0a4904 dt-bindings: Add new bindings for CPU MPAM
Add new bindings for CPU MPAM.

Change-Id: I856a137958140d1bc34cdfeadf5ddda4030a5c62
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2024-07-31 10:17:55 +08:00
Maulik Shah
d139cd2e2d ARM: dts: msm: Remove unused SW DRVs for disp_crm device for sun
Remove unused SW DRVs as keeping them makes them register
with IRQs and leading to spurious IRQs.

Change-Id: Iba8723b7ac734286668158fe793bde97f3f31eda
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-07-30 03:01:37 -07:00
Kamal Wadhwa
781cb25b20 ARM: dts: qcom: Add NVMEM cells FMD_CNT2_STOP & FMD_CHG_PON for PMK8550
Add NVMEM cells FMD_CNT2_STOP and FMD_CHG_PON for supporting
Find-My-Device(FMD) feature.

- FMD_CNT2_STOP controls the number of FMD cycles after which the
feature will auto disable to save power in OFF mode.

- FMD_CHG_PON can be use to disable USB PON feature for testing
purpose.

Change-Id: I0f217d413f2ec8c5616956c4e56fd7e469c52d56
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
2024-07-29 11:11:01 -07:00