<?xml version="1.0" encoding="utf-8"?>

<!--
 * Copyright (c) 2017-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 mention the resources which are not supported. -->

<!-- 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 one
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="0x2" Kernel="4.4" Supported="no" /> <!-- lpm_bias_hyst -->

        <Config MajorValue="0x1" MinorValue="0x1" Kernel="4.14" Supported="no" /> <!-- perf-l2-pc/idle_enabled -->
        <Config MajorValue="0x1" MinorValue="0x3" Kernel="4.14" Supported="no" /> <!-- ref_stddev -->
        <Config MajorValue="0x1" MinorValue="0x4" Kernel="4.14" Supported="no" /> <!-- tmr_add -->

        <Config MajorValue="0x1" MinorValue="0x2" Kernel="4.19" Supported="no" /> <!-- lpm_bias_hyst -->
        <Config MajorValue="0x1" MinorValue="0x3" Kernel="4.19" Supported="no" /> <!-- lpm_ref_stddev -->
        <Config MajorValue="0x1" MinorValue="0x4" Kernel="4.19" Supported="no" /> <!-- lpm_tmr_add -->

        <Config MajorValue="0x3" MinorValue="0x2" Kernel="4.14" Supported="no" /> <!-- sched_migration_cost_ns -->
        <Config MajorValue="0x3" MinorValue="0x3" Supported="no" /> <!-- sched_small_task -->
        <Config MajorValue="0x3" MinorValue="0x6" Kernel="4.14" Supported="no" /> <!-- sched_init_task_load -->
        <Config MajorValue="0x3" MinorValue="0xB" Kernel="4.14" Supported="no" /> <!-- sched_spill_nr_run -->
        <Config MajorValue="0x3" MinorValue="0xC" Kernel="4.14" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
        <Config MajorValue="0x3" MinorValue="0xD" Kernel="4.14" Supported="no" /> <!-- sched_restrict_cluster_spill -->
        <Config MajorValue="0x3" MinorValue="0x13" Kernel="4.14" Supported="no" /> <!-- sched_freq_aggregate -->
        <Config MajorValue="0x3" MinorValue="0x14" Kernel="4.14" Supported="no" /> <!-- sched_enable_thread_grouping -->
        <Config MajorValue="0x3" MinorValue="0x17" Kernel="4.14" Supported="no" /> <!-- sched_freq_aggregate_threshold -->
        <Config MajorValue="0x3" MinorValue="0x19" Kernel="4.14" Supported="no" /> <!-- sched_initial_task_util -->
        <Config MajorValue="0x3" MinorValue="0x21" Kernel="4.14" Supported="no" /> <!-- sched_user_hint -->
        <Config MajorValue="0x3" MinorValue="0x22" Kernel="4.14" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
        <Config MajorValue="0x3" MinorValue="0x23" Kernel="4.14" Supported="no" /> <!-- sched_coloc_downmigrate_ns -->
        <Config MajorValue="0x3" MinorValue="0x24" Kernel="4.14" Supported="no" /> <!-- sched_coloc_busy_hysteresis_enable_cpus -->
        <Config MajorValue="0x3" MinorValue="0x25" Kernel="4.14" Supported="no" /> <!-- sched_coloc_busy_hyst_ns -->
        <Config MajorValue="0x3" MinorValue="0x26" Kernel="4.14" Supported="no" /> <!-- sched_window_stats_policy -->
        <Config MajorValue="0x3" MinorValue="0x29" Kernel="4.14" Supported="no" /> <!-- sched_ravg_window_nr_ticks -->

        <Config MajorValue="0x3" MinorValue="0x6" Kernel="4.19" Supported="no" /> <!-- sched_init_task_load -->
        <Config MajorValue="0x3" MinorValue="0xB" Kernel="4.19" Supported="no" /> <!-- sched_spill_nr_run -->
        <Config MajorValue="0x3" MinorValue="0xC" Kernel="4.19" Supported="no" /> <!-- sched_static_cpu_pwr_cost -->
        <Config MajorValue="0x3" MinorValue="0xD" Kernel="4.19" Supported="no" /> <!-- sched_restrict_cluster_spill -->
        <Config MajorValue="0x3" MinorValue="0x13" Kernel="4.19" Supported="no" /> <!-- sched_set_freq_aggr -->
        <Config MajorValue="0x3" MinorValue="0x14" Kernel="4.19" Supported="no" /> <!-- sched_enable_thread_grouping -->
        <Config MajorValue="0x3" MinorValue="0x17" Kernel="4.19" Supported="no" /> <!-- sched_freq_aggr_threshold -->
        <Config MajorValue="0x3" MinorValue="0x19" Kernel="4.19" Supported="no" /> <!-- sched_initial_task_util -->
        <Config MajorValue="0x3" MinorValue="0x21" Kernel="4.19" Supported="no" /> <!-- sched_user_hint -->
        <Config MajorValue="0x3" MinorValue="0x22" Kernel="4.19" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->

        <!-- For INTERACTIVE major, all the interactive minors are not supported by default as the recent target moved to schedutil.
        So, for older targets where interactive minors are supported they need to be enabled and schedutil minors are disabled. -->
        <Config MajorValue="0x5" MinorValue="0x0" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x1" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x3" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x4" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x5" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x6" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x7" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x8" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x9" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xA" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xB" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xC" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xD" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xE" Kernel="4.4" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0xF" Kernel="4.4" Supported="no" />
        <Config MajorValue="0x5" MinorValue="0x10" Kernel="4.4" Supported="no" />
        <Config MajorValue="0x5" MinorValue="0x11" Kernel="4.4" Supported="no" />
        <Config MajorValue="0x5" MinorValue="0x12" Kernel="4.4" Supported="no" />

        <Config MajorValue="0x5" MinorValue="0xF" Kernel="4.14" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x10" Kernel="4.14" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x11" Kernel="4.14" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x12" Kernel="4.14" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x13" Supported="no" />

        <Config MajorValue="0x5" MinorValue="0xF" Kernel="4.19" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x10" Kernel="4.19" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x11" Kernel="4.19" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x12" Kernel="4.19" Supported="yes" />
        <Config MajorValue="0x5" MinorValue="0x13" Kernel="4.19" Supported="yes" />
        <!--All the cpubw_hwmon path are now migrated to new opcodes. Hence unsupporting old ones-->
        <Config MajorValue="0x6" MinorValue="0x0" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x1" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x2" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x3" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x4" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x5" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x6" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x7" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x8" Kernel="4.19" Supported="no" />
        <Config MajorValue="0x6" MinorValue="0x9" Kernel="4.19" Supported="no" />

        <Config MajorValue="0xB" MinorValue="0x2" Kernel="4.19" Node="/sys/devices/system/cpu/cpu_boost/input_boost_freq" /> <!-- input_boost_freq on kernel 4.19 -->

        <!-- All the minors of LLCBW_HWMON MAJOR are not supported -->
        <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" Kernel="4.19" Supported="no" /> <!-- cpubw_hmon_low_power_ceil_mbps -->
        <Config MajorValue="0xC" MinorValue="0xB" Kernel="4.19" Supported="no" /> <!-- cpubw_hmon_low_power_io_percent -->

        <Config MajorValue="0xD" MinorValue="0x0" Supported="no" /> <!--  l3_min_freq -->

    </PerfResources>
</ResourceConfigs>
