]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
arm64: defconfig: Add require configs for RT
authorAmlan Kundu <akundu@nvidia.com>
Fri, 16 Dec 2016 05:59:02 +0000 (11:29 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 26 Dec 2016 11:03:21 +0000 (03:03 -0800)
+CONFIG_PREEMPT_RT_FULL=y
+# CONFIG_CPU_IDLE_TEGRA18X is not set
+# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set

bug 200263286

Change-Id: I6fd2dd9a3bc6962c3b9a724a25653f5401e4c30c
Signed-off-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-on: http://git-master/r/1272364
Reviewed-by: Bharath H S <bhs@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-on: http://git-master/r/1273498
Tested-by: Sumeet Gupta <sumeetg@nvidia.com>
scripts/rt-patch.sh

index 1fad0949d946a314a27969b20afba29c88ddfa7d..380dbd48dd4a9dd694f7583d261dcc61c39f35ff 100755 (executable)
@@ -11,6 +11,8 @@ apply_rt_patches()
                # set flag in case of failure and continue
                patch -s -d .. -p1 < $p || any_failure=1
        done
+       ./config --file ../arch/arm64/configs/tegra_t186ref_gnu_linux_defconfig --enable PREEMPT_RT_FULL  --disable CPU_IDLE_TEGRA18X  --disable CPU_FREQ_GOV_INTERACTIVE || any_failure=1
+
 }
 
 revert_rt_patches()
@@ -20,6 +22,8 @@ revert_rt_patches()
                # set flag in case of failure and continue
                patch -s -R -d .. -p1 < $p || any_failure=1
        done
+       #  CPU_FREQ_GOV_INTERACTIVE need to keep disable for Automotive
+       ./config --file ../arch/arm64/configs/tegra_t186ref_gnu_linux_defconfig --disable PREEMPT_RT_FULL  --enable CPU_IDLE_TEGRA18X  --disable CPU_FREQ_GOV_INTERACTIVE || any_failure=1
 }
 
 usage()