Commit Graph

2010 Commits

Author SHA1 Message Date
Huang Yiwei
2bfbac17f5 ARM: dts: msm: Add platform_mpam slc node for sun
Add platform_mpam slc node for sun.

Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Change-Id: I6d6f1eb03ea827b222eed65501df3ef3b7d60b46
2024-08-19 13:48:53 -07:00
Avinash Philip
35b90c55db dts: sun: Add Nodes for SLC MPAM support.
Support for MPAM SLC support

Signed-off-by: Avinash Philip <quic_avinashp@quicinc.com>
Change-Id: I6c17996b324ba2d3e11e90ef1af57cf30d44f9de
2024-08-19 13:48:21 -07:00
Linux Build Service Account
30f5433a53 Merge 4625e901da on remote branch
Change-Id: Ia1a9c1e5252450da76cad8e306d648ecb6539816
2024-08-18 12:52:45 -07:00
Linux Image Build Automation
b1bc0e5e1f Revert "ARM: dts: msm: SLC SCID Heuristics support for sun"
This reverts commit 28cb435321.

Change-Id: Ieb0480fba1cb8b747a9ea96f48846066bf58ac25
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:20:14 -07:00
Linux Image Build Automation
8174101022 Revert "dt-bindings: arm: msm: qcom,llcc: Add compatible for child node"
This reverts commit 522bab2225.

Change-Id: Iccb6279964c6423e2d6a20b44b2e5df15366399e
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:20:01 -07:00
Linux Image Build Automation
826c6c4ad1 Revert "dts: sun: Add Nodes for SLC MPAM support."
This reverts commit 76a2be019a.

Change-Id: I9869483a7548eb5f2c3bbf2bd21c5622754d56d4
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:19:49 -07:00
Linux Image Build Automation
c329d2eae7 Revert "ARM: dts: msm: Add platform_mpam slc node for sun"
This reverts commit 615c0e453f.

Change-Id: Ifc63385c42bab983b2603dcb92660baad17f966a
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:19:37 -07:00
Linux Image Build Automation
69d47114bd Revert "ARM: dts: msm: Fix dependency between virtio-mem and mem-buf-msgq"
This reverts commit 00cd93793f.

Change-Id: I37af6633ca31668543ad12cf7584b9fdfee7fc18
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2024-08-15 20:19:25 -07:00
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
QCTECMDR Service
4625e901da Merge "ARM: dts: msm: Add UFS nodes for tuna pre-sil" 2024-08-09 11:05:36 -07:00
QCTECMDR Service
a9da76801b Merge "ARM: dts: msm: SLC SCID Heuristics support for sun" 2024-08-09 11:05:36 -07:00
QCTECMDR Service
acd9ab0bed Merge "ARM: dts: msm: Add support for camera clock controllers on Tuna" 2024-08-09 11:05:36 -07:00
Avinash Philip
b340945a35 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-09 14:56:28 +05:30
Ajit Pandey
2e025643d4 ARM: dts: msm: Add support for camera clock controllers on Tuna
Add support for CAMCC and CAM_BIST_MCLK_CC clock controller nodes
on Tuna platform. While at it, move camcc gdsc's to real.

Change-Id: I14e7add272a549cd21c39083a26baac4c50de31e
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
2024-08-09 12:17:50 +05:30
Manish Pandey
d06b485834 ARM: dts: msm: Add UFS nodes for tuna pre-sil
Add UFS host controller and PHY nodes for tuna soc.

Change-Id: I27f7c09355c54de15d7f9544918db830496e6c1f
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-08-09 10:51:50 +05:30
Linux Build Service Account
f9c315061d Merge e1668828f6 on remote branch
Change-Id: I121c871058e9a1930e6d29607e025db3d3417896
2024-08-08 15:48:41 -07:00
Avinash Philip
f01e170291 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-08 13:35:21 -07:00
QCTECMDR Service
9a62421626 Merge "ARM: dts: qcom: Remove cpu pause action on boot core" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
cda4e3edf8 Merge "ARM: dts: msm: Update PMIC adc_tm nodes for ravelin" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
f89f566c43 Merge "ARM: dts: msm: Increase virtio-mem maximum size" 2024-08-07 17:37:30 -07:00
QCTECMDR Service
f7095458d1 Merge "ARM: dts: msm: Reduce common CMA region size for monaco" 2024-08-07 11:35:52 -07:00
QCTECMDR Service
93a4367340 Merge "dt-bindings: Document qcom,initial-movable-zone-size property" 2024-08-07 11:35:52 -07:00
QCTECMDR Service
55f61a7aad Merge "ARM: dts: msm: Add interconnect devices for TUNA" 2024-08-07 03:15:13 -07:00
Archana Sriram
fb44aa4c01 ARM: dts: msm: Update PMIC adc_tm nodes for ravelin
Modify pmk8350, pm7250b and pmi632 adc_tm nodes to suit
qcom-spmi-adc-tm5 thermal driver for ravelin.

Change-Id: I00fc712cda79b52b74a0e11da34bb2eae25414d4
Signed-off-by: Archana Sriram <quic_c_apsrir@quicinc.com>
2024-08-07 11:24:06 +05:30
Archana Sriram
0a427da568 ARM: dts: msm: Update PMIC adc_tm nodes for parrot
Modify pmk8350, pm7250b and pm6150l adc_tm nodes to
suit qcom-spmi-adc-tm5 thermal driver for parrot.

Change-Id: I66b5eadec9d926dd6fa9be1074611eda870cec50
Signed-off-by: Archana Sriram <quic_c_apsrir@quicinc.com>
2024-08-07 11:11:56 +05:30
QCTECMDR Service
e1668828f6 Merge "ARM: dts: msm: Add sw drv3 of disp_crm for sun" 2024-08-06 10:20:25 -07:00
Nitesh Kumar
0231442fdf ARM: dts: qcom: Remove cpu pause action on boot core
Remove cpu pause action on boot core in Parrot.

Change-Id: I59e4e6cfec9073cd94a5bf0fcff96158d4061835
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2024-08-06 21:42:54 +05:30
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
Patrick Daly
cf2d1ea24d 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-05 16:27:37 -07:00
Patrick Daly
efdc753321 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-05 16:27:37 -07:00
Patrick Daly
5a1d998abd 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-05 16:27:18 -07:00
Patrick Daly
942e7f19e7 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-05 11:40:04 -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