From 21e5dd73f40847318c976371522166e1466f0052 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Sat, 23 Apr 2022 21:23:23 -0700 Subject: [PATCH] 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",