Merge changes I9465cf81,Ic7c048e1
* changes: Set pKVM to enabled in /misc on A0 chips Set pKVM metrics tag
This commit is contained in:
commit
7f59f49e22
1 changed files with 22 additions and 0 deletions
|
@ -31,3 +31,25 @@ on property:power.battery_input.suspended=false
|
|||
on post-fs-data
|
||||
chown bluetooth system /dev/logbuffer_btlpm
|
||||
chown bluetooth system /dev/logbuffer_tty18
|
||||
|
||||
# pKVM performance is different on A0 and B0 chips.
|
||||
# Add extra tag to metrics collected on A0 to separate the results.
|
||||
on property:ro.revision=PROTO1.0
|
||||
setprop debug.hypervisor.metrics_tag "hwrev_a0"
|
||||
on property:ro.revision=PROTO1.1
|
||||
setprop debug.hypervisor.metrics_tag "hwrev_a0"
|
||||
on property:ro.revision=EVT1.0
|
||||
setprop debug.hypervisor.metrics_tag "hwrev_a0"
|
||||
|
||||
# A0 chips require pKVM for a hardware issue workaround. Set pKVM to 'enabled'
|
||||
# in /misc partition on first boot to signal to tests that this device should
|
||||
# not be booted with pKVM disabled.
|
||||
service vendor.force_pkvm /vendor/bin/misc_writer --set-enable-pkvm
|
||||
disabled
|
||||
oneshot
|
||||
on property:persist.sys.device_provisioned=1 && property:ro.revision=PROTO1.0
|
||||
start vendor.force_pkvm
|
||||
on property:persist.sys.device_provisioned=1 && property:ro.revision=PROTO1.1
|
||||
start vendor.force_pkvm
|
||||
on property:persist.sys.device_provisioned=1 && property:ro.revision=EVT1.0
|
||||
start vendor.force_pkvm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue