aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavinder Konka <rkonka@codeaurora.org>2015-09-08 14:23:02 +0530
committerlolmaxlik <ilya.lebedev.2003@mail.ru>2016-12-02 13:34:17 +0600
commitffc5a1fe75c654e4b39079e997d24fe00b321469 (patch)
treeceabcd828a7d663de20d621edf442fa14db848ea
parentfdb182eee94c1938333d9aa706d43f95f80d38f1 (diff)
msm8916: init: Set rps mask value to 2 for 8916
Enable rps with the mask value of 2 during the time of initialization. Change-Id: I0f932f6e5e8372d638be2c90778bdd0bae159e76 CRs-fixed: 902473 (cherry picked from commit 7bcfe1d3c45981c2285683867dcd9645994b9d9e)
-rw-r--r--rootdir/etc/init.qcom.power_msm8916.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power_msm8916.rc b/rootdir/etc/init.qcom.power_msm8916.rc
index 47ed84b..fa3c6df 100644
--- a/rootdir/etc/init.qcom.power_msm8916.rc
+++ b/rootdir/etc/init.qcom.power_msm8916.rc
@@ -35,6 +35,9 @@ on enable-low-power
# Enable low power modes
write /sys/module/lpm_levels/parameters/sleep_disabled 0
+ # Set RPS mask
+ write /sys/class/net/rmnet0/queues/rx-0/rps_cpus 2
+
# Update foreground and background cpusets
write /dev/cpuset/foreground/cpus 0-3
write /dev/cpuset/foreground/boost/cpus 0-3