0f101185ac3dcb1950a35815f7d763d980db43ce |
|
21-Jul-2017 |
Wei Wang <wvw@google.com> |
init.common.rc: disable bus-dcvs during boot This CL will save 150ms towards system_server_ready and also reduces the fluctuation. - Enable powersaving in charger mode - Enable bus-dcvs in boot_complete but not during boot - Start perfd after init.power.sh completes - Enable powerhint after perfd is started Before CL: SystemServer_start : 6.6129 0.1711 SystemUi_start : 9.9806 0.23816 system_server_ready : 10.672 0.26105 BootAnimStopRequest : 12.89 0.21894 BootAnimEnd : 12.937 0.2196 BootComplete : 13.111 0.20393 BootComplete_kernel : 13.118 0.20315 After CL: SystemServer_start : 6.7019 0.20667 SystemUi_start : 9.8279 0.13745 system_server_ready : 10.521 0.13817 BootAnimStopRequest : 12.706 0.14502 BootAnimEnd : 12.746 0.14517 BootComplete : 12.93 0.16598 BootComplete_kernel : 12.938 0.16541 Bug: 63644084 Test: 10 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py Change-Id: Ifa855da6d603fd68e4f3c009a5257214f51696c0
/device/google/marlin/init.power.sh
|
17f2b47d4cb3e7e065a1ea977f46124a6cd9169d |
|
13-Apr-2017 |
Sandeep Patil <sspatil@google.com> |
Install and use vendor shell for shell scripts Bug: 36463595 Test: Boot sailfish and make sure all init services (that are shell scripts) exit with status 0 Change-Id: I2f8b57926bac8d0a7b2b77dad898e11330bc0996 Signed-off-by: Sandeep Patil <sspatil@google.com>
/device/google/marlin/init.power.sh
|
4f3ee7a9c14bbb849d68c39dbddb6dd376a254d9 |
|
20-Oct-2016 |
Siqi Lin <siqilin@google.com> |
marlin/sailfish: Disable console suspend if uart is not enabled am: bf58c6dc86 am: 70b62a879e am: cafb334649 Change-Id: I679a39cf0216ee8c526b8ec9f62733b85b1b9e34
|
bf58c6dc86a2b4e7f2f13ce227848525bb55c0c8 |
|
30-Aug-2016 |
Siqi Lin <siqilin@google.com> |
marlin/sailfish: Disable console suspend if uart is not enabled Console suspend is now disabled by default and is only enabled if uart is enabled to minimize power impact. Disabling console suspend allows for getting more kernel logs into console-ramoops before a kernel crash. Bug: 30811325 Change-Id: I4321d68a2bc1fc03067d6f37967e0add2ad7af1d
/device/google/marlin/init.power.sh
|
5a6cf6b8da78a525afb4d29deae56c821f26b413 |
|
04-Aug-2016 |
Wei Wang <wvw@google.com> |
marlin: cleanup init script Remove writing to non-exist sysfs procfs nodes REmove duplicated service Bug: 30118894 Bug: 30642632 Change-Id: Ia8428a17cc9988ac7cd02330612bccc43075f4f4
/device/google/marlin/init.power.sh
|
9dec6b4c159631ebb71be0fc881dc8b3b38970c7 |
|
30-Jun-2016 |
Wei Wang <wvw@google.com> |
marlin: bring up cores before make governor change Bug: 29899885 Change-Id: Ia0cf3a54dcfeab3b199ca3830912bf9070b61f1c
/device/google/marlin/init.power.sh
|
5bfa50cafdeb9b23c2715cadc138641f28cc3a56 |
|
30-Jun-2016 |
Wei Wang <wvw@google.com> |
Revert "marlin: remove core control from msm-thermal" This reverts commit 265a654ec1ceb65e8209dcabb117f1dc3215988e. Change-Id: I906f015d8bffa48b2a63f7a0754636dd7577352c
/device/google/marlin/init.power.sh
|
265a654ec1ceb65e8209dcabb117f1dc3215988e |
|
29-Jun-2016 |
Wei Wang <wvw@google.com> |
marlin: remove core control from msm-thermal Bug: 29826784 Bug: 29547080 Change-Id: I67ba27b4dc3ed7fac631d847282a03392750b900
/device/google/marlin/init.power.sh
|
6446a902e2c2bf30f0cec424f235ff1b90f2fa80 |
|
27-Jun-2016 |
Wei Wang <wvw@google.com> |
marlin: remove BCL hotplug disable/enable from init BCL hotplug is disabled in DTS already This patch should resolve risk of racing condition of store hotplug mask Bug: 29547080 Change-Id: I4ccbda943095d6d8bb02c140d7cedebd85ae9710
/device/google/marlin/init.power.sh
|
8f69a80b6841be5dcf574b71d688254eda4babee |
|
22-Jun-2016 |
Srinath Sridharan <srinathsr@google.com> |
EAS: Capping the max freq of silver core to 1.6GHz BUG: 28627698 Change-Id: I525a1a1c83338d6cbade83d6bdee056875d7c300
/device/google/marlin/init.power.sh
|
77b3b19bb18930a1cc3c03bfa6bc7950761a26c7 |
|
19-May-2016 |
martin_liu <martin_liu@htc.com> |
marlin: adjust interactive governor parameters based on CPU power efficiency curve Bug: 28560172 Change-Id: I2974a6dc43ecc51603df4acb942ffcb04091e653 Signed-off-by: martin_liu <martin_liu@htc.com>
/device/google/marlin/init.power.sh
|
7796a93d2c01a48dd68ff80bb8be6a4925f1f759 |
|
26-May-2016 |
Jeff Vander Stoep <jeffv@google.com> |
selinux: flip out of global permissive Due to outstanding bugs a number of domains will remain in permissive mode including: audioserver cnd cnss-daemon cnss_diag ims location netd per_mgr rmt update_engine This commit addresses the following denials: atfwd avc: denied { find } for service=AtCmdFwd pid=600 uid=1000 scontext=u:r:atfwd:s0 tcontext=u:object_r:atfwd_service:s0 tclass=service_manager avc: denied { create } for scontext=u:r:atfwd:s0 tcontext=u:r:atfwd:s0 tclass=socket avc: denied { ioctl } for path="socket:[19497]" dev="sockfs" ino=19497 ioctlcmd=c302 scontext=u:r:atfwd:s0 tcontext=u:r:atfwd:s0 tclass=socket avc: denied { ioctl } for path="socket:[19498]" dev="sockfs" ino=19498 ioctlcmd=c304 scontext=u:r:atfwd:s0 tcontext=u:r:atfwd:s0 tclass=socket avc: denied { read } for scontext=u:r:atfwd:s0 tcontext=u:r:atfwd:s0 tclass=socket avc: denied { write } for scontext=u:r:atfwd:s0 tcontext=u:r:atfwd:s0 tclass=socket avc: denied { call } for scontext=u:r:atfwd:s0 tcontext=u:r:servicemanager:s0 tclass=binder avc: denied { open } for path="/sys/bus/msm_subsys/devices" dev="sysfs" ino=16363 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir avc: denied { read } for name="devices" dev="sysfs" ino=16363 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir avc: denied { search } for name="msm_subsys" dev="sysfs" ino=16361 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=dir avc: denied { open } for path="/sys/devices/soc/ce0000.qcom,venus/subsys0/name" dev="sysfs" ino=32280 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file avc: denied { read } for name="name" dev="sysfs" ino=32280 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=file avc: denied { read } for name="subsys0" dev="sysfs" ino=32286 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs_msm_subsys:s0 tclass=lnk_file avc: denied { open } for path="/sys/bus/esoc/devices" dev="sysfs" ino=27928 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs:s0 tclass=dir avc: denied { read } for name="devices" dev="sysfs" ino=27928 scontext=u:r:atfwd:s0 tcontext=u:object_r:sysfs:s0 tclass=dir cameraserver avc: denied { set } for property=persist.camera.debug.logfile pid=534 uid=1047 gid=1005 scontext=u:r:cameraserver:s0 tcontext=u:object_r:camera_prop:s0 tclass=property_service avc: denied { set } for property=htc.camera.sensor.inf pid=534 uid=1047 gid=1005 scontext=u:r:cameraserver:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service avc: denied { connectto } for pid=534 comm="cameraserver" path="/dev/socket/property_service" scontext=u:r:cameraserver:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket avc: denied { write } for pid=534 comm="cameraserver" name="property_service" dev="tmpfs" ino=16044 scontext=u:r:cameraserver:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file avc: denied { search } for pid=534 comm="cameraserver" name="8c0000.qcom,msm-cam" dev="sysfs" ino=20138 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_camera:s0 tclass=dir avc: denied { open } for pid=534 comm="cameraserver" path="/sys/devices/soc/8c0000.qcom,msm-cam/video4linux/video0/name" dev="sysfs" ino=40065 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_camera:s0 tclass=file avc: denied { read } for pid=534 comm="cameraserver" name="name" dev="sysfs" ino=40065 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_camera:s0 tclass=file avc: denied { search } for pid=534 comm="cameraserver" name="aa4000.qcom,fd" dev="sysfs" ino=20354 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_video:s0 tclass=dir avc: denied { open } for pid=534 comm="cameraserver" path="/sys/devices/soc/aa4000.qcom,fd/video4linux/video1/name" dev="sysfs" ino=40667 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_video:s0 tclass=file avc: denied { read } for pid=534 comm="cameraserver" name="name" dev="sysfs" ino=40667 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_video:s0 tclass=file avc: denied { open } for pid=534 comm="cameraserver" path="/system/vendor/lib/egl" dev="sda33" ino=3017 scontext=u:r:cameraserver:s0 tcontext=u:object_r:system_file:s0 tclass=dir avc: denied { read } for pid=534 comm="cameraserver" name="egl" dev="sda33" ino=3017 scontext=u:r:cameraserver:s0 tcontext=u:object_r:system_file:s0 tclass=dir avc: denied { read write } for pid=1128 comm="Binder:1111_1" path="socket:[25053]" dev="sockfs" ino=25053 scontext=u:r:cameraserver:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket avc: denied { read } for pid=6449 comm="CAM_mct_freeze" name="clk" dev="debugfs" ino=1098 scontext=u:r:cameraserver:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=0 avc: denied { open } for pid=7979 comm="CAM_mct_freeze" path="/sys/kernel/debug/clk/gcc_debug_mux/enable" dev="debugfs" ino=15542 scontext=u:r:cameraserver:s0 tcontext=u:object_r:debugfs:s0 tclass=file avc: denied { read } for pid=6375 comm="CAM_mct_freeze" name="enable" dev="debugfs" ino=15542 scontext=u:r:cameraserver:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0 avc: denied { write } for pid=6430 comm="CAM_laser_sens" name="enable_ps_sensor" dev="sysfs" ino=39586 scontext=u:r:cameraserver:s0 tcontext=u:object_r:sysfs_camera:s0 tclass=file permissive=0 cnd avc: denied { chown } for capability=0 scontext=u:r:cnd:s0 tcontext=u:r:cnd:s0 tclass=capability location avc: denied { find } for service=permission pid=746 uid=1021 scontext=u:r:location:s0 tcontext=u:object_r:permission_service:s0 tclass=service_manager avc: denied { find } for service=sensorservice pid=746 uid=1021 scontext=u:r:location:s0 tcontext=u:object_r:sensorservice_service:s0 tclass=service_manager avc: denied { read write } for path="socket:[28216]" dev="sockfs" ino=28216 scontext=u:r:location:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket mediacodec avc: denied { search } for pid=1524 comm="Binder:538_2" name="perfd" dev="sda35" ino=467020 scontext=u:r:mediacodec:s0 tcontext=u:object_r:perfd_data_file:s0 tclass=dir permissive=0 rild avc: denied { search } for pid=1303 comm="rild" name="netmgr" dev="tmpfs" ino=17170 scontext=u:r:rild:s0 tcontext=u:object_r:netmgrd_socket:s0 tclass=dir permissive=0 subsystem_ramdump avc: denied { getattr } for path="/data/ramdump" dev="sda35" ino=917505 scontext=u:r:subsystem_ramdump:s0 tcontext=u:object_r:ramdump_data_file:s0 tclass=dir system_server avc: denied { search } for pid=1612 comm=464C5020536572766963652043616C name="netmgr" dev="tmpfs" ino=17170 scontext=u:r:system_server:s0 tcontext=u:object_r:netmgrd_socket:s0 tclass=dir permissive=0 avc: denied { search } for pid=1323 comm="HubConnection" name="/" dev="sdd3" ino=2 scontext=u:r:system_server:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=0 avc: denied { open } for pid=1411 comm="HubConnection" path="/persist/sensorcal.json" dev="sdd3" ino=17 scontext=u:r:system_server:s0 tcontext=u:object_r:persist_file:s0 tclass=file avc: denied { read } for pid=1411 comm="HubConnection" name="sensorcal.json" dev="sdd3" ino=17 scontext=u:r:system_server:s0 tcontext=u:object_r:persist_file:s0 tclass=file avc: denied { set } for property=sensors.contexthub.lid_state pid=1075 uid=1000 gid=1000 scontext=u:r:system_server:s0 tcontext=u:object_r:sensors_prop:s0 tclass=property_service permissive=0 tee avc: denied { open } for path="/persist/data/widevine/vTable" dev="sdd3" ino=18 scontext=u:r:tee:s0 tcontext=u:object_r:persist_file:s0 tclass=file avc: denied { read } for name="vTable" dev="sdd3" ino=18 scontext=u:r:tee:s0 tcontext=u:object_r:persist_file:s0 tclass=file Bug: 26984551 Bug: 28984132 Bug: 28738991 Bug: 28340421 Bug: 28959137 Change-Id: I064ffe0731eeb24b00137c608ed9a0b7d6bfe85f
/device/google/marlin/init.power.sh
|
b4d838b5c8eeb56809aa8bae5c6d1442fde486b2 |
|
08-Apr-2016 |
Thierry Strudel <tstrudel@google.com> |
marlin/sailfish: first .rc & .sh files cleanup Change-Id: I9399a303381c89a652f0e80279813ae755bedbea Signed-off-by: Thierry Strudel <tstrudel@google.com>
/device/google/marlin/init.power.sh
|