Commit graph

2056 commits

Author SHA1 Message Date
[6;7~
6c444eebdf Enable deleteAllKeys from vold
If vold detects when setting up metadata encryption that there has been
a factory reset, call deleteAllKeys on Keystore to delete old user data.

Bug: 187105270
Test: booted Oriole twice
Change-Id: Ife779307db0fe161c8889f7aaab34e2899a6c9e6
2021-08-11 21:41:16 +00:00
samou
fcf71d5986 powerstats: correct TPU DVFS am: 5919e9e441 am: 86aa70a8eb am: 9c4ab86823
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15515806

Change-Id: Ia4b782662f5a8d13d4cfb84b96cec17881b58d78
2021-08-11 21:36:04 +00:00
samou
494466b721 powerstats: correct TPU DVFS am: 5919e9e441 am: e2e384672b am: 5c9b6f14d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15515806

Change-Id: I16f69ef2a8c42c5140b488d30bb4dbeb8a869177
2021-08-11 21:34:22 +00:00
samou
63a065347e powerstats: correct TPU DVFS am: 5919e9e441 am: 86aa70a8eb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15515806

Change-Id: I823abb7aaef3b23d28e27610cdeaff270a191297
2021-08-11 21:20:36 +00:00
samou
ed31b7318f powerstats: correct TPU DVFS
Bug: 196161144
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I8ec871afa4ca2050b5ddd59d0ea33b237b2b8a63
2021-08-11 20:50:08 +00:00
Automerger Merge Worker
357f4e8e2a Merge "Start storageproxyd early am: 895c3faafc am: 609a3cda8e am: d24b416052" into sc-v2-dev-plus-aosp am: 89d1ae847c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: If64093c9278e5396f7e3cf42c05325ae81c60db5
2021-08-11 17:01:14 +00:00
Automerger Merge Worker
a1e7efd6f4 Merge "Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: dc34e43296 am: 19432681ee" into sc-v2-dev-plus-aosp am: e999f848da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: I92afbafa0a817672bdc92c0fc61aa3701dbb8d05
2021-08-11 17:01:00 +00:00
Aaron Ding
21a61eada9 Update ro.soc.model to Tensor am: 8232dd0547 am: 1575b3db7b am: a79922aae3 am: ba8ddcdd30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: I65d11979107d6db7052b5b650d3835a09d74ab00
2021-08-11 17:00:34 +00:00
Tri Vo
fa8c660c0b Start storageproxyd early am: 895c3faafc am: 3d76d6bf6f am: 59e2a7cb65 am: 73da15f5ce
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: I63ff55073288439a75db4566fd6d7db6735b8acb
2021-08-11 17:00:00 +00:00
Tri Vo
e90d91bbc0 Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: cb7559a0eb am: d4c00d32dd am: 33c44f69d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: I9b26989d9289181e05631c32393bc61b2488f250
2021-08-11 16:59:59 +00:00
Aaron Ding
e9a9827b80 Update ro.soc.model to Tensor am: 8232dd0547 am: fabbca37bc am: 8a1c87eee1 am: e4c46f081e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: Ib8bfed9efe15581c357ee2ccf96eb3d37a95f669
2021-08-11 16:59:51 +00:00
Tri Vo
41919dbbf5 Start storageproxyd early am: 895c3faafc am: 609a3cda8e am: d24b416052
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: I4e5c6bc43114c2c187bfa38b31b8135b3ac770bf
2021-08-11 16:38:22 +00:00
Tri Vo
243314b796 Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: dc34e43296 am: 19432681ee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: If3860ef734399458ab247acdcf5a9533516d2230
2021-08-11 16:38:21 +00:00
Aaron Ding
9c1e10b9b8 Update ro.soc.model to Tensor am: 8232dd0547 am: 1575b3db7b am: a79922aae3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: I9f9c40dfd43ee4b1ca3b68e8eb119d148cfa35a6
2021-08-11 16:38:12 +00:00
Tri Vo
13778484f0 Start storageproxyd early am: 895c3faafc am: 3d76d6bf6f am: 59e2a7cb65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: I34b1485b3c483c53723580daa1ea4887c166b3ad
2021-08-11 16:38:03 +00:00
Tri Vo
511b11e138 Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: cb7559a0eb am: d4c00d32dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: I5afe0d95c9cfbd82d3b3b1a475f987393aa16ce4
2021-08-11 16:38:02 +00:00
Aaron Ding
a7cb3c5ebc Update ro.soc.model to Tensor am: 8232dd0547 am: fabbca37bc am: 8a1c87eee1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: Iefdb2292035e6064d581f2b5dcc8cadd988009ed
2021-08-11 16:37:47 +00:00
Tri Vo
fded53ff36 Start storageproxyd early am: 895c3faafc am: 609a3cda8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447094

Change-Id: Icb0314c9eabf9a9c826f39ee01a0618ea480d696
2021-08-11 16:22:00 +00:00
Tri Vo
0fb5d7b041 Set /dev/sg1 permissions in ueventd.rc am: d573af4a65 am: dc34e43296
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447093

Change-Id: Iee3cd66794c9a75e830fad99fcf36ff669968568
2021-08-11 16:21:59 +00:00
Aaron Ding
fdceee5b93 Update ro.soc.model to Tensor am: 8232dd0547 am: 1575b3db7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15509391

Change-Id: I266d7f4af237e1f75defde9042437645e7e724d4
2021-08-11 16:21:50 +00:00
Tri Vo
7290750087 Start storageproxyd early
And restart it after /data is mounted.

Bug: 187105270
Test: boot raven, secure storage test com.android.storage-unittest.td
Change-Id: I505e315b58c3e0830d9a1f11d2f8afd549186535
2021-08-11 16:02:34 +00:00
Tri Vo
f29084928b Set /dev/sg1 permissions in ueventd.rc
This way we don't need to guess when we need to chown.

Bug: 187105270
Test: boot raven
Change-Id: I36b17d440ef340e558b10ed3fef03435ec63690f
2021-08-11 16:02:34 +00:00
Aaron Ding
2ca88b86a2 Update ro.soc.model to Tensor
Bug: 194969858
Change-Id: I6cb64d9d0ae08cb71f6c2eefa3700e7bc0a89504
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-08-11 15:53:15 +00:00
Chris Fries
8792b56c2a device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: a7f7d69d66 am: c3ab04b8c8 am: 005a3712b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: Iaa7c26470c95e5a12564b30dac350fad1a7ebacd
2021-08-11 15:37:54 +00:00
Chris Fries
1327d710cc device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: 4888035eb4 am: 3118548a67 am: 3ef3d23073
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: I2604de2b881a653b544aeb7048a2d162a7fa4365
2021-08-11 15:37:39 +00:00
Chris Fries
c31243e171 device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: a7f7d69d66 am: c3ab04b8c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: Iadbe13c3fbfa3f04b41c3d2447e202711e687cfd
2021-08-11 15:23:28 +00:00
Chris Fries
941f539e9e device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: 4888035eb4 am: 3118548a67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: I90e78f62f3421b93624537bb7f8dbcfd31b7e4a1
2021-08-11 15:22:29 +00:00
Chris Fries
8a147370a2 device.mk: Freeze vendor security patch 2021-09-05 am: 97a63828db am: a7f7d69d66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520496

Change-Id: If4e26c7c6e63be46c10ef6771dfaf8b45288d69b
2021-08-11 15:08:20 +00:00
Chris Fries
f89fbc87d7 device.mk: Freeze vendor security patch 2021-09-05
(stopship hack) Freeze the SPL so that we can test more
rollback cases in testing before launch.

Bug: 187105270
Change-Id: Icb475d6c3331d26a6b5314cbb0cdf2cbe1428a27
2021-08-11 14:37:57 +00:00
George Lee
45651718fb bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 5cfe546552 am: cc452aac9e am: bb3f8aa2cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: I314e8fd8e128bd56d690cc7006de4fab8ee7aa15
2021-08-11 02:30:23 +00:00
George Lee
7b89d69952 bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 914bdfb461 am: 483b6b54b2 am: 1937af1151
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: I8ca936ffb773e12f943873baf1416923cfc59cbc
2021-08-11 02:29:52 +00:00
George Lee
3a00a1cda1 bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 5cfe546552 am: cc452aac9e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: Icb31685d110590512bf868ed5c7dac837a45ab3d
2021-08-11 02:21:57 +00:00
George Lee
8a86c097e4 bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 914bdfb461 am: 483b6b54b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: I88b21fd9737cf9c2bcd02cb139ad4992443a4339
2021-08-11 02:16:57 +00:00
George Lee
32041624d4 bcl: lower ocp_warn for tpu and gpu am: c3acda67ac am: 5cfe546552
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15521030

Change-Id: I52d6d5375ea4ffc39093d26a09cb9745897c305f
2021-08-11 02:02:52 +00:00
George Lee
ff8a3c60a2 bcl: lower ocp_warn for tpu and gpu
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I499bcfecf4a0eea7459f8cdd41d4e7c59129ffef
2021-08-11 01:32:04 +00:00
TeYuan Wang
5dd265dad4 thermal: provide permission for user space request TPU throttling am: 6067e669ca am: e8f5bb9a8a am: 0ca9c9b573 am: 9405233c13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: I1e3c5ccb8101e2223729831463e957212acd0fe3
2021-08-11 00:18:45 +00:00
TeYuan Wang
140c98fcd8 thermal: provide permission for user space request TPU throttling am: 6067e669ca am: a10c272ab0 am: ab664f6ab8 am: d557b7a130
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: I5dce366973586e666eb02e228cc6aa682531b992
2021-08-11 00:18:35 +00:00
TeYuan Wang
30316a5adf thermal: provide permission for user space request TPU throttling am: 6067e669ca am: e8f5bb9a8a am: 0ca9c9b573
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: I04fc4df2554512ffe090932d7f84df4adbeabe67
2021-08-11 00:06:16 +00:00
TeYuan Wang
03f7b345f4 thermal: provide permission for user space request TPU throttling am: 6067e669ca am: a10c272ab0 am: ab664f6ab8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: Iea5171b55b203a8bc9f3115cfebdcac9b5048f39
2021-08-11 00:05:45 +00:00
TeYuan Wang
f87b53892a thermal: provide permission for user space request TPU throttling am: 6067e669ca am: e8f5bb9a8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472395

Change-Id: I3c55352806b79ab7d5a26e57cad912692480fd04
2021-08-10 23:51:46 +00:00
TeYuan Wang
cc9cd89806 thermal: provide permission for user space request TPU throttling
Bug: 188701596
Test: ls -al dev/thermal/cdev-by-name/tpu_cooling/user_vote
Change-Id: I8a53b118b2e8e51603554c5fbb8a085d47422918
2021-08-10 23:18:01 +00:00
Ted Lin
c9e1b9aeef dumpstate: move the dump registers from regmap to each driver am: 83a8549940 am: 65791286df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15501578

Change-Id: Ia514c16dcf80d3e6cdfe0f43329c9079a5049d35
2021-08-10 08:35:16 +00:00
Ted Lin
124b668baa dumpstate: move the dump registers from regmap to each driver am: 83a8549940
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15501578

Change-Id: Ia3476e2aaf9070485f4305c6f9bb742a83754677
2021-08-10 08:25:05 +00:00
Ted Lin
8d90260342 dumpstate: move the dump registers from regmap to each driver
dumpstate availible to dump data with below 2 permission:
-r--r--r-- 1 root root
-r--r----- 1 system system
but /d/regmap permission is -r-------- 1 root root
1. we cannot change root to system with chown if the file node is root
2. we cannot change to read with chmod if the file node is root
3. try change permission in vendor_init causes sepolicy build fail with
   message rule neverallow

Base on above results, we added new file node in kernel with available
permission to dump needed data and dump it.

Bug: 194941806
Test: adb bugreport
Change-Id: Ieeb1adfb0351ceb33bf817cbef3663d41cdb8645
Signed-off-by: Ted Lin <tedlin@google.com>
2021-08-10 07:47:14 +00:00
Wei Wang
8844e290ee Add OWNERS for key perf/power config files
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I6bc2665e047b7e964c53a31a18e76a86ae9bc427
2021-08-10 02:22:22 +00:00
Wen Chang Liu
0ba286731b Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: ce4823810e am: 375276eea9 am: 424bf9dc8c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I360fd68bcd774984a9cee7f59e61eec1eaf6ac4d
2021-08-10 00:57:47 +00:00
Jidong Sun
46ff006fc4 mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 67acf0c025 am: 685717802b am: 5d30bcf227
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: I4e0f73a7965adc3a15b6a41414ca65c06a437544
2021-08-10 00:57:46 +00:00
Wen Chang Liu
b7205fc5ab Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: 62a6ea6ab9 am: deda4c62ff am: eb6d6ab3f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I11e07359f8fda0afea504a692c34bf03c00cfaaf
2021-08-10 00:56:12 +00:00
Jidong Sun
2e1da318f3 mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 760196efdf am: 336023fdd1 am: ddb6b4c862
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: I3575cb89493198bafa76083fabe03b7083e5e011
2021-08-10 00:56:11 +00:00
Wen Chang Liu
e4fe96641d Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: ce4823810e am: 375276eea9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I540c5cd5cf0a597fb887c252c2534c7dd0aca34a
2021-08-10 00:31:36 +00:00