Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur nos/commonresourceconfigs.xml pa/commonresourceconfigs.xml
- --- nos/commonresourceconfigs.xml 2025-02-03 02:35:20.478472836 +0900
- +++ pa/commonresourceconfigs.xml 2025-02-03 02:35:34.201999920 +0900
- @@ -45,8 +45,9 @@
- <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/policy4/walt/adaptive_low_freq" />
- - <Minor OpcodeValue="0x3" Node="/sys/devices/system/cpu/cpufreq/policy4/walt/adaptive_high_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" />
- + <Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq" Supported="no" />
- <!-- cpufreq major end -->
- <!-- sched major start -->
- @@ -88,7 +89,7 @@
- <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="/proc/%d/sched_boost" Supported="yes"/> <!-- sched_task_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 -->
- @@ -108,7 +109,7 @@
- <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="/proc/%d/sched_low_latency" 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" />
- @@ -127,6 +128,9 @@
- <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/cpu0/core_ctl/not_preferred" />
- + <Minor OpcodeValue="0x5" Node="/sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms" />
- + <Minor OpcodeValue="0x4" Node="/sys/devices/system/cpu/cpu0/core_ctl/min_partial_cpus" />
- <!-- core hotplug major end-->
- <!-- interactive major start -->
- @@ -223,7 +227,7 @@
- <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="/sys/class/kgsl/kgsl-3d0/devfreq/mod_percent" />
- + <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" />
- <Minor OpcodeValue="0xD" Node="/sys/class/kgsl/kgsl-3d0/touch_wake" />
- @@ -239,7 +243,10 @@
- <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 -->
- @@ -312,6 +319,10 @@
- <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 -->
- @@ -329,7 +340,21 @@
- <!-- 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>
- diff -Naur nos/perfboostsconfig.xml pa/perfboostsconfig.xml
- --- nos/perfboostsconfig.xml 2025-02-03 02:35:20.478472836 +0900
- +++ pa/perfboostsconfig.xml 2025-02-03 02:35:40.213795631 +0900
- @@ -950,7 +950,7 @@
- Resources="0x40800100, 700, 0x4281C000, 17, 0x41C0C000, 0" />
- <Config
- Id="0x00001098" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="120"
- - Resources="0x4281C000, 13, 0x41C0C000, 0" />
- + Resources="0x42C20000, 1, 0x4281C000, 13, 0x41C0C000, 0" />
- <Config
- Id="0x00001098" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="144"
- Resources="0x42C20000, 1, 0x4281C000, 11, 0x41C0C000, 0" />
- @@ -982,7 +982,7 @@
- Resources="0x40800100, 700, 0x4281C000, 17" />
- <Config
- Id="0x00001099" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="120"
- - Resources="0x4281C000, 13" />
- + Resources="0x42C20000, 1, 0x4281C000, 13" />
- <Config
- Id="0x00001099" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="144"
- Resources="0x42C20000, 1, 0x4281C000, 11" />
- @@ -1013,7 +1013,7 @@
- Resources="0x40800100, 700, 0x41C0C000, 0" />
- <Config
- Id="0x0000109A" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="120"
- - Resources="0x41C0C000, 0" />
- + Resources="0x42C20000, 1, 0x41C0C000, 0" />
- <Config
- Id="0x0000109A" Type="0" Enable="true" Target="taro,cape,ukee" Timeout="2000" Fps="144"
- Resources="0x42C20000, 1, 0x41C0C000, 0" />
- @@ -1038,7 +1038,7 @@
- <!-- PID Affine opcode,value -->
- <Config
- Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="taro,cape,ukee" Fps="120"
- - Resources="0x40800000, 1500, 0x42804000, 0" />
- + Resources="0x40800000, 1500, 0x42804000, 0, 0x42C20000, 1" />
- <Config
- Id="0x00001097" Type="0" Enable="true" Timeout="5000" Target="taro,cape,ukee" Fps="144"
- diff -Naur nos/perfconfigstore.xml pa/perfconfigstore.xml
- --- nos/perfconfigstore.xml 2025-02-03 02:35:20.478472836 +0900
- +++ pa/perfconfigstore.xml 2025-02-03 02:35:40.237794819 +0900
- @@ -32,19 +32,24 @@
- <PerfConfigs>
- <!--Vendor Properties -->
- - <Prop Name="vendor.iop.enable_uxe" Value="1" />
- + <!-- AOSPA Edit: Comment out IOP
- + <Prop Name="vendor.iop.enable_uxe" Value="1" /> -->
- <Prop Name="vendor.debug.enable.lm" Value="true" />
- + <!-- AOSPA Edit: Comment out IOP
- <Prop Name="vendor.perf.iop_v3.enable" Value="true" Target="taro,cape,ukee" />
- <Prop Name="vendor.perf.iop_v3.enable.debug" Value="false" />
- <Prop Name="vendor.enable.prefetch" Value="false" />
- - <Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" />
- + <Prop Name="vendor.iop.enable_prefetch_ofr" Value="false" /> -->
- + <!-- AOSPA Edit: Disable IOPd explicitly -->
- + <Prop Name="vendor.iop.enabled" Value="false" />
- <Prop Name="vendor.iop.enable_speed" Value="true" />
- <Prop Name="vendor.perf.test_avc" Value="false" />
- <Prop Name="vendor.perf.fps_switch_hyst_time_secs" Value="10" />
- <Prop Name="ro.vendor.perf.enable.prekill" Value="true" />
- + <!-- AOSPA Edit: Disable memperfd
- <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="vendor.enable.memperfd_MAX_RAM_in_KB" Value="12582912" /> -->
- <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.enable.procomp" Value="true" Target="diwali" />
- @@ -135,5 +140,13 @@
- <Prop Name="ro.vendor.qti.am.reschedule_service" Value="true" Ram="6" />
- <Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="60" Ram="6" />
- <Prop Name="ro.vendor.perf.enable.procomp" Value="true" Ram="6" />
- +
- + <!-- AOSPA Edit: Enable Preferred Apps -->
- + <Prop Name="ro.vendor.perf.enable.prefapps" Value="true" />
- + <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" />
- +
- </PerfConfigs>
- </PerfConfigsStore>
- diff -Naur nos/testcommonresourceconfigs.xml pa/testcommonresourceconfigs.xml
- --- nos/testcommonresourceconfigs.xml 2025-02-03 02:35:20.478472836 +0900
- +++ pa/testcommonresourceconfigs.xml 2025-02-03 02:35:34.297996645 +0900
- @@ -64,6 +64,7 @@
- <Minor OpcodeValue="0x1" Cluster="1" WVal="1478" RVal="1478400" />
- <Minor OpcodeValue="0x2" WVal="0xDF4" RVal="3572" />
- <Minor OpcodeValue="0x3" WVal="0xFFA" RVal="4090" />
- + <Minor OpcodeValue="0x4" WVal="" RVal="" /> <!-- not supported -->
- <!-- cpufreq major end -->
- <!-- sched major start -->
- @@ -144,6 +145,9 @@
- <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 -->
- @@ -235,13 +239,13 @@
- <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="0x30C1B083" RVal="220000000" />
- + <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" WVal="0x3A4" RVal="932" />
- + <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" />
- <Minor OpcodeValue="0xD" WVal="" Rval="" /> <!-- not supported -->
- @@ -263,6 +267,9 @@
- <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 -->
- @@ -323,7 +330,7 @@
- <Minor OpcodeValue="0x17" WVal="0x49ABC" RVal="301756" />
- <Minor OpcodeValue="0x18" WVal="768000" RVal="768000" />
- <Minor OpcodeValue="0x19" WVal="0x18C" RVal="396" />
- - <Minor OpcodeValue="0x1A" WVal="0x88" RVal="136" />
- + <Minor OpcodeValue="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" />
- @@ -335,6 +342,10 @@
- <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 -->
- @@ -352,6 +363,16 @@
- <!-- 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" />
- + <Minor OpcodeValue="0x7" Cluster="0" WVal="0x208500" RVal="2131200" />
- + <Minor OpcodeValue="0x8" WVal="0x208500" RVal="2131200" />
- + <Minor OpcodeValue="0x9" Cluster="0" WVal="40" RVal="40" />
- + <Minor OpcodeValue="0xA" Cluster="0" WVal="50" RVal="50" />
- <!-- sched2 major end -->
- </PerfResources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement