From 7902961e1d3b54a5c17946515024a68687d39d47 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Sat, 23 Apr 2022 21:35:53 -0700 Subject: [PATCH] Boost trusty task priority during UDFPS Bug: 229350721 Test: UDFPS with stress Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a Signed-off-by: Wei Wang --- powerhint-cheetah-a0.json | 28 ++++++++++++++++++++++++++++ powerhint-cheetah.json | 28 ++++++++++++++++++++++++++++ powerhint-panther-a0.json | 28 ++++++++++++++++++++++++++++ powerhint-panther.json | 28 ++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 3150c45..9b809df 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -466,6 +466,22 @@ "1" ], "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" + ] } ], "Actions": [ @@ -1468,6 +1484,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": "CPU_LITTLE_TSKIN_BYPASS", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index df0c126..498083c 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -465,6 +465,22 @@ "1" ], "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" + ] } ], "Actions": [ @@ -1467,6 +1483,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": "CPU_LITTLE_TSKIN_BYPASS", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 3a6868d..1f5af49 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -465,6 +465,22 @@ "1" ], "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" + ] } ], "Actions": [ @@ -1451,6 +1467,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": "CPU_LITTLE_TSKIN_BYPASS", diff --git a/powerhint-panther.json b/powerhint-panther.json index 307efd0..3943d20 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -464,6 +464,22 @@ "1" ], "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" + ] } ], "Actions": [ @@ -1450,6 +1466,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": "CPU_LITTLE_TSKIN_BYPASS",