Boost trusty task priority during UDFPS
Bug: 229350721
Test: UDFPS with stress
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a
diff --git a/powerhint-oriole.json b/powerhint-oriole.json
index 1186a22..61c3b63 100644
--- a/powerhint-oriole.json
+++ b/powerhint-oriole.json
@@ -424,6 +424,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",
"Values": [
@@ -1412,6 +1428,18 @@
"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",
"Duration": 0,
diff --git a/powerhint-raven.json b/powerhint-raven.json
index 38a475e..586e9f7 100644
--- a/powerhint-raven.json
+++ b/powerhint-raven.json
@@ -425,6 +425,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",
"Values": [
@@ -1429,6 +1445,18 @@
"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",
"Duration": 0,