Notes:
- The faceauth_dsp-secure heap node didn't have permissions set,
so it defaulted to root:root, making it inaccessible to our HAL.
Bug: 268669923
Test: atest
Change-Id: I35212fb6da4c49ab372b9c9d7ab20c8b85489364
Changed the ownership of atomic write sysfs nodes for Pixelstats.
These nodes contain values such as peak_atomic_write, committed_atomic_block,
and revoked_atomic_block.
Bug: 242766542
Bug: 259351100
Test: check these ownership under /dev/sys/fs/by-name/userdata/
Change-Id: I4f27eb91d62829ef069565a65b262aaad95a443d
Signed-off-by: Ocean Chen <oceanchen@google.com>
Bug: 271378726
Test: Build and boot on device. Test with emul temp
Change-Id: I3cc53cb11e5dabbb894990c57e10da3a895244e7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
- 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
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>
Fix prefix-correlation weakness in filenames encryption by switching to
AES-256-HCTR2. Enabling HCTR2 fixes a longstanding known weakness in
filenames encryption.
Also enable HCTR2 for adoptable storage. Pixel phones don't have an SD
card slot. So they can only have adoptable storage through the "Virtual
SD Card", which is for testing only.
Bug: 265046004
Test: Equivalent changes were tested on P21 since I don't have a P23.
Will be tested with storage-qa.
Change-Id: I0666eb07c4b93b1bab4da41e3b4f5019ac38c213
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
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
pKVM provides a workaround for A0 hardware issue. Signal to tests that
an A0 device should not be run without it by enabling it in /misc on
first boot. We only do this on debug builds.
Bug: 266183966
Test: flash, boot, reboot to bootloader, check 'fastboot oem pkvm'
Change-Id: I9465cf816c65943cba6e04b1d939b0bb5af4395d
Performance of pKVM differs between hardware revisions. Set AVF's debug
property on A0 chips to separate benchmark results from each other.
Bug: 266183966
Test: getprop | grep 'debug.hypervisor.metrics_tag'
Change-Id: Ic7c048e1209bf957cef2373b92dc2e9de2733a9c
Set /dev/acd-audio_rtp_rx and /dev/acd-audio_rtp_tx permissions
to system:radio so that ImsMedia can use them for VoWIFI.
BUG: 259874554
Change-Id: Ie5e0500b09c91b450f55d5748fd7e9abd6b65510
Signed-off-by: brucepo@google.com