From 40f9235f72d9373de498f2b43e06d4b51a1ca029 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Thu, 16 Jun 2022 09:20:11 -0500 Subject: [PATCH 1/3] kernel-5.18.5-200 * Thu Jun 16 2022 Justin M. Forbes [5.18.5-0] - Turn E1000 back on correctly (Justin M. Forbes) - Turn E1000 back on (Justin M. Forbes) - Changelog update for rebase (Justin M. Forbes) Resolves: Signed-off-by: Justin M. Forbes --- kernel.spec | 11 ++++++----- patch-5.18-redhat.patch | 2 +- sources | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/kernel.spec b/kernel.spec index 7bea11be8..604cffdf7 100755 --- a/kernel.spec +++ b/kernel.spec @@ -122,15 +122,15 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 # define buildid .local -%define specversion 5.18.4 +%define specversion 5.18.5 %define patchversion 5.18 -%define pkgrelease 201 +%define pkgrelease 200 %define kversion 5 -%define tarfile_release 5.18.4 +%define tarfile_release 5.18.5 # This is needed to do merge window version magic %define patchlevel 18 # allow pkg_release to have configurable %%{?dist} tag -%define specrelease 201%{?buildid}%{?dist} +%define specrelease 200%{?buildid}%{?dist} # # End of genspec.sh variables @@ -3034,7 +3034,8 @@ fi # # %changelog -* Wed Jun 15 2022 Justin M. Forbes [5.18.4-201] +* Thu Jun 16 2022 Justin M. Forbes [5.18.5-0] +- Turn E1000 back on correctly (Justin M. Forbes) - Turn E1000 back on (Justin M. Forbes) - Changelog update for rebase (Justin M. Forbes) diff --git a/patch-5.18-redhat.patch b/patch-5.18-redhat.patch index fdfe61f3c..9d2bd5673 100644 --- a/patch-5.18-redhat.patch +++ b/patch-5.18-redhat.patch @@ -45,7 +45,7 @@ 44 files changed, 716 insertions(+), 195 deletions(-) diff --git a/Makefile b/Makefile -index 6cbf7bb15edd..fcb7fc7a5e81 100644 +index 34bfb76d6333..14b77f963807 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ diff --git a/sources b/sources index e7be0feb4..ca53b9363 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.18.4.tar.xz) = 7dc737b3860331e30dbcddfe8d403d02e00852aa3a70d194947f493035b64390140320f7e98e3148d11fd17535ca2a805209f3aa9eb41de4cbabb1f8f25c0cc3 -SHA512 (kernel-abi-stablelists-5.18.4-201.tar.bz2) = c30d7a4076e4f7f75bbef749f0f2a9fa10e12e031b6cb158cf4c4f9602d3f9119e835bd5ffa21c5286684225d4aaf3c363c080693ce05af58fb952c9dff6eb1e -SHA512 (kernel-kabi-dw-5.18.4-201.tar.bz2) = 5ae0e2b1d33b15ee51798ca965492d5113c1d6906f062424afe1c3aabc9ce784ebfa216a30d246e696cbed60e8358b2ad46dad0080c3eb9d70c3bcb9c0d1d2e3 +SHA512 (linux-5.18.5.tar.xz) = d72e19e50b92cea8eee1ed970bd9cfc5da8b72b2a87a95619d42e43e883acfb6d52008e8e28b5bbdf4bfcc304a5ff3844efb70bd7132976c47df30af9948c38f +SHA512 (kernel-abi-stablelists-5.18.5-200.tar.bz2) = 5df9ad8eaa769abe2150b37497e3f250c4a9e48d290719e3c6b675d6f0b9886af96d5e0bc02d7cd89aa7020b9a10b5e3cd4c01fc294a211ddb108f7f9b66080b +SHA512 (kernel-kabi-dw-5.18.5-200.tar.bz2) = b3678c85276e86bd531b22f7b49154024dd802d9890b5e00b83feb880fcd17dc20ae4e62048c0ed258162ddae735176853acafd7528f8f3a82afa7384913d45c From 836f988ef5c895e1f6a8dc95a84aec4b33771250 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 22 Jun 2022 08:21:23 -0500 Subject: [PATCH 2/3] kernel-5.18.6-200 * Wed Jun 22 2022 Justin M. Forbes [5.18.6-0] - drm/i915: Temporarily disable selective fetch for PSR2 on ADL-P (Mark Pearson) [2065794] - Turn E1000 back on correctly (Justin M. Forbes) - Turn E1000 back on (Justin M. Forbes) - Changelog update for rebase (Justin M. Forbes) Resolves: rhbz#2065794 Signed-off-by: Justin M. Forbes --- Patchlist.changelog | 3 ++ kernel.spec | 7 +++-- patch-5.18-redhat.patch | 61 ++++++++++++++++------------------------- sources | 6 ++-- 4 files changed, 34 insertions(+), 43 deletions(-) diff --git a/Patchlist.changelog b/Patchlist.changelog index 298bb38b9..9b7271020 100644 --- a/Patchlist.changelog +++ b/Patchlist.changelog @@ -1,3 +1,6 @@ +"https://gitlab.com/cki-project/kernel-ark/-/commit"/8c91f362b5c06f3ff01ca58ea67266da928f55b1 + 8c91f362b5c06f3ff01ca58ea67266da928f55b1 drm/i915: Temporarily disable selective fetch for PSR2 on ADL-P + "https://gitlab.com/cki-project/kernel-ark/-/commit"/a7c0a52660e5b4c851d966b5aa634ffdd22650a2 a7c0a52660e5b4c851d966b5aa634ffdd22650a2 drm/amd/display: Cap OLED brightness per max frame-average luminance diff --git a/kernel.spec b/kernel.spec index 604cffdf7..c4b5d3630 100755 --- a/kernel.spec +++ b/kernel.spec @@ -122,11 +122,11 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 # define buildid .local -%define specversion 5.18.5 +%define specversion 5.18.6 %define patchversion 5.18 %define pkgrelease 200 %define kversion 5 -%define tarfile_release 5.18.5 +%define tarfile_release 5.18.6 # This is needed to do merge window version magic %define patchlevel 18 # allow pkg_release to have configurable %%{?dist} tag @@ -3034,7 +3034,8 @@ fi # # %changelog -* Thu Jun 16 2022 Justin M. Forbes [5.18.5-0] +* Wed Jun 22 2022 Justin M. Forbes [5.18.6-0] +- drm/i915: Temporarily disable selective fetch for PSR2 on ADL-P (Mark Pearson) [2065794] - Turn E1000 back on correctly (Justin M. Forbes) - Turn E1000 back on (Justin M. Forbes) - Changelog update for rebase (Justin M. Forbes) diff --git a/patch-5.18-redhat.patch b/patch-5.18-redhat.patch index 9d2bd5673..16a0cc39a 100644 --- a/patch-5.18-redhat.patch +++ b/patch-5.18-redhat.patch @@ -20,7 +20,7 @@ drivers/firmware/efi/libstub/x86-stub.c | 119 +++++++++++++++++++- drivers/firmware/efi/secureboot.c | 38 +++++++ drivers/firmware/sysfb.c | 18 ++- - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +- + drivers/gpu/drm/i915/display/intel_psr.c | 9 ++ drivers/hid/hid-rmi.c | 64 ----------- drivers/hwtracing/coresight/coresight-etm4x-core.c | 19 ++++ drivers/input/rmi4/rmi_driver.c | 124 ++++++++++++--------- @@ -42,10 +42,10 @@ security/lockdown/Kconfig | 13 +++ security/lockdown/lockdown.c | 1 + security/security.c | 6 + - 44 files changed, 716 insertions(+), 195 deletions(-) + 44 files changed, 721 insertions(+), 191 deletions(-) diff --git a/Makefile b/Makefile -index 34bfb76d6333..14b77f963807 100644 +index 27850d452d65..c6cd7b49725d 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ @@ -924,39 +924,26 @@ index 2bfbb05f7d89..a504f7234f35 100644 ret = sysfb_create_simplefb(si, &mode); if (!ret) return 0; -diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 8dd03de7c277..78a38c3b7d66 100644 ---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -2835,7 +2835,7 @@ static struct drm_mode_config_helper_funcs amdgpu_dm_mode_config_helperfuncs = { +diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c +index 6c9e6e7f0afd..f0ff2f1f5fcb 100644 +--- a/drivers/gpu/drm/i915/display/intel_psr.c ++++ b/drivers/gpu/drm/i915/display/intel_psr.c +@@ -744,6 +744,15 @@ static bool intel_psr2_sel_fetch_config_valid(struct intel_dp *intel_dp, + return false; + } - static void update_connector_ext_caps(struct amdgpu_dm_connector *aconnector) - { -- u32 max_cll, min_cll, max, min, q, r; -+ u32 max_avg, min_cll, max, min, q, r; - struct amdgpu_dm_backlight_caps *caps; - struct amdgpu_display_manager *dm; - struct drm_connector *conn_base; -@@ -2865,7 +2865,7 @@ static void update_connector_ext_caps(struct amdgpu_dm_connector *aconnector) - caps = &dm->backlight_caps[i]; - caps->ext_caps = &aconnector->dc_link->dpcd_sink_ext_caps; - caps->aux_support = false; -- max_cll = conn_base->hdr_sink_metadata.hdmi_type1.max_cll; -+ max_avg = conn_base->hdr_sink_metadata.hdmi_type1.max_fall; - min_cll = conn_base->hdr_sink_metadata.hdmi_type1.min_cll; ++ /* Temporary workaround for Lenovo's issues with the X1 Carbon 10th Gen ++ * See: https://bugzilla.redhat.com/show_bug.cgi?id=2065794 ++ */ ++ if (IS_ALDERLAKE_P(dev_priv)) { ++ drm_dbg_kms(&dev_priv->drm, ++ "PSR2 sel fetch disabled on ADL-P, see rhbz2065794\n"); ++ return false; ++ } ++ + return crtc_state->enable_psr2_sel_fetch = true; + } - if (caps->ext_caps->bits.oled == 1 /*|| -@@ -2893,8 +2893,8 @@ static void update_connector_ext_caps(struct amdgpu_dm_connector *aconnector) - * The results of the above expressions can be verified at - * pre_computed_values. - */ -- q = max_cll >> 5; -- r = max_cll % 32; -+ q = max_avg >> 5; -+ r = max_avg % 32; - max = (1 << q) * pre_computed_values[r]; - - // min luminance: maxLum * (CV/255)^2 / 100 diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c index 311eee599ce9..2460c6bd46f8 100644 --- a/drivers/hid/hid-rmi.c @@ -1341,7 +1328,7 @@ index 857d4c2fd1a2..9353941f3a97 100644 * Changes the default domain of an iommu group that has *only* one device * diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c -index 2d6a01853109..f22cd4b9c118 100644 +index 1ea85c88d795..d30563dabd95 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -240,6 +240,9 @@ static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) @@ -1679,10 +1666,10 @@ index 7fc4e9f49f54..6f0b0b2dc73d 100644 #if defined(CONFIG_SECURITY) && defined(CONFIG_WATCH_QUEUE) diff --git a/init/Kconfig b/init/Kconfig -index b19e2eeaae80..7d12d49b9024 100644 +index fa63cc019ebf..8643b5cef9f1 100644 --- a/init/Kconfig +++ b/init/Kconfig -@@ -1654,7 +1654,7 @@ config AIO +@@ -1663,7 +1663,7 @@ config AIO this option saves about 7k. config IO_URING diff --git a/sources b/sources index ca53b9363..c201c7ad5 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.18.5.tar.xz) = d72e19e50b92cea8eee1ed970bd9cfc5da8b72b2a87a95619d42e43e883acfb6d52008e8e28b5bbdf4bfcc304a5ff3844efb70bd7132976c47df30af9948c38f -SHA512 (kernel-abi-stablelists-5.18.5-200.tar.bz2) = 5df9ad8eaa769abe2150b37497e3f250c4a9e48d290719e3c6b675d6f0b9886af96d5e0bc02d7cd89aa7020b9a10b5e3cd4c01fc294a211ddb108f7f9b66080b -SHA512 (kernel-kabi-dw-5.18.5-200.tar.bz2) = b3678c85276e86bd531b22f7b49154024dd802d9890b5e00b83feb880fcd17dc20ae4e62048c0ed258162ddae735176853acafd7528f8f3a82afa7384913d45c +SHA512 (linux-5.18.6.tar.xz) = f2cafbc5c0a39074d68b5b8ee294ea7ff44d6b65a624f5bc1acc31d35b9268e9f7048518ab24e75196392938afee146174aa179e83e6627a9bec262fcb51343c +SHA512 (kernel-abi-stablelists-5.18.6-200.tar.bz2) = 25df719643d04cdd17accfd689afbfb9a71569ed1f513296278b72097966edf3a3c25f1e6dda29dbb29a78d2ae35ea142bf90fcb797ebd5cae7a74dd71f0c010 +SHA512 (kernel-kabi-dw-5.18.6-200.tar.bz2) = a5fe2b56d19694be8dc3615e5e07edda7d6f7a9bc8f5fa878edb5b80b149eac12619190676275d290e3a4a4e50ee8f31fecf94e30b4845b56a4b03b9edb0d2c3 From ca671e73964be786a13172019a6dc62a251ae2c4 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Sat, 25 Jun 2022 14:32:54 -0500 Subject: [PATCH 3/3] kernel-5.18.7-200 * Wed Jun 22 2022 Justin M. Forbes [5.18.6-0] - drm/i915: Temporarily disable selective fetch for PSR2 on ADL-P (Mark Pearson) [2065794] - Turn E1000 back on correctly (Justin M. Forbes) - Turn E1000 back on (Justin M. Forbes) - Changelog update for rebase (Justin M. Forbes) Resolves: rhbz#2065794 Signed-off-by: Justin M. Forbes --- kernel.spec | 7 +++++-- patch-5.18-redhat.patch | 2 +- sources | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/kernel.spec b/kernel.spec index c4b5d3630..5b80042ee 100755 --- a/kernel.spec +++ b/kernel.spec @@ -122,11 +122,11 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 # define buildid .local -%define specversion 5.18.6 +%define specversion 5.18.7 %define patchversion 5.18 %define pkgrelease 200 %define kversion 5 -%define tarfile_release 5.18.6 +%define tarfile_release 5.18.7 # This is needed to do merge window version magic %define patchlevel 18 # allow pkg_release to have configurable %%{?dist} tag @@ -3034,6 +3034,9 @@ fi # # %changelog + +* Sat Jun 25 2022 Justin M. Forbes [5.18.7-200] +- v5.18.7 rebase * Wed Jun 22 2022 Justin M. Forbes [5.18.6-0] - drm/i915: Temporarily disable selective fetch for PSR2 on ADL-P (Mark Pearson) [2065794] - Turn E1000 back on correctly (Justin M. Forbes) diff --git a/patch-5.18-redhat.patch b/patch-5.18-redhat.patch index 16a0cc39a..0008a891f 100644 --- a/patch-5.18-redhat.patch +++ b/patch-5.18-redhat.patch @@ -45,7 +45,7 @@ 44 files changed, 721 insertions(+), 191 deletions(-) diff --git a/Makefile b/Makefile -index 27850d452d65..c6cd7b49725d 100644 +index 61d63068553c..cd3197d5397e 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ diff --git a/sources b/sources index c201c7ad5..dd9da9823 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.18.6.tar.xz) = f2cafbc5c0a39074d68b5b8ee294ea7ff44d6b65a624f5bc1acc31d35b9268e9f7048518ab24e75196392938afee146174aa179e83e6627a9bec262fcb51343c -SHA512 (kernel-abi-stablelists-5.18.6-200.tar.bz2) = 25df719643d04cdd17accfd689afbfb9a71569ed1f513296278b72097966edf3a3c25f1e6dda29dbb29a78d2ae35ea142bf90fcb797ebd5cae7a74dd71f0c010 -SHA512 (kernel-kabi-dw-5.18.6-200.tar.bz2) = a5fe2b56d19694be8dc3615e5e07edda7d6f7a9bc8f5fa878edb5b80b149eac12619190676275d290e3a4a4e50ee8f31fecf94e30b4845b56a4b03b9edb0d2c3 +SHA512 (linux-5.18.7.tar.xz) = a943d7842e757b1386ff9ef0c319bbea74bd9ff7a43db7e1be2dea8d8ca0bb16d0bfb3d7f735652a2351095d4a47dc7a42b9459b133d00dc0d73dbf26fc0911d +SHA512 (kernel-abi-stablelists-5.18.7-200.tar.bz2) = 9c30296ec4d0909bbc3c24aa19515876f3a11a82cb07af415ee1a0c1f951c8f0011621e4dc9b91d5a7caf7a63fd41790548977373d490c42d794421237ab69c2 +SHA512 (kernel-kabi-dw-5.18.7-200.tar.bz2) = 70fd6a26797716eb6a4d80c7bd2529663d9f271b67f79be61d9d27ff85a0af55e9fd1bad443894307910d78b627c840cda68abc0c051bd0f8834954bd5db1102