From a42e39c67b407b64e0c03c635a1e339be12f92dd Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Wed, 8 Sep 2021 21:54:02 +0200
Subject: [PATCH] main/linux-postmarketos-qcom-msm8916: enable CONFIG_PSI

---
 main/linux-postmarketos-qcom-msm8916/APKBUILD               | 6 +++---
 .../config-postmarketos-qcom-msm8916.aarch64                | 3 ++-
 .../config-postmarketos-qcom-msm8916.armv7                  | 3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/main/linux-postmarketos-qcom-msm8916/APKBUILD b/main/linux-postmarketos-qcom-msm8916/APKBUILD
index a5a1b388d69..fe9220b64dd 100644
--- a/main/linux-postmarketos-qcom-msm8916/APKBUILD
+++ b/main/linux-postmarketos-qcom-msm8916/APKBUILD
@@ -4,7 +4,7 @@
 _flavor="postmarketos-qcom-msm8916"
 pkgname=linux-$_flavor
 pkgver=5.14_rc7
-pkgrel=0
+pkgrel=1
 pkgdesc="Mainline kernel fork for Qualcomm MSM8916 devices"
 arch="aarch64 armv7"
 url="https://github.com/msm8916-mainline/linux"
@@ -55,6 +55,6 @@ package() {
 
 sha512sums="
 32049a56278777abefd9107cac1d0e36db99c1ee73e55ec5eac89047c0f53985ba9807944a624ceab1df15dac2ac01100519231a44c4d164a86ea278a3c9858c  linux-postmarketos-qcom-msm8916-v5.14-rc7-msm8916.tar.gz
-fbecc9c7e609799fabeb44a0f28ec8ce076fa0daef11cc8b4aab69888aacea78f9f8a96c69d6ef83f9a13cea9c6f1dc1595389c922d4fa03fe73df9c65ae8585  config-postmarketos-qcom-msm8916.aarch64
-2aaa4c8658df207f87413cdc45f862edd1c0432913fa7d011d8579d9c952c51f1fbe84c2a4a9736cbdc311082999315c2a9343ca1307ad722b1e6d964e85cd30  config-postmarketos-qcom-msm8916.armv7
+50ffe6f21ec5d009bca5bae29c8c2e9c2def69b0479bc6bdb179fc76d856c6a222bd4bcd4c96163aec305d8b5a2f00b97f58f217fe7f49aaa6262f3a2a88133e  config-postmarketos-qcom-msm8916.aarch64
+10a79edffcbec1fbb3442986deb9a2ee394999790f6f23505bb0d17b69fb0e2e934dd5de653e7e24ffff457da517a8a6c4aa5c1bc5c906c4f203160607bd8a07  config-postmarketos-qcom-msm8916.armv7
 "
diff --git a/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.aarch64 b/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.aarch64
index 29557477ac0..99825ca7689 100644
--- a/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.aarch64
+++ b/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.aarch64
@@ -112,7 +112,8 @@ CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y
diff --git a/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.armv7 b/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.armv7
index cd6fd703ab7..774f6def7e2 100644
--- a/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.armv7
+++ b/main/linux-postmarketos-qcom-msm8916/config-postmarketos-qcom-msm8916.armv7
@@ -118,7 +118,8 @@ CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y
-- 
GitLab