xun: Initial vendor push

* With latest commit based off
https://github.com/Xiaomi-Redmi-Pad-SE-Resources/android_device_xiaomi_xun/commit/e217f2dae789ae0502c4d06104017659d2e70821

Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
This commit is contained in:
dodyirawan85 committed 2025-01-02 11:29:02 +07:00
commit 81cc7738f4
453 files changed
+53031

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--__________________________________Example format_______________________________________________
<SysNode Idx="0x8" Perm="6" WVal="10"/>
Perm: The permission to check on the above Node.
r w x
1 0 0 = 4
1 1 0 = 6
0 1 0 = 2
...
WVal: The value to be written for Avc denial testing. It can be string, int etc.
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Perm="4"/>
<SysNode Idx="0x1" Perm="4"/>
<SysNode Idx="0x2" Perm="4"/>
<SysNode Idx="0x3" Perm="4"/>
<SysNode Idx="0x4" Perm="4"/>
<SysNode Idx="0x5" Perm="4"/>
<SysNode Idx="0x6" Perm="6" WVal="Init:2:60,0,650,80,1700,120,2100:90,0,650,80,1700,120,2100"/>
<SysNode Idx="0x7" Perm="4"/>
<SysNode Idx="0x8" Perm="6" WVal="10"/>
<SysNode Idx="0x9" Perm="4"/>
<SysNode Idx="0xA" Perm="6" WVal="30"/>
<SysNode Idx="0xB" Perm="4"/>
<SysNode Idx="0xC" Perm="4"/>
<SysNode Idx="0xD" Perm="6" WVal="1"/>
<SysNode Idx="0xE" Perm="4"/>
<SysNode Idx="0xF" Perm="4"/>
<SysNode Idx="0x10" Perm="4"/>
<SysNode Idx="0x11" Perm="4"/>
<SysNode Idx="0x12" Perm="4"/>
<SysNode Idx="0x13" Perm="4"/>
<SysNode Idx="0x14" Perm="4"/>
<SysNode Idx="0x15" Perm="4"/>
<SysNode Idx="0x16" Perm="4"/>
<SysNode Idx="0x17" Perm="6" WVal="1"/>
<SysNode Idx="0x18" Perm="6" WVal="1"/>
<SysNode Idx="0x19" Perm="6" WVal="1"/>
<SysNode Idx="0x1A" Perm="6" WVal="1"/>
<SysNode Idx="0x1B" Perm="6" WVal="1"/>
</PerfResources>
</ResourceConfigs>
+349
View File
@@ -0,0 +1,349 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group. -->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - display_off" />
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Node="/dev/cpu_dma_latency" />
<Minor OpcodeValue="0x1" Node="/sys/module/lpm_levels/system/perf/perf-l2-pc/idle_enabled" />
<Minor OpcodeValue="0x2" Node="/sys/module/lpm_levels/parameters/bias_hyst" />
<Minor OpcodeValue="0x3" Node="/sys/module/lpm_levels/parameters/ref_stddev" />
<Minor OpcodeValue="0x4" Node="/sys/module/lpm_levels/parameters/tmr_add" />
<Minor OpcodeValue="0x5" Node="/sys/module/lpm_levels/parameters/lpm_ipi_prediction" Supported="no" />
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Node="/sys/module/msm_performance/parameters/cpu_min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_low_freq" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_high_freq" />
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" Node="/proc/sys/kernel/sched_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/kernel/sched_prefer_idle" Supported="no" />
<Minor OpcodeValue="0x2" Node="/proc/sys/kernel/sched_migration_cost_ns" />
<Minor OpcodeValue="0x3" Node="/proc/sys/kernel/sched_small_task" />
<Minor OpcodeValue="0x4" Node="/proc/sys/kernel/sched_mostly_idle_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/proc/sys/kernel/sched_mostly_idle_nr_run" Supported="no" />
<Minor OpcodeValue="0x6" Node="/proc/sys/kernel/sched_init_task_load" />
<Minor OpcodeValue="0x7" Node="/proc/sys/kernel/sched_upmigrate" />
<Minor OpcodeValue="0x8" Node="/proc/sys/kernel/sched_downmigrate" />
<Minor OpcodeValue="0x9" Node="/proc/sys/kernel/sched_mostly_idle_freq" Supported="no" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - sched_add_group" Supported="no" />
<Minor OpcodeValue="0xB" Node="/proc/sys/kernel/sched_spill_nr_run" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/sched_static_cpu_pwr_cost" />
<Minor OpcodeValue="0xD" Node="/proc/sys/kernel/sched_restrict_cluster_spill" />
<Minor OpcodeValue="0xE" Node="SPECIAL_NODE - sched_freq_add_group" Supported="no" />
<Minor OpcodeValue="0xF" Node="/dev/cpuset/top-app/cpus" />
<Minor OpcodeValue="0x10" Node="/dev/cpuset/foreground/cpus" />
<Minor OpcodeValue="0x11" Node="/dev/cpuset/system-background/cpus" />
<Minor OpcodeValue="0x12" Node="/dev/cpuset/background/cpus" />
<Minor OpcodeValue="0x13" Node="/proc/sys/kernel/sched_freq_aggregate" />
<Minor OpcodeValue="0x14" Node="/proc/sys/kernel/sched_enable_thread_grouping" />
<Minor OpcodeValue="0x15" Node="/proc/sys/kernel/sched_group_upmigrate" />
<Minor OpcodeValue="0x16" Node="/proc/sys/kernel/sched_group_downmigrate" />
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" Node="/proc/sys/kernel/sched_freq_aggregate_threshold" />
<Minor OpcodeValue="0x18" Node="/dev/stune/top-app/schedtune.prefer_idle" />
<Minor OpcodeValue="0x19" Node="/proc/sys/kernel/sched_initial_task_util" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/cpu0/sched_load_boost" />
<Minor OpcodeValue="0x1B" Node="/proc/sys/kernel/sched_little_cluster_coloc_fmin_khz" />
<Minor OpcodeValue="0x1C" Node="/dev/stune/top-app/schedtune.boost" />
<Minor OpcodeValue="0x1D" Node="/proc/sys/kernel/sched_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x1E" Node="/proc/sys/kernel/sched_min_task_util_for_colocation" />
<Minor OpcodeValue="0x1F" Node="/proc/sys/kernel/sched_min_task_util_for_boost" />
<Minor OpcodeValue="0x20" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0x21" Node="/proc/sys/kernel/sched_user_hint" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" Node="/proc/sys/kernel/sched_task_unfilter_nr_windows" /> <!--sched_task_unfilter_nr_windows -->
<Minor OpcodeValue="0x23" Node="/proc/sys/kernel/sched_coloc_downmigrate_ns" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" Node="/proc/sys/kernel/sched_coloc_busy_hysteresis_enable_cpus" />
<Minor OpcodeValue="0x25" Node="/proc/sys/kernel/sched_coloc_busy_hyst_ns" />
<Minor OpcodeValue="0x26" Node="/proc/sys/kernel/sched_window_stats_policy" />
<Minor OpcodeValue="0x27" Node="/proc/sys/kernel/sched_many_wakeup_threshold" />
<Minor OpcodeValue="0x28" Node="/proc/sys/kernel/sched_sync_hint_enable" />
<Minor OpcodeValue="0x29" Node="/proc/sys/kernel/sched_ravg_window_nr_ticks" />
<Minor OpcodeValue="0x2A" Node="/proc/sys/kernel/sched_prefer_spread" />
<Minor OpcodeValue="0x2B" Node="/dev/cpuctl/top-app/cpu.uclamp.min" />
<Minor OpcodeValue="0x2C" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" Node="/proc/%d/sched_boost" Supported="yes" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" Node="/proc/sys/walt/sched_task_unfilter_period" />
<Minor OpcodeValue="0x2F" Node="/proc/sys/walt/sched_conservative_pl" />
<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="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="SPECIAL_NODE - apply_value" />
<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="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x39" Node="/dev/stune/top-app/schedtune.colocate" Supported="no" />
<Minor OpcodeValue="0x3A" Node="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3B" Node="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3C" Node="/proc/%d/sched_wake_up_idle" />
<Minor OpcodeValue="0x3D" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x3E" Node="/proc/sys/walt/sched_util_busy_hyst_cpu_ns" />
<Minor OpcodeValue="0x3F" Node="/proc/sys/walt/sched_min_task_util_for_uclamp" />
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - lock_min_cores" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - lock_max_cores" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/core_ctl/enable" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu3/core_ctl/not_preferred" />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boost" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse_duration" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x7" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time" Supported="no" />
<Minor OpcodeValue="0x8" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads" Supported="no" />
<Minor OpcodeValue="0x9" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate" Supported="no" />
<Minor OpcodeValue="0xA" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_slack" Supported="no" />
<Minor OpcodeValue="0xB" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis" Supported="no" />
<Minor OpcodeValue="0xC" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load" Supported="no" />
<Minor OpcodeValue="0xD" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif" Supported="no" />
<Minor OpcodeValue="0xE" Node="/sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif" Supported="no" />
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load" />
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/pl" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us" />
<Minor OpcodeValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/schedutil/rtg_boost_freq" />
<Minor OpcodeValue="0x14" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/target_load_thresh" />
<Minor OpcodeValue="0x15" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/target_load_shift" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/up_rate_limit_us" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpubw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x3" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpubw/polling_interval" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/use_ab" />
<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="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" />
<!--Here onwards are the path for new frequency opcodes for CPU_LLCC_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/min_freq" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/190b6400.qcom,bwmon-llcc/max_freq" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - handle_vid_encplay_hint" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - handle_vid_decplay_hint" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - handle_disp_hint" />
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - disable_ksm" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - set_ksm_param" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_rate" Supported="no" />
<Minor OpcodeValue="0x1" Node="/sys/devices/system/cpu/cpufreq/ondemand/io_is_busy" Supported="no" />
<Minor OpcodeValue="0x2" Node="/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor" Supported="no" />
<Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/ondemand/sync_freq" Supported="no" />
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/ondemand/optimal_freq" Supported="no" />
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpufreq/ondemand/enable_stepup" Supported="no" />
<Minor OpcodeValue="0x6" Node="/sys/devices/system/cpu/cpufreq/ondemand/max_intermediate_steps" Supported="no" />
<Minor OpcodeValue="0x7" Node="/dev/cpuctl/cpu.notify_on_migrate" Supported="no" />
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" Node="/sys/class/kgsl/kgsl-3d0/default_pwrlevel" />
<Minor OpcodeValue="0x1" Node="/sys/class/kgsl/kgsl-3d0/min_pwrlevel" />
<Minor OpcodeValue="0x2" Node="/sys/class/kgsl/kgsl-3d0/max_pwrlevel" />
<Minor OpcodeValue="0x3" Node="/sys/class/kgsl/kgsl-3d0/devfreq/min_freq" />
<Minor OpcodeValue="0x4" Node="/sys/class/kgsl/kgsl-3d0/devfreq/max_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,gpubw/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,gpubw/max_freq" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - gpu_disable_gpu_nap" />
<Minor OpcodeValue="0x8" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0x9" Node="/sys/class/kgsl/kgsl/proc/%d/state" />
<Minor OpcodeValue="0xA" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0xB" Node="/sys/class/kgsl/kgsl-3d0/idle_timer" />
<Minor OpcodeValue="0xC" Node="/sys/class/kgsl/kgsl-3d0/min_clock_mhz" />
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" Node="SPECIAL_NODE - unsupported" />
<Minor OpcodeValue="0x1" Node="SPECIAL_NODE - irq_balancer" />
<Minor OpcodeValue="0x2" Node="/sys/module/cpu_boost/parameters/input_boost_freq" />
<Minor OpcodeValue="0x3" Node="/proc/sys/vm/swap_ratio" />
<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="0x6" Node="/sys/module/process_reclaim/parameters/enable_process_reclaim" />
<Minor OpcodeValue="0x7" Node="SPECIAL_NODE - disable_pasr" />
<Minor OpcodeValue="0xB" Node="SPECIAL_NODE - apply_value" />
<Minor OpcodeValue="0xC" Node="SPECIAL_NODE - apply_value" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,llccbw/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - llcbw_hwmon_hyst_opt" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,llccbw/bw_hwmon/sample_ms" />
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/up_scale" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/max_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/decay_rate" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x9" Node="SPECIAL_NODE - cpubw_hwmon_hyst_opt" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_ceil_mbps" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/low_power_io_percent" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/polling_interval" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/idle_mbps" />
<!--Here onwards are the path for new frequency opcodes for LLCC_DDR_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/min_freq" />
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/max_freq" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/use_ab" />
<Minor OpcodeValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/DDR/19091000.qcom,bwmon-ddr/ab_scale" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,l3-cpu%d/min_freq" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x2" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/mem_latency/stall_floor" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/mem_latency/stall_floor" />
<Minor OpcodeValue="0x5" Node="/sys/class/devfreq/soc:qcom,memlat-cpu0/min_freq" />
<Minor OpcodeValue="0x6" Node="/sys/class/devfreq/soc:qcom,memlat-cpu4/min_freq" />
<Minor OpcodeValue="0x7" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/min_freq" />
<Minor OpcodeValue="0x8" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xA" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0xC" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/min_freq" />
<Minor OpcodeValue="0xD" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/18321000.qcom,devfreq-l3:qcom,cpu%d-cpu-l3-lat/max_freq" />
<Minor OpcodeValue="0x12" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq" />
<Minor OpcodeValue="0x13" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/max_freq" />
<Minor OpcodeValue="0x14" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/max_freq" />
<Minor OpcodeValue="0x15" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/max_freq" />
<Minor OpcodeValue="0x16" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:prime/min_freq" />
<Minor OpcodeValue="0x17" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/min_freq" />
<Minor OpcodeValue="0x18" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/min_freq" />
<Minor OpcodeValue="0x19" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/freq_scale_pct" />
<Minor OpcodeValue="0x1A" Node="/sys/devices/system/cpu/bus_dcvs/memlat_settings/sample_ms" />
<Minor OpcodeValue="0x1B" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold-compute/max_freq" />
<Minor OpcodeValue="0x1C" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold-compute/max_freq" />
<Minor OpcodeValue="0x1D" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime-latfloor/ipm_ceil" />
<Minor OpcodeValue="0x1E" Node="/sys/devices/system/cpu/bus_dcvs/DDR/memlat/adaptive_high_freq" />
<Minor OpcodeValue="0x1F" Node="/sys/devices/system/cpu/bus_dcvs/DDR/memlat/adaptive_low_freq" />
<Minor OpcodeValue="0x20" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:gold/min_freq" />
<Minor OpcodeValue="0x21" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime/min_freq" />
<Minor OpcodeValue="0x22" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/min_freq" />
<Minor OpcodeValue="0x23" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold/min_freq" />
<Minor OpcodeValue="0x24" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/spm_thres" />
<Minor OpcodeValue="0x25" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime/spm_thres" />
<Minor OpcodeValue="0x26" Node="/sys/devices/system/cpu/bus_dcvs/DDR/boost_freq" />
<Minor OpcodeValue="0x27" Node="/sys/devices/system/cpu/bus_dcvs/L3/boost_freq" />
<Minor OpcodeValue="0x28" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/boost_freq" />
<Minor OpcodeValue="0x29" Node="/sys/devices/system/cpu/bus_dcvs/DDRQOS/boost_freq" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x1" Node="/sys/class/devfreq/soc:qcom,npu-npu-llcc-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x2" Node="SPECIAL_NODE - npu_llcbw_hwmon_hyst_opt" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/sample_ms" />
<Minor OpcodeValue="0x4" Node="/sys/class/devfreq/soc:qcom,npu-llcc-ddr-bw/bw_hwmon/io_percent" />
<Minor OpcodeValue="0x5" Node="SPECIAL_NODE - npu_ddr_llcbw_hwmon_hyst_opt" />
<!-- npu major end -->
<!-- sched2 major start -->
<Major OpcodeValue="0xF" />
<Minor OpcodeValue="0x0" Node="/proc/sys/walt/sched_asymcap_boost" />
<Minor OpcodeValue="0x1" Node="/proc/sys/walt/task_load_boost" />
<Minor OpcodeValue="0x2" Node="/proc/sys/walt/sched_cluster_util_thres_pct" />
<Minor OpcodeValue="0x3" Node="/proc/sys/walt/sched_idle_enough" />
<Minor OpcodeValue="0x4" Node="/proc/sys/walt/sched_em_inflate_pct" />
<Minor OpcodeValue="0x5" Node="/proc/sys/walt/sched_em_inflate_thres" />
<Minor OpcodeValue="0x6" Node="/proc/sys/walt/sched_heavy_nr" />
<!-- sched2 major end -->
<!--Add new resource expected value and write value in configs/test/common/perfcommonresourceconfigs.xml
for support in regression framework-->
</PerfResources>
</ResourceConfigs>
+42
View File
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Node="/sys/module/msm_performance/parameters/num_clusters" />
<SysNode Idx="0x1" Node="/sys/module/msm_performance/parameters/managed_cpus" />
<SysNode Idx="0x2" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/module/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Node="/sys/module/msm_performance/parameters/max_cpus" />
<SysNode Idx="0x5" Node="/sys/module/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="/sys/module/msm_performance/parameters/splh_notif" />
<SysNode Idx="0x7" Node="/sys/module/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/module/msm_performance/parameters/evnt_gplaf_pid" />
<SysNode Idx="0x9" Node="/proc/meminfo" />
<SysNode Idx="0xA" Node="/proc/sys/vm/compaction_proactiveness" />
<SysNode Idx="0xB" Node="/sys/module/msm_performance/notify/aggr_big_nr" />
<SysNode Idx="0xC" Node="/sys/module/msm_performance/notify/aggr_top_load" />
<SysNode Idx="0xD" Node="/sys/module/msm_performance/parameters/core_ctl_register" />
<SysNode Idx="0xE" Node="/sys/module/msm_performance/notify/top_load_cluster" />
<SysNode Idx="0xF" Node="/sys/module/msm_performance/notify/curr_cap_cluster" />
<SysNode Idx="0x10" Node="/sys/class/kgsl/kgsl-3d0/gpu_available_frequencies" />
<SysNode Idx="0x11" Node="/sys/class/kgsl/kgsl-3d0/gpu_clock_stats" />
<SysNode Idx="0x12" Node="/sys/class/kgsl/kgsl-3d0/gpuclk" />
<SysNode Idx="0x13" Node="/sys/class/kgsl/kgsl-3d0/gpu_busy_percentage" />
<SysNode Idx="0x14" Node="/sys/class/drm/sde-crtc-0/measured_fps" />
<SysNode Idx="0x15" Node="/sys/class/drm/sde-crtc-0/fps_periodicity_ms" />
<SysNode Idx="0x16" Node="/sys/class/drm/sde-crtc-0/retire_frame_event" />
<SysNode Idx="0x17" Node="/sys/kernel/msm_performance/parameters/lplh_notif" />
<SysNode Idx="0x18" Node="/sys/kernel/msm_performance/parameters/gplaf_notify" />
<SysNode Idx="0x19" Node="/sys/kernel/msm_performance/parameters/gplaf_data_node" />
<SysNode Idx="0x1A" Node="/sys/kernel/msm_performance/parameters/gplaf_health" />
<SysNode Idx="0x1B" Node="/sys/kernel/msm_performance/parameters/dplh_notif" />
<!-- Please add any new Node into the configs/test/avcsysnodesconfigs.xml as well which is used for testing -->
</PerfResources>
</ResourceConfigs>
+705
View File
@@ -0,0 +1,705 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2019-2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--Ids are used in identifying the boosts, increment ids linearly,
do not modify Ids, or add in between-->
<!--follow the number format rules while specifying number, can be given
in any format-->
<BoostConfigs>
<PerfBoost>
<!--app lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1401,
0x40800100, 1305" />
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000, 1500" />
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_LITTLE resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- CPUBW_MAX_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF,
0x40800100, 0xFFF, 0x41000100, 0x4, 0x41000000, 0x4, 0x41818000, 0xFF,
0x41800000, 0xFF, 0x40400000, 0x1,0x42C10000, 0x1, 0x43400000, 0xFFFF,
0x4281C000, 2000" />
<!--app lauch boost (disabling packing)-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value -->
<!-- Type="2", launch boost for disable packing 1.5sec -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="bengal"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="scuba"
Resources="0x40400000, 0x1, 0x41800000, 59" />
<!-- POWER COLLAPSE resource opcode, value-->
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value for khaje -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="khaje"
Resources="0x40400000, 0x1, 0x4303C000, 768000" />
<!-- config_enableLaunchBoostv3-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="3", FA launch boost of 15sec -->
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="bengal,khaje"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="scuba"
Resources="0x40408000, 0x5, 0x40C74000, 0x0F" />
<!-- config_enableLaunchBoostv4-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="4", AA games only launch boost -->
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="bengal,khaje"
Resources="0x40C00000, 0x3, 0x40C58000, 65, 0x40C54000, 71, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="15000" Target="scuba"
Resources="0x40408000, 0x5, 0x40C74000, 0x0F" />
<!-- config_enableLaunchBoost6-->
<!-- LPM_BIAS resource opcode, val ms-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- SLB_BIG, val, SLB_BIG, val, SLB_BIG, val, SLB_BIG, val-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- MIN_FREQ_BIG, val MHz -->
<!-- CPU_DOWN_FREQ_THRESHOLD_US, val us -->
<!-- Type="6", Game Launch boost -->
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="bengal"
Resources="0x40408000, 0x63, 0x40C74000, 0xF0,
0x40C68040, 60, 0x40C68050, 60,
0x40C68060, 60, 0x40C68070, 60,
0x40C58000, 65, 0x40C54000, 71,
0x40800000, 1056,
0x41448000, 20000"/>
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="scuba"
Resources="0x40408000, 0x63, 0x40C74000, 0x0F,
0x40800000, 1056, 0x41448000, 20000"/>
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40408000, 0x63, 0x40C74000, 0xF0,
0x40C68000, 60, 0x40C68010, 60,0x40C68020, 60, 0x40C68030, 60,
0x40C58000, 65, 0x40C54000, 71,
0x40800000, 1344,
0x41448000, 20000"/>
<!--Lightning Launch Base -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_LITTLE resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value -->
<!-- GPU nap resource opcode, value-->
<!-- SCHED_TASK_BOOST resource opcode, value-->
<!-- Type="7", main launch of 2sec -->
<Config
Id="0x00001081" Type="7" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFFF, 0x40804100, 0xFFFF,
0x40800000, 0xFFFF, 0x40800100, 0xFFFF, 0x41000100, 0x4,
0x41000000, 0x4, 0x40400000, 0x1, 0x42C10000, 0x1, 0x4303C000, 768000,
0x4281C000, 2000, 0x40C80000, 0x0" />
<!--Lightning App Launch-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_GROUP_UP_DOWN MIGRATE resource opcode, value -->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="8", main launch of 2sec -->
<Config
Id="0x00001081" Type="8" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x3, 0x40CF4000, 0x00640055, 0x40408000, 0x5,
0x40C74000, 0xF0" />
<!--Lightning Game Launch -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_GROUP_UP_DOWN MIGRATE resource opcode, value -->
<!-- LPM_BIAS resource opcode, val ms-->
<!-- SLB_BIG, val, SLB_BIG, val, SLB_BIG, val, SLB_BIG, val-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- MIN_FREQ_BIG, val MHz -->
<!-- CPU_DOWN_FREQ_THRESHOLD_US, val us -->
<!-- Type="9", main launch of 2sec -->
<Config
Id="0x00001081" Type="9" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x3, 0x40CF4000, 0x00640055, 0x40408000, 0x63,
0x40C68000, 60, 0x40C68010, 60,0x40C68020, 60, 0x40C68030, 60,
0x40C74000, 0xF0, 0x40800000, 1344, 0x41448000, 20000" />
<!--Activity lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<Config
Id="0x00001081" Type="10" Enable="true" Timeout="2000" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766,
0x40800100, 1516" />
<!--app resume boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_LITTLE resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- CPUBW_MAX_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- Type="1", resume boost of 0.6sec -->
<Config
Id="0x00001082" Type="1" Enable="true" Timeout="600" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF,
0x40800100, 0xFFF, 0x41000100, 0x4, 0x41000000, 0x4, 0x41818000, 0xFF,
0x41800000, 0xFF, 0x40400000, 0x1, 0x42C10000, 0x1, 0x43400000, 0xFFFF,
0x4281C000, 2000" />
<!--Animation boost -->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="bengal"
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF, 0x40800100, 0xFFF" />
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000, 0xFFF" />
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="khaje"
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 0xFFF, 0x40800100, 0xFFF" />
<!--Vertical Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="scuba"
Resources="0x41800000, 0x8c, 0x40800000, 1056" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="60"
Resources="0x4303C000, 768000, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x4303C000, 768000, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x42804000, 2" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="120"
Resources="0x4303C000, 768000, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!--Horizontal Scroll boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="60"
Resources="0x4303C000, 768000, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x4303C000, 768000, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<Config
Id="0x00001080" Type="2" Enable="true" Target="khaje" Fps="120"
Resources="0x4303C000, 768000, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0" />
<!--Pre-Fling boost-->
<!-- CPUBW_MIN_FREQ resource opcode, value for bengal/scuba -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- Type="4", Pre-Fling boost -->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="bengal"
Resources="0x41800000, 0x26, 0x40800000, 1056, 0x40800100, 1017, 0x40C00000, 2" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="scuba"
Resources="0x41800000, 0x26, 0x40800000, 1056" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value for khaje -->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="khaje" Fps="60"
Resources="0x4303C000, 768000, 0x40800000, 1344, 0x40800100, 1190, 0x40C00000, 2" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="khaje" Fps="90"
Resources="0x4303C000, 768000, 0x40800000, 1766, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27,
0x42804000, 2" />
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="khaje" Fps="120"
Resources="0x4303C000, 768000, 0x40800000, 2208, 0x40800100, 1516,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x42804000, 2" />
<!-- Silky Scroll boost -->
<!-- Type 5 Light Scrolls : Horizontal and Verical -->
<!-- SCHED_BOOST resource opcode, value-->
<!-- MIN_FREQ_CLUSTER_BIG_CORE_0 resource opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<Config
Id="0x00001080" Type="5" Enable="true" Target="khaje"
Resources="0x40C00000, 2, 0x40C78000, 0, 0x40C7C000, 0" />
<Config
Id="0x00001080" Type="5" Enable="true" Fps="90" Target="khaje"
Resources="0x40C00000, 2, 0x40800000, 1497, 0x40C78000, 0, 0x40C7C000, 0" />
<Config
Id="0x00001080" Type="5" Enable="true" Fps="120" Target="khaje"
Resources="0x40C00000, 2, 0x40800000, 1900, 0x40C78000, 0, 0x40C7C000, 0" />
<!-- Type 6 Medium Scrolls : Horizontal and Verical -->
<!-- Below node is for 60FPS -->
<!-- MIN_FREQ_CLUSTER_BIG_CORE_0 resource opcode, value-->
<!-- Below 4 nodes are for > 90/120 FPS -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_LITTLE resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_LITTLE resource opcode, value -->
<!-- SCHED_BOOST resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- BUS_DCVS_DDR_LAT_MINFREQ_GOLD resource opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK, value-->
<!-- LPM_BIAS_HYST resource opcode, value-->
<!-- CORE_CTL_ENABLE_BIG resource opcode, value-->
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<Config
Id="0x00001080" Type="6" Enable="true" Target="khaje"
Resources="0x40800000, 960, 0x40C00000, 2,
0x41000000, 3, 0x43488000, 0xBB800, 0x40C78000, 0, 0x40C7C000, 0,
0x40C74000, 0xF0, 0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<Config
Id="0x00001080" Type="6" Enable="true" Fps="90" Target="khaje"
Resources="0x4080C000, 0xFFF, 0x4080C100, 0xFFF, 0x40808000, 1766, 0x40808100, 1516,
0x40C00000, 2, 0x41000000, 3, 0x43488000, 0xBB800,
0x40C78000, 0, 0x40C7C000, 0, 0x40C74000, 0xF0,
0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<Config
Id="0x00001080" Type="6" Enable="true" Fps="120" Target="khaje"
Resources="0x4080C000, 0xFFF, 0x4080C100, 0xFFF, 0x40808000, 1766, 0x40808100, 1516,
0x40C00000, 2, 0x41000000, 3, 0x43488000, 0xBB800,
0x40C78000, 0, 0x40C7C000, 0, 0x40C74000, 0xF0,
0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<!-- Type 7 Heavy Scrolls : Horizontal and Verical -->
<!-- Below node is for 60FPS -->
<!-- MIN_FREQ_CLUSTER_BIG_CORE_0 resource opcode, value-->
<!-- Below 4 nodes are for > 90/120 FPS -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_HIGH_FREQ_LITTLE resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_BIG resource opcode, value -->
<!-- MPCTLV3_WALT_ADAPTIVE_LOW_FREQ_LITTLE resource opcode, value -->
<!-- SCHED_BOOST resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- BUS_DCVS_DDR_LAT_MINFREQ_GOLD resource opcode, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_COLOCATION, value-->
<!-- SCHED_MIN_TASK_UTIL_FOR_BOOST, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK, value-->
<!-- LPM_BIAS_HYST resource opcode, value-->
<!-- CORE_CTL_ENABLE_BIG resource opcode, value-->
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<Config
Id="0x00001080" Type="7" Enable="true" Target="khaje"
Resources="0x40800000, 1190, 0x40C00000, 2,
0x41000000, 3, 0x43488000, 0xBB800, 0x40C78000, 0, 0x40C7C000, 0,
0x40C74000, 0xF0, 0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<Config
Id="0x00001080" Type="7" Enable="true" Fps="90" Target="khaje"
Resources="0x4080C000, 0xFFF, 0x4080C100, 0xFFF, 0x40808000, 1766, 0x40808100, 1516,
0x40C00000, 2, 0x41000000, 3, 0x43488000, 0xBB800,
0x40C78000, 0, 0x40C7C000, 0, 0x40C74000, 0xF0,
0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<Config
Id="0x00001080" Type="7" Enable="true" Fps="120" Target="khaje"
Resources="0x4080C000, 0xFFF, 0x4080C100, 0xFFF, 0x40808000, 1766, 0x40808100, 1516,
0x40C00000, 2, 0x41000000, 3, 0x43488000, 0xBB800,
0x40C78000, 0, 0x40C7C000, 0, 0x40C74000, 0xF0,
0x40408000, 0x27, 0x41008000, 0, 0x4303C000, 768000" />
<!--MTP boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- Type="", MTP boost -->
<Config
Id="0x00001086" Enable="true" Target="bengal"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1401,
0x40800100, 1305, 0x42C10000, 0x1" />
<Config
Id="0x00001086" Enable="true" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000, 1401, 0x42C10000, 0x1, 0x40408000, 99, 0x40c74000, 15" />
<Config
Id="0x00001086" Enable="true" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1766,
0x40800100, 1516, 0x42C10000, 0x1,0x40408000, 99, 0x40c74000, 0x3F,
0x40C48000, 0x3F" />
<!--PackageInstall boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="", Package Install boost -->
<Config
Id="0x00001088" Enable="true" Target="bengal,khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<Config
Id="0x00001088" Enable="true" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000,0xFFF" />
<!--Rotation latency boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="", Rotation latency boost -->
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="bengal,khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000,0xFFF,
0x40800100,0xFFF" />
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="scuba"
Resources="0x40804000, 0xFFF, 0x40800000,0xFFF" />
<!--Rotation animation boost-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value-->
<!-- Type="", Rotation animation boost -->
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="bengal"
Resources="0x40800100, 1000, 0x4280C000, 950" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="scuba"
Resources="0x40800000, 1000, 0x4280C000, 950" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="khaje"
Resources="0x40800100, 1000, 0x42804000, 0" />
<!--Drag boost-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- Type="1", Drag boost -->
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="bengal"
Resources="0x40800000, 1056, 0x40800100, 1017" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="scuba"
Resources="0x40800000, 1056" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="khaje"
Resources="0x40800000, 1344, 0x40800100, 1190" />
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- DDR_BW_MIN_FREQ_V2 resource opcode, value-->
<!-- DDR_LAT_MINFREQ_GOLD resource opcode, value -->
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="khaje" Fps="120"
Resources="0x40800000, 1334, 0x40800100, 1190, 0x40C00000, 2,
0x4303C000, 768000, 0x43488000, 768000" />
<!--Display on Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="bengal,khaje"
Resources="0x40000000, 1" />
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="scuba"
Resources="0x40000000, 1" />
<!--Display off Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="bengal,khaje"
Resources="0x40000000, 0x0" />
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="scuba"
Resources="0x40000000, 0x0" />
<!--FPS Update Resource-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x00001094" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA4000, 5" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x00001094" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 3" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<!-- Type="120" -->
<Config
Id="0x00001094" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 2, 0x40CD8000, 100" />
<!-- FPS Immediate Update from within Perfd-->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="60" -->
<Config
Id="0x0000109B" Type="60" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 0, 0x41444100, 0, 0x40CA4000, 5" />
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Type="90" -->
<Config
Id="0x0000109B" Type="90" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 3" />
<!-- Type="120" -->
<!-- PREDECITIVE_LOAD BIG CORE resource opcode, value -->
<!-- PREDECITIVE_LOAD LITTLE Core resource opcode, value -->
<!-- WALT_RTG_CFS_BOOST_PRIO resource opcode, value -->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- WALT_LOW_LATENCY_TASK_THRESHOLD resource opcode, value -->
<Config
Id="0x0000109B" Type="120" Enable="true" Target="khaje" Timeout="0"
Resources="0x41444000, 1, 0x41444100, 1, 0x40CC8000, 119,
0x40CA4000, 2 , 0x40CD8000, 100" />
<!--Large Comp Hint -->
<!-- CPU min freq resource opcode, value -->
<!-- GPU_MIN_POWER_LEVEL resource opcode,value -->
<!-- PID Affine opcode,value -->
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="khaje" Fps="90"
Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
<Config
Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="khaje" Fps="120"
Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
<!--XiaoMi bluetooth boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBW_MAX_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LLCC DDR LAT CPU0 MIN FREQ resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- Type="1", bluetooth boost of 3sec-->
<Config
Id="0x000011C0" Type="1" Enable="true" Timeout="3000" Target="khaje"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 0xFFF, 0x41818000, 0xFF,
0x41800000, 0xFF, 0x40400000, 0x1, 0x42C10000, 0x1, 0x43430100, 0x28C5,
0x43400000, 0xFFFF, 0x4281C000, 2000" />
</PerfBoost>
</BoostConfigs>
+140
View File
@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is PerfConfigsStore file which returns the value when a
particular property name is invoked -->
<!-- This file supports only Prop tag, which has the following fields
* Name, to identify the name of the property. The names of the
properties have been classified into Vendor and System property.
* Value, the new value to be returned as string when respective
property Name is called. -->
<PerfConfigsStore>
<PerfConfigs>
<!--Vendor Properties -->
<Prop Name="vendor.debug.enable.lm" Value="true" />
<Prop Name="vendor.iop.enable_uxe" Value="1" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
<Prop Name="ro.vendor.perf.enable.prefapps" Value="false" />
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="false" />
<Prop Name="ro.vendor.perf.enable.prekill" Value="true" />
<Prop Name="vendor.prekill_MIN_ADJ_to_Kill" Value="800" />
<Prop Name="vendor.prekill_MAX_ADJ_to_Kill" Value="1000" />
<Prop Name="vendor.enable.prefetch" Value="false" />
<Prop Name="vendor.iop.enable_prefetch_ofr" Value="0" />
<Prop Name="vendor.perf.iop_v3.enable" Value="false" />
<Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
<Prop Name="vendor.iop.enable_speed" Value="false" />
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
<Prop Name="ro.vendor.perf.enable.procomp" Value="false" />
<Prop Name="vendor.perf.pfar.enable" Value="1"/>
<Prop Name="ro.vendor.perf.ss" Value="false" />
<Prop Name="ro.vendor.perf.lal" Value="false" />
<Prop Name="ro.vendor.perf.lgl" Value="false" />
<Prop Name="ro.vendor.perf.splh" Value="false" />
<Prop Name="ro.vendor.perf.lplh" Value="false" />
<!--System Properties -->
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="300000" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="15" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.use_trim_settings" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.empty_app_percent" Value="50" />
<Prop Name="ro.vendor.qti.sys.fw.trim_empty_percent" Value="100" />
<Prop Name="ro.vendor.qti.sys.fw.trim_cache_percent" Value="100" />
<Prop Name="ro.vendor.qti.sys.fw.trim_enable_memory" Value="4294967296" />
<Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" />
<Prop Name="ro.vendor.iocgrp.config" Value="0" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
<Prop Name="ro.lmk.enhance_batch_kill" Value="false" />
<Prop Name="ro.lmk.enable_watermark_check" Value="true" />
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
<Prop Name="ro.lmk.use_new_strategy_dup" Value="true"/>
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" />
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
<Prop Name="vendor.appcompact.enable_app_compact" Value="true" />
<Prop Name="vendor.appcompact.full_compact_type" Value="2" />
<Prop Name="vendor.appcompact.some_compact_type" Value="4" />
<Prop Name="vendor.perf.bgt.enable" Value="true" />
<!--Mention all the target/kernel specific properties at the end of xml file
All the default valuea are kept above-->
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Variant="bengal_32" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Variant="bengal_32" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Variant="bengal_32" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Variant="bengal_32" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Variant="bengal_32" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Variant="bengal_32"/>
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Variant="bengal_32"/>
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Variant="bengal_32go" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Variant="bengal_32go" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Variant="bengal_32go" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Variant="bengal_32go" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Variant="bengal_32go" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Variant="bengal_32go"/>
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Variant="bengal_32go"/>
<!--Mention all the khaje specific properties here -->
<Prop Name="ro.vendor.perf.enable.prefapps" Value="false" Target="khaje" />
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="false" Target="khaje" />
<Prop Name="ro.vendor.perf.count.prefapps" Value="5" Target="khaje" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Target="khaje" />
<Prop Name="ro.vendor.perf.enable.procomp" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.qgpe" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.qape" Value="true" Target="khaje" />
<Prop Name="ro.vendor.perf.ss" Value="true" Target="khaje"/>
<Prop Name="ro.vendor.perf.lal" Value="true" Target="khaje"/>
<Prop Name="ro.vendor.perf.lgl" Value="true" Target="khaje" SkewType="10"/>
<Prop Name="ro.vendor.perf.splh" Value="true" Target="khaje" />
<!--LMKD Properties -->
<Prop Name="ro.lmk.use_new_strategy_dup" Value="false" Target="khaje" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Target="khaje" />
<Prop Name="ro.lmk.kill_timeout_ms_dup" Value="100" Target="khaje" />
<Prop Name="ro.lmk.thrashing_threshold" Value="30" Target="khaje" />
<Prop Name="ro.lmk.thrashing_decay" Value="5" Target="khaje" />
<Prop Name="ro.lmk.nstrat_low_swap" Value="10" Target="khaje" />
<Prop Name="ro.lmk.nstrat_psi_partial_ms" Value="70" Target="khaje" />
<Prop Name="ro.lmk.nstrat_psi_complete_ms" Value="70" Target="khaje" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="400" Target="khaje" />
<Prop Name="ro.lmk.nstrat_wmark_boost_factor" Value="1" Target="khaje" />
<Prop Name="ro.lmk.cache_percent" Value="10" Target="khaje" />
<!--Appcompaction Properties -->
<Prop Name="vendor.appcompact.compact_throttle_somesome" Value="5000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_somefull" Value="10000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_fullsome" Value="500" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_fullfull" Value="10000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_bfgs" Value="600000" Target="khaje" />
<Prop Name="vendor.appcompact.compact_throttle_persistent" Value="600000" Target="khaje" />
<Prop Name="vendor.appcompact.rss_throttle_kb" Value="12000" Target="khaje" />
<Prop Name="vendor.appcompact.delta_rss_throttle_kb" Value="8000" Target="khaje" />
<Prop Name="ro.lmk.enable_preferred_apps" Value="false" Target="khaje" Ram="4" />
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="false" Target="khaje" Ram="4" />
<Prop Name="ro.lmk.psi_window_size_ms" Value="500" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_poll_period_scrit_ms" Value="100" Target="khaje" Ram="3" />
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="85" Target="khaje" Ram="3" />
<Prop Name="vendor.iop.enable_uxe" Value="0" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_limit" Value="5" Target="khaje" Ram="4" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bservice_age" Value="5000" Target="khaje" Ram="4" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="3" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="32" Target="khaje" Ram="4" />
</PerfConfigs>
</PerfConfigsStore>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<!--__________________________________Example format_______________________________________________
<SysNode Idx="0x8" Perm="6" WVal="10"/>
Perm: The permission to check on the above Node.
r w x
1 0 0 = 4
1 1 0 = 6
0 1 0 = 2
...
WVal: The value to be written for Avc denial testing. It can be string, int etc.
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0xD" Perm="6" WVal="1" RVal="Y" />
</PerfResources>
</ResourceConfigs>
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<TargetConfig>
<!-- All the target related information goes in TargetInfo tag.
Following are the supported fields for TargetInfo tag.
Mandatory Fields
* NumClusters, number of clusters
* TotalNumCores, total number of cores
* SocIds, a comma seperated list of supported socids for this target.
Other Fields
* Target, target name.
* SynCore, default value is "1" implies sync core and change to "0" for async core.
* CoreCtlCpu, core_ctl is enabled on which physical core, defalut value is "-1".
* MinCoreOnline, minimum number of cores needed to be online, default value is "0"
* GovInstanceType, default value "0" which implies "CLUSTER_BASED_GOV_INSTANCE",
can be changed to "1" for "SINGLE_GOV_INSTANCE".
* CpufreqGov, default value is "0" which implies "INTERACTIVE", can be changed it
to "1" for "SCHEDUTIL".
-->
<!-- For each cluster,write a seperate ClustersInfo tag.
Following are the supported fields for ClustersInfo tag.
Mandatory Fields
* Id, cluster number starts with index 0.
* NumCores, total number of cores for that cluster.
Other Fields
* Type, whther a "little" or "big" cluster.
(Type is mandatory, If there is more than one cluster.)
* MaxFrequency, Any limitations for max frequency for that cluster.
-->
<!-- For targets sharing the same platfrom, we can have seperate config tag for each
of those targets with different number in the Config tag and basing on the socId
of the target device, we decide which configs to consider. -->
<Config1>
<TargetInfo
Target="bengal"
NumClusters="2"
TotalNumCores="8"
SocIds="417,420,444,445"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config1>
<Config2>
<TargetInfo
Target="scuba"
NumClusters="1"
TotalNumCores="4"
SocIds="441"
SynCore="1"
MinCoreOnline="1"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="big" />
</Config2>
<Config3>
<TargetInfo
Target="khaje"
NumClusters="2"
TotalNumCores="8"
SocIds="518,561,585,586"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
CpufreqGov="1" />
<ClustersInfo Id="0" NumCores="4" Type="little" />
<ClustersInfo Id="1" NumCores="4" Type="big" />
</Config3>
</TargetConfig>
+200
View File
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2019 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail. -->
<ResourceConfigs>
<PerfResources>
<!-- power collapse major start -->
<Config MajorValue="0x1" MinorValue="0x1" Supported="no" /> <!-- toggle_l2_pc_perf -->
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/walt/sched_busy_hyst_ns" />
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" /> <!-- lpm_ref_stddev -->
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" /> <!-- lpm_tmr_add -->
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Config MajorValue="0x2" MinorValue="0x0" Node="/sys/kernel/msm_performance/parameters/cpu_min_freq" /> <!-- cpu_min_freq -->
<Config MajorValue="0x2" MinorValue="0x1" Node="/sys/kernel/msm_performance/parameters/cpu_max_freq" /> <!-- cpu_max_freq -->
<!-- cpufreq major end -->
<!-- sched major start -->
<Config MajorValue="0x3" MinorValue="0x0" Node="/proc/sys/walt/sched_boost" />
<Config MajorValue="0x3" MinorValue="0x2" Supported="no" /> <!-- sched_migration_cost_ns -->
<Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Supported="no" /> <!-- sched_init_task_load -->
<Config MajorValue="0x3" MinorValue="0x7" Node="/proc/sys/walt/sched_upmigrate" /> <!-- sched_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x8" Node="/proc/sys/walt/sched_downmigrate" /> <!-- sched_downmigrate -->
<Config MajorValue="0x3" MinorValue="0xA" Supported="no" /> <!-- sched_add_group -->
<Config MajorValue="0x3" MinorValue="0xB" Supported="no" /> <!-- sched_spill_nr_run -->
<Config MajorValue="0x3" MinorValue="0xC" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
<Config MajorValue="0x3" MinorValue="0xD" Supported="no" /> <!-- sched_restrict_cluster_spill -->
<Config MajorValue="0x3" MinorValue="0x13" Supported="no" /> <!-- sched_set_freq_aggr -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x15" Node="/proc/sys/walt/sched_group_upmigrate" /> <!-- sched_group_upmigrate -->
<Config MajorValue="0x3" MinorValue="0x16" Node="/proc/sys/walt/sched_group_downmigrate" /> <!-- sched_group_downmigrate -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x18" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x19" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1A" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/boost" />
<Config MajorValue="0x3" MinorValue="0x1B" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1C" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x1D" Node="/proc/sys/walt/sched_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x1E" Node="/proc/sys/walt/sched_min_task_util_for_colocation" />
<Config MajorValue="0x3" MinorValue="0x1F" Node="/proc/sys/walt/sched_min_task_util_for_boost" />
<Config MajorValue="0x3" MinorValue="0x20" Node="/proc/sys/walt/sched_per_task_boost" />
<Config MajorValue="0x3" MinorValue="0x21" Node="/proc/sys/walt/sched_user_hint" />
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x23" Node="/proc/sys/walt/sched_coloc_downmigrate_ns" />
<Config MajorValue="0x3" MinorValue="0x24" Node="/proc/sys/walt/sched_coloc_busy_hysteresis_enable_cpus" />
<Config MajorValue="0x3" MinorValue="0x25" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x26" Node="/proc/sys/walt/sched_window_stats_policy" />
<Config MajorValue="0x3" MinorValue="0x27" Node="/proc/sys/walt/sched_many_wakeup_threshold" />
<Config MajorValue="0x3" MinorValue="0x28" Node="/proc/sys/walt/sched_sync_hint_enable" />
<Config MajorValue="0x3" MinorValue="0x29" Node="/proc/sys/walt/sched_ravg_window_nr_ticks" />
<Config MajorValue="0x3" MinorValue="0x2A" Supported="no" /> <!-- sched_prefer_spread -->
<Config MajorValue="0x3" MinorValue="0x2C" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x2D" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x32" Node="/proc/sys/walt/walt_rtg_cfs_boost_prio" />
<Config MajorValue="0x3" MinorValue="0x33" Node="/proc/sys/walt/sched_force_lb_enable" />
<Config MajorValue="0x3" MinorValue="0x34" Node="/proc/sys/walt/sched_low_latency" />
<Config MajorValue="0x3" MinorValue="0x35" Supported="no" />
<Config MajorValue="0x3" MinorValue="0x36" Node="/proc/sys/walt/walt_low_latency_task_threshold" />
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x38" Node="/proc/sys/walt/%s" />
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x3C" Node="/proc/sys/walt/sched_wake_up_idle" />
<Config MajorValue="0x3" MinorValue="0x3D" Node="/proc/sys/walt/%s" />
<!-- sched major end -->
<!-- cpufreq major start -->
<Config MajorValue="0x5" MinorValue="0xF" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/hispeed_freq" />
<Config MajorValue="0x5" MinorValue="0x10" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/hispeed_load" />
<Config MajorValue="0x5" MinorValue="0x11" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/pl" />
<Config MajorValue="0x5" MinorValue="0x12" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/down_rate_limit_us" />
<Config MajorValue="0x5" MinorValue="0x13" Node="/sys/devices/system/cpu/cpu0/cpufreq/walt/rtg_boost_freq" />
<!-- cpufreq major end -->
<!-- cpubw hwmon major start -->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xA" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xB" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xC" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xD" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xE" Supported="no" />
<Config MajorValue="0x6" MinorValue="0xF" Supported="no" />
<Config MajorValue="0x6" MinorValue="0x10" Supported="no"/>
<Config MajorValue="0x6" MinorValue="0x11" Supported="no"/>
<Config MajorValue="0x6" MinorValue="0x12" Supported="no"/>
<!-- cpubw hwmon major end -->
<!-- gpu major start -->
<Config MajorValue="0xA" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xA" MinorValue="0x9" Supported="no" />
<!-- gpu major end -->
<!-- misc major start -->
<Config MajorValue="0xB" MinorValue="0x2" Node="/proc/sys/walt/input_boost/input_boost_freq" />
<Config MajorValue="0xB" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xB" MinorValue="0x6" Supported="no" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<!-- LLCC_DDR_BW old opcodes unsupported-->
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x4" Supported="no" />
<!-- LLCC_DDR_BW new opcodes-->
<Config MajorValue="0xC" MinorValue="0x5" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/up_scale" />
<Config MajorValue="0xC" MinorValue="0x6" Supported="no" /> <!-- llcc ddr max freq -->
<Config MajorValue="0xC" MinorValue="0x7" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/decay_rate" />
<Config MajorValue="0xC" MinorValue="0x8" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/io_percent" />
<Config MajorValue="0xC" MinorValue="0x9" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr" />
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xC" MinorValue="0xC" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/window_ms" />
<Config MajorValue="0xC" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/sample_ms" />
<Config MajorValue="0xC" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/idle_mbps" />
<Config MajorValue="0xC" MinorValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/min_freq" />
<Config MajorValue="0xC" MinorValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/1b8e300.qcom,bwmon-ddr/max_freq" />
<Config MajorValue="0xC" MinorValue="0x11" Supported="no" />
<Config MajorValue="0xC" MinorValue="0x12" Supported="no" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Config MajorValue="0xD" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x2" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x4" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x7" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x8" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x9" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xA" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xB" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xC" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xD" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xE" Supported="no" />
<Config MajorValue="0xD" MinorValue="0xF" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x10" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x11" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x12" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x13" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x14" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x15" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x16" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x17" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x18" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x1C" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x1D" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x20" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x21" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x23" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x24" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x25" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x27" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x28" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x29" Supported="no" />
<!-- memlat major end -->
<!-- npu major start -->
<Config MajorValue="0xE" MinorValue="0x0" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x1" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x3" Supported="no" />
<Config MajorValue="0xE" MinorValue="0x4" Supported="no" />
<!-- npu major end -->
</PerfResources>
</ResourceConfigs>
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Supported="no" />
<SysNode Idx="0x1" Supported="no" />
<SysNode Idx="0x2" Node="/sys/kernel/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/kernel/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Supported="no" />
<SysNode Idx="0x5" Node="/sys/kernel/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="no" />
<SysNode Idx="0x7" Node="/sys/kernel/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/kernel/msm_performance/parameters/evnt_gplaf_pid" />
<SysNode Idx="0xB" Node="/sys/kernel/msm_performance/notify/aggr_big_nr" />
<SysNode Idx="0xC" Node="/sys/kernel/msm_performance/notify/aggr_top_load" />
<SysNode Idx="0xD" Node="/sys/kernel/msm_performance/parameters/core_ctl_register" />
<SysNode Idx="0xE" Node="/sys/kernel/msm_performance/notify/top_load_cluster" />
<SysNode Idx="0xF" Node="/sys/kernel/msm_performance/notify/curr_cap_cluster" />
<SysNode Idx="0x17" Supported="no" />
<SysNode Idx="0x18" Supported="no" />
<SysNode Idx="0x19" Supported="no" />
<SysNode Idx="0x1A" Supported="no" />
<SysNode Idx="0x1B" Supported="no" />
</PerfResources>
</ResourceConfigs>
@@ -0,0 +1,368 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- Supported XML tags with their fields.
* Major tag supports OpcodeValue.
* Minor tag supports OpcodeValue, Nodepath and Supported(Optional) fields.
* By default, all the resources are assumed as supported.
Supported field can be used to mark a resource as not supported.
* All the interactive nodes, ondemand nodes and some nodes of sched major
group which aren't being used are marked as Not supported by default and
can be enabled by using the target specific config files. -->
<!-- For resources which update multiple nodes or which require speical
acquire/release funcitons, need to mention the keyword SPECIAL_NODE
in their node path field and accordingly their ApplyOts and ResetOpts
functions need to be defined in the code.-->
<!-- For adding a new resource, a new minor tag with all mandatory fields
need to be added just before the end of it's major group.
Exception tag is used to pass the exception why ths node cannot be tested.
Cluster tag is used when node in resource xml is cluster specific(put logical cluster here).
Cluster 0=> Big
Cluster 1=> Little
Cluster 2=> Prime
| RVal | Wval | Reason
| Yes | Yes | Different Value read and write
| No | Yes | Read Val Same as write Value
| Blank| Blank| Unsupported Node
(Yes) => Tag is Added
(No) => Tag is not Added
(Blank) => Tag is added but written value is blank (eg: WVal="").
-->
<ResourceConfigs>
<PerfResources>
<!-- display off major start -->
<Major OpcodeValue="0x0" />
<Minor OpcodeValue="0x0" Exception="This is Display Off resource"/>
<!-- display off major end -->
<!-- power collapse major start -->
<Major OpcodeValue="0x1" />
<Minor OpcodeValue="0x0" Exception="Cannot Check value part of this node" />
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="0x5" RVal="5000000" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<!-- power collapse major end -->
<!-- cpufreq major start -->
<Major OpcodeValue="0x2" />
<Minor OpcodeValue="0x0" Cluster="1" WVal="960" RVal="960000" />
<Minor OpcodeValue="0x1" Cluster="1" WVal="1478" RVal="1478400" />
<Minor OpcodeValue="0x2" WVal="0xDF4" RVal="3572" />
<Minor OpcodeValue="0x3" WVal="0xFFA" RVal="4090" />
<!-- cpufreq major end -->
<!-- sched major start -->
<Major OpcodeValue="0x3" />
<!--Sysfsnode paths may change basing on the target for minors 0x1, 0x4, 0x5, 0x9.
So, for targets with different node paths than default, need to be specified
in the target specific resource config xml file. -->
<Minor OpcodeValue="0x0" WVal="2" RVal="2" />
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="0xC351" RVal="0" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xE" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xF" WVal="0x8" RVal="3" />
<Minor OpcodeValue="0x10" WVal="0x4" RVal="2" />
<Minor OpcodeValue="0x11" WVal="0x8" RVal="3" />
<Minor OpcodeValue="0x12" WVal="0x10" RVal="4" />
<Minor OpcodeValue="0x13" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x14" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x15" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x16" WVal="" RVal="" /> <!-- not supported -->
<!-- sched_freq_aggr_threshold perflock will have contention with sched_boost level 3,
so disable this resource for the target which is going to use sched boost 3 level.-->
<Minor OpcodeValue="0x17" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x18" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x19" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1A" WVal="255" RVal="255" />
<Minor OpcodeValue="0x1B" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1C" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1D" WVal="0xF4" RVal="244" />
<Minor OpcodeValue="0x1E" WVal="0xAF" RVal="175" />
<Minor OpcodeValue="0x1F" WVal="0x311" RVal="785"/>
<Minor OpcodeValue="0x20" WVal="0x1" RVal="3" /> <!-- sched_task_boost --> <!-- target -->
<Minor OpcodeValue="0x21" WVal="1" RVal="1" /> <!--sched_user_hint -->
<Minor OpcodeValue="0x22" WVal="" RVal="" /> <!--sched_task_unfilter_nr_windows --> <!-- not supported -->
<Minor OpcodeValue="0x23" WVal="" RVal="" /> <!--sched_coloc_downmigrate_ns -->
<Minor OpcodeValue="0x24" WVal="23" />
<Minor OpcodeValue="0x25" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x26" WVal="0x3" RVal="3" />
<Minor OpcodeValue="0x27" WVal="0x3E1" RVal="993" />
<Minor OpcodeValue="0x28" WVal="0" RVal="0" />
<Minor OpcodeValue="0x29" WVal="8" />
<Minor OpcodeValue="0x2A" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2B" WVal="2" RVal="2.00" />
<Minor OpcodeValue="0x2C" /> <!-- enable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2D" /> <!-- disable sched_task_boost for top-app render thread-->
<Minor OpcodeValue="0x2E" WVal="0x5F5E1FF" RVal="100000255" />
<Minor OpcodeValue="0x2F" WVal="1" RVal="1" />
<Minor OpcodeValue="0x30" WVal="0x51" />
<Minor OpcodeValue="0x31" WVal="0x2531FFF"/>
<Minor OpcodeValue="0x32" WVal="119" RVal="119" />
<Minor OpcodeValue="0x33" WVal="0x0" RVal="0" />
<Minor OpcodeValue="0x34" Exception="Need to pass pid to test it" />
<Minor OpcodeValue="0x35" WVal="0x2DCFFF" RVal="3002367" />
<Minor OpcodeValue="0x36" WVal="0x2D" RVal="45" />
<Minor OpcodeValue="0x37" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x38" />
<Minor OpcodeValue="0x39" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3A" WVal="0xFA" RVal="1" />
<Minor OpcodeValue="0x3B" WVal="0xFA" RVal="1" />
<Minor OpcodeValue="0x3C" />
<Minor OpcodeValue="0x3D" />
<Minor OpcodeValue="0x3E" WVal="0xFFAE " />
<Minor OpcodeValue="0x3F" WVal="0x1FF" />
<!-- sched major end -->
<!-- core hotplug major start -->
<Major OpcodeValue="0x4" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" Cluster="1" WVal="1" RVal="1" />
<Minor OpcodeValue="0x3" Cluster="1" Exception="Cant compare. Node written as decimal read as binary with spaces." />
<!-- core hotplug major end-->
<!-- interactive major start -->
<Major OpcodeValue="0x5" />
<!-- For following minors node paths might change basing on GovInstanceType and
Supported field might change basing on the type of CpufreqGov.-->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xE" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xF" Cluster="1" WVal="1478" RVal="1478400" />
<Minor OpcodeValue="0x10" Cluster="1" WVal="0x27" RVal="39" />
<Minor OpcodeValue="0x11" Cluster="1" WVal="0x0" RVal="0" />
<Minor OpcodeValue="0x12" Cluster="1" WVal="0xFA" />
<Minor OpcodeValue="0x13" Cluster="1" WVal="0xBB801" />
<Minor OpcodeValue="0x14" Cluster = "1" WVal="0x4566FF" />
<Minor OpcodeValue="0x15" Cluster = "1" WVal="0x5AA" />
<Minor OpcodeValue="0x16" Cluster = "1" WVal="0xFFA1" RVal="65441" />
<!-- interactive major end -->
<!-- cpubw hwmon major start -->
<Major OpcodeValue="0x6" />
<!-- ALl the following minors might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" />
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x9" WVal="" RVal="" /> <!-- not supported -->
<!--Here onwards are the path for new opcodes to mark CPU_LLCC_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="0x1A2" RVal="418"/>
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="0x151" RVal="337" />
<Minor OpcodeValue="0xE" Exception="Resource is direcory to LLCC HYST_OPT nodes" />
<Minor OpcodeValue="0xF" WVal="0x26" RVal="38" />
<Minor OpcodeValue="0x10" WVal="0xAF" RVal="175" /> <!-- target -->
<!--Here onwards are the path for new frequency opcodes for CPU_LLCC_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0x11" WVal="300031" RVal="300031" />
<Minor OpcodeValue="0x12" WVal="806088" RVAL = "806088" />
<!-- cpubw hwmon major end -->
<!-- video major start -->
<Major OpcodeValue="0x7" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" />
<Minor OpcodeValue="0x3" Exception="DISPLAY_EARLY_WAKEUP_HINT Resource"/>
<!-- video major end -->
<!-- ksm major start -->
<Major OpcodeValue="0x8" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<!-- ksm major end -->
<!-- ondemand major start -->
<Major OpcodeValue="0x9" />
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<!-- ondemand major end -->
<!-- gpu major start -->
<Major OpcodeValue="0xA" />
<Minor OpcodeValue="0x0" WVal="0x8" RVal="8" />
<Minor OpcodeValue="0x1" WVal="0x4" RVal="4" />
<Minor OpcodeValue="0x2" WVal="1" RVal="1" />
<Minor OpcodeValue="0x3" WVal="0xFF" RVal="285000000" />
<Minor OpcodeValue="0x4" WVal="0x1BB" RVal="443000000" />
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" />
<Minor OpcodeValue="0x8" />
<Minor OpcodeValue="0x9" />
<Minor OpcodeValue="0xA" Exception="Node is QESDK-SEC Protected, Should be tested by that." />
<Minor OpcodeValue="0xB" WVal="32" RVal="32" />
<Minor OpcodeValue="0xC" WVal="440" Rval="450" />
<!-- gpu major end -->
<!-- misc major start -->
<Major OpcodeValue="0xB" />
<Minor OpcodeValue="0x0" />
<Minor OpcodeValue="0x1" />
<Minor OpcodeValue="0x2" Exception="Node is INPUT_BOOST_RESET for all clusters" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" Exception="StorageNode_path_is_figured_out_based_on_the_target_device" />
<Minor OpcodeValue="0x5" />
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" Exception="MISC PID_AFFINE Resource" />
<Minor OpcodeValue="0x9" Exception="MISC FPS_HYST_OPCODE Resource" />
<Minor OpcodeValue="0xA" Exception="MISC ALWAYS_ALLOW_OPCODE Resource" />
<Minor OpcodeValue="0xB" Exception="MISC SET_SCHEDULER Resource" />
<Minor OpcodeValue="0xC" WVal="0x1" RVal="4" />
<Minor OpcodeValue="0xD" Exception="DISPLAY_DOZE resource" />
<!-- misc major end -->
<!-- llcbw hwmon major start -->
<Major OpcodeValue="0xC" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" />
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<!--Here onwards are the path for new opcodes to mark LLCC_DDR_BW nodes.Upper ones
of this major are marked as unsupported for the tergets using the new opcodes-->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" WVal="0x1EA" RVal="490" />
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="0x54" RVal="84" />
<Minor OpcodeValue="0x8" WVal="0x18F" RVal="399" />
<Minor OpcodeValue="0x9" Exception="Resource is direcory to DDR HYST_OPT nodes" />
<Minor OpcodeValue="0xA" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xB" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xC" WVal="0x1AE" RVal="430" />
<Minor OpcodeValue="0xD" WVal="0x25" RVal="37" />
<Minor OpcodeValue="0xE" WVal="0x4EA" RVal="1258" />
<!--Here onwards are the path for new frequency opcodes for LLCC_DDR_BW V2 nodes to support
new values from kernel 5.10 onwards-->
<Minor OpcodeValue="0xF" WVal="0x858FF" RVal="547071" />
<Minor OpcodeValue="0x10" WVal="0x1FEABF3" RVal="3196000" /> <!-- target -->
<Minor OpcodeValue="0x11" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x12" WVal="0x43" />
<!-- llcbw hwmon major end -->
<!-- memlat major start -->
<Major OpcodeValue="0xD" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="-1" RVal="-1" />
<Minor OpcodeValue="0x1" WVal="0xA350" RVal="41808" />
<Minor OpcodeValue="0x2" WVal="0xC35" RVal="3125" />
<Minor OpcodeValue="0x3" WVal="0x48" RVal="72" />
<Minor OpcodeValue="0x4" WVal="0x39" RVal="57" />
<Minor OpcodeValue="0x5" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x6" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x7" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x8" WVal="0x1FEA" RVal="8170" />
<Minor OpcodeValue="0x9" WVal="0x1EAB" RVal="7851" />
<Minor OpcodeValue="0xA" WVal="0x33" RVal="51" />
<Minor OpcodeValue="0xB" WVal="0x2B" RVal="43" />
<Minor OpcodeValue="0xC" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0xD" WVal="0xFAE" RVal="4014" />
<Minor OpcodeValue="0xE" WVal="0xABC" RVal="2748" />
<Minor OpcodeValue="0xF" WVal="0x18" RVal="24" />
<Minor OpcodeValue="0x10" WVal="0x53" RVal="83" /> <!-- target -->
<Minor OpcodeValue="0x11" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x12" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x13" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x14" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x15" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x16" WVal="0x1149FF" RVal="1133055" />
<Minor OpcodeValue="0x17" WVal="0x49ABC" RVal="301756" />
<Minor OpcodeValue="0x18" WVal="768000" RVal="768000" />
<Minor OpcodeValue="0x19" WVal="0x18C" RVal="396" />
<Minor OpcodeValue="0x1A" WVal="0x88" RVal="136" />
<Minor OpcodeValue="0x1B" WVal="0x25F" RVal="547000" />
<Minor OpcodeValue="0x1C" WVal="0xAF" RVal="300000" />
<Minor OpcodeValue="0x1D" WVal="0x61A9" RVal="25001" />
<Minor OpcodeValue="0x1E" WVal="0x1A0FE0" RVal="0x1A0FE0" />
<Minor OpcodeValue="0x1F" WVal="0x1A0FE0" RVal="0x1A0FE0" />
<Minor OpcodeValue="0x20" WVal="825600" RVal="825600" />
<Minor OpcodeValue="0x21" WVal="768000" />
<Minor OpcodeValue="0x22" WVal="768000" />
<Minor OpcodeValue="0x23" WVal="466000" />
<Minor OpcodeValue="0x24" WVal="30" />
<Minor OpcodeValue="0x25" WVal="30" />
<Minor OpcodeValue="0x26" WVal="60000" RVal="451200" />
<Minor OpcodeValue="0x27" WVal="60000" RVal="556800" />
<Minor OpcodeValue="0x28" WVal="60000" RVal="150000" />
<Minor OpcodeValue="0x29" WVal="1" RVal="1" />
<!-- memlat major end -->
<!-- npu major start -->
<Major OpcodeValue="0xE" />
<!-- ALl the following minors node path might change based on target. -->
<Minor OpcodeValue="0x0" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x1" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x2" />
<!--Here onwards are the path for new opcodes to mark NPU_LLCC_DDR_BW nodes.-->
<Minor OpcodeValue="0x3" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
<Minor OpcodeValue="0x5" />
<!-- npu major end -->
<!-- sched2 major start -->
<Major OpcodeValue="0xF" />
<Minor OpcodeValue="0x0" WVal="0x1" RVal="1" />
<Minor OpcodeValue="0x1" Exception="TASK LOAD BOOST NEED PID" />
<Minor OpcodeValue="0x2" WVal="0x20" RVal="32" />
<Minor OpcodeValue="0x3" WVal="0x23" RVal="35" />
<Minor OpcodeValue="0x4" WVal="0x12C" RVal="300" />
<Minor OpcodeValue="0x5" WVal="0xDC" RVal="220" />
<Minor OpcodeValue="0x6" WVal="2" RVal="2" />
<!-- sched2 major end -->
</PerfResources>
</ResourceConfigs>
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2022 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!-- This is a target specific resource config file which can be
used to overwrite the node paths mentioned in common resources file
and also to modify the Supported field information. -->
<!-- This file supports only Config tag, which has the following fields
* MajorValue and MinorValue, both are required to uniquely
identify the resource.
* Node, the new node path to overwrite the already existing path
of commonresourceconfigs.xml file.
* Supported, to indicate whether the resource is supported or not.
* For each config tag, either of Node or Supported fields need
to be mentioned.
NOTE - It is not Mandatory to write all the resources which are not supported,
as anyway perflock calls of these resources would fail.
Exception tag is used to pass the exception why ths node cannot be tested.
Cluster tag is used when node in resource xml is cluster specific(put logical cluster here).
Cluster 0=> Big
Cluster 1=> Little
Cluster 2=> Prime
| RVal | Wval | Reason
| Yes | Yes | Different Value read and write
| No | Yes | Read Val Same as write Value
| Blank| Blank| Unsupported Node
(Yes) => Tag is Added
(No) => Tag is not Added
(Blank) => Tag is added but written value is blank (eg: WVal="").
-->
<ResourceConfigs>
<PerfResources>
<Config MajorValue="0x3" MinorValue="0x24" WVal="0x42" RVal="66" />
<Config MajorValue="0x5" MinorValue="0xF" Cluster="1" WVal="1478" RVal="1516800" />
<Config MajorValue="0xA" MinorValue="0x0" WVal="1" RVal="1" />
<Config MajorValue="0xA" MinorValue="0x1" WVal="1" RVal="1" />
<Config MajorValue="0xA" MinorValue="0x2" WVal="1" RVal="1" />
<Config MajorValue="0xA" MinorValue="0x3" WVal="401" RVal="401000000" />
<Config MajorValue="0xA" MinorValue="0xB" WVal="1500" RVal="1500" />
<Config MajorValue="0xB" MinorValue="0xC" WVal="0x1" RVal="4" />
<Config MajorValue="0xB" MinorValue="0xD" Exception="Display doze. No sysnode." />
<Config MajorValue="0xC" MinorValue="0x10" WVal="0x1FEABF3" RVal="4243000" />
<Config MajorValue="0xD" MinorValue="0x18" WVal="0x30D400" RVal="3200000" />
</PerfResources>
</ResourceConfigs>
Binary file not shown.