From 88c5857f21688eca91e4f2ef707a5bec1060c13c Mon Sep 17 00:00:00 2001
From: Santosh Mardi <gsantosh@codeaurora.org>
Date: Wed, 5 Feb 2020 17:53:18 +0530
Subject: [PATCH] init.qcom.post_boot: add configuration of L2WB tunables
Add configuration for L2WB threshold and L2WB ratio filter for
gold cluster on lagoon target.
Change-Id: I58c926166890609b7439dd6fa96bcfb5a893e37f
---
rootdir/etc/init.qcom.post_boot.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh
index 70e9a329..55de0ef4 100644
--- a/rootdir/etc/init.qcom.post_boot.sh
+++ b/rootdir/etc/init.qcom.post_boot.sh
@@ -3836,6 +3836,12 @@ case "$target" in
echo 400 > $memlat/mem_latency/ratio_ceil
done
+ for gold_memlat in $device/*qcom,devfreq-l3/*cpu6*-lat/devfreq/*cpu6*-lat
+ do
+ echo 25000 > $gold_memlat/mem_latency/wb_filter_ratio
+ echo 60 > $gold_memlat/mem_latency/wb_pct_thres
+ done
+
#Enable mem_latency governor for LLCC, and DDR scaling
for memlat in $device/*cpu*-lat/devfreq/*cpu*-lat
do
--
GitLab