sdm660-common: Adapt Perf Configs For msm-4.19

Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
This commit is contained in:
pranavkapoor001
2021-09-30 00:56:42 +05:30
committed by Kunmun
parent 30bb716ecd
commit 1906e67878
5 changed files with 131 additions and 45 deletions
@@ -105,6 +105,12 @@ need to be added just before the end of it's major group. -->
<Minor OpcodeValue="0x30" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_busy_pct" /> <Minor OpcodeValue="0x30" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_busy_pct" />
<Minor OpcodeValue="0x31" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_ns" /> <Minor OpcodeValue="0x31" Node="/proc/sys/walt/sched_coloc_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x32" Node="/proc/sys/kernel/walt_rtg_cfs_boost_prio" /> <Minor OpcodeValue="0x32" Node="/proc/sys/kernel/walt_rtg_cfs_boost_prio" />
<Minor OpcodeValue="0x33" Node="/proc/sys/kernel/sched_force_lb_enable" Supported="yes" />
<Minor OpcodeValue="0x34" Node="/proc/%d/sched_low_latency" Supported="yes" />
<Minor OpcodeValue="0x35" Node="/proc/sys/kernel/sched_min_granularity_ns" />
<Minor OpcodeValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Minor OpcodeValue="0x37" Node="/dev/stune/foreground/schedtune.prefer_idle" />
<Minor OpcodeValue="0x38" Node="SPECIAL_NODE - sched_up_down_mig" Supported="no"/>
<!-- sched major end --> <!-- sched major end -->
<!-- core hotplug major start --> <!-- core hotplug major start -->
@@ -160,6 +166,7 @@ need to be added just before the end of it's major group. -->
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent" /> <Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" /> <Minor OpcodeValue="0xE" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms" /> <Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/polling_interval" />
<!-- cpubw hwmon major end --> <!-- cpubw hwmon major end -->
<!-- video major start --> <!-- video major start -->
@@ -211,7 +218,7 @@ need to be added just before the end of it's major group. -->
<Minor OpcodeValue="0x4" Node="StorageNode_path_is_figured_out_based_on_the_target_device" /> <Minor OpcodeValue="0x4" Node="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - dummy_or_keep_alive" /> <Minor OpcodeValue="0x5" Node="SPECIAL_NODE - dummy_or_keep_alive" />
<Minor OpcodeValue="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" /> <Minor OpcodeValue="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" />
<Minor OpcodeValue="0x7" Node="/proc/perfmode" /> <Minor OpcodeValue="0x7" Node="SPECIAL_NODE - disable_pasr" />
<!-- misc major end --> <!-- misc major end -->
<!-- llcbw hwmon major start --> <!-- llcbw hwmon major start -->
@@ -86,6 +86,10 @@
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm660" Kernel="4.4" Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm660" Kernel="4.4"
Resources="0x40C5C000, 50, 0x40C58000, 95, 0x40C54000, 100" /> Resources="0x40C5C000, 50, 0x40C58000, 95, 0x40C54000, 100" />
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm660" Kernel="4.14"
Resources="0x40C58000, 95, 0x40C54000, 100" />
<Config <Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm660" Kernel="4.19" Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm660" Kernel="4.19"
Resources="0x40C58000, 95, 0x40C54000, 100" /> Resources="0x40C58000, 95, 0x40C54000, 100" />
@@ -137,7 +141,7 @@
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2,
0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40, 0x4280C000, 266" /> 0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40, 0x4280C000, 266" />
<!--sdm660,K4.19 Vertical Scroll boost--> <!--sdm660,K4.14 Vertical Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value--> <!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value --> <!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value --> <!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
@@ -147,13 +151,29 @@
<!-- Type="1", Vertical Scroll boost --> <!-- Type="1", Vertical Scroll boost -->
<Config <Config
Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.19" Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config <Config
Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.19" Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--sdm660,K4.19 Vertical Scroll boost-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- GPU MIN-FREQUENCY resource opcode,value-->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--sdm630,sdm455 Vertical Scroll boost--> <!--sdm630,sdm455 Vertical Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value--> <!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value --> <!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
@@ -200,7 +220,7 @@
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2,
0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40, 0x4280C000, 266" /> 0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40, 0x4280C000, 266" />
<!--sdm660,K4.19 Horizontal Scroll boost--> <!--sdm660,K4.14 Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value--> <!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value --> <!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value --> <!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
@@ -210,13 +230,29 @@
<!-- Type="2", Horizontal Scroll boost --> <!-- Type="2", Horizontal Scroll boost -->
<Config <Config
Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.19" Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config <Config
Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.19" Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--sdm660,K4.19 Horizontal Scroll boost-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- GPU MIN-FREQUENCY resource opcode,value-->
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="1080p" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="sdm660" Resolution="2560" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--sdm630,sdm455 Horizontal Scroll boost--> <!--sdm630,sdm455 Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value--> <!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value --> <!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
@@ -275,7 +311,7 @@
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2,
0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40" /> 0x41400000, 1, 0x41418000, 1, 0x40C5C000, 40" />
<!--sdm660,K4.19 Pre-Fling boost--> <!--sdm660,K4.14 Pre-Fling boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value--> <!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value --> <!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value --> <!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
@@ -285,13 +321,29 @@
<!-- Type="4", Pre-Fling boost --> <!-- Type="4", Pre-Fling boost -->
<Config <Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="1080p" Kernel="4.19" Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="1080p" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config <Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="2560" Kernel="4.19" Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="2560" Kernel="4.14"
Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" /> Resources="0x41800000, 0x31, 0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--sdm660,K4.19 Pre-Fling boost-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- GPU MIN-FREQUENCY resource opcode,value-->
<!-- Type="4", Pre-Fling boost -->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="1080p" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm660" Resolution="2560" Kernel="4.19"
Resources="0x40800000, 1100, 0x40800100, 1100, 0x40C00000, 2, 0x4280C000, 266" />
<!--MTP boost--> <!--MTP boost-->
<!-- SCHEDBOOST resource opcode, value--> <!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value--> <!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
@@ -391,7 +443,7 @@
Resources="0x40800100, 1000, 0x4280C000, 596" /> Resources="0x40800100, 1000, 0x4280C000, 596" />
<!--Display on Resource --> <!--Display on Resource -->
<!-- Display on resource opcode, value <!-- Display on resource opcode, value -->
<Config <Config
Id="0x00001041" Enable="true" Timeout="0" Target="sdm660" Id="0x00001041" Enable="true" Timeout="0" Target="sdm660"
Resources="0x40000000, 1" /> Resources="0x40000000, 1" />
@@ -404,6 +456,8 @@
<Config <Config
Id="0x00001041" Enable="true" Timeout="0" Target="sdm455" Id="0x00001041" Enable="true" Timeout="0" Target="sdm455"
Resources="0x40000000, 1" /> Resources="0x40000000, 1" />
<!--Display off Resource -->
<!-- Display on resource opcode, value -->
<Config <Config
Id="0x00001040" Enable="true" Timeout="0" Target="sdm660" Id="0x00001040" Enable="true" Timeout="0" Target="sdm660"
Resources="0x40000000, 0x0" /> Resources="0x40000000, 0x0" />
@@ -416,7 +470,6 @@
<Config <Config
Id="0x00001040" Enable="true" Timeout="0" Target="sdm455" Id="0x00001040" Enable="true" Timeout="0" Target="sdm455"
Resources="0x40000000, 0x0" /> Resources="0x40000000, 0x0" />
-->
</PerfBoost> </PerfBoost>
</BoostConfigs> </BoostConfigs>
@@ -18,17 +18,18 @@ property Name is called. -->
<PerfConfigs> <PerfConfigs>
<!--Vendor Properties --> <!--Vendor Properties -->
<Prop Name="vendor.iop.enabled" Value="false" />
<Prop Name="vendor.iop.enable_uxe" Value="0" /> <Prop Name="vendor.iop.enable_uxe" Value="0" />
<Prop Name="vendor.enable.prefetch" Value="false" /> <Prop Name="vendor.perf.iop_v3.enable" Value="0" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> <Prop Name="vendor.perf.iop_v3.enable.debug" Value="0" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" /> <Prop Name="vendor.enable.prefetch" Value="0" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" /> <Prop Name="vendor.iop.enable_prefetch_ofr" Value="0" />
<!--System Properties --> <!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" /> <Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" /> <Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="false" /> <Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
</PerfConfigs> </PerfConfigs>
</PerfConfigsStore> </PerfConfigsStore>
+1 -2
View File
@@ -49,8 +49,7 @@
SocIds="317,324,345,346" SocIds="317,324,345,346"
SynCore="1" SynCore="1"
CoreCtlCpu="4" CoreCtlCpu="4"
MinCoreOnline="0" MinCoreOnline="0" />
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" /> <ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" /> <ClustersInfo Id="1" NumCores="4" Type="big" />
@@ -26,32 +26,46 @@ as anyway perflock calls of these resources would fail. -->
<PerfResources> <PerfResources>
<Config MajorValue="0x1" MinorValue="0x2" Kernel="4.4" Supported="no" /> <!-- lpm_bias_hyst --> <Config MajorValue="0x1" MinorValue="0x2" Kernel="4.4" Supported="no" /> <!-- lpm_bias_hyst -->
<Config MajorValue="0x1" MinorValue="0x1" Kernel="4.19" Supported="no" /> <!-- perf-l2-pc/idle_enabled -->
<Config MajorValue="0x1" MinorValue="0x3" Kernel="4.19" Supported="no" /> <!-- ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Kernel="4.19" Supported="no" /> <!-- tmr_add -->
<Config MajorValue="0x3" MinorValue="0x2" Kernel="4.19" Supported="no" /> <!-- sched_migration_cost_ns --> <Config MajorValue="0x1" MinorValue="0x1" Kernel="4.14" Supported="no" /> <!-- perf-l2-pc/idle_enabled -->
<Config MajorValue="0x1" MinorValue="0x3" Kernel="4.14" Supported="no" /> <!-- ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Kernel="4.14" Supported="no" /> <!-- tmr_add -->
<Config MajorValue="0x1" MinorValue="0x2" Kernel="4.19" Supported="no" /> <!-- lpm_bias_hyst -->
<Config MajorValue="0x1" MinorValue="0x3" Kernel="4.19" Supported="no" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Kernel="4.19" Supported="no" /> <!-- lpm_tmr_add -->
<Config MajorValue="0x3" MinorValue="0x2" Kernel="4.14" Supported="no" /> <!-- sched_migration_cost_ns -->
<Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task --> <Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Kernel="4.14" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0xB" Kernel="4.14" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Kernel="4.14" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Kernel="4.14" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Kernel="4.14" Supported="no" /> <!-- sched_freq_aggregate -->
<Config MajorValue="0x3" MinorValue="0x14" Kernel="4.14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Kernel="4.14" Supported="no" /> <!-- sched_freq_aggregate_threshold -->
<Config MajorValue="0x3" MinorValue="0x19" Kernel="4.14" Supported="no" /> <!-- sched_initial_task_util -->
<Config MajorValue="0x3" MinorValue="0x21" Kernel="4.14" Supported="no" /> <!-- sched_user_hint -->
<Config MajorValue="0x3" MinorValue="0x22" Kernel="4.14" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x23" Kernel="4.14" Supported="no" /> <!-- sched_coloc_downmigrate_ns -->
<Config MajorValue="0x3" MinorValue="0x24" Kernel="4.14" Supported="no" /> <!-- sched_coloc_busy_hysteresis_enable_cpus -->
<Config MajorValue="0x3" MinorValue="0x25" Kernel="4.14" Supported="no" /> <!-- sched_coloc_busy_hyst_ns -->
<Config MajorValue="0x3" MinorValue="0x26" Kernel="4.14" Supported="no" /> <!-- sched_window_stats_policy -->
<Config MajorValue="0x3" MinorValue="0x29" Kernel="4.14" Supported="no" /> <!-- sched_ravg_window_nr_ticks -->
<Config MajorValue="0x3" MinorValue="0x6" Kernel="4.19" Supported="no" /> <!-- sched_init_task_load --> <Config MajorValue="0x3" MinorValue="0x6" Kernel="4.19" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0xB" Kernel="4.19" Supported="no" /> <!-- sched_spill_nr_run --> <Config MajorValue="0x3" MinorValue="0xB" Kernel="4.19" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Kernel="4.19" Supported="no" /> <!-- sched_static_cpu_pwr_cost --> <Config MajorValue="0x3" MinorValue="0xC" Kernel="4.19" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Kernel="4.19" Supported="no" /> <!-- sched_restrict_cluster_spill --> <Config MajorValue="0x3" MinorValue="0xD" Kernel="4.19" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Kernel="4.19" Supported="no" /> <!-- sched_freq_aggregate --> <Config MajorValue="0x3" MinorValue="0x13" Kernel="4.19" Supported="no" /> <!-- sched_set_freq_aggr -->
<Config MajorValue="0x3" MinorValue="0x14" Kernel="4.19" Supported="no" /> <!-- sched_enable_thread_grouping --> <Config MajorValue="0x3" MinorValue="0x14" Kernel="4.19" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Kernel="4.19" Supported="no" /> <!-- sched_freq_aggregate_threshold --> <Config MajorValue="0x3" MinorValue="0x17" Kernel="4.19" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x19" Kernel="4.19" Supported="no" /> <!-- sched_initial_task_util --> <Config MajorValue="0x3" MinorValue="0x19" Kernel="4.19" Supported="no" /> <!-- sched_initial_task_util -->
<Config MajorValue="0x3" MinorValue="0x21" Kernel="4.19" Supported="no" /> <!-- sched_user_hint --> <Config MajorValue="0x3" MinorValue="0x21" Kernel="4.19" Supported="no" /> <!-- sched_user_hint -->
<Config MajorValue="0x3" MinorValue="0x22" Kernel="4.19" Supported="no" /> <!-- sched_task_unfilter_nr_windows --> <Config MajorValue="0x3" MinorValue="0x22" Kernel="4.19" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x23" Kernel="4.19" Supported="no" /> <!-- sched_coloc_downmigrate_ns -->
<Config MajorValue="0x3" MinorValue="0x24" Kernel="4.19" Supported="no" /> <!-- sched_coloc_busy_hysteresis_enable_cpus -->
<Config MajorValue="0x3" MinorValue="0x25" Kernel="4.19" Supported="no" /> <!-- sched_coloc_busy_hyst_ns -->
<Config MajorValue="0x3" MinorValue="0x26" Kernel="4.19" Supported="no" /> <!-- sched_window_stats_policy -->
<Config MajorValue="0x3" MinorValue="0x29" Kernel="4.19" Supported="no" /> <!-- sched_ravg_window_nr_ticks -->
<!-- For INTERACTIVE major, all the interactive minors are not supported <!-- For INTERACTIVE major, all the interactive minors are not supported by default as the recent target moved to schedutil.
by default as the recent target moved to schedutil. So, for older targets So, for older targets where interactive minors are supported they need to be enabled and schedutil minors are disabled. -->
where interactive minors are supported they need to be enabled and schedutil
minors are disabled. -->
<Config MajorValue="0x5" MinorValue="0x0" Kernel="4.4" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x0" Kernel="4.4" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x1" Kernel="4.4" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x1" Kernel="4.4" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x3" Kernel="4.4" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x3" Kernel="4.4" Supported="yes" />
@@ -70,22 +84,31 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0x5" MinorValue="0x10" Kernel="4.4" Supported="no" /> <Config MajorValue="0x5" MinorValue="0x10" Kernel="4.4" Supported="no" />
<Config MajorValue="0x5" MinorValue="0x11" Kernel="4.4" Supported="no" /> <Config MajorValue="0x5" MinorValue="0x11" Kernel="4.4" Supported="no" />
<Config MajorValue="0x5" MinorValue="0x12" Kernel="4.4" Supported="no" /> <Config MajorValue="0x5" MinorValue="0x12" Kernel="4.4" Supported="no" />
<Config MajorValue="0x5" MinorValue="0xF" Kernel="4.14" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x10" Kernel="4.14" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x11" Kernel="4.14" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x12" Kernel="4.14" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x13" Supported="no" />
<Config MajorValue="0x5" MinorValue="0xF" Kernel="4.19" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0xF" Kernel="4.19" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x10" Kernel="4.19" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x10" Kernel="4.19" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x11" Kernel="4.19" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x11" Kernel="4.19" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x12" Kernel="4.19" Supported="yes" /> <Config MajorValue="0x5" MinorValue="0x12" Kernel="4.19" Supported="yes" />
<Config MajorValue="0x5" MinorValue="0x13" Supported="no" /> <Config MajorValue="0x5" MinorValue="0x13" Kernel="4.19" Supported="yes" />
<!--All the cpubw_hwmon path are now migrated to new opcodes. Hence unsupporting old ones-->
<!-- cpubw hwmon major start --> <Config MajorValue="0x6" MinorValue="0x0" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x0" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq" /> <Config MajorValue="0x6" MinorValue="0x1" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x1" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/decay_rate" /> <Config MajorValue="0x6" MinorValue="0x2" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x2" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/io_percent" /> <Config MajorValue="0x6" MinorValue="0x3" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x4" Kernel="4.19" Supported="no" /> <Config MajorValue="0x6" MinorValue="0x4" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x5" Kernel="4.19" Supported="no" /> <Config MajorValue="0x6" MinorValue="0x5" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x6" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/max_freq" /> <Config MajorValue="0x6" MinorValue="0x6" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x7" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/polling_interval" /> <Config MajorValue="0x6" MinorValue="0x7" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x8" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/sample_ms" /> <Config MajorValue="0x6" MinorValue="0x8" Kernel="4.19" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x9" Kernel="4.19" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/idle_mbps" /> <Config MajorValue="0x6" MinorValue="0x9" Kernel="4.19" Supported="no" />
<Config MajorValue="0xB" MinorValue="0x2" Kernel="4.19" Node="/sys/devices/system/cpu/cpu_boost/input_boost_freq" /> <!-- input_boost_freq on kernel 4.19 -->
<!-- All the minors of LLCBW_HWMON MAJOR are not supported --> <!-- All the minors of LLCBW_HWMON MAJOR are not supported -->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" /> <Config MajorValue="0xC" MinorValue="0x0" Supported="no" />
@@ -93,6 +116,9 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" /> <Config MajorValue="0xC" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" /> <Config MajorValue="0xC" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xA" Kernel="4.19" Supported="no" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Kernel="4.19" Supported="no" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xD" MinorValue="0x0" Supported="no" /> <!-- l3_min_freq --> <Config MajorValue="0xD" MinorValue="0x0" Supported="no" /> <!-- l3_min_freq -->
</PerfResources> </PerfResources>