device_xiaomi_sm6150-common/configs/perf/targetresourceconfigs.xml
raghavt20 84e0156c30
sm6150-common: Move perf configs to device tree
Change-Id: Ia251c28784d24f2d7b1fdcb7a3676be1c5a63d1b
2021-04-25 15:23:51 +02:00

72 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2018 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="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
<Config MajorValue="0x3" MinorValue="0x6" Supported="no" /> <!-- sched_init_task_load -->
<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="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x5" MinorValue="0x13" Supported="no" /> <!-- rtg_boost_freq -->
<!--All the cpubw_hmon path are now migrated to new opcodes.Hence unsupporting old ones-->
<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="0x3" 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" />
<!-- All llcbw path are now migrated to new opcode.Hence unsupporting old ones-->
<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="0xA" Supported="no" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
<Config MajorValue="0xC" MinorValue="0xB" Supported="no" /> <!-- cpubw_hmon_low_power_io_percent -->
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpu%d-cpu-l3-lat/min_freq" />
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/soc:qcom,cpu6-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/soc:qcom,cpu6-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x9" Node="/sys/class/devfreq/soc:qcom,cpu6-cpu-llcc-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0xB" Node="/sys/class/devfreq/soc:qcom,cpu6-cpu-llcc-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu6-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu6-llcc-ddr-lat/mem_latency/stall_floor" />
</PerfResources>
</ResourceConfigs>