mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
14.1: Drop 5 devices supported by 15.1
This commit is contained in:
parent
601c03df01
commit
eea5b71bd4
@ -114,7 +114,6 @@
|
||||
<project path="hardware/sony/thermanager" name="LineageOS/android_hardware_sony_thermanager" remote="github" />
|
||||
<project path="hardware/sony/timekeep" name="LineageOS/android_hardware_sony_timekeep" remote="github" />
|
||||
<project path="external/stlport" name="LineageOS/android_external_stlport" remote="github" />
|
||||
<project path="kernel/google/msm" name="LineageOS/android_kernel_google_msm" remote="github" />
|
||||
<project path="packages/apps/FlipFlap" name="LineageOS/android_packages_apps_FlipFlap" remote="github" />
|
||||
|
||||
<!-- Amazon Kindle Fire HDX 7 3rd Gen (thor)-->
|
||||
@ -187,29 +186,10 @@
|
||||
<project path="device/lge/mako" name="LineageOS/android_device_lge_mako" remote="github" />
|
||||
<project path="kernel/lge/mako" name="LineageOS/lge-kernel-mako" remote="github" />
|
||||
|
||||
<!-- Nexus 7 2013 (flo) -->
|
||||
<project path="device/asus/flo" name="LineageOS/android_device_asus_flo" remote="github" />
|
||||
|
||||
<!-- Nexus 5 (hammerhead) -->
|
||||
<project path="device/lge/hammerhead" name="LineageOS/android_device_lge_hammerhead" remote="github" />
|
||||
<project path="kernel/lge/hammerhead" name="LineageOS/android_kernel_lge_hammerhead" remote="github" />
|
||||
|
||||
<!-- Nexus 6 (shamu) -->
|
||||
<project path="device/moto/shamu" name="LineageOS/android_device_moto_shamu" remote="github" />
|
||||
<project path="kernel/moto/shamu" name="LineageOS/android_kernel_moto_shamu" remote="github" />
|
||||
|
||||
<!-- Nexus 9 (flounder) -->
|
||||
<project path="device/htc/flounder" name="LineageOS/android_device_htc_flounder" remote="github" />
|
||||
<project path="kernel/htc/flounder" name="LineageOS/android_kernel_htc_flounder" remote="github" />
|
||||
|
||||
<!-- Nexus 5X (bullhead) -->
|
||||
<project path="device/lge/bullhead" name="LineageOS/android_device_lge_bullhead" remote="github" />
|
||||
<project path="kernel/lge/bullhead" name="LineageOS/android_kernel_lge_bullhead" remote="github" />
|
||||
|
||||
<!-- Nexus 6P (angler) -->
|
||||
<project path="device/huawei/angler" name="LineageOS/android_device_huawei_angler" remote="github" />
|
||||
<project path="kernel/huawei/angler" name="LineageOS/android_kernel_huawei_angler" remote="github" />
|
||||
|
||||
<!-- OnePlus One (bacon) -->
|
||||
<project path="device/oppo/common" name="LineageOS/android_device_oppo_common" remote="github" />
|
||||
<project path="device/oneplus/bacon" name="LineageOS/android_device_oneplus_bacon" remote="github" />
|
||||
|
@ -156,9 +156,9 @@
|
||||
<project path="device/lge/hammerhead" name="LineageOS/android_device_lge_hammerhead" remote="github" />
|
||||
<project path="kernel/lge/hammerhead" name="LineageOS/android_kernel_lge_hammerhead" remote="github" />
|
||||
|
||||
<!-- Nexus 6 (shamu)
|
||||
<!-- Nexus 6 (shamu)-->
|
||||
<project path="device/moto/shamu" name="LineageOS/android_device_moto_shamu" remote="github" />
|
||||
<project path="kernel/moto/shamu" name="LineageOS/android_kernel_moto_shamu" remote="github" />-->
|
||||
<project path="kernel/moto/shamu" name="LineageOS/android_kernel_moto_shamu" remote="github" />
|
||||
|
||||
<!-- Nexus 9 (flounder) -->
|
||||
<project path="device/htc/flounder" name="LineageOS/android_device_htc_flounder" remote="github" />
|
||||
|
@ -1,905 +0,0 @@
|
||||
From 3eb52334e6f40eaef42e4669305b56f9a3de2614 Mon Sep 17 00:00:00 2001
|
||||
From: flar2 <asegaert@gmail.com>
|
||||
Date: Thu, 21 Nov 2013 23:19:46 -0500
|
||||
Subject: [PATCH] Overclocking
|
||||
|
||||
Signed-off-by: flar2 <asegaert@gmail.com>
|
||||
---
|
||||
arch/arm/mach-msm/acpuclock-8064.c | 145 ++++++++++++++++++-
|
||||
arch/arm/mach-msm/acpuclock-krait.c | 154 ++++++++++++++++++++-
|
||||
arch/arm/mach-msm/asustek/flo/board-flo-gpu.c | 37 +++--
|
||||
.../arm/mach-msm/asustek/flo/board-flo-regulator.c | 8 +-
|
||||
arch/arm/mach-msm/clock-8960.c | 31 ++++-
|
||||
arch/arm/mach-msm/clock-pll.c | 36 +++++
|
||||
arch/arm/mach-msm/include/mach/kgsl.h | 2 +
|
||||
arch/arm/mach-msm/msm_dcvs.c | 2 +-
|
||||
drivers/gpu/msm/kgsl_pwrctrl.c | 64 ++++++++-
|
||||
drivers/gpu/msm/kgsl_pwrscale_trustzone.c | 2 +-
|
||||
10 files changed, 444 insertions(+), 37 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/mach-msm/acpuclock-8064.c b/arch/arm/mach-msm/acpuclock-8064.c
|
||||
index 0fe1793d5df4..3840d9ecf7c7 100644
|
||||
--- a/arch/arm/mach-msm/acpuclock-8064.c
|
||||
+++ b/arch/arm/mach-msm/acpuclock-8064.c
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "acpuclock.h"
|
||||
#include "acpuclock-krait.h"
|
||||
|
||||
+int opt_bin = 1;
|
||||
+
|
||||
static struct hfpll_data hfpll_data __initdata = {
|
||||
.mode_offset = 0x00,
|
||||
.l_offset = 0x08,
|
||||
@@ -47,7 +49,7 @@ static struct scalable scalable[] __initdata = {
|
||||
.aux_clk_sel = 3,
|
||||
.sec_clk_sel = 2,
|
||||
.l2cpmr_iaddr = 0x4501,
|
||||
- .vreg[VREG_CORE] = { "krait0", 1300000 },
|
||||
+ .vreg[VREG_CORE] = { "krait0", 1350000 },
|
||||
.vreg[VREG_MEM] = { "krait0_mem", 1150000 },
|
||||
.vreg[VREG_DIG] = { "krait0_dig", 1150000 },
|
||||
.vreg[VREG_HFPLL_A] = { "krait0_hfpll", 1800000 },
|
||||
@@ -58,7 +60,7 @@ static struct scalable scalable[] __initdata = {
|
||||
.aux_clk_sel = 3,
|
||||
.sec_clk_sel = 2,
|
||||
.l2cpmr_iaddr = 0x5501,
|
||||
- .vreg[VREG_CORE] = { "krait1", 1300000 },
|
||||
+ .vreg[VREG_CORE] = { "krait1", 1350000 },
|
||||
.vreg[VREG_MEM] = { "krait1_mem", 1150000 },
|
||||
.vreg[VREG_DIG] = { "krait1_dig", 1150000 },
|
||||
.vreg[VREG_HFPLL_A] = { "krait1_hfpll", 1800000 },
|
||||
@@ -69,7 +71,7 @@ static struct scalable scalable[] __initdata = {
|
||||
.aux_clk_sel = 3,
|
||||
.sec_clk_sel = 2,
|
||||
.l2cpmr_iaddr = 0x6501,
|
||||
- .vreg[VREG_CORE] = { "krait2", 1300000 },
|
||||
+ .vreg[VREG_CORE] = { "krait2", 1350000 },
|
||||
.vreg[VREG_MEM] = { "krait2_mem", 1150000 },
|
||||
.vreg[VREG_DIG] = { "krait2_dig", 1150000 },
|
||||
.vreg[VREG_HFPLL_A] = { "krait2_hfpll", 1800000 },
|
||||
@@ -80,7 +82,7 @@ static struct scalable scalable[] __initdata = {
|
||||
.aux_clk_sel = 3,
|
||||
.sec_clk_sel = 2,
|
||||
.l2cpmr_iaddr = 0x7501,
|
||||
- .vreg[VREG_CORE] = { "krait3", 1300000 },
|
||||
+ .vreg[VREG_CORE] = { "krait3", 1350000 },
|
||||
.vreg[VREG_MEM] = { "krait3_mem", 1150000 },
|
||||
.vreg[VREG_DIG] = { "krait3_dig", 1150000 },
|
||||
.vreg[VREG_HFPLL_A] = { "krait3_hfpll", 1800000 },
|
||||
@@ -106,6 +108,7 @@ static struct msm_bus_paths bw_level_tbl[] __initdata = {
|
||||
[3] = BW_MBPS(2128), /* At least 266 MHz on bus. */
|
||||
[4] = BW_MBPS(3200), /* At least 400 MHz on bus. */
|
||||
[5] = BW_MBPS(4264), /* At least 533 MHz on bus. */
|
||||
+ [6] = BW_MBPS(4800), /* At least 600 MHz on bus. */
|
||||
};
|
||||
|
||||
static struct msm_bus_scale_pdata bus_scale_data __initdata = {
|
||||
@@ -134,6 +137,44 @@ static struct l2_level l2_freq_tbl[] __initdata = {
|
||||
{ }
|
||||
};
|
||||
|
||||
+static struct l2_level l2_freq_tbl_elementalx[] __initdata = {
|
||||
+ [0] = { { 384000, PLL_8, 0, 0x00 }, 950000, 1050000, 1 },
|
||||
+ [1] = { { 432000, HFPLL, 2, 0x20 }, 1050000, 1050000, 2 },
|
||||
+ [2] = { { 486000, HFPLL, 2, 0x24 }, 1050000, 1050000, 2 },
|
||||
+ [3] = { { 540000, HFPLL, 2, 0x28 }, 1050000, 1050000, 2 },
|
||||
+ [4] = { { 594000, HFPLL, 1, 0x16 }, 1050000, 1050000, 2 },
|
||||
+ [5] = { { 648000, HFPLL, 1, 0x18 }, 1050000, 1050000, 4 },
|
||||
+ [6] = { { 702000, HFPLL, 1, 0x1A }, 1150000, 1150000, 4 },
|
||||
+ [7] = { { 756000, HFPLL, 1, 0x1C }, 1150000, 1150000, 4 },
|
||||
+ [8] = { { 810000, HFPLL, 1, 0x1E }, 1150000, 1150000, 4 },
|
||||
+ [9] = { { 864000, HFPLL, 1, 0x20 }, 1150000, 1150000, 4 },
|
||||
+ [10] = { { 918000, HFPLL, 1, 0x22 }, 1150000, 1150000, 5 },
|
||||
+ [11] = { { 972000, HFPLL, 1, 0x24 }, 1150000, 1150000, 5 },
|
||||
+ [12] = { { 1026000, HFPLL, 1, 0x26 }, 1150000, 1150000, 5 },
|
||||
+ [13] = { { 1080000, HFPLL, 1, 0x28 }, 1150000, 1150000, 5 },
|
||||
+ [14] = { { 1188000, HFPLL, 1, 0x2C }, 1150000, 1150000, 5 },
|
||||
+ { }
|
||||
+};
|
||||
+
|
||||
+static struct l2_level l2_freq_tbl_ultra[] __initdata = {
|
||||
+ [0] = { { 384000, PLL_8, 0, 0x00 }, 950000, 1050000, 1 },
|
||||
+ [1] = { { 432000, HFPLL, 2, 0x20 }, 1050000, 1050000, 2 },
|
||||
+ [2] = { { 486000, HFPLL, 2, 0x24 }, 1050000, 1050000, 2 },
|
||||
+ [3] = { { 540000, HFPLL, 2, 0x28 }, 1050000, 1050000, 2 },
|
||||
+ [4] = { { 594000, HFPLL, 1, 0x16 }, 1050000, 1050000, 2 },
|
||||
+ [5] = { { 648000, HFPLL, 1, 0x18 }, 1050000, 1050000, 4 },
|
||||
+ [6] = { { 702000, HFPLL, 1, 0x1A }, 1150000, 1150000, 4 },
|
||||
+ [7] = { { 756000, HFPLL, 1, 0x1C }, 1150000, 1150000, 4 },
|
||||
+ [8] = { { 810000, HFPLL, 1, 0x1E }, 1150000, 1150000, 4 },
|
||||
+ [9] = { { 864000, HFPLL, 1, 0x20 }, 1150000, 1150000, 4 },
|
||||
+ [10] = { { 918000, HFPLL, 1, 0x22 }, 1150000, 1150000, 6 },
|
||||
+ [11] = { { 972000, HFPLL, 1, 0x24 }, 1150000, 1150000, 6 },
|
||||
+ [12] = { { 1026000, HFPLL, 1, 0x26 }, 1150000, 1150000, 6 },
|
||||
+ [13] = { { 1080000, HFPLL, 1, 0x28 }, 1150000, 1150000, 6 },
|
||||
+ [14] = { { 1215000, HFPLL, 1, 0x2D }, 1150000, 1150000, 6 },
|
||||
+ { }
|
||||
+};
|
||||
+
|
||||
static struct acpu_level tbl_slow[] __initdata = {
|
||||
{ 1, { 384000, PLL_8, 0, 0x00 }, L2(0), 950000 },
|
||||
{ 0, { 432000, HFPLL, 2, 0x20 }, L2(5), 975000 },
|
||||
@@ -251,6 +292,16 @@ static struct acpu_level tbl_PVS0_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 1125000 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 1150000 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1162500 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1187500 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1212500 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1237500 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1250000 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1275000 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1300000 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1312500 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1325000 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1325000 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1325000 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -267,6 +318,16 @@ static struct acpu_level tbl_PVS1_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 1087500 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 1112500 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1125000 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1150000 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1175000 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1200000 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1212500 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1225000 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1250000 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1275000 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1300000 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1325000 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1325000 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -283,6 +344,16 @@ static struct acpu_level tbl_PVS2_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 1037500 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 1075000 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1087500 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1112500 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1137500 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1162500 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1175000 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1187500 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1212500 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1237500 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1262500 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1287500 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1312500 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -299,6 +370,16 @@ static struct acpu_level tbl_PVS3_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 1000000 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 1037500 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1050000 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1075000 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1100000 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1125000 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1137500 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1150000 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1175000 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1200000 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1225000 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1250000 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1275000 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -315,6 +396,16 @@ static struct acpu_level tbl_PVS4_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 975000 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 1000000 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1012500 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1037500 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1062500 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1087500 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1100000 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1112500 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1137500 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1175000 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1200000 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1225000 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1250000 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -331,6 +422,16 @@ static struct acpu_level tbl_PVS5_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 962500 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 987500 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 1000000 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1025000 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1050000 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1075000 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1087500 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1100000 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1137500 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1162500 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1187500 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1212500 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1237500 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -347,6 +448,16 @@ static struct acpu_level tbl_PVS6_1512MHz[] __initdata = {
|
||||
{ 1, { 1350000, HFPLL, 1, 0x32 }, L2(14), 962500 },
|
||||
{ 1, { 1458000, HFPLL, 1, 0x36 }, L2(14), 975000 },
|
||||
{ 1, { 1512000, HFPLL, 1, 0x38 }, L2(14), 987500 },
|
||||
+ { 1, { 1620000, HFPLL, 1, 0x3C }, L2(14), 1012500 },
|
||||
+ { 1, { 1728000, HFPLL, 1, 0x40 }, L2(14), 1037500 },
|
||||
+ { 1, { 1836000, HFPLL, 1, 0x44 }, L2(14), 1062500 },
|
||||
+ { 1, { 1890000, HFPLL, 1, 0x46 }, L2(14), 1075000 },
|
||||
+ { 1, { 1944000, HFPLL, 1, 0x48 }, L2(14), 1087500 },
|
||||
+ { 1, { 1998000, HFPLL, 1, 0x4A }, L2(14), 1125000 },
|
||||
+ { 1, { 2052000, HFPLL, 1, 0x4C }, L2(14), 1150000 },
|
||||
+ { 1, { 2106000, HFPLL, 1, 0x4E }, L2(14), 1175000 },
|
||||
+ { 1, { 2160000, HFPLL, 1, 0x4F }, L2(14), 1200000 },
|
||||
+ { 1, { 2214000, HFPLL, 1, 0x50 }, L2(14), 1225000 },
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
@@ -652,6 +763,22 @@ static struct acpuclk_krait_params acpuclk_8064_params __initdata = {
|
||||
.stby_khz = 384000,
|
||||
};
|
||||
|
||||
+static int __init get_opt_level(char *l2_opt)
|
||||
+{
|
||||
+ if (strcmp(l2_opt, "0") == 0) {
|
||||
+ opt_bin = 0;
|
||||
+ } else if (strcmp(l2_opt, "1") == 0) {
|
||||
+ opt_bin = 1;
|
||||
+ } else if (strcmp(l2_opt, "2") == 0) {
|
||||
+ opt_bin = 2;
|
||||
+ } else {
|
||||
+ opt_bin = 0;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+__setup("l2_opt=", get_opt_level);
|
||||
+
|
||||
static int __init acpuclk_8064_probe(struct platform_device *pdev)
|
||||
{
|
||||
if (cpu_is_apq8064ab() ||
|
||||
@@ -660,6 +787,16 @@ static int __init acpuclk_8064_probe(struct platform_device *pdev)
|
||||
acpuclk_8064_params.hfpll_data->nom_vdd_l_max = 74;
|
||||
}
|
||||
|
||||
+ if (opt_bin == 1) {
|
||||
+ acpuclk_8064_params.l2_freq_tbl = l2_freq_tbl_elementalx;
|
||||
+ acpuclk_8064_params.l2_freq_tbl_size = sizeof(l2_freq_tbl_elementalx);
|
||||
+ }
|
||||
+
|
||||
+ if (opt_bin == 2) {
|
||||
+ acpuclk_8064_params.l2_freq_tbl = l2_freq_tbl_ultra;
|
||||
+ acpuclk_8064_params.l2_freq_tbl_size = sizeof(l2_freq_tbl_ultra);
|
||||
+ }
|
||||
+
|
||||
return acpuclk_krait_init(&pdev->dev, &acpuclk_8064_params);
|
||||
}
|
||||
|
||||
diff --git a/arch/arm/mach-msm/acpuclock-krait.c b/arch/arm/mach-msm/acpuclock-krait.c
|
||||
index 75a995b0e841..fcc3f64fe0aa 100644
|
||||
--- a/arch/arm/mach-msm/acpuclock-krait.c
|
||||
+++ b/arch/arm/mach-msm/acpuclock-krait.c
|
||||
@@ -46,6 +46,114 @@
|
||||
|
||||
#define SECCLKAGD BIT(4)
|
||||
|
||||
+
|
||||
+/** elementalx defs **/
|
||||
+
|
||||
+int uv_bin = 0;
|
||||
+uint32_t arg_max_oc0 = 1512000;
|
||||
+uint32_t arg_max_oc1 = 1512000;
|
||||
+uint32_t arg_max_oc2 = 1512000;
|
||||
+uint32_t arg_max_oc3 = 1512000;
|
||||
+
|
||||
+int pvs_number = 0;
|
||||
+module_param(pvs_number, int, 0755);
|
||||
+
|
||||
+/* boot arg max_oc */
|
||||
+static int __init cpufreq_read_arg_max_oc0(char *max_oc0)
|
||||
+{
|
||||
+ unsigned long ui_khz;
|
||||
+ int err;
|
||||
+ err = strict_strtoul(max_oc0, 0, &ui_khz);
|
||||
+ if (err) {
|
||||
+ arg_max_oc0 = 1512000;
|
||||
+ printk(KERN_INFO "[elementalx]: max_oc0='%i'\n", arg_max_oc0);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ arg_max_oc0 = ui_khz;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+__setup("max_oc0=", cpufreq_read_arg_max_oc0);
|
||||
+
|
||||
+static int __init cpufreq_read_arg_max_oc1(char *max_oc1)
|
||||
+{
|
||||
+ unsigned long ui_khz;
|
||||
+ int err;
|
||||
+ err = strict_strtoul(max_oc1, 0, &ui_khz);
|
||||
+ if (err) {
|
||||
+ arg_max_oc1 = 1512000;
|
||||
+ printk(KERN_INFO "[elementalx]: max_oc1='%i'\n", arg_max_oc1);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ arg_max_oc1 = ui_khz;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+__setup("max_oc1=", cpufreq_read_arg_max_oc1);
|
||||
+
|
||||
+static int __init cpufreq_read_arg_max_oc2(char *max_oc2)
|
||||
+{
|
||||
+ unsigned long ui_khz;
|
||||
+ int err;
|
||||
+ err = strict_strtoul(max_oc2, 0, &ui_khz);
|
||||
+ if (err) {
|
||||
+ arg_max_oc2 = 1512000;
|
||||
+ printk(KERN_INFO "[elementalx]: max_oc2='%i'\n", arg_max_oc2);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ arg_max_oc2 = ui_khz;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+__setup("max_oc2=", cpufreq_read_arg_max_oc2);
|
||||
+
|
||||
+static int __init cpufreq_read_arg_max_oc3(char *max_oc3)
|
||||
+{
|
||||
+ unsigned long ui_khz;
|
||||
+ int err;
|
||||
+ err = strict_strtoul(max_oc3, 0, &ui_khz);
|
||||
+ if (err) {
|
||||
+ arg_max_oc3 = 1512000;
|
||||
+ printk(KERN_INFO "[elementalx]: max_oc3='%i'\n", arg_max_oc3);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ arg_max_oc3 = ui_khz;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+__setup("max_oc3=", cpufreq_read_arg_max_oc3);
|
||||
+
|
||||
+static int __init get_uv_level(char *vdd_uv)
|
||||
+{
|
||||
+ if (strcmp(vdd_uv, "0") == 0) {
|
||||
+ uv_bin = 0;
|
||||
+ } else if (strcmp(vdd_uv, "1") == 0) {
|
||||
+ uv_bin = 1;
|
||||
+ } else if (strcmp(vdd_uv, "2") == 0) {
|
||||
+ uv_bin = 2;
|
||||
+ } else if (strcmp(vdd_uv, "3") == 0) {
|
||||
+ uv_bin = 3;
|
||||
+ } else if (strcmp(vdd_uv, "4") == 0) {
|
||||
+ uv_bin = 4;
|
||||
+ } else if (strcmp(vdd_uv, "5") == 0) {
|
||||
+ uv_bin = 5;
|
||||
+ } else if (strcmp(vdd_uv, "6") == 0) {
|
||||
+ uv_bin = 6;
|
||||
+ } else {
|
||||
+ uv_bin = 0;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+__setup("vdd_uv=", get_uv_level);
|
||||
+
|
||||
+/** end elementalx defs **/
|
||||
+
|
||||
+
|
||||
static DEFINE_MUTEX(driver_lock);
|
||||
static DEFINE_SPINLOCK(l2_lock);
|
||||
|
||||
@@ -928,7 +1036,7 @@ static void __init bus_init(const struct l2_level *l2_level)
|
||||
#ifdef CONFIG_CPU_VOLTAGE_TABLE
|
||||
|
||||
#define HFPLL_MIN_VDD 700000
|
||||
-#define HFPLL_MAX_VDD 1300000
|
||||
+#define HFPLL_MAX_VDD 1350000
|
||||
|
||||
ssize_t acpuclk_get_vdd_levels_str(char *buf) {
|
||||
|
||||
@@ -966,24 +1074,24 @@ void acpuclk_set_vdd(unsigned int khz, int vdd_uv) {
|
||||
|
||||
drv.acpu_freq_tbl[i].vdd_core = new_vdd_uv;
|
||||
}
|
||||
- pr_warn("user voltage table modified!\n");
|
||||
mutex_unlock(&driver_lock);
|
||||
}
|
||||
#endif /* CONFIG_CPU_VOTALGE_TABLE */
|
||||
|
||||
#ifdef CONFIG_CPU_FREQ_MSM
|
||||
-static struct cpufreq_frequency_table freq_table[NR_CPUS][35];
|
||||
+static struct cpufreq_frequency_table freq_table[NR_CPUS][46];
|
||||
|
||||
static void __init cpufreq_table_init(void)
|
||||
{
|
||||
int cpu;
|
||||
+ uint32_t limit_max_oc[4] = {arg_max_oc0, arg_max_oc1, arg_max_oc2, arg_max_oc3};
|
||||
|
||||
for_each_possible_cpu(cpu) {
|
||||
int i, freq_cnt = 0;
|
||||
/* Construct the freq_table tables from acpu_freq_tbl. */
|
||||
for (i = 0; drv.acpu_freq_tbl[i].speed.khz != 0
|
||||
&& freq_cnt < ARRAY_SIZE(*freq_table); i++) {
|
||||
- if (drv.acpu_freq_tbl[i].use_for_scaling) {
|
||||
+ if (drv.acpu_freq_tbl[i].speed.khz <= limit_max_oc[cpu]) {
|
||||
freq_table[cpu][freq_cnt].index = freq_cnt;
|
||||
freq_table[cpu][freq_cnt].frequency
|
||||
= drv.acpu_freq_tbl[i].speed.khz;
|
||||
@@ -1081,6 +1189,39 @@ static void krait_apply_vmin(struct acpu_level *tbl)
|
||||
}
|
||||
}
|
||||
|
||||
+static void apply_undervolting(void)
|
||||
+{
|
||||
+ if (uv_bin == 6) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 725000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+
|
||||
+ if (uv_bin == 5) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 750000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+
|
||||
+ if (uv_bin == 4) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 775000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+
|
||||
+ if (uv_bin == 3) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 800000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+
|
||||
+ if (uv_bin == 2) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 825000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+
|
||||
+ if (uv_bin == 1) {
|
||||
+ drv.acpu_freq_tbl[0].vdd_core = 850000;
|
||||
+ printk(KERN_INFO "[elementalx]: min_voltage='%i'\n", drv.acpu_freq_tbl[0].vdd_core );
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static int __init get_speed_bin(u32 pte_efuse)
|
||||
{
|
||||
uint32_t speed_bin;
|
||||
@@ -1113,6 +1254,8 @@ static int __init get_pvs_bin(u32 pte_efuse)
|
||||
} else {
|
||||
dev_info(drv.dev, "ACPU PVS: %d\n", pvs_bin);
|
||||
}
|
||||
+
|
||||
+ pvs_number = pvs_bin;
|
||||
|
||||
return pvs_bin;
|
||||
}
|
||||
@@ -1185,6 +1328,9 @@ static void __init hw_init(void)
|
||||
if (krait_needs_vmin())
|
||||
krait_apply_vmin(drv.acpu_freq_tbl);
|
||||
|
||||
+ if (uv_bin)
|
||||
+ apply_undervolting();
|
||||
+
|
||||
l2->hfpll_base = ioremap(l2->hfpll_phys_base, SZ_32);
|
||||
BUG_ON(!l2->hfpll_base);
|
||||
|
||||
diff --git a/arch/arm/mach-msm/asustek/flo/board-flo-gpu.c b/arch/arm/mach-msm/asustek/flo/board-flo-gpu.c
|
||||
index 8d86c5402a37..91cbbdcb7ce5 100644
|
||||
--- a/arch/arm/mach-msm/asustek/flo/board-flo-gpu.c
|
||||
+++ b/arch/arm/mach-msm/asustek/flo/board-flo-gpu.c
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "devices.h"
|
||||
#include "board-flo.h"
|
||||
|
||||
+uint32_t max_gpu = 1;
|
||||
+
|
||||
#ifdef CONFIG_MSM_DCVS
|
||||
static struct msm_dcvs_freq_entry grp3d_freq[] = {
|
||||
{0, 900, 0, 0, 0},
|
||||
@@ -93,13 +95,13 @@ static struct msm_bus_vectors grp3d_low_vectors[] = {
|
||||
.src = MSM_BUS_MASTER_GRAPHICS_3D,
|
||||
.dst = MSM_BUS_SLAVE_EBI_CH0,
|
||||
.ab = 0,
|
||||
- .ib = KGSL_CONVERT_TO_MBPS(1000),
|
||||
+ .ib = KGSL_CONVERT_TO_MBPS(1200),
|
||||
},
|
||||
{
|
||||
.src = MSM_BUS_MASTER_GRAPHICS_3D_PORT1,
|
||||
.dst = MSM_BUS_SLAVE_EBI_CH0,
|
||||
.ab = 0,
|
||||
- .ib = KGSL_CONVERT_TO_MBPS(1000),
|
||||
+ .ib = KGSL_CONVERT_TO_MBPS(1200),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -138,13 +140,13 @@ static struct msm_bus_vectors grp3d_max_vectors[] = {
|
||||
.src = MSM_BUS_MASTER_GRAPHICS_3D,
|
||||
.dst = MSM_BUS_SLAVE_EBI_CH0,
|
||||
.ab = 0,
|
||||
- .ib = KGSL_CONVERT_TO_MBPS(4264),
|
||||
+ .ib = KGSL_CONVERT_TO_MBPS(4800),
|
||||
},
|
||||
{
|
||||
.src = MSM_BUS_MASTER_GRAPHICS_3D_PORT1,
|
||||
.dst = MSM_BUS_SLAVE_EBI_CH0,
|
||||
.ab = 0,
|
||||
- .ib = KGSL_CONVERT_TO_MBPS(4264),
|
||||
+ .ib = KGSL_CONVERT_TO_MBPS(4800),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -227,7 +229,7 @@ static struct kgsl_device_iommu_data kgsl_3d0_iommu_data[] = {
|
||||
static struct kgsl_device_platform_data kgsl_3d0_pdata = {
|
||||
.pwrlevel = {
|
||||
{
|
||||
- .gpu_freq = 400000000,
|
||||
+ .gpu_freq = 450000000,
|
||||
.bus_freq = 4,
|
||||
.io_fraction = 0,
|
||||
},
|
||||
@@ -241,18 +243,13 @@ static struct kgsl_device_platform_data kgsl_3d0_pdata = {
|
||||
.bus_freq = 2,
|
||||
.io_fraction = 100,
|
||||
},
|
||||
- {
|
||||
- .gpu_freq = 128000000,
|
||||
- .bus_freq = 1,
|
||||
- .io_fraction = 100,
|
||||
- },
|
||||
{
|
||||
.gpu_freq = 27000000,
|
||||
.bus_freq = 0,
|
||||
},
|
||||
},
|
||||
.init_level = 1,
|
||||
- .num_levels = 5,
|
||||
+ .num_levels = 4,
|
||||
.set_grp_async = NULL,
|
||||
.idle_timeout = HZ/10,
|
||||
.strtstp_sleepwake = true,
|
||||
@@ -277,12 +274,28 @@ struct platform_device device_kgsl_3d0 = {
|
||||
},
|
||||
};
|
||||
|
||||
+/*gpuoc*/
|
||||
+static int __init read_max_gpu(char *gpu_oc)
|
||||
+{
|
||||
+ if (strcmp(gpu_oc, "1") == 0) {
|
||||
+ max_gpu = 1;
|
||||
+ } else {
|
||||
+ max_gpu = 0;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+__setup("gpu_oc=", read_max_gpu);
|
||||
+/*end gpuoc*/
|
||||
+
|
||||
void __init apq8064_init_gpu(void)
|
||||
{
|
||||
unsigned int version = socinfo_get_version();
|
||||
+ if (max_gpu == 0)
|
||||
+ kgsl_3d0_pdata.pwrlevel[0].gpu_freq = 400000000;
|
||||
|
||||
if (cpu_is_apq8064ab())
|
||||
- kgsl_3d0_pdata.pwrlevel[0].gpu_freq = 450000000;
|
||||
+ kgsl_3d0_pdata.pwrlevel[0].gpu_freq = 400000000;
|
||||
if (SOCINFO_VERSION_MAJOR(version) == 2) {
|
||||
kgsl_3d0_pdata.chipid = ADRENO_CHIPID(3, 2, 0, 2);
|
||||
} else {
|
||||
diff --git a/arch/arm/mach-msm/asustek/flo/board-flo-regulator.c b/arch/arm/mach-msm/asustek/flo/board-flo-regulator.c
|
||||
index 340ead0eff99..add0669717fe 100644
|
||||
--- a/arch/arm/mach-msm/asustek/flo/board-flo-regulator.c
|
||||
+++ b/arch/arm/mach-msm/asustek/flo/board-flo-regulator.c
|
||||
@@ -567,15 +567,15 @@ mpq8064_gpio_regulator_pdata[] __devinitdata = {
|
||||
/* SAW regulator constraints */
|
||||
struct regulator_init_data msm8064_saw_regulator_pdata_8921_s5 =
|
||||
/* ID vreg_name min_uV max_uV */
|
||||
- SAW_VREG_INIT(S5, "8921_s5", 700000, 1300000);
|
||||
+ SAW_VREG_INIT(S5, "8921_s5", 700000, 1350000);
|
||||
struct regulator_init_data msm8064_saw_regulator_pdata_8921_s6 =
|
||||
- SAW_VREG_INIT(S6, "8921_s6", 700000, 1300000);
|
||||
+ SAW_VREG_INIT(S6, "8921_s6", 700000, 1350000);
|
||||
|
||||
struct regulator_init_data msm8064_saw_regulator_pdata_8821_s0 =
|
||||
/* ID vreg_name min_uV max_uV */
|
||||
- SAW_VREG_INIT(8821_S0, "8821_s0", 700000, 1300000);
|
||||
+ SAW_VREG_INIT(8821_S0, "8821_s0", 700000, 1350000);
|
||||
struct regulator_init_data msm8064_saw_regulator_pdata_8821_s1 =
|
||||
- SAW_VREG_INIT(8821_S1, "8821_s1", 700000, 1300000);
|
||||
+ SAW_VREG_INIT(8821_S1, "8821_s1", 700000, 1350000);
|
||||
|
||||
/* PM8921 regulator constraints */
|
||||
struct pm8xxx_regulator_platform_data
|
||||
diff --git a/arch/arm/mach-msm/clock-8960.c b/arch/arm/mach-msm/clock-8960.c
|
||||
index 3c66d3ab8846..fdca03c563cb 100644
|
||||
--- a/arch/arm/mach-msm/clock-8960.c
|
||||
+++ b/arch/arm/mach-msm/clock-8960.c
|
||||
@@ -3531,6 +3531,12 @@ static struct clk_freq_tbl clk_tbl_gfx3d[] = {
|
||||
F_GFX3D(320000000, pll2, 2, 5),
|
||||
F_GFX3D(400000000, pll2, 1, 2),
|
||||
F_GFX3D(450000000, pll15, 1, 2),
|
||||
+ F_GFX3D(477000000, pll15, 1, 2),
|
||||
+ F_GFX3D(490500000, pll15, 1, 2),
|
||||
+ F_GFX3D(504000000, pll15, 1, 2),
|
||||
+ F_GFX3D(531000000, pll15, 1, 2),
|
||||
+ F_GFX3D(558000000, pll15, 1, 2),
|
||||
+ F_GFX3D(585000000, pll15, 1, 2),
|
||||
F_END
|
||||
};
|
||||
|
||||
@@ -3586,7 +3592,7 @@ static unsigned long fmax_gfx3d_8064ab[VDD_DIG_NUM] = {
|
||||
static unsigned long fmax_gfx3d_8064[VDD_DIG_NUM] = {
|
||||
[VDD_DIG_LOW] = 128000000,
|
||||
[VDD_DIG_NOMINAL] = 325000000,
|
||||
- [VDD_DIG_HIGH] = 400000000
|
||||
+ [VDD_DIG_HIGH] = 450000000
|
||||
};
|
||||
|
||||
static unsigned long fmax_gfx3d_8930[VDD_DIG_NUM] = {
|
||||
@@ -3646,7 +3652,7 @@ static struct rcg_clk gfx3d_clk = {
|
||||
.dbg_name = "gfx3d_clk",
|
||||
.ops = &clk_ops_rcg,
|
||||
VDD_DIG_FMAX_MAP3(LOW, 128000000, NOMINAL, 300000000,
|
||||
- HIGH, 400000000),
|
||||
+ HIGH, 533333000),
|
||||
CLK_INIT(gfx3d_clk.c),
|
||||
.depends = &gmem_axi_clk.c,
|
||||
},
|
||||
@@ -6335,7 +6341,7 @@ static struct pll_config pll4_config_393 __initdata = {
|
||||
.main_output_mask = BIT(23),
|
||||
};
|
||||
|
||||
-static struct pll_config_regs pll15_regs __initdata = {
|
||||
+static struct pll_config_regs pll15_regs = {
|
||||
.l_reg = MM_PLL3_L_VAL_REG,
|
||||
.m_reg = MM_PLL3_M_VAL_REG,
|
||||
.n_reg = MM_PLL3_N_VAL_REG,
|
||||
@@ -6343,10 +6349,10 @@ static struct pll_config_regs pll15_regs __initdata = {
|
||||
.mode_reg = MM_PLL3_MODE_REG,
|
||||
};
|
||||
|
||||
-static struct pll_config pll15_config __initdata = {
|
||||
- .l = (0x24 | BVAL(31, 7, 0x620)),
|
||||
+static struct pll_config pll15_config = {
|
||||
+ .l = (0x21 | BVAL(31, 7, 0x620)),
|
||||
.m = 0x1,
|
||||
- .n = 0x9,
|
||||
+ .n = 0x3,
|
||||
.vco_val = BVAL(17, 16, 0x2),
|
||||
.vco_mask = BM(17, 16),
|
||||
.pre_div_val = 0x0,
|
||||
@@ -6600,6 +6606,19 @@ static void __init reg_init(void)
|
||||
}
|
||||
}
|
||||
|
||||
+//GPU_OC
|
||||
+
|
||||
+extern void configure_pllOC(struct pll_config *config, struct pll_config_regs *regs, u32 ena_fsm_mode);
|
||||
+
|
||||
+void __ref SetGPUpll_config(u32 loc, unsigned long freq)
|
||||
+{
|
||||
+ pll15_config.l = (loc | BVAL(31, 7, 0x620));
|
||||
+ pll15_config.m = 0x1;
|
||||
+ pll15_config.n = 0x3;
|
||||
+ configure_pllOC(&pll15_config, &pll15_regs, 0);
|
||||
+ printk("ElementalX: set GPU OC %ld", freq / 1000000);
|
||||
+}
|
||||
+
|
||||
struct clock_init_data msm8960_clock_init_data __initdata;
|
||||
static void __init msm8960_clock_pre_init(void)
|
||||
{
|
||||
diff --git a/arch/arm/mach-msm/clock-pll.c b/arch/arm/mach-msm/clock-pll.c
|
||||
index aeb1c5ed0c70..931df11db46d 100644
|
||||
--- a/arch/arm/mach-msm/clock-pll.c
|
||||
+++ b/arch/arm/mach-msm/clock-pll.c
|
||||
@@ -501,6 +501,42 @@ void __init __configure_pll(struct pll_config *config,
|
||||
writel_relaxed(regval, PLL_CONFIG_REG(regs));
|
||||
}
|
||||
|
||||
+//GPU_OC
|
||||
+void configure_pllOC(struct pll_config *config,
|
||||
+ struct pll_config_regs *regs, u32 ena_fsm_mode)
|
||||
+{
|
||||
+ u32 regval;
|
||||
+
|
||||
+ writel_relaxed(config->l, PLL_L_REG(regs));
|
||||
+ writel_relaxed(config->m, PLL_M_REG(regs));
|
||||
+ writel_relaxed(config->n, PLL_N_REG(regs));
|
||||
+
|
||||
+ regval = readl_relaxed(PLL_CONFIG_REG(regs));
|
||||
+
|
||||
+ /* Enable the MN accumulator */
|
||||
+ if (config->mn_ena_mask) {
|
||||
+ regval &= ~config->mn_ena_mask;
|
||||
+ regval |= config->mn_ena_val;
|
||||
+ }
|
||||
+
|
||||
+ /* Enable the main output */
|
||||
+ if (config->main_output_mask) {
|
||||
+ regval &= ~config->main_output_mask;
|
||||
+ regval |= config->main_output_val;
|
||||
+ }
|
||||
+
|
||||
+ /* Set pre-divider and post-divider values */
|
||||
+ regval &= ~config->pre_div_mask;
|
||||
+ regval |= config->pre_div_val;
|
||||
+ regval &= ~config->post_div_mask;
|
||||
+ regval |= config->post_div_val;
|
||||
+
|
||||
+ /* Select VCO setting */
|
||||
+ regval &= ~config->vco_mask;
|
||||
+ regval |= config->vco_val;
|
||||
+ writel_relaxed(regval, PLL_CONFIG_REG(regs));
|
||||
+}
|
||||
+
|
||||
void __init configure_sr_pll(struct pll_config *config,
|
||||
struct pll_config_regs *regs, u32 ena_fsm_mode)
|
||||
{
|
||||
diff --git a/arch/arm/mach-msm/include/mach/kgsl.h b/arch/arm/mach-msm/include/mach/kgsl.h
|
||||
index 2d7e8df5d563..fc9ab5e9ed35 100644
|
||||
--- a/arch/arm/mach-msm/include/mach/kgsl.h
|
||||
+++ b/arch/arm/mach-msm/include/mach/kgsl.h
|
||||
@@ -41,6 +41,8 @@
|
||||
(((_mi) & 0xFF) << 8) | \
|
||||
((_pa) & 0xFF))
|
||||
|
||||
+extern uint32_t max_gpu;
|
||||
+
|
||||
enum kgsl_iommu_context_id {
|
||||
KGSL_IOMMU_CONTEXT_USER = 0,
|
||||
KGSL_IOMMU_CONTEXT_PRIV = 1,
|
||||
diff --git a/arch/arm/mach-msm/msm_dcvs.c b/arch/arm/mach-msm/msm_dcvs.c
|
||||
index 9e0be6395978..0d6389a1c4e2 100644
|
||||
--- a/arch/arm/mach-msm/msm_dcvs.c
|
||||
+++ b/arch/arm/mach-msm/msm_dcvs.c
|
||||
@@ -146,7 +146,7 @@ static struct dcvs_core core_list[CORES_MAX];
|
||||
|
||||
static struct kobject *cores_kobj;
|
||||
|
||||
-#define DCVS_MAX_NUM_FREQS 15
|
||||
+#define DCVS_MAX_NUM_FREQS 23
|
||||
static struct msm_dcvs_freq_entry cpu_freq_tbl[DCVS_MAX_NUM_FREQS];
|
||||
static unsigned num_cpu_freqs;
|
||||
static struct msm_dcvs_platform_data *dcvs_pdata;
|
||||
diff --git a/drivers/gpu/msm/kgsl_pwrctrl.c b/drivers/gpu/msm/kgsl_pwrctrl.c
|
||||
index e7eaa93b12ae..a876e3a9bcce 100644
|
||||
--- a/drivers/gpu/msm/kgsl_pwrctrl.c
|
||||
+++ b/drivers/gpu/msm/kgsl_pwrctrl.c
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "kgsl_trace.h"
|
||||
#include "kgsl_sharedmem.h"
|
||||
|
||||
+#include <mach/kgsl.h>
|
||||
+
|
||||
#define KGSL_PWRFLAGS_POWER_ON 0
|
||||
#define KGSL_PWRFLAGS_CLK_ON 1
|
||||
#define KGSL_PWRFLAGS_AXI_ON 2
|
||||
@@ -44,6 +46,8 @@
|
||||
#define INIT_UDELAY 200
|
||||
#define MAX_UDELAY 2000
|
||||
|
||||
+unsigned long internal_max = 450000000;
|
||||
+
|
||||
struct clk_pair {
|
||||
const char *name;
|
||||
uint map;
|
||||
@@ -391,6 +395,8 @@ static int _get_nearest_pwrlevel(struct kgsl_pwrctrl *pwr, unsigned int clock)
|
||||
return -ERANGE;
|
||||
}
|
||||
|
||||
+extern void SetGPUpll_config(u32 loc, unsigned long freq);
|
||||
+
|
||||
static int kgsl_pwrctrl_max_gpuclk_store(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
const char *buf, size_t count)
|
||||
@@ -409,6 +415,34 @@ static int kgsl_pwrctrl_max_gpuclk_store(struct device *dev,
|
||||
if (ret != 1)
|
||||
return count;
|
||||
|
||||
+ if (max_gpu) {
|
||||
+
|
||||
+ if (val == 450000000) {
|
||||
+ SetGPUpll_config(0x21, val);
|
||||
+ }
|
||||
+ else if (val == 477000000) {
|
||||
+ SetGPUpll_config(0x23, val);
|
||||
+ }
|
||||
+ else if (val == 490500000) {
|
||||
+ SetGPUpll_config(0x24, val);
|
||||
+ }
|
||||
+ else if (val == 504000000) {
|
||||
+ SetGPUpll_config(0x25, val);
|
||||
+ }
|
||||
+ else if (val == 531000000) {
|
||||
+ SetGPUpll_config(0x27, val);
|
||||
+ }
|
||||
+ else if (val == 558000000) {
|
||||
+ SetGPUpll_config(0x29, val);
|
||||
+ }
|
||||
+ else if (val == 585000000) {
|
||||
+ SetGPUpll_config(0x2B, val);
|
||||
+ }
|
||||
+
|
||||
+ internal_max = val;
|
||||
+
|
||||
+ }
|
||||
+
|
||||
mutex_lock(&device->mutex);
|
||||
level = _get_nearest_pwrlevel(pwr, val);
|
||||
if (level < 0)
|
||||
@@ -439,8 +473,13 @@ static int kgsl_pwrctrl_max_gpuclk_show(struct device *dev,
|
||||
if (device == NULL)
|
||||
return 0;
|
||||
pwr = &device->pwrctrl;
|
||||
- return snprintf(buf, PAGE_SIZE, "%d\n",
|
||||
- pwr->pwrlevels[pwr->thermal_pwrlevel].gpu_freq);
|
||||
+
|
||||
+ if (max_gpu)
|
||||
+ return snprintf(buf, PAGE_SIZE, "%ld\n",
|
||||
+ internal_max);
|
||||
+ else
|
||||
+ return snprintf(buf, PAGE_SIZE, "%d\n",
|
||||
+ pwr->pwrlevels[pwr->thermal_pwrlevel].gpu_freq);
|
||||
}
|
||||
|
||||
static int kgsl_pwrctrl_gpuclk_store(struct device *dev,
|
||||
@@ -479,8 +518,12 @@ static int kgsl_pwrctrl_gpuclk_show(struct device *dev,
|
||||
if (device == NULL)
|
||||
return 0;
|
||||
pwr = &device->pwrctrl;
|
||||
- return snprintf(buf, PAGE_SIZE, "%d\n",
|
||||
+ if (pwr->active_pwrlevel != 0 || !max_gpu)
|
||||
+ return snprintf(buf, PAGE_SIZE, "%d\n",
|
||||
pwr->pwrlevels[pwr->active_pwrlevel].gpu_freq);
|
||||
+ else
|
||||
+ return snprintf(buf, PAGE_SIZE, "%ld\n",
|
||||
+ internal_max);
|
||||
}
|
||||
|
||||
static int kgsl_pwrctrl_idle_timer_store(struct device *dev,
|
||||
@@ -626,8 +669,19 @@ static int kgsl_pwrctrl_gpu_available_frequencies_show(
|
||||
return 0;
|
||||
pwr = &device->pwrctrl;
|
||||
for (index = 0; index < pwr->num_pwrlevels - 1; index++)
|
||||
- num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",
|
||||
- pwr->pwrlevels[index].gpu_freq);
|
||||
+
|
||||
+ if (index == 0 && max_gpu)
|
||||
+ {
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",585000000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",558000000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",531000000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",504000000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",490500000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",477000000);
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",450000000);
|
||||
+ }
|
||||
+ else
|
||||
+ num_chars += snprintf(buf + num_chars, PAGE_SIZE, "%d ",pwr->pwrlevels[index].gpu_freq);
|
||||
buf[num_chars++] = '\n';
|
||||
return num_chars;
|
||||
}
|
||||
diff --git a/drivers/gpu/msm/kgsl_pwrscale_trustzone.c b/drivers/gpu/msm/kgsl_pwrscale_trustzone.c
|
||||
index 62b673d5edb6..c0a790c74d70 100644
|
||||
--- a/drivers/gpu/msm/kgsl_pwrscale_trustzone.c
|
||||
+++ b/drivers/gpu/msm/kgsl_pwrscale_trustzone.c
|
||||
@@ -295,7 +295,7 @@ static void tz_sleep(struct kgsl_device *device,
|
||||
{
|
||||
struct tz_priv *priv = pwrscale->priv;
|
||||
|
||||
- __secure_tz_entry2(TZ_RESET_ID, 0, 0);
|
||||
+ kgsl_pwrctrl_pwrlevel_change(device, 3);
|
||||
priv->bin.total_time = 0;
|
||||
priv->bin.busy_time = 0;
|
||||
}
|
@ -1,424 +0,0 @@
|
||||
From e6fbf9568b5cfa91d9aa1006da1a799bd34f0c8f Mon Sep 17 00:00:00 2001
|
||||
From: flar2 <asegaert@gmail.com>
|
||||
Date: Tue, 3 Nov 2015 23:24:01 -0500
|
||||
Subject: [PATCH] msm8994 overclocking
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/qcom/msm8994-regulator.dtsi | 172 +++++++++++++-------------
|
||||
arch/arm/boot/dts/qcom/msm8994-v2.dtsi | 40 ++++--
|
||||
drivers/clk/qcom/clock-cpu-8994.c | 8 +-
|
||||
3 files changed, 122 insertions(+), 98 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/msm8994-regulator.dtsi b/arch/arm/boot/dts/qcom/msm8994-regulator.dtsi
|
||||
index 93c9c647d9b..c245a55182f 100644
|
||||
--- a/arch/arm/boot/dts/qcom/msm8994-regulator.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/msm8994-regulator.dtsi
|
||||
@@ -606,7 +606,7 @@
|
||||
regulator-name = "apc0_corner";
|
||||
qcom,cpr-fuse-corners = <4>;
|
||||
regulator-min-microvolt = <1>;
|
||||
- regulator-max-microvolt = <13>;
|
||||
+ regulator-max-microvolt = <15>;
|
||||
|
||||
qcom,cpr-voltage-ceiling = <900000 900000 1000000 1180000>;
|
||||
qcom,cpr-voltage-floor = <700000 700000 780000 835000>;
|
||||
@@ -666,17 +666,17 @@
|
||||
qcom,cpr-init-voltage-ref = <800000 900000 1000000 1225000>;
|
||||
qcom,cpr-init-voltage-step = <10000>;
|
||||
|
||||
- qcom,cpr-corner-map = <1 2 2 2 3 3 3 4 4 4 4 4 4>;
|
||||
+ qcom,cpr-corner-map = <1 2 2 2 3 3 3 4 4 4 4 4 4 4 4>;
|
||||
qcom,cpr-voltage-ceiling-override =
|
||||
<0xFFFFFFFF 0 900000 900000 900000 900000
|
||||
1000000 1000000 1000000 1115000
|
||||
1115000 1180000 1180000 1180000
|
||||
- 1180000>;
|
||||
+ 1180000 1180000 1180000>;
|
||||
qcom,cpr-voltage-floor-override =
|
||||
<0xFFFFFFFF 0 700000 700000 700000 725000
|
||||
780000 800000 825000 835000
|
||||
850000 915000 970000 980000
|
||||
- 1000000>;
|
||||
+ 1000000 1000000 1000000>;
|
||||
|
||||
qcom,cpr-fuse-version-map =
|
||||
<0xffffffff 0xffffffff 1 0 0 0 0>,
|
||||
@@ -716,9 +716,11 @@
|
||||
<10 1248000000>,
|
||||
<11 1344000000>,
|
||||
<12 1478400000>,
|
||||
- <13 1555200000>;
|
||||
+ <13 1555200000>,
|
||||
+ <14 1632000000>,
|
||||
+ <15 1708800000>;
|
||||
qcom,cpr-speed-bin-max-corners =
|
||||
- <0xFFFFFFFF 0 1 4 7 13>;
|
||||
+ <0xFFFFFFFF 0 1 4 7 15>;
|
||||
qcom,cpr-enable;
|
||||
};
|
||||
|
||||
@@ -730,7 +732,7 @@
|
||||
regulator-name = "apc1_corner";
|
||||
qcom,cpr-fuse-corners = <4>;
|
||||
regulator-min-microvolt = <1>;
|
||||
- regulator-max-microvolt = <17>;
|
||||
+ regulator-max-microvolt = <19>;
|
||||
|
||||
qcom,cpr-voltage-ceiling = <900000 900000 1000000 1225000>;
|
||||
qcom,cpr-voltage-floor = <700000 700000 750000 835000>;
|
||||
@@ -792,25 +794,25 @@
|
||||
qcom,cpr-init-voltage-ref = <900000 900000 1000000 1225000>;
|
||||
qcom,cpr-init-voltage-step = <10000>;
|
||||
|
||||
- qcom,cpr-corner-map = <1 2 2 2 2 3 3 3 4 4 4 4 4 4 4 4 4>;
|
||||
+ qcom,cpr-corner-map = <1 2 2 2 2 3 3 3 4 4 4 4 4 4 4 4 4 4 4>;
|
||||
qcom,cpr-voltage-ceiling-override =
|
||||
<0 0 900000 900000 900000 900000 900000
|
||||
1000000 1000000 1000000 1160000 1160000
|
||||
1160000 1160000 1160000 1225000 1225000
|
||||
- 1225000 1225000>,
|
||||
+ 1225000 1225000 1225000 1225000>,
|
||||
<1 0 900000 900000 900000 900000 900000
|
||||
1000000 1000000 1000000 1160000 1160000
|
||||
1160000 1160000 1160000 1225000 1225000
|
||||
- 1225000 1225000>;
|
||||
+ 1225000 1225000 1225000 1225000>;
|
||||
qcom,cpr-voltage-floor-override =
|
||||
<0 0 700000 700000 700000 700000 725000
|
||||
750000 775000 795000 835000 860000
|
||||
880000 895000 915000 935000 945000
|
||||
- 950000 980000>,
|
||||
+ 950000 980000 980000 980000>,
|
||||
<1 0 700000 700000 700000 700000 725000
|
||||
750000 775000 795000 835000 860000
|
||||
880000 895000 915000 935000 945000
|
||||
- 950000 980000>;
|
||||
+ 950000 980000 980000 980000>;
|
||||
|
||||
qcom,cpr-fuse-version-map =
|
||||
<0 0xffffffff 1 6 6 6 6>,
|
||||
@@ -848,90 +850,90 @@
|
||||
qcom,cpr-cpus = <&CPU4 &CPU5 &CPU6 &CPU7>;
|
||||
qcom,cpr-online-cpu-virtual-corner-init-voltage-adjustment =
|
||||
/* 1st fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 2nd fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 3rd fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 4th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 5th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 6th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 7th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) >, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) >, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10000) (-10000) (-10000) (-15000) (-15000) (-20000) 0 (-20000) (-30000) (-30000) (-30000) >, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-5000) (-5000) (-5000) (-5000) (-5000) (-10000) 0 (-10000) (-10000) (-10000) (-10000) >, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; /* 4 CPUs online */
|
||||
qcom,cpr-online-cpu-virtual-corner-quotient-adjustment =
|
||||
/* 1st fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-3) (-3) (-3) (-3) (-3) (-6) 0 (-6) (-6)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18) (-18) (-18)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18) (-18) (-18)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-3) (-3) (-3) (-3) (-3) (-6) 0 (-6) (-6) (-6) (-6)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 2nd fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-3) (-3) (-3) (-3) (-3) (-6) 0 (-6) (-6)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18) (-18) (-18)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-6) (-6) (-6) (-9) (-9) (-12) 0 (-12) (-18) (-18) (-18)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-3) (-3) (-3) (-3) (-3) (-6) 0 (-6) (-6) (-6) (-6)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 3rd fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21) (-21) (-21)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 4th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21) (-21) (-21)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 5th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21) (-21) (-21)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 6th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21) (-21) (-21)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 4 CPUs online */
|
||||
/* 7th fuse version tuple matched */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 0 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63)>, /* 1 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21)>, /* 2 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
- <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; /* 4 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 0 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-21) (-21) (-21) (-31) (-31) (-42) 0 (-42) (-63) (-63) (-63)>, /* 1 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 (-10) (-10) (-10) (-10) (-10) (-21) 0 (-21) (-21) (-21) (-21)>, /* 2 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>, /* 3 CPUs online */
|
||||
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; /* 4 CPUs online */
|
||||
|
||||
qcom,cpr-online-cpu-init-voltage-as-ceiling;
|
||||
qcom,cpr-voltage-scaling-factor-max = <0 0 2000 2000>;
|
||||
@@ -953,9 +955,11 @@
|
||||
<14 1728000000>,
|
||||
<15 1766400000>,
|
||||
<16 1824000000>,
|
||||
- <17 1958400000>;
|
||||
+ <17 1958400000>,
|
||||
+ <18 2016000000>,
|
||||
+ <19 2054400000>;
|
||||
qcom,cpr-speed-bin-max-corners =
|
||||
- <0 0 1 5 8 17>,
|
||||
+ <0 0 1 5 8 19>,
|
||||
<1 0 1 5 8 15>;
|
||||
qcom,cpr-enable;
|
||||
};
|
||||
diff --git a/arch/arm/boot/dts/qcom/msm8994-v2.dtsi b/arch/arm/boot/dts/qcom/msm8994-v2.dtsi
|
||||
index add83045413..3fea4251dfc 100644
|
||||
--- a/arch/arm/boot/dts/qcom/msm8994-v2.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/msm8994-v2.dtsi
|
||||
@@ -83,7 +83,9 @@
|
||||
< 1248000000 10>,
|
||||
< 1344000000 11>,
|
||||
< 1478400000 12>,
|
||||
- < 1555200000 13>;
|
||||
+ < 1555200000 13>,
|
||||
+ < 1632000000 14>,
|
||||
+ < 1708800000 15>;
|
||||
qcom,a57-speedbin0-v0 =
|
||||
< 0 0>,
|
||||
< 384000000 5>,
|
||||
@@ -99,7 +101,9 @@
|
||||
< 1632000000 13>,
|
||||
< 1728000000 14>,
|
||||
< 1824000000 16>,
|
||||
- < 1958400000 17>;
|
||||
+ < 1958400000 17>,
|
||||
+ < 2016000000 18>,
|
||||
+ < 2054400000 19>;
|
||||
qcom,a57-speedbin1-v0 =
|
||||
< 0 0>,
|
||||
< 384000000 5>,
|
||||
@@ -146,7 +150,9 @@
|
||||
< 1248000 >,
|
||||
< 1344000 >,
|
||||
< 1478400 >,
|
||||
- < 1555200 >;
|
||||
+ < 1555200 >,
|
||||
+ < 1632000 >,
|
||||
+ < 1708800 >;
|
||||
|
||||
qcom,cpufreq-table-4 =
|
||||
< 384000 >,
|
||||
@@ -162,7 +168,9 @@
|
||||
< 1632000 >,
|
||||
< 1728000 >,
|
||||
< 1824000 >,
|
||||
- < 1958400 >;
|
||||
+ < 1958400 >,
|
||||
+ < 2016000 >,
|
||||
+ < 2054400 >;
|
||||
};
|
||||
|
||||
&devfreq_cpufreq {
|
||||
@@ -178,7 +186,9 @@
|
||||
< 1248000 7904 >,
|
||||
< 1344000 9887 >,
|
||||
< 1478400 11863 >,
|
||||
- < 1555200 11863 >;
|
||||
+ < 1555200 11863 >,
|
||||
+ < 1632000 11863 >,
|
||||
+ < 1708800 11863 >;
|
||||
cpu-to-dev-map-4 =
|
||||
< 384000 1525 >,
|
||||
< 480000 2288 >,
|
||||
@@ -193,7 +203,9 @@
|
||||
< 1632000 9887 >,
|
||||
< 1728000 9887 >,
|
||||
< 1824000 11863 >,
|
||||
- < 1958400 11863 >;
|
||||
+ < 1958400 11863 >,
|
||||
+ < 2016000 11863 >,
|
||||
+ < 2054400 11863 >;
|
||||
};
|
||||
|
||||
mincpubw-cpufreq {
|
||||
@@ -209,7 +221,9 @@
|
||||
< 1248000 1525 >,
|
||||
< 1344000 1525 >,
|
||||
< 1478400 1525 >,
|
||||
- < 1555200 1525 >;
|
||||
+ < 1555200 1525 >,
|
||||
+ < 1632000 1525 >,
|
||||
+ < 1708800 1525 >;
|
||||
cpu-to-dev-map-4 =
|
||||
< 384000 1525 >,
|
||||
< 480000 1525 >,
|
||||
@@ -224,7 +238,9 @@
|
||||
< 1632000 1525 >,
|
||||
< 1728000 1525 >,
|
||||
< 1824000 1525 >,
|
||||
- < 1958400 7904 >;
|
||||
+ < 1958400 7904 >,
|
||||
+ < 2016000 7904 >,
|
||||
+ < 2054400 7904 >;
|
||||
};
|
||||
|
||||
cci-cpufreq {
|
||||
@@ -239,7 +255,9 @@
|
||||
< 1248000 729600 >,
|
||||
< 1344000 787200 >,
|
||||
< 1478400 787200 >,
|
||||
- < 1555200 787200 >;
|
||||
+ < 1555200 787200 >,
|
||||
+ < 1632000 787200 >,
|
||||
+ < 1708800 787200 >;
|
||||
cpu-to-dev-map-4 =
|
||||
< 384000 300000 >,
|
||||
< 480000 300000 >,
|
||||
@@ -254,7 +272,9 @@
|
||||
< 1632000 787200 >,
|
||||
< 1728000 787200 >,
|
||||
< 1824000 787200 >,
|
||||
- < 1958400 787200 >;
|
||||
+ < 1958400 787200 >,
|
||||
+ < 2016000 787200 >,
|
||||
+ < 2054400 787200 >;
|
||||
};
|
||||
};
|
||||
|
||||
diff --git a/drivers/clk/qcom/clock-cpu-8994.c b/drivers/clk/qcom/clock-cpu-8994.c
|
||||
index 7928f2ec0ca..351a66d4469 100644
|
||||
--- a/drivers/clk/qcom/clock-cpu-8994.c
|
||||
+++ b/drivers/clk/qcom/clock-cpu-8994.c
|
||||
@@ -191,13 +191,13 @@ static struct pll_clk a57_pll0 = {
|
||||
.test_ctl_lo_val = 0x00010000,
|
||||
},
|
||||
.min_rate = 1209600000,
|
||||
- .max_rate = 1996800000,
|
||||
+ .max_rate = 2073600000,
|
||||
.base = &vbases[C1_PLL_BASE],
|
||||
.c = {
|
||||
.parent = &xo_ao.c,
|
||||
.dbg_name = "a57_pll0",
|
||||
.ops = &clk_ops_variable_rate_pll,
|
||||
- VDD_DIG_FMAX_MAP2(LOW, 1593600000, NOMINAL, 1996800000),
|
||||
+ VDD_DIG_FMAX_MAP2(LOW, 1593600000, NOMINAL, 2073600000),
|
||||
CLK_INIT(a57_pll0.c),
|
||||
},
|
||||
};
|
||||
@@ -229,13 +229,13 @@ static struct pll_clk a57_pll1 = {
|
||||
/* Necessary since we'll be setting a rate before handoff on V1 */
|
||||
.src_rate = 19200000,
|
||||
.min_rate = 1209600000,
|
||||
- .max_rate = 1996800000,
|
||||
+ .max_rate = 2073600000,
|
||||
.base = &vbases[C1_PLL_BASE],
|
||||
.c = {
|
||||
.parent = &xo_ao.c,
|
||||
.dbg_name = "a57_pll1",
|
||||
.ops = &clk_ops_variable_rate_pll,
|
||||
- VDD_DIG_FMAX_MAP2(LOW, 1593600000, NOMINAL, 1996800000),
|
||||
+ VDD_DIG_FMAX_MAP2(LOW, 1593600000, NOMINAL, 2073600000),
|
||||
CLK_INIT(a57_pll1.c),
|
||||
},
|
||||
};
|
@ -1,834 +0,0 @@
|
||||
From ebb9cfb12fea35189ba206f56925e499a4963896 Mon Sep 17 00:00:00 2001
|
||||
From: hellsgod <hellsgod@gmx.ch>
|
||||
Date: Wed, 22 Apr 2015 22:50:47 +0200
|
||||
Subject: [PATCH 1/6] dts: Add some lower frequencies down to 35mhz
|
||||
|
||||
credits: XileForce, Imoseyon
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 51 +++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 51 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index 51de8be..1e782d6 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -1127,6 +1127,9 @@
|
||||
/* 2.7GHz RC1 */
|
||||
qcom,speed2-pvs0-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 720000 37 >,
|
||||
+ < 223200000 790000 56 >,
|
||||
< 300000000 810000 76 >,
|
||||
< 345600000 820000 88 >,
|
||||
< 422400000 830000 109 >,
|
||||
@@ -1162,6 +1165,9 @@
|
||||
|
||||
qcom,speed2-pvs1-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 710000 37 >,
|
||||
+ < 223200000 780000 56 >,
|
||||
< 300000000 800000 76 >,
|
||||
< 345600000 810000 88 >,
|
||||
< 422400000 820000 109 >,
|
||||
@@ -1197,6 +1203,9 @@
|
||||
|
||||
qcom,speed2-pvs2-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 700000 37 >,
|
||||
+ < 223200000 770000 56 >,
|
||||
< 300000000 790000 76 >,
|
||||
< 345600000 800000 88 >,
|
||||
< 422400000 810000 109 >,
|
||||
@@ -1232,6 +1241,9 @@
|
||||
|
||||
qcom,speed2-pvs3-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 690000 37 >,
|
||||
+ < 223200000 760000 56 >,
|
||||
< 300000000 780000 76 >,
|
||||
< 345600000 790000 88 >,
|
||||
< 422400000 800000 109 >,
|
||||
@@ -1267,6 +1279,9 @@
|
||||
|
||||
qcom,speed2-pvs4-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 680000 37 >,
|
||||
+ < 223200000 750000 56 >,
|
||||
< 300000000 770000 76 >,
|
||||
< 345600000 780000 88 >,
|
||||
< 422400000 790000 109 >,
|
||||
@@ -1302,6 +1317,9 @@
|
||||
|
||||
qcom,speed2-pvs5-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 670000 37 >,
|
||||
+ < 223200000 740000 56 >,
|
||||
< 300000000 760000 76 >,
|
||||
< 345600000 770000 88 >,
|
||||
< 422400000 780000 109 >,
|
||||
@@ -1337,6 +1355,9 @@
|
||||
|
||||
qcom,speed2-pvs6-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 660000 37 >,
|
||||
+ < 223200000 730000 56 >,
|
||||
< 300000000 750000 76 >,
|
||||
< 345600000 760000 88 >,
|
||||
< 422400000 770000 109 >,
|
||||
@@ -1372,6 +1393,9 @@
|
||||
|
||||
qcom,speed2-pvs7-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 650000 37 >,
|
||||
+ < 223200000 720000 56 >,
|
||||
< 300000000 740000 76 >,
|
||||
< 345600000 750000 88 >,
|
||||
< 422400000 760000 109 >,
|
||||
@@ -1407,6 +1431,9 @@
|
||||
|
||||
qcom,speed2-pvs8-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 640000 37 >,
|
||||
+ < 223200000 710000 56 >,
|
||||
< 300000000 730000 76 >,
|
||||
< 345600000 740000 88 >,
|
||||
< 422400000 750000 109 >,
|
||||
@@ -1442,6 +1469,9 @@
|
||||
|
||||
qcom,speed2-pvs9-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 630000 37 >,
|
||||
+ < 223200000 700000 56 >,
|
||||
< 300000000 720000 76 >,
|
||||
< 345600000 730000 88 >,
|
||||
< 422400000 740000 109 >,
|
||||
@@ -1477,6 +1507,9 @@
|
||||
|
||||
qcom,speed2-pvs10-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 620000 37 >,
|
||||
+ < 223200000 690000 56 >,
|
||||
< 300000000 710000 76 >,
|
||||
< 345600000 720000 88 >,
|
||||
< 422400000 730000 109 >,
|
||||
@@ -1512,6 +1545,9 @@
|
||||
|
||||
qcom,speed2-pvs11-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 610000 37 >,
|
||||
+ < 223200000 680000 56 >,
|
||||
< 300000000 700000 76 >,
|
||||
< 345600000 710000 88 >,
|
||||
< 422400000 720000 109 >,
|
||||
@@ -1547,6 +1583,9 @@
|
||||
|
||||
qcom,speed2-pvs12-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 600000 37 >,
|
||||
+ < 223200000 670000 56 >,
|
||||
< 300000000 690000 76 >,
|
||||
< 345600000 700000 88 >,
|
||||
< 422400000 710000 109 >,
|
||||
@@ -1582,6 +1621,9 @@
|
||||
|
||||
qcom,speed2-pvs13-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 590000 37 >,
|
||||
+ < 223200000 660000 56 >,
|
||||
< 300000000 680000 76 >,
|
||||
< 345600000 690000 88 >,
|
||||
< 422400000 700000 109 >,
|
||||
@@ -1617,6 +1659,9 @@
|
||||
|
||||
qcom,speed2-pvs14-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 580000 37 >,
|
||||
+ < 223200000 650000 56 >,
|
||||
< 300000000 670000 76 >,
|
||||
< 345600000 680000 88 >,
|
||||
< 422400000 690000 109 >,
|
||||
@@ -1652,6 +1697,9 @@
|
||||
|
||||
qcom,speed2-pvs15-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
+ < 35800000 500000 17 >,
|
||||
+ < 98300000 570000 37 >,
|
||||
+ < 223200000 640000 56 >,
|
||||
< 300000000 660000 76 >,
|
||||
< 345600000 670000 88 >,
|
||||
< 422400000 680000 109 >,
|
||||
@@ -4297,6 +4345,9 @@
|
||||
reg = <0 4>;
|
||||
compatible = "qcom,msm-cpufreq";
|
||||
qcom,cpufreq-table =
|
||||
+ < 35800 35800 762 >,
|
||||
+ < 98300 98300 762 >,
|
||||
+ < 223200 223200 762 >,
|
||||
< 300000 300000 1144 >,
|
||||
< 422400 422400 2288 >,
|
||||
< 652800 499200 3051 >,
|
||||
--
|
||||
2.9.3
|
||||
|
||||
|
||||
From 143adae138c68fbcd53fa8dbc644ef4a0850879c Mon Sep 17 00:00:00 2001
|
||||
From: bhb27 <fglfgl27@gmail.com>
|
||||
Date: Thu, 25 Feb 2016 14:46:26 -0800
|
||||
Subject: [PATCH 2/6] qcom:apq8084: OC to 2880 MHz
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 198 ++++++++++++++++++++++++++++++------
|
||||
1 file changed, 165 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index 1e782d6..c419bc3 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -1161,7 +1161,11 @@
|
||||
< 2419200000 1105000 777 >,
|
||||
< 2496000000 1120000 813 >,
|
||||
< 2572800000 1135000 849 >,
|
||||
- < 2649600000 1150000 886 >;
|
||||
+ < 2649600000 1150000 886 >,
|
||||
+ < 2688000000 1160000 917 >,
|
||||
+ < 2764800000 1170000 952 >,
|
||||
+ < 2841600000 1185000 980 >,
|
||||
+ < 2880000000 1195000 1003 >;
|
||||
|
||||
qcom,speed2-pvs1-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1199,7 +1203,11 @@
|
||||
< 2419200000 1095000 777 >,
|
||||
< 2496000000 1110000 813 >,
|
||||
< 2572800000 1125000 849 >,
|
||||
- < 2649600000 1140000 886 >;
|
||||
+ < 2649600000 1140000 886 >,
|
||||
+ < 2688000000 1150000 917 >,
|
||||
+ < 2764800000 1160000 952 >,
|
||||
+ < 2841600000 1175000 980 >,
|
||||
+ < 2880000000 1185000 1003 >;
|
||||
|
||||
qcom,speed2-pvs2-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1237,7 +1245,11 @@
|
||||
< 2419200000 1085000 777 >,
|
||||
< 2496000000 1100000 813 >,
|
||||
< 2572800000 1115000 849 >,
|
||||
- < 2649600000 1130000 886 >;
|
||||
+ < 2649600000 1130000 886 >,
|
||||
+ < 2688000000 1140000 917 >,
|
||||
+ < 2764800000 1150000 952 >,
|
||||
+ < 2841600000 1165000 980 >,
|
||||
+ < 2880000000 1175000 1003 >;
|
||||
|
||||
qcom,speed2-pvs3-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1275,7 +1287,11 @@
|
||||
< 2419200000 1075000 777 >,
|
||||
< 2496000000 1090000 813 >,
|
||||
< 2572800000 1105000 849 >,
|
||||
- < 2649600000 1120000 886 >;
|
||||
+ < 2649600000 1120000 886 >,
|
||||
+ < 2688000000 1130000 917 >,
|
||||
+ < 2764800000 1140000 952 >,
|
||||
+ < 2841600000 1155000 980 >,
|
||||
+ < 2880000000 1165000 1003 >;
|
||||
|
||||
qcom,speed2-pvs4-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1313,7 +1329,11 @@
|
||||
< 2419200000 1065000 777 >,
|
||||
< 2496000000 1080000 813 >,
|
||||
< 2572800000 1095000 849 >,
|
||||
- < 2649600000 1110000 886 >;
|
||||
+ < 2649600000 1110000 886 >,
|
||||
+ < 2688000000 1120000 917 >,
|
||||
+ < 2764800000 1130000 952 >,
|
||||
+ < 2841600000 1145000 980 >,
|
||||
+ < 2880000000 1155000 1003 >;
|
||||
|
||||
qcom,speed2-pvs5-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1351,7 +1371,11 @@
|
||||
< 2419200000 1055000 777 >,
|
||||
< 2496000000 1070000 813 >,
|
||||
< 2572800000 1085000 849 >,
|
||||
- < 2649600000 1100000 886 >;
|
||||
+ < 2649600000 1100000 886 >,
|
||||
+ < 2688000000 1110000 917 >,
|
||||
+ < 2764800000 1120000 952 >,
|
||||
+ < 2841600000 1135000 980 >,
|
||||
+ < 2880000000 1145000 1003 >;
|
||||
|
||||
qcom,speed2-pvs6-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1389,7 +1413,11 @@
|
||||
< 2419200000 1045000 777 >,
|
||||
< 2496000000 1060000 813 >,
|
||||
< 2572800000 1075000 849 >,
|
||||
- < 2649600000 1090000 886 >;
|
||||
+ < 2649600000 1090000 886 >,
|
||||
+ < 2688000000 1100000 917 >,
|
||||
+ < 2764800000 1110000 952 >,
|
||||
+ < 2841600000 1125000 980 >,
|
||||
+ < 2880000000 1135000 1003 >;
|
||||
|
||||
qcom,speed2-pvs7-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1427,7 +1455,11 @@
|
||||
< 2419200000 1035000 777 >,
|
||||
< 2496000000 1050000 813 >,
|
||||
< 2572800000 1065000 849 >,
|
||||
- < 2649600000 1080000 886 >;
|
||||
+ < 2649600000 1080000 886 >,
|
||||
+ < 2688000000 1090000 917 >,
|
||||
+ < 2764800000 1100000 952 >,
|
||||
+ < 2841600000 1115000 980 >,
|
||||
+ < 2880000000 1125000 1003 >;
|
||||
|
||||
qcom,speed2-pvs8-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1465,7 +1497,11 @@
|
||||
< 2419200000 1025000 777 >,
|
||||
< 2496000000 1040000 813 >,
|
||||
< 2572800000 1055000 849 >,
|
||||
- < 2649600000 1070000 886 >;
|
||||
+ < 2649600000 1070000 886 >,
|
||||
+ < 2688000000 1080000 917 >,
|
||||
+ < 2764800000 1090000 952 >,
|
||||
+ < 2841600000 1105000 980 >,
|
||||
+ < 2880000000 1115000 1003 >;
|
||||
|
||||
qcom,speed2-pvs9-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1503,7 +1539,11 @@
|
||||
< 2419200000 1015000 777 >,
|
||||
< 2496000000 1030000 813 >,
|
||||
< 2572800000 1045000 849 >,
|
||||
- < 2649600000 1060000 886 >;
|
||||
+ < 2649600000 1060000 886 >,
|
||||
+ < 2688000000 1070000 917 >,
|
||||
+ < 2764800000 1090000 952 >,
|
||||
+ < 2841600000 1105000 980 >,
|
||||
+ < 2880000000 1115000 1003 >;
|
||||
|
||||
qcom,speed2-pvs10-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1541,7 +1581,11 @@
|
||||
< 2419200000 1005000 777 >,
|
||||
< 2496000000 1020000 813 >,
|
||||
< 2572800000 1035000 849 >,
|
||||
- < 2649600000 1050000 886 >;
|
||||
+ < 2649600000 1050000 886 >,
|
||||
+ < 2688000000 1060000 917 >,
|
||||
+ < 2764800000 1080000 952 >,
|
||||
+ < 2841600000 1095000 980 >,
|
||||
+ < 2880000000 1105000 1003 >;
|
||||
|
||||
qcom,speed2-pvs11-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1579,7 +1623,11 @@
|
||||
< 2419200000 995000 777 >,
|
||||
< 2496000000 1010000 813 >,
|
||||
< 2572800000 1025000 849 >,
|
||||
- < 2649600000 1040000 886 >;
|
||||
+ < 2649600000 1040000 886 >,
|
||||
+ < 2688000000 1050000 917 >,
|
||||
+ < 2764800000 1060000 952 >,
|
||||
+ < 2841600000 1075000 980 >,
|
||||
+ < 2880000000 1085000 1003 >;
|
||||
|
||||
qcom,speed2-pvs12-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1617,7 +1665,11 @@
|
||||
< 2419200000 985000 777 >,
|
||||
< 2496000000 1000000 813 >,
|
||||
< 2572800000 1015000 849 >,
|
||||
- < 2649600000 1030000 886 >;
|
||||
+ < 2649600000 1030000 886 >,
|
||||
+ < 2688000000 1040000 917 >,
|
||||
+ < 2764800000 1050000 952 >,
|
||||
+ < 2841600000 1065000 980 >,
|
||||
+ < 2880000000 1075000 1003 >;
|
||||
|
||||
qcom,speed2-pvs13-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1655,7 +1707,11 @@
|
||||
< 2419200000 975000 777 >,
|
||||
< 2496000000 990000 813 >,
|
||||
< 2572800000 1005000 849 >,
|
||||
- < 2649600000 1020000 886 >;
|
||||
+ < 2649600000 1020000 886 >,
|
||||
+ < 2688000000 1030000 917 >,
|
||||
+ < 2764800000 1040000 952 >,
|
||||
+ < 2841600000 1055000 980 >,
|
||||
+ < 2880000000 1065000 1003 >;
|
||||
|
||||
qcom,speed2-pvs14-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1693,7 +1749,11 @@
|
||||
< 2419200000 965000 777 >,
|
||||
< 2496000000 980000 813 >,
|
||||
< 2572800000 995000 849 >,
|
||||
- < 2649600000 1010000 886 >;
|
||||
+ < 2649600000 1010000 886 >,
|
||||
+ < 2688000000 1020000 917 >,
|
||||
+ < 2764800000 1030000 952 >,
|
||||
+ < 2841600000 1045000 980 >,
|
||||
+ < 2880000000 1055000 1003 >;
|
||||
|
||||
qcom,speed2-pvs15-bin-v1 =
|
||||
< 0 0 0 >,
|
||||
@@ -1731,7 +1791,11 @@
|
||||
< 2419200000 955000 777 >,
|
||||
< 2496000000 970000 813 >,
|
||||
< 2572800000 985000 849 >,
|
||||
- < 2649600000 1000000 886 >;
|
||||
+ < 2649600000 1000000 886 >,
|
||||
+ < 2688000000 1010000 917 >,
|
||||
+ < 2764800000 1020000 952 >,
|
||||
+ < 2841600000 1035000 980 >,
|
||||
+ < 2880000000 1045000 1003 >;
|
||||
|
||||
/* 2.7GHz RC0 */
|
||||
qcom,speed2-pvs0-bin-v0 =
|
||||
@@ -1767,7 +1831,11 @@
|
||||
< 2419200000 1105000 777 >,
|
||||
< 2496000000 1120000 813 >,
|
||||
< 2572800000 1135000 849 >,
|
||||
- < 2649600000 1150000 886 >;
|
||||
+ < 2649600000 1150000 886 >,
|
||||
+ < 2688000000 1160000 917 >,
|
||||
+ < 2764800000 1170000 952 >,
|
||||
+ < 2841600000 1185000 980 >,
|
||||
+ < 2880000000 1195000 1003 >;
|
||||
|
||||
qcom,speed2-pvs1-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1802,7 +1870,11 @@
|
||||
< 2419200000 1095000 777 >,
|
||||
< 2496000000 1110000 813 >,
|
||||
< 2572800000 1125000 849 >,
|
||||
- < 2649600000 1140000 886 >;
|
||||
+ < 2649600000 1140000 886 >,
|
||||
+ < 2688000000 1150000 917 >,
|
||||
+ < 2764800000 1160000 952 >,
|
||||
+ < 2841600000 1185000 980 >,
|
||||
+ < 2880000000 1195000 1003 >;
|
||||
|
||||
qcom,speed2-pvs2-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1837,7 +1909,11 @@
|
||||
< 2419200000 1085000 777 >,
|
||||
< 2496000000 1100000 813 >,
|
||||
< 2572800000 1115000 849 >,
|
||||
- < 2649600000 1130000 886 >;
|
||||
+ < 2649600000 1130000 886 >,
|
||||
+ < 2688000000 1140000 917 >,
|
||||
+ < 2764800000 1150000 952 >,
|
||||
+ < 2841600000 1165000 980 >,
|
||||
+ < 2880000000 1175000 1003 >;
|
||||
|
||||
qcom,speed2-pvs3-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1872,7 +1948,11 @@
|
||||
< 2419200000 1075000 777 >,
|
||||
< 2496000000 1090000 813 >,
|
||||
< 2572800000 1105000 849 >,
|
||||
- < 2649600000 1120000 886 >;
|
||||
+ < 2649600000 1120000 886 >,
|
||||
+ < 2688000000 1130000 917 >,
|
||||
+ < 2764800000 1140000 952 >,
|
||||
+ < 2841600000 1165000 980 >,
|
||||
+ < 2880000000 1175000 1003 >;
|
||||
|
||||
qcom,speed2-pvs4-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1907,7 +1987,11 @@
|
||||
< 2419200000 1065000 777 >,
|
||||
< 2496000000 1080000 813 >,
|
||||
< 2572800000 1095000 849 >,
|
||||
- < 2649600000 1110000 886 >;
|
||||
+ < 2649600000 1110000 886 >,
|
||||
+ < 2688000000 1120000 917 >,
|
||||
+ < 2764800000 1130000 952 >,
|
||||
+ < 2841600000 1145000 980 >,
|
||||
+ < 2880000000 1155000 1003 >;
|
||||
|
||||
qcom,speed2-pvs5-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1942,7 +2026,11 @@
|
||||
< 2419200000 1055000 777 >,
|
||||
< 2496000000 1070000 813 >,
|
||||
< 2572800000 1085000 849 >,
|
||||
- < 2649600000 1100000 886 >;
|
||||
+ < 2649600000 1100000 886 >,
|
||||
+ < 2688000000 1110000 917 >,
|
||||
+ < 2764800000 1120000 952 >,
|
||||
+ < 2841600000 1135000 980 >,
|
||||
+ < 2880000000 1145000 1003 >;
|
||||
|
||||
qcom,speed2-pvs6-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -1977,7 +2065,11 @@
|
||||
< 2419200000 1045000 777 >,
|
||||
< 2496000000 1060000 813 >,
|
||||
< 2572800000 1075000 849 >,
|
||||
- < 2649600000 1090000 886 >;
|
||||
+ < 2649600000 1090000 886 >,
|
||||
+ < 2688000000 1100000 917 >,
|
||||
+ < 2764800000 1110000 952 >,
|
||||
+ < 2841600000 1125000 980 >,
|
||||
+ < 2880000000 1135000 1003 >;
|
||||
|
||||
qcom,speed2-pvs7-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2012,7 +2104,11 @@
|
||||
< 2419200000 1035000 777 >,
|
||||
< 2496000000 1050000 813 >,
|
||||
< 2572800000 1065000 849 >,
|
||||
- < 2649600000 1080000 886 >;
|
||||
+ < 2649600000 1080000 886 >,
|
||||
+ < 2688000000 1090000 917 >,
|
||||
+ < 2764800000 1100000 952 >,
|
||||
+ < 2841600000 1115000 980 >,
|
||||
+ < 2880000000 1125000 1003 >;
|
||||
|
||||
qcom,speed2-pvs8-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2047,7 +2143,11 @@
|
||||
< 2419200000 1025000 777 >,
|
||||
< 2496000000 1040000 813 >,
|
||||
< 2572800000 1055000 849 >,
|
||||
- < 2649600000 1070000 886 >;
|
||||
+ < 2649600000 1070000 886 >,
|
||||
+ < 2688000000 1080000 917 >,
|
||||
+ < 2764800000 1090000 952 >,
|
||||
+ < 2841600000 1105000 980 >,
|
||||
+ < 2880000000 1115000 1003 >;
|
||||
|
||||
qcom,speed2-pvs9-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2082,7 +2182,11 @@
|
||||
< 2419200000 1015000 777 >,
|
||||
< 2496000000 1030000 813 >,
|
||||
< 2572800000 1045000 849 >,
|
||||
- < 2649600000 1060000 886 >;
|
||||
+ < 2649600000 1060000 886 >,
|
||||
+ < 2688000000 1070000 917 >,
|
||||
+ < 2764800000 1080000 952 >,
|
||||
+ < 2841600000 1095000 980 >,
|
||||
+ < 2880000000 1105000 1003 >;
|
||||
|
||||
qcom,speed2-pvs10-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2117,7 +2221,11 @@
|
||||
< 2419200000 1005000 777 >,
|
||||
< 2496000000 1020000 813 >,
|
||||
< 2572800000 1035000 849 >,
|
||||
- < 2649600000 1050000 886 >;
|
||||
+ < 2649600000 1050000 886 >,
|
||||
+ < 2688000000 1060000 917 >,
|
||||
+ < 2764800000 1070000 952 >,
|
||||
+ < 2841600000 1085000 980 >,
|
||||
+ < 2880000000 1095000 1003 >;
|
||||
|
||||
qcom,speed2-pvs11-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2152,7 +2260,11 @@
|
||||
< 2419200000 995000 777 >,
|
||||
< 2496000000 1010000 813 >,
|
||||
< 2572800000 1025000 849 >,
|
||||
- < 2649600000 1040000 886 >;
|
||||
+ < 2649600000 1040000 886 >,
|
||||
+ < 2688000000 1050000 917 >,
|
||||
+ < 2764800000 1060000 952 >,
|
||||
+ < 2841600000 1075000 980 >,
|
||||
+ < 2880000000 1085000 1003 >;
|
||||
|
||||
qcom,speed2-pvs12-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2187,7 +2299,11 @@
|
||||
< 2419200000 985000 777 >,
|
||||
< 2496000000 1000000 813 >,
|
||||
< 2572800000 1015000 849 >,
|
||||
- < 2649600000 1030000 886 >;
|
||||
+ < 2649600000 1030000 886 >,
|
||||
+ < 2688000000 1040000 917 >,
|
||||
+ < 2764800000 1050000 952 >,
|
||||
+ < 2841600000 1065000 980 >,
|
||||
+ < 2880000000 1075000 1003 >;
|
||||
|
||||
qcom,speed2-pvs13-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2222,7 +2338,11 @@
|
||||
< 2419200000 975000 777 >,
|
||||
< 2496000000 990000 813 >,
|
||||
< 2572800000 1005000 849 >,
|
||||
- < 2649600000 1020000 886 >;
|
||||
+ < 2649600000 1020000 886 >,
|
||||
+ < 2688000000 1030000 917 >,
|
||||
+ < 2764800000 1040000 952 >,
|
||||
+ < 2841600000 1055000 980 >,
|
||||
+ < 2880000000 1065000 1003 >;
|
||||
|
||||
qcom,speed2-pvs14-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2257,7 +2377,11 @@
|
||||
< 2419200000 965000 777 >,
|
||||
< 2496000000 980000 813 >,
|
||||
< 2572800000 995000 849 >,
|
||||
- < 2649600000 1010000 886 >;
|
||||
+ < 2649600000 1010000 886 >,
|
||||
+ < 2688000000 1020000 917 >,
|
||||
+ < 2764800000 1030000 952 >,
|
||||
+ < 2841600000 1045000 980 >,
|
||||
+ < 2880000000 1055000 1003 >;
|
||||
|
||||
qcom,speed2-pvs15-bin-v0 =
|
||||
< 0 0 0 >,
|
||||
@@ -2292,7 +2416,11 @@
|
||||
< 2419200000 955000 777 >,
|
||||
< 2496000000 970000 813 >,
|
||||
< 2572800000 985000 849 >,
|
||||
- < 2649600000 1000000 886 >;
|
||||
+ < 2649600000 1000000 886 >,
|
||||
+ < 2688000000 1010000 917 >,
|
||||
+ < 2764800000 1020000 952 >,
|
||||
+ < 2841600000 1035000 980 >,
|
||||
+ < 2880000000 1045000 1003 >;
|
||||
|
||||
/* 2.5GHz RC1 */
|
||||
qcom,speed1-pvs0-bin-v1 =
|
||||
@@ -4365,7 +4493,11 @@
|
||||
< 2457600 1728000 16250 >,
|
||||
< 2496000 1728000 16250 >,
|
||||
< 2572800 1728000 16250 >,
|
||||
- < 2649600 1728000 16250 >;
|
||||
+ < 2649600 1728000 16250 >,
|
||||
+ < 2688000 1728000 16250 >, /* overclock */
|
||||
+ < 2764800 1728000 16250 >,
|
||||
+ < 2841600 1728000 16250 >,
|
||||
+ < 2880000 1728000 16250 >;
|
||||
};
|
||||
|
||||
usb_otg: usb@f9a55000 {
|
||||
--
|
||||
2.9.3
|
||||
|
||||
|
||||
From aeca3d3b8d3177ddf8aab303b54f5ef3a1d0ce05 Mon Sep 17 00:00:00 2001
|
||||
From: XileForce <rdaguiar360@gmail.com>
|
||||
Date: Mon, 11 May 2015 21:43:20 -0700
|
||||
Subject: [PATCH 3/6] APQ8084: 2457600 Is Not A Real Frequency. Replace It With
|
||||
2419200 2457600 does not exist in our voltage/current tables. Thus its
|
||||
voltage cant be adjusted, nor am I sure what voltage it actually uses since
|
||||
it isnt defined anywhere. Let's replace that with the existing, but currently
|
||||
unused, 2419200 step.
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index c419bc3..1fe7174 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -4490,7 +4490,7 @@
|
||||
< 1728000 1651200 12145 >,
|
||||
< 1958400 1728000 16250 >,
|
||||
< 2265600 1728000 16250 >,
|
||||
- < 2457600 1728000 16250 >,
|
||||
+ < 2419200 1728000 16250 >,
|
||||
< 2496000 1728000 16250 >,
|
||||
< 2572800 1728000 16250 >,
|
||||
< 2649600 1728000 16250 >,
|
||||
--
|
||||
2.9.3
|
||||
|
||||
|
||||
From 591d576aba39ec8ecb3c4c564577490e451d8839 Mon Sep 17 00:00:00 2001
|
||||
From: Felipe Leon <fglfgl27@gmail.com>
|
||||
Date: Sat, 17 Dec 2016 03:30:45 -0800
|
||||
Subject: [PATCH 4/6] apq8084: DTB Fix qcom,bcl table
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index 1fe7174..a5f2a26 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -5030,9 +5030,9 @@
|
||||
qcom,ibat-monitor {
|
||||
high-threshold-uamp = <3000000>;
|
||||
low-threshold-uamp = <1000000>;
|
||||
- mitigation-freq-khz = <1958400>;
|
||||
- mitigation-gpu-freq-khz = <389000>;
|
||||
- max-gpu-freq-khz = <600000>;
|
||||
+ mitigation-freq-khz = <2880000>;
|
||||
+ mitigation-gpu-freq-khz = <350000>;
|
||||
+ max-gpu-freq-khz = <800000>;
|
||||
ibat-channel = <0x15>;
|
||||
adc-interval-usec = <3900>;
|
||||
uv-to-ua-numerator = <2>;
|
||||
--
|
||||
2.9.3
|
||||
|
||||
|
||||
From 170faa65e72f696aaa6a60cc9653c530c2225d32 Mon Sep 17 00:00:00 2001
|
||||
From: Felipe de Leon <fglfgl27@gmail.com>
|
||||
Date: Sat, 17 Dec 2016 04:04:13 -0800
|
||||
Subject: [PATCH 5/6] boot: dtsi: Adds the current values for the cores in uA
|
||||
for under and overclock
|
||||
|
||||
Current value based on calculos made using the stock values
|
||||
orginal commit
|
||||
bhb27/android_kernel_motorola_apq8084@0e332d0
|
||||
bhb27/android_kernel_motorola_apq8084@9d21c12
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 36 ++++++++++++++++++++++++++++--------
|
||||
1 file changed, 28 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index a5f2a26..8b264bd 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -38,7 +38,8 @@
|
||||
reg = <0x0>;
|
||||
// The currents(uA) correspond to the frequencies in the
|
||||
// frequency table.
|
||||
- current = < 71000 //300000 kHz
|
||||
+ current = < 64000 //268800 kHz underclock
|
||||
+ 71000 //300000 kHz
|
||||
83000 //422400 kHz
|
||||
97000 //652800 kHz
|
||||
106000 //729600 kHz
|
||||
@@ -55,7 +56,11 @@
|
||||
405000 //2457600 kHz
|
||||
405000 //2496000 kHz
|
||||
413000 //2572800 kHz
|
||||
- 414000>; //2649600 kHz
|
||||
+ 414000 //2649600 kHz
|
||||
+ 420000 //2688000 kHz overclock
|
||||
+ 432000 //2764800 kHz
|
||||
+ 444000 //2841600 kHz
|
||||
+ 450000>; //2880000 kHz
|
||||
};
|
||||
|
||||
CPU1: cpu@1 {
|
||||
@@ -64,7 +69,8 @@
|
||||
reg = <0x1>;
|
||||
// The currents(uA) correspond to the frequencies in the
|
||||
// frequency table.
|
||||
- current = < 40470 //300000 kHz
|
||||
+ current = < 36260 //268800 kHz underclock
|
||||
+ 40470 //300000 kHz
|
||||
47309 //422400 kHz
|
||||
55289 //652800 kHz
|
||||
60419 //729600 kHz
|
||||
@@ -81,7 +87,11 @@
|
||||
230849 //2457600 kHz
|
||||
230849 //2496000 kHz
|
||||
235409 //2572800 kHz
|
||||
- 235979>; //2649600 kHz
|
||||
+ 414000 //2649600 kHz
|
||||
+ 420000 //2688000 kHz overclock
|
||||
+ 432000 //2764800 kHz
|
||||
+ 444000 //2841600 kHz
|
||||
+ 450000>; //2880000 kHz
|
||||
};
|
||||
|
||||
CPU2: cpu@2 {
|
||||
@@ -90,7 +100,8 @@
|
||||
reg = <0x2>;
|
||||
// The currents(uA) correspond to the frequencies in the
|
||||
// frequency table.
|
||||
- current = < 46860 //300000 kHz
|
||||
+ current = < 41980 //268800 kHz underclock
|
||||
+ 46860 //300000 kHz
|
||||
54780 //422400 kHz
|
||||
64020 //652800 kHz
|
||||
69960 //729600 kHz
|
||||
@@ -107,7 +118,11 @@
|
||||
267300 //2457600 kHz
|
||||
267300 //2496000 kHz
|
||||
272580 //2572800 kHz
|
||||
- 273240>; //2649600 kHz
|
||||
+ 414000 //2649600 kHz
|
||||
+ 420000 //2688000 kHz overclock
|
||||
+ 432000 //2764800 kHz
|
||||
+ 444000 //2841600 kHz
|
||||
+ 450000>; //2880000 kHz
|
||||
};
|
||||
|
||||
CPU3: cpu@3 {
|
||||
@@ -116,7 +131,8 @@
|
||||
reg = <0x3>;
|
||||
// The currents(uA) correspond to the frequencies in the
|
||||
// frequency table.
|
||||
- current = < 53960 //300000 kHz
|
||||
+ current = < 48340 //268800 kHz underclock
|
||||
+ 53960 //300000 kHz
|
||||
63080 //422400 kHz
|
||||
73720 //652800 kHz
|
||||
80560 //729600 kHz
|
||||
@@ -133,7 +149,11 @@
|
||||
307800 //2457600 kHz
|
||||
307800 //2496000 kHz
|
||||
313880 //2572800 kHz
|
||||
- 314640>; //2649600 kHz
|
||||
+ 414000 //2649600 kHz
|
||||
+ 420000 //2688000 kHz overclock
|
||||
+ 432000 //2764800 kHz
|
||||
+ 444000 //2841600 kHz
|
||||
+ 450000>; //2880000 kHz
|
||||
};
|
||||
};
|
||||
memory {
|
||||
--
|
||||
2.9.3
|
||||
|
||||
|
||||
From c170f85350b5bf5148283a85f27504496d063852 Mon Sep 17 00:00:00 2001
|
||||
From: hellsgod <hellsgod@gmx.ch>
|
||||
Date: Tue, 23 Jun 2015 08:42:24 +0200
|
||||
Subject: [PATCH 6/6] arm/dt: shamu: Prevent BCL driver messing around with
|
||||
cores
|
||||
|
||||
credits to neobuddy for the heads up!
|
||||
---
|
||||
arch/arm/boot/dts/qcom/apq8084.dtsi | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
index 8b264bd..26f95e4 100644
|
||||
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
||||
@@ -5046,7 +5046,6 @@
|
||||
qcom,bcl-enable;
|
||||
qcom,ibat-vadc = <&pma8084_vadc>;
|
||||
qcom,ibat-threshold-adc_tm = <&pma8084_adc_tm>;
|
||||
- qcom,bcl-hotplug-list = <&CPU2 &CPU3>;
|
||||
qcom,ibat-monitor {
|
||||
high-threshold-uamp = <3000000>;
|
||||
low-threshold-uamp = <1000000>;
|
||||
--
|
||||
2.9.3
|
||||
|
@ -1,48 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/google/msm"
|
||||
git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2013-4738/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-1593/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8402/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8404/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0611/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0710/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0751/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0786/ANY/0001.patch
|
||||
#git apply $cvePatchesLinux/CVE-2017-11015/prima/0001.patch
|
||||
#git apply $cvePatchesLinux/CVE-2017-11015/prima/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11089/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11090/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13080/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13080-Extra/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13080-Extra/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13080-Extra/ANY/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13080-Extra/ANY/0004.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15265/^4.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7533/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8246/3.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8254/3.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8254/3.4/0002.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p44"
|
||||
cd $base
|
@ -1,80 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/htc/flounder"
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0009.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0010.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0011.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0012.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0013.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch
|
||||
git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch
|
||||
git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9892/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-8944/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-8955/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-10208/3.10-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8453/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8464/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9576/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9604/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0449/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0537/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0861/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0862/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000365/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000380/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-10996/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11089/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11090/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13168/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2671/^4.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5970/^4.9/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6951/^3.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7472/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7533/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p76"
|
||||
cd $base
|
@ -1,153 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/huawei/angler"
|
||||
git apply $cvePatchesLinux/0001-LinuxIncrementals/3.10/3.10.0073-0074.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0005.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0006.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0009.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0010.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0011.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0012.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0013.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8160/^3.18/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8173/3.9-^3.12/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-0573/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-5366/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7550/^4.3/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0805/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0843/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-10208/3.10-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2063/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2185/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2186/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2187/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2384/^4.5/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2438/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2469/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2544/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2545/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2549/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3070/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3136/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3137/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3138/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3140/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3689/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3865/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5345/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5858/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5859/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5867/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5868/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5870/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6672/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6694/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6695/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8404/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8481/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9576/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9604/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0510/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0516/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0524/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0537/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0564/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0824/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000365/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000380/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11016/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11030/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11033/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11033/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13163/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13166/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13168/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13174/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14877/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14897/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15265/^4.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15850/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17769/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2618/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2671/^4.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6951/^3.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7472/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7487/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8269/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8280/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9703/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9708/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9710/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15845/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p149"
|
||||
cd $base
|
@ -1,146 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/lge/bullhead"
|
||||
git apply $cvePatchesLinux/0001-LinuxIncrementals/3.10/3.10.0073-0074.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0005.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0006.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0009.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0010.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0011.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0012.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0013.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8160/^3.18/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8173/3.9-^3.12/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-0573/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-5366/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7550/^4.3/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0805/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0843/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-10208/3.10-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2063/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2185/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2186/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2187/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2384/^4.5/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2438/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2469/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2544/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2545/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2549/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3070/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3136/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3137/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3140/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3689/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3865/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5345/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5858/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5859/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5867/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5870/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6694/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6695/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7913/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8404/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8481/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9576/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9604/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0510/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0516/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0537/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0564/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000365/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000380/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11016/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11030/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11033/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11033/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13163/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13166/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13167/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13168/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14877/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14884/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14897/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14903/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15265/^4.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15850/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-15868/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17762/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17769/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2618/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2671/^4.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6951/^3.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7472/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7487/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8269/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0004.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9703/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9708/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9710/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p142"
|
||||
cd $base
|
@ -1,109 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd $base"kernel/moto/shamu"
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0004-No_dir-relax.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0007.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0008.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0009.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0010.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0011.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0012.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0013.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch
|
||||
git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0003.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8160/^3.18/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-8173/3.9-^3.12/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9420/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9683/^3.18/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9715/^3.14/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2014-9781/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-1420/3.2-^3.19/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-1593/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-7550/^4.3/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-8955/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2015-8967/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-0758/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-10208/3.10-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2185/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2186/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2187/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2188/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2544/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2545/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2549/^4.4/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3070/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3136/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3137/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3138/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3140/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3689/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3857/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3865/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3865/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-5870/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6672/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-6695/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7117/^4.5/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-7913/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8404/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8464/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-8650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9576/3.10/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-9604/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0404/^3.18/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0524/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0537/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0627/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0824/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000365/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11024/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-12153/3.2-^3.16/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13215/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-14877/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2618/3.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-2671/^4.10/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-6951/^3.14/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7472/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-7487/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-8269/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-9242/^4.11/0001.patch
|
||||
git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch
|
||||
git apply $cvePatchesLinux/CVE-2016-2475/ANY/0001.patch
|
||||
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
||||
editKernelLocalversion "-dos.p105"
|
||||
cd $base
|
@ -22,7 +22,7 @@ startPatcher() {
|
||||
export -f startPatcher;
|
||||
|
||||
patchAllKernels() {
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_msm8916 kernel_fairphone_msm8974 kernel_google_marlin kernel_google_msm kernel_htc_flounder kernel_htc_msm8974 kernel_htc_msm8994 kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_lge_msm8992 kernel_lge_msm8996 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_moto_shamu kernel_nextbit_msm8992 kernel_oneplus_msm8974 kernel_samsung_jf kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_samsung_universal8890";
|
||||
startPatcher "kernel_amazon_hdx-common kernel_asus_msm8916 kernel_fairphone_msm8974 kernel_google_marlin kernel_htc_msm8974 kernel_htc_msm8994 kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_lge_msm8992 kernel_lge_msm8996 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_nextbit_msm8992 kernel_oneplus_msm8974 kernel_samsung_jf kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_samsung_universal8890";
|
||||
}
|
||||
export -f patchAllKernels;
|
||||
|
||||
@ -63,13 +63,9 @@ buildAll() {
|
||||
brunch lineage_bacon-user;
|
||||
brunch lineage_thor-userdebug;
|
||||
brunch lineage_mako-user;
|
||||
brunch lineage_angler-user;
|
||||
brunch lineage_bullhead-user;
|
||||
brunch lineage_d802-userdebug;
|
||||
brunch lineage_d855-userdebug;
|
||||
brunch lineage_ether-user;
|
||||
brunch lineage_flo-user;
|
||||
brunch lineage_flounder-user;
|
||||
brunch lineage_FP2-user;
|
||||
# brunch lineage_h815-user; - (UPSTREAM) drivers/input/touchscreen/DS5/RefCode_CustomerImplementation.c:147:1: warning: the frame size of 2064 bytes is larger than 2048 bytes
|
||||
brunch lineage_h850-userdebug;
|
||||
@ -85,7 +81,6 @@ buildAll() {
|
||||
brunch lineage_n5110-user;
|
||||
brunch lineage_osprey-user;
|
||||
brunch lineage_sailfish-user;
|
||||
brunch lineage_shamu-user;
|
||||
brunch lineage_Z00T-user;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
@ -25,21 +25,6 @@ patch -p1 < $patches"android_kernel_amazon_hdx-common/0002-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_amazon_hdx-common/0003-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_amazon_hdx-common/0004-Overclock.patch"
|
||||
|
||||
#enter "kernel/google/msm"
|
||||
#patch -p1 < $patches"android_kernel_google_msm/0001-Overclock.patch" #flo, 1.51Ghz -> 2.21Ghz =+2.80Ghz TODO: Needs to be rebased
|
||||
|
||||
enter "kernel/huawei/angler"
|
||||
patch -p1 < $patches"android_kernel_huawei_angler/0001-Overclock.patch"
|
||||
|
||||
enter "kernel/lge/bullhead"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0001-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0002-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0003-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0004-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0005-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0006-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0007-Overclock.patch"
|
||||
|
||||
enter "kernel/lge/g3"
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0001-Overclock.patch" #2.45Ghz -> 2.76Ghz =+1.24Ghz
|
||||
patch -p1 < $patches"android_kernel_lge_g3/0002-Overclock.patch"
|
||||
@ -78,9 +63,6 @@ patch -p1 < $patches"android_kernel_common_msm8992/0005-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0006-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0007-Overclock.patch"
|
||||
|
||||
#enter "kernel/moto/shamu"
|
||||
#patch -p1 < $patches"android_kernel_moto_shamu/0001-OverUnderClock.patch" #300Mhz -> 35Mhz, 2.64Ghz -> 2.88Ghz =+0.96Ghz XXX: Panics
|
||||
|
||||
enter "kernel/nextbit/msm8992"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0001-Overclock.patch"
|
||||
patch -p1 < $patches"android_kernel_common_msm8992/0003-Overclock.patch"
|
||||
|
@ -225,7 +225,6 @@ find "kernel" -maxdepth 2 -mindepth 2 -type d -exec bash -c 'hardenDefconfig "$0
|
||||
cd $base
|
||||
|
||||
#Fix broken options enabled by hardenDefconfig()
|
||||
sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/msm/arch/arm/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/lge/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||
#
|
||||
#END OF DEVICE CHANGES
|
||||
|
@ -61,18 +61,23 @@ buildAll() {
|
||||
brunch lineage_angler-user;
|
||||
brunch lineage_bacon-user;
|
||||
brunch lineage_bullhead-user;
|
||||
#brunch lineage_d802-userdebug;
|
||||
brunch lineage_d852-userdebug;
|
||||
brunch lineage_d855-userdebug;
|
||||
brunch lineage_flo-user; #Not affected by size, but breaks: undefined reference to 'mm_jpeg_get_new_session_idx'
|
||||
#brunch lineage_d855-userdebug; #device/lge/d855/recovery/recovery_updater.cpp:29:10: fatal error: 'updater/install.h' file not found
|
||||
#brunch lineage_ether-user;
|
||||
brunch lineage_flo-user;
|
||||
brunch lineage_flounder-user;
|
||||
#brunch lineage_hammerhead-user;
|
||||
#brunch lineage_shamu-user;
|
||||
#brunch lineage_FP2-user;
|
||||
#brunch lineage_hammerhead-user; #find: `hardware/cyanogen/cmhw': No such file or directory
|
||||
#brunch lineage_marlin-user;
|
||||
#brunch lineage_sailfish-user;
|
||||
brunch lineage_shamu-user;
|
||||
}
|
||||
export -f buildAll;
|
||||
|
||||
patchWorkspace() {
|
||||
source build/envsetup.sh;
|
||||
repopick 204743 204744 207991; #Cherry picks
|
||||
repopick 204743 204744; #Cherry picks
|
||||
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
|
@ -65,7 +65,7 @@ enterAndClear "build/make"
|
||||
sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence
|
||||
|
||||
enterAndClear "device/qcom/sepolicy"
|
||||
patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on user builds
|
||||
patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on -user builds
|
||||
|
||||
enterAndClear "frameworks/base"
|
||||
#git revert https://review.lineageos.org/#/c/202875/ #re-enable doze on devices without gms
|
||||
@ -161,6 +161,9 @@ cat /tmp/ar/hosts >> rootdir/etc/hosts #Merge in our HOSTS file
|
||||
git revert a6a4ce8e9a6d63014047a447c6bb3ac1fa90b3f4 #Always update recovery
|
||||
patch -p1 < $patches"android_system_core/0001-Harden_Mounts.patch" #Harden mounts with nodev/noexec/nosuid. Disclaimer: From CopperheadOS 13.0
|
||||
|
||||
enterAndClear "system/sepolicy"
|
||||
git revert c994face15fbcbd8c0b083ca5d36e0b2258b033a #breaks -user builds
|
||||
|
||||
enterAndClear "system/vold"
|
||||
patch -p1 < $patches"android_system_vold/0001-AES256.patch" #Add a variable for enabling AES-256 bit encryption
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user