Wei Wang
f8a4a27c11
Merge "thermal: add support for multiple trigger sensors" into udc-dev
2023-03-14 05:35:39 +00:00
David Chao
5f28454244
thermal: add charger thermalHAL setup into project
...
Bug: 272701980
Test: thermal_symlinks worked properly in charging mode
Change-Id: I3a5163ba3ccbdd134898dc682407a7a9136751e3
2023-03-13 14:52:06 +08:00
Peter (YM)
1d535ab4e8
thermal: allow soc_therm and usb_conn_therm trip point change by system
...
Bug: 268589207
Test: build and boot on device
Change-Id: I2b7e1a7ceb2daa48c5a69df6a68e68e56cfe5568
Signed-off-by: Peter (YM) <peterym@google.com>
2023-03-09 11:13:17 +00:00
Kris Chen
ca44e39b68
Set permission for dpu hibernation sysfs node
...
Bug: 256947811
Bug: 251239489
Bug: 267271482
Test: Perform udfps osc compensation.
Change-Id: I0e9e48387d89cc5d51a23e659fb7e31d5a3e4d7c
2023-03-08 03:13:27 +00:00
Sayanna Chandula
66aa28ff3e
thermal: add support for multiple trigger sensors
...
Bug: 271378726
Test: Build and boot on device. Test with emul temp
Change-Id: I3cc53cb11e5dabbb894990c57e10da3a895244e7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-07 14:58:07 -08:00
Sayanna Chandula
5bfd0dfe4b
thermal: allow disp_therm trip point change by system
...
Bug: 268735739
Test: Build and boot on device
Change-Id: I255c97f6155cdbad79209f96d7a16c5580635ead
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 18:00:32 +00:00
Armelle Laine
ef7ce3877c
Merge "Enable Trusty persist storage (TDP) on block-device" into udc-dev
2023-03-01 03:41:09 +00:00
Armelle Laine
35a81f6207
Enable Trusty persist storage (TDP) on block-device
...
- Define selinux property for /dev/block/by-name/trusty_persist
- Add symlink into init.zuma.rc
Bug: 247013568
Test: - Verify that this change is a NOP for devices with TDP already
created on top of the legacy f2f2 partition /mnt/vendor/persist/ss
- Verify that this change creates a valid symlink on a manually
migrated block device
Change-Id: I231938e708e5a5d6d64818e184a92acdc0ba37de
2023-02-27 22:42:08 +00:00
Sayanna Chandula
fadc2aeb42
thermal: set dfs clock divider to 8
...
Increase the DFS clock divider to avoid thermal reset.
Disable CPU cluster power down during clock settings.
Bug: 268768104
Test: Build and boot on device. Check with geek bench test
Change-Id: Ic4b959a7db0c5e903d617531d449b08cc5c81d0a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-02-27 22:33:33 +00:00
Florian Mayer
538441d7cd
Merge "[Zuma] set mte_tcf_preferred to sync for little and mid cores"
2023-02-15 00:47:02 +00:00
Florian Mayer
0a55c41d15
[Zuma] set mte_tcf_preferred to sync for little and mid cores
...
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.
SYNC is prohibitively slow on the big core.
Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
2023-02-14 00:53:27 +00:00
Salmax Chang
9d136a1f4a
Merge "init: restorecon modem persist file"
2023-02-08 07:49:19 +00:00
Salmax Chang
ee7873d879
init: restorecon modem persist file
...
Re-label the SElinux context of modem persist file
Bug: 258744063
Change-Id: Ibd06a8d0eb4f8aa1762c27497e88cde9d37d14b9
2023-02-08 07:47:52 +00:00
shengchiliu
94cc9e9c99
Create a folder to store the calibration file
...
This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.
Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469
2023-02-07 18:36:09 -08:00
Jenny Ho
5059368362
dumpstate: dump battery defend logbuffer
...
Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-05 14:03:30 +08:00
Jack Wu
cadef9557f
init: add permission for charging_policy access
...
Bug: 251425963
Test: write charging_policy sysfs node successfully
Change-Id: I2ee0788c5983bccd85d6e01aa6ea826b9addac41
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-02 12:20:50 +00:00
Doug Zobel
9b6a17e071
Merge "pixelstats: Configure PCIe link stats pathnames and access"
2023-02-01 15:04:04 +00:00
Sajid Dalvi
c649651b04
Merge "init: add dumpstate for pcie"
2023-01-31 19:53:26 +00:00
Doug Zobel
ecb02c9cc0
pixelstats: Configure PCIe link stats pathnames and access
...
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 266689144
Change-Id: Ie528c3273e43e0a3401449a057eeb9c7e6004ecf
Signed-off-by: Doug Zobel <zobel@google.com>
2023-01-25 09:57:06 -06:00
Sajid Dalvi
9d79164804
init: add dumpstate for pcie
...
Add logbuffer support to pcie driver to reduce dmesg spam.
Bug: 228870318
Change-Id: I714110a83bd04972db1017fae7dd08ea61b7a31c
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2023-01-24 18:56:37 -06:00
Mahesh Sivasubramanian
5cb0ef1f4a
zuma: Enable SICD after boot
...
Bug: 238226940
Change-Id: I43a00d12d97a8c5f86e6163c0fcf0160f9b5791f
Signed-off-by: Mahesh Sivasubramanian <msivasub@google.com>
2023-01-24 00:22:07 +00:00
Jaegeuk Kim
205be45bca
Remove wait_for_keymaster
...
Bug: 186580823
Change-Id: Ie13e99f9890ca06c21e1b4290cacbf843fadb962
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-01-12 03:28:16 +00:00
TreeHugger Robot
b09ab548fe
Merge "init: fix permission for logbuffer"
2023-01-12 02:07:51 +00:00
yihsiangpeng
c6ba6df4a5
init: fix permission for logbuffer
...
Move permission setting for logbuffer to early-boot to avoid timing
problem.
Bug: 261921843
Change-Id: Ia335a2cf0361a05c4921354ff80878627faf5010
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
2023-01-12 01:40:27 +00:00
Mahesh Sivasubramanian
8070fab2e9
Remove wakelock that prevents suspend/resume
...
Removing wake locks as crashes around suspend are addressed with revert
of b/210162308.
Change-Id: Ia71d7cfe7748bc7b3cf7f16b18106d23a8a4439d
2022-12-22 11:34:57 -07:00
Ben Schwartz
46b34c6bda
Merge "Revert "Remove wakelock that prevents suspend/resum""
2022-12-21 23:39:58 +00:00
TreeHugger Robot
2b0228a5a1
Merge "init: adjust memlat parameters"
2022-12-21 16:12:57 +00:00
Mahesh Sivasubramanian
be61e6854f
Revert "Remove wakelock that prevents suspend/resum"
...
This reverts commit abea026a7e
.
Change-Id: Idb79b73cfc08bae16dd8f46c734965c43f7452c0
2022-12-20 19:16:07 -07:00
Mahesh Sivasubramanian
abea026a7e
Remove wakelock that prevents suspend/resum
...
Removing wake locks as crashes around AOC SSR have been addressed.
Change-Id: I2ff948868b2d6540718fff02a4f20a3d7fd74459
2022-12-20 19:10:39 -07:00
Kyle Lin
c9738d69e1
init: adjust memlat parameters
...
Bug: 255398465
Test: build, boot and UiBench
Change-Id: I9ea154dc5d11615a39fe8b5c9939eebd8aa20d8f
2022-12-20 19:54:35 +08:00
TreeHugger Robot
d766110827
Merge "Remove UClamp Threshold setting"
2022-12-20 06:38:58 +00:00
Adam Shih
62ca2d4bb4
remove obsolete script
...
Bug: 254378739
Test: boot to home
Change-Id: I34b297a8783e17dd382ee8a745aef7ea5e9ce97a
2022-12-14 09:33:17 +08:00
Chungkai Mei
a1f0836796
Remove UClamp Threshold setting
...
the file node was removed so also remove these
dummy setting
Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-13 09:41:29 +00:00
Jenny Ho
db6f54a105
dumpstate: add wc68 logbuffer into bugreport
...
Bug: 260756283
Change-Id: I9a3b4af22dec4ff37de23091eae7f498e791a58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-12-06 00:52:14 +00:00
Siddharth Kapoor
ce0e1e2bb1
Merge "Revert "[REVERTME] Keep mali always_on""
2022-11-18 01:10:22 +00:00
Siddharth Kapoor
5a68ee6cc3
Revert "[REVERTME] Keep mali always_on"
...
This reverts commit 3155288db0
.
Reason for revert: pa/2325851 should fix the original issue, kernel prebuilts for which are merged with ag/20505306
Change-Id: Iaf921269852b14ecbe49bf17fbd41159f864d7c0
2022-11-17 22:58:49 +00:00
Jonglin Lee
55b99a4c63
Merge "Revert "Revert "Zuma: Hold wakelock on boot"""
2022-11-14 23:50:59 +00:00
Mahesh Sivasubramanian
55d3e0dae3
Revert "Revert "Zuma: Hold wakelock on boot""
...
This reverts commit e1a0727f1f
.
Reason for revert: AOC watchdog on Suspend.
Change-Id: I517ecdba12e63a9d4bceef2cb58745bca1a8bb88
2022-11-14 23:20:28 +00:00
TreeHugger Robot
f7c6499565
Merge "Revert "Zuma: Hold wakelock on boot""
2022-11-14 19:27:44 +00:00
Mahesh Sivasubramanian
e1a0727f1f
Revert "Zuma: Hold wakelock on boot"
...
This reverts commit 99e7d26840
.
Reason for revert: To enable suspend to RAM on Zuma
Bug: 247032124
Change-Id: Id0898cd98c4ac3f80bcfc8bdbad5399cd752d561
2022-11-12 00:53:23 +00:00
Kevin DuBois
e67e08b092
zuma: disable GPU fw log
...
Disable GPU fw log. This incurs performance penalty when left on.
Bug: 228779790
Test: benchmark before and after setting this switch
Change-Id: I4c9717b0915b85a18d0feb5044ecc56843137fcc
2022-11-08 16:48:22 +00:00
Jenny Ho
e08adf8bb2
Merge "set dev_sn for battery pairing"
2022-11-08 06:35:00 +00:00
Jenny Ho
1723365999
set dev_sn for battery pairing
...
Bug: 255894697
Bug: 238307181
Change-Id: I17605097cf2d480832aa1fbe215982685ab0c884
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-07 18:20:19 +08:00
Yen-Chao Chen
3586b36d91
Merge "init: change touch file owner"
2022-11-04 06:13:55 +00:00
Jenny Ho
fe75eb7e14
Merge "dumpstate: dump battery eeprom into bugreport"
2022-11-04 03:30:15 +00:00
David Kimmel
acc32747f7
Merge "init: Soft max dev freq persistent properties"
2022-11-02 18:50:02 +00:00
Jenny Ho
8ce88826e6
dumpstate: dump battery eeprom into bugreport
...
Add coresponse path and permission
Bug: 255894697
Change-Id: I597291bba2d17af99825dbe80a8f1436dc73e58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-02 17:33:13 +08:00
davidycchen
2a95f0dc94
init: change touch file owner
...
Bug: 243077990
Test: build pass
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ic68c6041748287e7065ca2df376db9d381eb8dd8
2022-11-02 14:24:32 +08:00
Adam Shih
c9f5913ea1
move gps init.rc settings to gs-common
...
Bug: 254758553
Test: boot and open google map getting my location
Change-Id: I34ef708fc29f617ce9320b790687ac126cf397c6
2022-10-31 10:51:07 +08:00
Jack Wu
e9c71901e4
Revert "init: support boot.charger_mode feature"
...
This reverts commit 42c035d7fa
.
Reason for revert: no longer needed.
Bug: 251680171
Test: manually
Change-Id: I8662fe20361690704820838f983168633d2cae08
2022-10-29 02:50:13 +00:00