From 21e5dd73f40847318c976371522166e1466f0052 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Sat, 23 Apr 2022 21:23:23 -0700 Subject: [PATCH 1/2] Boost trusty task priority during UDFPS Bug: 229350721 Test: UDFPS with stress Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a Signed-off-by: Wei Wang --- powerhint.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/powerhint.json b/powerhint.json index 2e117c5..28ccad2 100644 --- a/powerhint.json +++ b/powerhint.json @@ -421,6 +421,22 @@ ], "DefaultIndex": 0 }, + { + "Name": "TRUSTY_VIRTIO_HIGH", + "Path": "/sys/module/trusty_virtio/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, + { + "Name": "TRUSTY_HIGH", + "Path": "/sys/module/trusty_core/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, { "Name": "PMU_POLL", "Path": "/proc/vendor_sched/pmu_poll_enable", @@ -1367,6 +1383,18 @@ "Duration": 1000, "Value": "1" }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_VIRTIO_HIGH", + "Duration": 1000, + "Value": "1" + }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_HIGH", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "PMU_POLL", From a52ea2cf784f93cfed6a9ee34e645e253bd945ef Mon Sep 17 00:00:00 2001 From: chungkai Date: Tue, 26 Apr 2022 02:08:48 +0000 Subject: [PATCH 2/2] powerhal: update new boost uclamp value set 160 back to 161 since RT task will select little cores Test: build pass Bug: 230247757 Signed-off-by: chungkai Change-Id: I4e083b51a34df07dbd6bbae86b95c9fef88b0eca --- powerhint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index 2e117c5..7c454bb 100644 --- a/powerhint.json +++ b/powerhint.json @@ -153,7 +153,7 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "160", + "161", "85", "39" ],