Commit graph

191 commits

Author SHA1 Message Date
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
Maryia Maskaliova
8df20abf05
Modifying /sys/block nodes:
Setting dm-2 read_ahead_kb to 512 on boot completed

Change-Id: I7542a23e5f9197a5faa7ad20e4d18634780d13c9
2019-12-16 18:24:55 +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
Gidon Studinski
dd63456a82
common: init: expose /dev/wigig_sensing device node to user space
/dev/wigig_sensing is the entry point to an SPI kernel driver which is a
part of a remote sensing solution using 60GHz HW.

Change-Id: I1b538e0c58ae784997407f91a7647c2188ee7d58
2019-12-16 18:21:06 +01:00
Ajay Agarwal
9c7d9c20bb
init.msm.usb.configfs.rc: Add support for USB PID 0x9020
0x9020 composition includes DIAG + ADB + DUN + NMEA. Add support
for the same.

Change-Id: I364d4e87b63d7e5dfb394db6e92e650764b7cc96
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2019-12-16 18:19:42 +01:00
Xiaojun Sang
42583ca43e
sdm660: add aud_pasthru_adsp access for audio
Change-Id: If4cb96e00ccfaff60b08c42d92370cb46fbb9a0e
2019-12-16 18:19:13 +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
Arne Coucheron
aeaffc4a19
sdm660-common: Change charger seclabel from healthd to charger
Change-Id: I86515de0f8ac1ae4d8d83dae7638592a619a3e7c
2019-12-14 23:20:16 +01:00
Stylogey
25dadea83b
sdm660-common: XiaomiParts: Start folio_daemon only if a prop is set 2019-12-13 16:57:53 +01:00
Michael Bestas
540804fce2
sdm660-common: Resolve vendor_init SELinux denials 2019-12-07 18:49:55 +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
Arian
4729f1a854
sdm660-common: rootdir: Move ims service declarations to their own rc files
Change-Id: I1546d673c3d7e19bef8ada817fa6d32671541400
2019-12-02 17:22:37 +01:00
EnesSastim
14897802e8
sdm660-common: Update TimeService from LA.UM.8.2.r1-04300-sdm660.0
Signed-off-by: EnesSastim <sastimenes@gmail.com>
2019-11-14 17:12:03 +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
Pavan Kumar M
843c0ae901
sdm660-common: FR 53051: Self Contained Module
Desc: Remove cnd, dpmQmiMgr daemon

Change-Id: I741a951bf71f72db009ddde94991aa876705b99a
2019-11-12 18:12:20 +01:00
Max Weffers
f9b74aaf49
sdm660: Remove now unneed setprop for boot parse
* now set in init.post.boot
2019-11-01 12:18:36 +01:00
Lior David
b3cc441dc5
sdm660: init.qcom.rc: remove interface line from hostapd_fst
The interface line in hostapd_fst is the same as the
default hostapd service and this can cause the lazy
HAL mechanism to start hostapd_fst instead of the
default hostapd, causing various errors.
This change only fixes the errors with default hostapd
operation. In order to fix FST feature with hostapd_fst,
additional changes are needed such as making it use
the default hostapd service and adding sepolicy rules
to support it.

Change-Id: I133336b1ae18fa823969f240b3e4376989fbf017
2019-11-01 12:18:36 +01:00
Li Li
ab75a7b947
sdm660: ueventd.qcom.rc: set permissions for /dev/sp_nvm device
/dev_sp_nvm is used by sp_iar_lib to store CMAC values for spu
 firmware and application

Change-Id: I2ac5f29b66448a526cdbc6a1ccefd5f80066c170
Signed-off-by: Li Li <liil1@codeaurora.org>
2019-11-01 12:18:36 +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
Subbaraman Narayanamurthy
47d26aa9b6
sdm660: init.qcom.rc: add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.

Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2019-11-01 11:52:54 +01:00
Muhammed Siju
f84faea716
sdm660: Init: Add system group for init.class_main.sh
/vendor/firmware_mnt/verinfo/ver_info.txt ownership
is now system,system. Hence need to add system group
for init.class_main.sh

Change-Id: I9c759c22aca7a8c5bc04908748f26916025c7b07
CRs-Fixed: 2534121
2019-11-01 11:51:58 +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
Rama Bondan Prakoso
153cfbd83f sdm660-common: Add support for lavender (Redmi Note 7/7S)
* add A-only SAR fstab
* hax manifest keymaster version

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2019-10-31 17:39:23 +00:00
1582130940
e36cce059a
sdm660: Set default wifi country code 2019-10-29 18:40:40 +01:00
Jeff Vander Stoep
c145e57b0f
sdm660: Move folio_daemon to system in sepolicy
Remove Treble violations.

Bug: 36867326
Bug: 62387246
Test: loaded on taimen, checked dmesg, and tested daemon with magnet
Change-Id: I4662b41206b94cae6ac9843b5dc7e1452003c63c
2019-10-19 20:50:52 +02:00
Andrew Lehmer
f08faed4c3
sdm660: Add support for folio cases
Bug: 35243564
Test: Used magnet to wake and lock device. Also tested during suspend.
Change-Id: I4b819e12cc23a3d7a8ce048e208c15eac4f8d6c5
2019-10-19 16:29:57 +02:00
dianlujitao
9cea8c75c9
sdm660-common: Set sys.post_boot.parsed on vendor.post_boot.parsed changed
Change-Id: Ibb924cd28408d9688e18d64b5b22ab10f1fc5227
2019-10-15 16:31:29 +02:00
Michael Bestas
0604dd4d45
sdm660-common: Set vendor.post_boot.parsed=1 for starting perf properly
* Allows perf to work properly on boot to restore selected power profile

Change-Id: Ib92f971f28ed875481170b056ac16aad05aadcfc
2019-10-15 16:24:33 +02:00
Jerry Zhang
90c8d2c729
sdm660-common: Remove configfs triggers from recovery rc
Configfs triggers will now be in the core
init.recovery.rc, similar to main system
files.

Test: Usb works in recovery
Bug: 78793464
Change-Id: I26a403425edce1d4947daf2510e28beb026ba5f6
2019-10-15 15:23:54 +02:00
Michael Bestas
bb4c22c198
sdm660-common: Add init.recovery.qcom.rc
* Copied from wahoo init.recovery.hardware.rc,
  fixes partition mounting and ADB in recovery

Change-Id: I8a0136dd08c0df0ffb08bec8f35bffd38f5d44bb
2019-10-15 15:23:47 +02:00
Bruno Martins
69c07a31dc
sdm660-common: Drop the creation of deprecated system_data folders
As per treble rules, this is no longer allowed from within
vendor init. At the same time these folders are long deprecated,
so drop them and get rid of the SELinux denials.

Change-Id: I47d25bcf92dcc16b7b112b7b1257cd3e66fee57b
2019-10-15 10:24:03 +02: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
Madhanraj Chelladurai
dcf98c87e2
sdm660: Add locSll library and add permissions to device node
Change-Id: Idacac778610699af0f01d65096092328bbe8ac1d
CRs-Fixed: 2413585
2019-10-04 18:53:18 +02:00
Vijayakumar Badiger
0fb9a6b06a
sdm660: gvm bringup changes
Add lcd density hab node permission

Change-Id: If9bfcbf21b0b3933cd2d0f567384de0c4685d044
2019-10-04 18:53:18 +02:00
Amandeep Virk
c2ba47c816
sdm660: qcom: devices: Add iuicc0 and iuicc1 devices
Add iuicc0 and iuicc1 devices that can be opened
by spdaemon to create iuicc0 and iuicc1 channels
respectively and interact with iuicc0 and iuicc1
applications respectively on the Secure Processor.

Change-Id: I2554616073553065416756e23c3e27f2f9c90021
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
Manoj Basapathi
37c1eeaf40
sdm660: init: qcom : remove unused /data access.
-IMS service is no longer using /data/shared path.
-remove unused /data/shared path access.

CRs-Fixed: 2526160
Change-Id: I072d0b922a48880d45f7c85ac3569b2cec3d7250
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
Jun-Hyung Kwon
1bde0c0aec
sdm660: init.qcom.rc: add wakelock and BLOCK_SUSPEND to vendor.sensors
add wakelock group and BLOCK_SuSPEND capabilities to vendor.sensors
to acess wake-lock sysfs nodes

Change-Id: I193836d097f15f5bfbe1645909ae70f3f870f972
2019-10-04 18:53:17 +02:00
Max Weffers
b249dc1710
sdm660-common: rootdir: Add back missing Services
* removed in last caf merge without think about it
2019-10-04 18:52:13 +02:00
Wei Wang
04d14b6518
sdm660-common: rootdir: remove interaction lock when idle
Allows earlier interaction lock release by polling on display updates to
stop happening (becomes idle) for a programmable amount of time.

Bug: 62110101
Test: Ran UiBench, didn't see regressions
susbset of tests - avg-jank:
testInflatingListViewFling: 0.09
testTrivialListViewFling:   0.15

Change-Id: I83c0fc75a3d7ca5bf76910ebbaeddb69343a7ee2
2019-10-04 18:52:13 +02:00