diff --git a/linux57-tkg/PKGBUILD b/linux57-tkg/PKGBUILD index 9b1d318..a60c29f 100644 --- a/linux57-tkg/PKGBUILD +++ b/linux57-tkg/PKGBUILD @@ -87,9 +87,9 @@ else fi pkgname=("${pkgbase}" "${pkgbase}-headers") _basekernel=5.7 -_sub=7 +_sub=8 pkgver="${_basekernel}"."${_sub}" -pkgrel=17 +pkgrel=18 pkgdesc='Linux-tkg' arch=('x86_64') # no i686 in here url="http://www.kernel.org/" @@ -126,21 +126,21 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x #0012-linux-hardened.patch ) sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0' - 'dc533b4b9756d417d59c2514237401d2c5d0814d13083b4f5736df48cf9312f4' + 'eea2cb4ea7c2014b0daa6d702fc7087d017c55e6ea479434b1269626eda9fde5' '1f56a2466bd9b4477925682d8f944fabb38727140e246733214fe50aa326fc47' '71030461a03fe30133f357001394ca2644c5fe0aae52161fe00c74aec0f900fe' '1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898' '66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997' '31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2' 'd02bf5ca08fd610394b9d3a0c3b176d74af206f897dee826e5cbaec97bb4a4aa' - '968b248660d5432939c1ef80dc588bdd6ffcdc76eb1818d93afbfe10b3181afb' + '9eae36f2e3265b787592e64259bcd5a1de4a524a55b2eccb2e3121f1ff1c209f' '7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7' 'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe' 'bc69d6e5ee8172b0242c8fa72d13cfe2b8d2b6601468836908a7dfe8b78a3bbb' '88c73f8960a3b7d0685a2f19b8624de3b592e451a47a51be6b66f86b7c91a0bd' '62496f9ca788996181ef145f96ad26291282fcc3fb95cdc04080dcf84365be33' '7fd8e776209dac98627453fda754bdf9aff4a09f27cb0b3766d7983612eb3c74' - '010dad2c2922c29a6d3b39dd4e78afb215e86fd1f6e0b7fc6e2e06eb0107812d' + '38057ca733059ccafe82fb9967bf49b636200ab9d693d278810e9a3d3056af33' '19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a' 'cd225e86d72eaf6c31ef3d7b20df397f4cc44ddd04389850691292cdf292b204' 'd2214504c43f9d297a8ef68dffc198143bfebf85614b71637a71978d7a86bd78' diff --git a/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch b/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch index 06ce7c7..8b6381f 100644 --- a/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch +++ b/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch @@ -598,46 +598,3 @@ index d2fa3e9ccd97c..bd10cb02fc0ff 100644 if (!strcmp(str, "force")) force_load = 1; if (!strcmp(str, "hwp_only")) - -From 618c5a1236f179525d5f55beba23acf796581623 Mon Sep 17 00:00:00 2001 -From: Nicholas Kazlauskas -Date: Mon, 29 Jun 2020 13:03:52 -0400 -Subject: [PATCH] drm/amd/display: Only revalidate bandwidth on medium and fast - updates - -[Why] -Changes that are fast don't require updating DLG parameters making -this call unnecessary. Considering this is an expensive call it should -not be done on every flip. - -[How] -Guard the validation to only happen if update type isn't FAST. - -Signed-off-by: Nicholas Kazlauskas ---- - drivers/gpu/drm/amd/display/dc/core/dc.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c -index 67402d75e67e..942ceb0f6383 100644 ---- a/drivers/gpu/drm/amd/display/dc/core/dc.c -+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c -@@ -2607,10 +2607,12 @@ void dc_commit_updates_for_stream(struct dc *dc, - - copy_stream_update_to_stream(dc, context, stream, stream_update); - -- if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) { -- DC_ERROR("Mode validation failed for stream update!\n"); -- dc_release_state(context); -- return; -+ if (update_type > UPDATE_TYPE_FAST) { -+ if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) { -+ DC_ERROR("Mode validation failed for stream update!\n"); -+ dc_release_state(context); -+ return; -+ } - } - - commit_planes_for_stream( --- -2.25.1 diff --git a/linux57-tkg/linux57-tkg-patches/0005-v5.7_undead-pds099o.patch b/linux57-tkg/linux57-tkg-patches/0005-v5.7_undead-pds099o.patch index 0fcaab3..59f0658 100644 --- a/linux57-tkg/linux57-tkg-patches/0005-v5.7_undead-pds099o.patch +++ b/linux57-tkg/linux57-tkg-patches/0005-v5.7_undead-pds099o.patch @@ -6673,14 +6673,14 @@ index 000000000000..02d7d5a67c77 +{ + struct mm_struct *mm = current->active_mm; + -+ BUG_ON(cpu_online(smp_processor_id())); ++ BUG_ON(current != this_rq()->idle); + + if (mm != &init_mm) { + switch_mm(mm, &init_mm, current); -+ current->active_mm = &init_mm; + finish_arch_post_lock_switch(); + } -+ mmdrop(mm); ++ ++ /* finish_cpu(), as ran on the BP, will clean up the active_mm state */ +} + +/* @@ -8398,19 +8398,3 @@ index b5e3496cf803..0816db0b9c16 100644 }; struct wakeup_test_data *x = data; -diff --git a/kernel/cpu.c b/kernel/cpu.c -index 244d305443773..90b77028233b0 100644 ---- a/kernel/cpu.c -+++ b/kernel/cpu.c -@@ -1565,7 +1565,11 @@ static struct cpuhp_step cpuhp_hp_states[] = { - [CPUHP_BRINGUP_CPU] = { - .name = "cpu:bringup", - .startup.single = bringup_cpu, -+#ifdef CONFIG_SCHED_PDS -+ .teardown.single = NULL, -+#else - .teardown.single = finish_cpu, -+#endif - .cant_stop = true, - }, - /* Final state before CPU kills itself */