Commit graph

117 commits

Author SHA1 Message Date
Subhadra Jagadeesan
fac52b4226
init.qcom.post_boot: exclude CPUs 0-3 from isolation
- SnapdragonVoiceActivation feature for Far Field Voice version
affines its threads to 0-3 CPUs and so prevent them from isolation
for qcs605 target

Change-Id: I09ef5cc97ee245133315edc0821f3a2afc54e99b
2020-02-27 17:01:41 +01:00
Patrick Daly
20bc13de0e
post_boot: Ensure SLAB_STORE_USER is disabled for zram kmem_caches
ZRAM compression uses the linux slub allocator its internal data
structures. If these internal data structure consume a lot of memory,
ZRAM compression may increase memory usage, rather than decrease it
as expected. Decrease the chance of this occuring by ensuring the
SLAB_STORE_USER debug option is disabled.

Change-Id: I4684feda94b7bebacb6218b7f979c95771b0ee10
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-02-27 17:01:41 +01:00
Divyanand Rangu
a293622e25
post_boot: Update nodes of read_ahead_kb configs
check populated dm-* nodes and Update read_ahead_kb
values to them. This is needed because on targets
with verity disabled dm-0 to dm-6 are populated,
while on enabled targets dm-3 to dm-6 are populated.

Change-Id: Ia4e262d7487120695db53b562b5764598fd40a87
2020-02-27 17:01:40 +01:00
Venkata Rao Kakani
26f2e84b81
post_boot: change ddr freq from fixed to capped level.
Change-Id: I2e6b2112c54e019e72271bf34e22edb1a36488ea
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-02-27 17:01:40 +01:00
zljing
b0de734ae5
post_boot: update zram setting avoid 32 bit overflow.
Change-Id: I790b5ef9fcf091e4af3ebaaac3341b8d4050c47e
2020-02-27 17:01:40 +01:00
Amir Vajid
babc7f8aae
sdm660: post_boot: update memlat polling to 8 ms on kona
Update the polling_interval to 8 ms for all memlat
devices on kona.

Change-Id: Ia097e6e0a6aa3b761978e5df60c868a7f1d19401
2020-02-27 17:01:37 +01:00
Dyneteve
6917d046fa
sdm660-common: rootdir: Stop configuring read ahead from post_boot
Change-Id: I7ce2665c5cb78d8beb9e20cd296d32a520f6bbf4
2020-02-27 17:01:34 +01:00
Rama Aparna Mallavarapu
ccfe87ba96
sdm660: post_boot: Update hi-speed freq for rev 2.1
Update kona rev 2.1 hi speed frequencies for dcvs.

Change-Id: I00ed9c7894600c20e7025f2c7ad2a197fb7d669d
2020-01-28 16:59:18 +01:00
Venkata Rao Kakani
1daf8c63a5
sdm660: post_boot: update frequencies based on sku feature id.
Change-Id: Iec2ceb2afc26498daeec45722f6bd76f13e66553
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-01-28 16:59:18 +01:00
Libo Jin
b25e24b6a7
sdm660: Perf:increase touch boost duration
CRs-Fixed: 2586942
Change-Id: If984001dad652b82807553c08a6a54b6ce095e9a
2020-01-28 16:59:18 +01:00
Shailendra Gupta
ae0aeaa6f8
sdm660: common: Bring-Up changes for newer upgrade.
Change-Id: I027266c31b83dc7f45dc10dbfe2fc2a5856defba
2020-01-28 16:59:18 +01:00
Vijayakumar Badiger
c910661f7d
sdm660. update sku frequency for SA8155P
Change-Id: I9b36fc87fa9f04c810a6eadea0367a380c9cbf24
2020-01-28 16:59:18 +01:00
Lingutla Chandrasekhar
e14c92df55
sdm660: init.qcom.post_boot: Update scheduler settings for lito
Update scheduler settings for lito.

Change-Id: If7e2b9a3c6e0b930d6438b92ef3f3d10e9c4de5f
2020-01-28 16:59:18 +01:00
Raghavendra Kakarla
5626ca5359
sdm660: init.qcom.post_boot: enable LPMs for bengal
Enable low power modes and core_ctl for the bengal.

Change-Id: Ie6784fdacec66020c19fa67d1c3a095af9745f21
2020-01-28 16:59:17 +01:00
Max Weffers
12b0f38bd2
sdm660-common: Update Perf stack from Jasmine 10 Release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys


Change-Id: Ib646bbaf0678ec7597792afc63373c93e47be2e4
2020-01-14 18:18:15 +01:00
Author Nitesh Kataria
9f7368611b
post_boot : Syntax fix
Change-Id: I048fc014976ca16dfe94d1a972ecec7fca35e015
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:31:38 +01:00
Rajashekar Adi
210e379088
Power: post boot: Enable conservative pl for atoll
Enable sched_conservative_pl for atoll

Change-Id: I8526c2703d50693041dca516fa0bd97d7b8a43f2
2019-12-16 18:31:25 +01:00
Sriharsha Allenki
36daa25b8b
init.qcom.usb.sh: Set USB default composition to 90DB
This change makes 90DB (interfaces: diag,dun,rmnet,dpl,qdss,adb)
as default usb composition on bengal.

Change-Id: If83a356219f802e8960c7d341296f3a7b3641e68
2019-12-16 18:30:01 +01:00
richagar
3ac15ebd13
Added bengal to init.qcom.post_boot.sh
Added bengal to post_boot to enable prop
vendor.post_boot.parsed

Change-Id: If1a2dcef4d7999a0b93574a24a212cd339cea76e
2019-12-16 18:29:06 +01:00
Vijayakumar Badiger
3882e725f8
add sdmshrike sku changes
Change-Id: I4b30e3600858eabc488ca13f80cff457d0e80b59
2019-12-16 18:25:11 +01:00
Kishore Sri venkata Ganesh Bolisetty
484c827034
post_boot: update silver Fmin to 691M on kona
update silver Fmin to 691M on kona.

Change-Id: Ibbe72b27ddb03001235ed67c2a4ce9d2d53da4a0
2019-12-16 18:24:16 +01:00
Sanjeev Jakkilinki
6d9aa9ce2c
init.qcom.post_boot: initialize the tuning settings for bengal
perf/power tuning settings related sched and dcvs.

Change-Id: Ife99c2a6e5e6160851a11c44f053aae445665faf
2019-12-16 18:23:47 +01:00
Tharun Kumar Merugu
4cfd0a8294
init.qcom.post_boot.sh: Enable cdspl3 governor for atoll
CDSP subsytem uses rpmsg to send CPU L3 clock requests via cdspl3
governor. Use cdspl3 as the governor for CDSP L3 devfreq node for
serving CDSP L3 clock requests.

Change-Id: I49ad421811affa82458abd34d0a0851e1f1fc423
2019-12-16 18:22:45 +01:00
Author Nitesh Kataria
af748b5a6f
post_boot : Add cases for sdmshrike
Adding cases for sdmshrike to enable clocks
for APPS Power collapse.

Change-Id: I089556c1098d60022bdb3de1ec2024858f0d3b30
Signed-off-by: Nitesh Kataria <nkataria@codeaurora.org>
2019-12-16 18:22:12 +01:00
Vijay Dandiga
b68ab8e7a9
post_boot: Set zRam disk size to 50% of RAM size.
Set zRam disk size to 50% of RAM size for non-Go devices.

Change-Id: Ifd015f7827db8ed9388833ec09627898e20fd209
2019-12-16 18:18:06 +01:00
Michael Bestas
9dc9da4d21
sdm660-common: Cleanup init.qcom.sh
* Remove unused SoCs from the script
* Remove qemu.hw.mainkeys to avoid SELinux denials
2019-12-07 18:49:55 +01:00
Max Weffers
f1d116fc9d
sdm660-common: Update init.class_main.sh from LA.UM.8.2.r1-04800-sdm660 2019-11-12 18:12:21 +01:00
Max Weffers
98004138f5
sdm660: post_boot: checkout init.post.boot from LA.UM.8.2.r1-04800-sdm660.0
Change-Id: I8c6f512f20dd42c99cdb19597ced2013c11bd9bf
2019-11-01 12:18:13 +01:00
Shadab Naseem
91caad8a17
sdm660: init: qcom: Start IRQ balancer for bengal
Start the IRQ balancer for bengal, independent of the
platform ID.

Change-Id: Id7845daa03abf6b205244fa281bc4b1c54d20955
2019-11-01 11:51:00 +01:00
Biao Long
a8ba99ec61
sdm660: init.qcom.post_boot: initialize the tuning settings for NPU bwmon
Initialize the tuning parameters for NPU* BWMON monitoring the
traffic from NPU to DDR.

Change-Id: Ic0b0401cac87b25e37ef7fd44ae3dbe8508036d8
2019-11-01 11:48:12 +01:00
Sanjeev Jakkilinki
7757971994
sdm660: init.qcom.post_boot.sh: r2 related changes
updated frequency corner changes related to r2 for Lito.

Change-Id: I8ecc4ccb632399810e0997284eddec2c0aaa35d9
2019-11-01 11:44:10 +01:00
Prateek Sood
6e7ebda7ad
sdm660: irqbalancer: msm_irqbalancer not starting
msm_irqbalancer was not starting for many targets. Call to start
irqbalancer was not getting initiated. Fix this by making a
call to start msm_irqbalancer.

Change-Id: I4fbdef032100c91dba7bdb48a3562c5f9ab38e4d
2019-10-04 18:53:18 +02:00
Raghavendra Kakarla
e23b67fe13
sdm660: init.qcom.post_boot: Enable the LPMs for atoll.
Enable the LPMs for atoll.

Change-Id: I4f1356dca9f00298e0a2e809c27efab3763ccb3e
2019-10-04 18:53:18 +02:00
Sumit Agrawal
07ea656524
sdm660: init.qcom.post_boot: Add soc_id for QCM2150
Change-Id: I6850648f3537819f8362508923cb788671c97396
2019-10-04 18:53:18 +02:00
Santosh Mardi
f5e6b6d545
sdm660: init.qcom.post_boot: split npu dcvs nodes configuration
Split NPU dcvs nodes to monitor traffic between NPU to LLC and
LLCC to DDR.

Change-Id: Iab0669855ad20b6f1e57d63d51e1521613a5619e
2019-10-04 18:53:18 +02:00
Bhargav Upperla
5466b0245c
sdm660: Increase ZRAM swap size.
On high RAM targets, due to more anonymous memory availability,
we can improve headroom by increasing ZRAM swap size,
especially under memory pressure, and during background app compact.

Also ZRAM swap size is logical and is used when needed and
shouldn't cause other side effects.

Change-Id: I11949b8bdf16e9b4b8abb1bd633ffa1a1c0b1ad6
2019-10-04 18:53:18 +02:00
Amir Vajid
5e74a06d57
sdm660: post_boot: disable coloc sched busy hyst on lito
Disable the colocation aware sched busy hysteresis
feature for now on lito.

Change-Id: I40e75fedcaa3d317cc651c5059cabbbc032fbe2b
2019-10-04 18:53:17 +02:00
Wei Wang
cc04efcb21
sdm660-common: rootdir: remove CPUBW min freq setting
CPU BW is set to 200Mhz in QC MTP, since on Pixel, we also adjust CPU BW
in touch PowerHint, we can relax the setting to 100Mhz.

Bug: 69271302
Test: boot
Change-Id: Iead3634d9c6fb0b3edc24ab0a19d62157a6a1793
2019-10-04 18:52:01 +02:00
Tim Murray
ef77343066
sdm660-common: rootdir: disable mem_latency governor
Unclear if advantages are worth cumulative power draw.

bug 73364974
Test: boot taimen, memlat is powersave

Change-Id: I7b5eb176d0f22281e687b9577f5eedf311fb4a11
2019-10-04 18:51:58 +02:00
Demon Singur
908d4500b7
sdm660-common: Remove energy awareness daemon
All this does is to disable msm_core and set the
polling_interval to 0, which makes the driver useless.
We can achieve the same result by disabling the driver.

Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
2019-10-04 18:51:57 +02:00
guaiyihu
7694b15bde
sdm660-common: rootdir: Set MTP product name dynamically
Change-Id: I3af1f3ea3bd15a20e7623fcb5078e585619c1564
2019-09-27 17:13:45 +02:00
Max Weffers
6133ed7040
sdm660-common: Update init.rc and init.sh from LA.UM.8.2.r1-04000 2019-09-27 17:13:45 +02:00
GuaiYiHu
59a8b993ed
sdm660: rootdir: Configure input boost value
Change-Id: Ic8be69c706b7caf4c4a33195257fd794cc24ddbd
2019-09-05 12:17:22 +02:00
Max Weffers
c9b398e327
sdm660-common: Update init files from LA.UM.7.2.r1-07400-sdm660.0 2019-08-15 15:27:20 +02:00
Bruno Martins
83814f81bb
sdm660-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
2019-08-14 10:04:13 +02:00
GuaiYiHu
bc02699357
sdm660-common: rootdir: Start ipacm for all devices even with no ril
Change-Id: I50b600e2270b4b7628c14c362db87fd391d29252
2019-08-14 10:04:13 +02:00
Karthik Gopalan
33fed0a190
sdm660-common: post_boot: msm8937: Disable core_ctl for 8917
core_ctl's enable & disable nodes are differnt on different
kernel versions. Fix Disabling of core_ctl for msm8917.

CRs-Fixed: 2366575

Change-Id: Ide7fc5384b34e9e686fe686f9fd70aaaaffcc278
2019-08-14 10:04:13 +02:00
Jack Pham
6d21c523c7
sdm660-common: init.qcom.usb.sh: Simplify ESOC check
Currently if targets support ESOC there would almost certainly
only be a single instance of an external modem. Hence we can
simplify the esoc_link check accordingly without needing to do
a loop and grep. Choosing the external modem composition simply
depends on whether esoc_name is present.

Change-Id: Ib47e34fd31c3745a0c7b3568968f6f36681c98e7
2019-08-14 10:04:13 +02:00
Karthik Gopalan
14272dab4b
sdm660-common: init.qcom.post_boot: Modify Naming convention for properties
Modify naming convention for properties
and also remove unused code.

CRs-Fixed: 2206509

Change-Id: I78821a66a65d92ea9284283efe5e3ca1659fa3de
2019-08-14 10:04:13 +02:00
Dusan Uveric
97fb27fc8b
sdm660-common: ramdisk: adjust cpubw bwmon values
Those values seem off. CAF maybe messed them up as those values look possibly wrong.
Those values are used as powerhint values on pixel 2 and 3.

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-08-14 10:04:13 +02:00
Artem Borisov
bdfe592a87
sdm660-common: Disable ALMK on all targets
* No matter how hard QC tried to improve these features, they still suffer
  from stability issues, mainly due to the unpredictable nature of vmpressure
  they rely on.

Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
Bhargav Upperla
b45105ad5d
sdm660-common: Update memory related parameters.
Set:
1. swappiness
2. read_ahead_kb
3. page_cluster

Change-Id: Ia78f77a90f6a5649eea6c8572edc52a98ae7926f
2019-08-14 10:04:12 +02:00
GuaiYiHu
c822db2bb2
sdm660-common: rootdir: Add missing changes from miui wayne
Change-Id: If267076b13874c37ee7020e0e7136c668c5aec16
2019-08-14 10:04:12 +02:00
GuaiYiHu
19c327d6a7
sdm660-common: rootdir: Readd port-bridge service init
* Fix usb tethering.

Change-Id: I15ca6485c082d303210a98ae96082bad3d81f1ba
2019-08-14 10:04:12 +02:00
guaiyihu
7a28bc9a96
sdm660-common: Remove unused binaries and services
Change-Id: I118bada5433b44a7bb7ebbdd6c10c8e0d054c7f4
2019-08-14 10:04:11 +02:00
Jaekyun Seok
17f4b877b8
sdm660-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-08-14 10:04:11 +02:00
guaiyihu
5d5e94fe1d
sdm660-common: rootdir: Clean up unused init scripts
Change-Id: Ib6ba59acb1f1d6b773aeca3c326944049784887c
2019-08-14 10:04:11 +02:00
GuaiYiHu
ea9e8c475d
wayne-common: rootdir: Kill init.qti.qseecomd.sh
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I6fe31f784abd08bd4d7ca79e238f10087c16ca69
2019-08-14 10:04:10 +02:00
Ethan Chen
d37c839c72
wayne-common: Remove init.qcom.early_boot.sh
* This script doesn't do anything useful, since it tries to set a lot of
  ro.* properties, which is not allowed anyway.

Change-Id: I408cc17d0d18e81a9cf0e529e6b78622c3017a7f
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
Isaac Chen
440c138626
wayne-common: Update from jasmine
* jasmine_sprout 9 PKQ1.180904.001 V10.0.9.0.PDIMIXM release-keys
 * Graphics SDM from LA.UM.7.4.r1-04100-8x98.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Change-Id: I457f9d446b86b856e2cebe85b698403005c58d3e
2019-08-14 10:04:10 +02:00
Vinay Verma
c10b9d9723 wayne-common: Moving persist mount point to /mnt/vendor/persist
Move persist entry to fstab and mount at /mnt/vendor/persist

Apply required user, group and permissions once persist
folder is created through __mount and parititon is mounted.

Run restorecon on /mnt/vendor/persist.

Change-Id: I20a16f3669bc7abf9844525c6ba0db1521a5a8e2
2019-07-01 16:42:16 +02:00
Jaekyun Seok
35e312e135 wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-07-01 14:15:04 +02:00
guaiyihu
578cbeb720 wayne-common: rootdir: Clean up unused init scripts
* init.qcom.class_core.sh
 * init.qcom.coex.sh
 * init.qcom.crashdata.sh
 * init.qcom.efs.sync.sh
 * init.qcom.sdio.sh
 * init.qcom.syspart_fixup.sh
 * init.qcom.wifi.sh
 * init.qti.ims.sh
 * qca6234-service.sh

Change-Id: Ib6ba59acb1f1d6b773aeca3c326944049784887c
2019-07-01 14:15:04 +02:00
Bruno Martins
5fd30f742d wayne-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
2019-07-01 14:15:04 +02:00
TheScarastic
25b47ac236 wayne: Delete goodix data if other slot is taking up space 2018-07-13 00:03:44 +00:00
Isaac Chen
71ad0c9e53 wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:01:25 +00:00
GuaiYiHu
b3d7f22ea2 wayne: Move ramdisk configs to rootdir dir
* Clean up unused configs

Change-Id: I0aae320468796a67fc2110aef0b31c06da2314e3
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00