Init sm8650-common vendor
This commit is contained in:
52
proprietary/vendor/etc/perf/avcsysnodesconfigs.xml
vendored
Normal file
52
proprietary/vendor/etc/perf/avcsysnodesconfigs.xml
vendored
Normal 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>
|
||||
361
proprietary/vendor/etc/perf/commonresourceconfigs.xml
vendored
Normal file
361
proprietary/vendor/etc/perf/commonresourceconfigs.xml
vendored
Normal file
@@ -0,0 +1,361 @@
|
||||
<?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" />
|
||||
<Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu5/core_ctl/offline_delay_ms" />
|
||||
<Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu5/core_ctl/min_partial_cpus" />
|
||||
<!-- 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" />
|
||||
<!-- Samsung Vendor Resource -->
|
||||
<Minor OpcodeValue="0x8" Node="/proc/sys/walt/sched_ravg_window_nr_ticks_user" />
|
||||
<Minor OpcodeValue="0x9" Node="/proc/sys/walt/sched_sbt_pause_cpus" />
|
||||
<!-- Samsung Vendor Resource -->
|
||||
<!-- 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="/proc/sys/walt/sched_pipeline" />
|
||||
<Minor OpcodeValue="0xF" Node="SPECIAL_NODE - content_fps" />
|
||||
<Minor OpcodeValue="0x10" Node="/sys/devices/system/cpu/dynpf/enable_dynpf" />
|
||||
<!-- 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" />
|
||||
<Minor OpcodeValue="0x7" Node="/proc/sys/walt/sched_fmax_cap" />
|
||||
<Minor OpcodeValue="0x8" Node="/proc/sys/walt/sched_max_freq_partial_halt" />
|
||||
<Minor OpcodeValue="0x9" Node="/proc/sys/walt/sched_idle_enough_clust" />
|
||||
<Minor OpcodeValue="0xA" Node="/proc/sys/walt/sched_cluster_util_thres_pct_clust" />
|
||||
<!-- 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
proprietary/vendor/etc/perf/commonsysnodesconfigs.xml
vendored
Normal file
42
proprietary/vendor/etc/perf/commonsysnodesconfigs.xml
vendored
Normal 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>
|
||||
1134
proprietary/vendor/etc/perf/perfboostsconfig.xml
vendored
Normal file
1134
proprietary/vendor/etc/perf/perfboostsconfig.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
98
proprietary/vendor/etc/perf/perfconfigstore.xml
vendored
Normal file
98
proprietary/vendor/etc/perf/perfconfigstore.xml
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2019-2022 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. -->
|
||||
|
||||
<!--__________________________________Example format_______________________________________________
|
||||
<Prop Name="vendor.debug.enable.lm" Value="true" Target="lagoon" Variant="lito" Resolution="1080p"
|
||||
Ram="3" Kernel="4.19"/>
|
||||
Target: target code name (decided based on soc id, doesn't depend on lunch combo name)
|
||||
ex: lito, lagoon, kona, etc
|
||||
Variant: For Variants of Target go/32bit/64bit/nongo, examples below
|
||||
Variant=bengal_32go -> bengal 32 bit go target
|
||||
Variant=bengal_32 -> bengal 32 bit target
|
||||
Variant=bengal -> bengal 64 bit target
|
||||
Resolution="1080p", "2560", "720p", "HD+"
|
||||
Kernel: kernel version, examples: "4.19", "5.4", etc
|
||||
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
|
||||
_______________________________________________________________________________________________ -->
|
||||
|
||||
<PerfConfigsStore>
|
||||
<PerfConfigs>
|
||||
|
||||
<!--Vendor Properties -->
|
||||
<Prop Name="vendor.debug.enable.lm" Value="true" />
|
||||
<Prop Name="vendor.enable.prefetch" Value="false" />
|
||||
<Prop Name="vendor.iop.enable_speed" Value="true" /> <!--rename to perf-->
|
||||
<Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
|
||||
<Prop Name="ro.vendor.perf.enable.prekill" Value="true" />
|
||||
<Prop Name="ro.vendor.perf.enable.procomp" Value="true"/>
|
||||
<Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
|
||||
<Prop Name="vendor.prekill_MIN_ADJ_to_Kill" Value="800" />
|
||||
<Prop Name="vendor.prekill_MAX_ADJ_to_Kill" Value="1000" />
|
||||
<Prop Name="ro.vendor.perf.count.prefapps" Value="12" />
|
||||
<Prop Name="ro.vendor.use_perf_hal_for_preferredapps" Value="true" />
|
||||
<Prop Name="vendor.prefapps.pkg_retention_mins" Value="28800" />
|
||||
<Prop Name="vendor.prefapps.last_launch_threshold" Value="21600" />
|
||||
<Prop Name="vendor.debug.enable.memperfd" Value="true" />
|
||||
<Prop Name="vendor.enable.memperfd_MIN_RAM_in_KB" Value="1048576" />
|
||||
<Prop Name="vendor.enable.memperfd_MAX_RAM_in_KB" Value="12582912" />
|
||||
<Prop Name="ro.vendor.perf.ss" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.ssv2" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.lal" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.lgl" Value="true" Target="pineapple" SkewType="10"/>
|
||||
|
||||
<!--System Properties -->
|
||||
<Prop Name="ro.lmk.kill_heaviest_task_dup" Value="true" />
|
||||
<Prop Name="ro.lmk.kill_timeout_ms_dup" Value="100" />
|
||||
<Prop Name="ro.lmk.thrashing_threshold" Value="30" />
|
||||
<Prop Name="ro.lmk.thrashing_decay" Value="5" />
|
||||
<Prop Name="ro.lmk.nstrat_low_swap" Value="10" />
|
||||
<Prop Name="ro.lmk.nstrat_psi_partial_ms" Value="70" />
|
||||
<Prop Name="ro.lmk.nstrat_psi_complete_ms" Value="70" />
|
||||
<Prop Name="ro.lmk.psi_scrit_complete_stall_ms" Value="400" />
|
||||
<Prop Name="ro.lmk.nstrat_wmark_boost_factor" Value="4" />
|
||||
<Prop Name="vendor.perf.gestureflingboost.enable" Value="true" />
|
||||
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="96" />
|
||||
<Prop Name="ro.vendor.at_library" Value="libqti-at.so" />
|
||||
<Prop Name="vendor.perf.performancemode.support" Value="true" Target="pineapple" />
|
||||
<Prop Name="ro.lmk.enable_preferred_apps" Value="true" />
|
||||
<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.appcompact.compact_throttle_somesome" Value="5000" />
|
||||
<Prop Name="vendor.appcompact.compact_throttle_somefull" Value="10000" />
|
||||
<Prop Name="vendor.appcompact.compact_throttle_fullsome" Value="500" />
|
||||
<Prop Name="vendor.appcompact.compact_throttle_fullfull" Value="10000" />
|
||||
<Prop Name="vendor.appcompact.compact_throttle_bfgs" Value="600000" />
|
||||
<Prop Name="vendor.appcompact.compact_throttle_persistent" Value="600000" />
|
||||
<Prop Name="vendor.appcompact.rss_throttle_kb" Value="12000" />
|
||||
<Prop Name="vendor.appcompact.delta_rss_throttle_kb" Value="8000" />
|
||||
<Prop Name="vendor.perf.topAppRenderThreadBoost.enable" Value="false" Target="pineapple" />
|
||||
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" />
|
||||
<Prop Name="vendor.perf.phr.enable" Value="0" Target="pineapple"/>
|
||||
<Prop Name="vendor.perf.phr.hr_min_rate" Value="0.5" Target="pineapple"/>
|
||||
<Prop Name="vendor.perf.pfar2.enable" Value="1" Target="pineapple"/>
|
||||
<Prop Name="vendor.perf.pfar2.boost_level" Value="3" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.splh" Value="none" Target="pineapple" />
|
||||
<Prop Name="ro.vendor.perf.qhf" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.qgpe" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.qape" Value="true" Target="pineapple"/>
|
||||
<Prop Name="ro.vendor.perf.qape.boost_duration" Value="10" />
|
||||
<Prop Name="ro.vendor.perf.qape.max_boost_count" Value="3" />
|
||||
<Prop Name="ro.vendor.perf.qape.max_pipeline_number" Value="4" />
|
||||
<Prop Name="vendor.perf.bgt.enable" Value="true" />
|
||||
|
||||
</PerfConfigs>
|
||||
</PerfConfigsStore>
|
||||
25
proprietary/vendor/etc/perf/targetavcsysnodesconfigs.xml
vendored
Normal file
25
proprietary/vendor/etc/perf/targetavcsysnodesconfigs.xml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2023 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>
|
||||
65
proprietary/vendor/etc/perf/targetconfig.xml
vendored
Normal file
65
proprietary/vendor/etc/perf/targetconfig.xml
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
* Copyright (c) 2017-2022 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".
|
||||
* TargetMaxArgsPerReq, can be used to update max arg per req value, default is 64.
|
||||
-->
|
||||
|
||||
<!-- 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="pineapple"
|
||||
NumClusters="4"
|
||||
TotalNumCores="8"
|
||||
SocIds="557,577"
|
||||
SynCore="1"
|
||||
CoreCtlCpu="4"
|
||||
MinCoreOnline="0"
|
||||
CpufreqGov="1"
|
||||
TargetMaxArgsPerReq="64"
|
||||
/>
|
||||
|
||||
<ClustersInfo Id="0" NumCores="2" Type="little" />
|
||||
<ClustersInfo Id="1" NumCores="3" Type="big" />
|
||||
<ClustersInfo Id="2" NumCores="2" Type="titanium" />
|
||||
<ClustersInfo Id="3" NumCores="1" Type="prime" />
|
||||
|
||||
</Config1>
|
||||
|
||||
</TargetConfig>
|
||||
176
proprietary/vendor/etc/perf/targetresourceconfigs.xml
vendored
Normal file
176
proprietary/vendor/etc/perf/targetresourceconfigs.xml
vendored
Normal file
@@ -0,0 +1,176 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
* Copyright (c) 2017-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. -->
|
||||
|
||||
<ResourceConfigs>
|
||||
<PerfResources>
|
||||
|
||||
<Config MajorValue="0x1" MinorValue="0x1" Supported="no" /> <!-- toggle_l2_pc_perf -->
|
||||
<Config MajorValue="0x1" MinorValue="0x3" Supported="no" /> <!-- lpm_ref_stddev -->
|
||||
<Config MajorValue="0x1" MinorValue="0x4" Supported="no" /> <!-- lpm_tmr_add -->
|
||||
<Config MajorValue="0x1" MinorValue="0x2" Node="/proc/sys/walt/sched_busy_hyst_ns" />
|
||||
|
||||
<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 -->
|
||||
<Config MajorValue="0x2" MinorValue="0x2" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_low_freq" />
|
||||
<Config MajorValue="0x2" MinorValue="0x3" Node="/sys/devices/system/cpu/cpufreq/policy0/walt/adaptive_high_freq" />
|
||||
<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" Supported="no" /> <!-- sched_upmigrate -->
|
||||
<Config MajorValue="0x3" MinorValue="0x8" Supported="no" /> <!-- sched_downmigrate -->
|
||||
<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" Supported="no" /> <!-- sched_group_upmigrate -->
|
||||
<Config MajorValue="0x3" MinorValue="0x16" Supported="no" /> <!-- 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" Supported="yes"/>
|
||||
<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" Supported="yes"/>
|
||||
|
||||
<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" />
|
||||
|
||||
<!-- CPU_LLCC_BW major old opcodes unsupported-->
|
||||
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x1" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x2" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x3" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x4" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x5" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x6" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x7" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x8" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x9" Supported="no" Target="pineapple" />
|
||||
<!-- CPU_LLCC_BW major new opcodes-->
|
||||
<Config MajorValue="0x6" MinorValue="0xA" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0xB" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/up_scale" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0xC" Supported="no" />
|
||||
<Config MajorValue="0x6" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/io_percent" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/sample_ms" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/window_ms" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x11" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/min_freq" Target="pineapple" />
|
||||
<Config MajorValue="0x6" MinorValue="0x12" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/240b7400.qcom,bwmon-llcc/max_freq" Target="pineapple" />
|
||||
|
||||
<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" />
|
||||
|
||||
<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" Target="pineapple" /><!-- disable_ppr -->
|
||||
<Config MajorValue="0xB" MinorValue="0xB" Node="SPECIAL_NODE - apply_value" Target="pineapple" />
|
||||
|
||||
<!-- GPU -->
|
||||
<Config MajorValue="0xA" MinorValue="0xA" Node="SPECIAL_NODE - apply_value" Target="pineapple" />
|
||||
|
||||
<!-- LLCC_DDR_BW old opcodes unsupported-->
|
||||
<Config MajorValue="0xC" MinorValue="0x0" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x1" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x2" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x3" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x4" Supported="no" Target="pineapple" />
|
||||
<!-- LLCC_DDR_BW new opcodes-->
|
||||
<Config MajorValue="0xC" MinorValue="0x5" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/up_scale" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x6" Supported="no" Target="pineapple" /> <!-- llcc ddr max freq -->
|
||||
<Config MajorValue="0xC" MinorValue="0x7" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/decay_rate" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x8" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/io_percent" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x9" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xA" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xC" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/window_ms" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xD" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/sample_ms" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/idle_mbps" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0xF" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/min_freq" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x10" Node="/sys/devices/system/cpu/bus_dcvs/DDR/24091000.qcom,bwmon-ddr/max_freq" Target="pineapple" />
|
||||
<Config MajorValue="0xC" MinorValue="0x11" Supported="no" />
|
||||
<Config MajorValue="0xC" MinorValue="0x12" Supported="no" />
|
||||
|
||||
<Config MajorValue="0xD" MinorValue="0x0" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:silver/ipm_ceil" />
|
||||
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/devices/system/cpu/bus_dcvs/L3/soc:qcom,memlat:l3:gold/ipm_ceil" />
|
||||
<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" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:silver/ipm_ceil" />
|
||||
<Config MajorValue="0xD" MinorValue="0x9" Node="/sys/devices/system/cpu/bus_dcvs/LLCC/soc:qcom,memlat:llcc:gold/ipm_ceil" />
|
||||
<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" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:silver/ipm_ceil" />
|
||||
<Config MajorValue="0xD" MinorValue="0xE" Node="/sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:gold/ipm_ceil" />
|
||||
<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="0x24" Supported="no" />
|
||||
<Config MajorValue="0xD" MinorValue="0x25" Supported="no" />
|
||||
|
||||
<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" />
|
||||
|
||||
</PerfResources>
|
||||
</ResourceConfigs>
|
||||
33
proprietary/vendor/etc/perf/targetsysnodesconfigs.xml
vendored
Normal file
33
proprietary/vendor/etc/perf/targetsysnodesconfigs.xml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2021-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="/sys/kernel/msm_performance/parameters/splh_notif" />
|
||||
<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="0x12" Supported="no" />
|
||||
<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>
|
||||
373
proprietary/vendor/etc/perf/testcommonresourceconfigs.xml
vendored
Normal file
373
proprietary/vendor/etc/perf/testcommonresourceconfigs.xml
vendored
Normal file
@@ -0,0 +1,373 @@
|
||||
<?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." />
|
||||
<Minor OpcodeValue="0x4" Cluster="0" WVal="1" RVal="1" />
|
||||
<Minor OpcodeValue="0x5" Cluster="0" WVal="50" RVal="50" />
|
||||
<!-- 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" />
|
||||
<Minor OpcodeValue="0xE" Exception="MISC DISPLAY_HEAVY_RT_AFFINE Resource" />
|
||||
<Minor OpcodeValue="0xF" Exception="MISC content_fps Resource" />
|
||||
<Minor OpcodeValue="0x10" WVal="0x1" RVal="1" />
|
||||
<!-- 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="0x4" RVal="4" />
|
||||
<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>
|
||||
55
proprietary/vendor/etc/perf/testtargetresourceconfigs.xml
vendored
Normal file
55
proprietary/vendor/etc/perf/testtargetresourceconfigs.xml
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
* Copyright (c) 2023 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="0x1" MinorValue="0x2" WVal="0x63" RVal="99000000" />
|
||||
<Config MajorValue="0x3" MinorValue="0x3C" Exception="To be tested Manually - Special read Node" />
|
||||
<Config MajorValue="0x4" MinorValue="0x5" Cluster="3" WVal="50" RVal="50" />
|
||||
<Config MajorValue="0x4" MinorValue="0x4" Cluster="3" WVal="0" RVal="0" />
|
||||
<Config MajorValue="0xA" MinorValue="0x0" WVal="1" RVal="1" />
|
||||
<Config MajorValue="0xC" MinorValue="0x10" WVal="0x1FEABF3" RVal="4243000" />
|
||||
<Config MajorValue="0xD" MinorValue="0x26" WVal="60000" RVal="547000" />
|
||||
<Config MajorValue="0xD" MinorValue="0x27" WVal="60000" RVal="307200" />
|
||||
<Config MajorValue="0xD" MinorValue="0x28" WVal="60000" RVal="300000" />
|
||||
<Config MajorValue="0xF" MinorValue="0x6" Exception="Node not present on target yet, so avoid testing for now" />
|
||||
<Config MajorValue="0xA" MinorValue="0xC" WVal="440" RVal="500" />
|
||||
</PerfResources>
|
||||
</ResourceConfigs>
|
||||
Reference in New Issue
Block a user