From e2cea36daf807578f6af90b5210688b33a224d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= Date: Fri, 18 Sep 2026 03:32:34 +0900 Subject: [PATCH] Disable register zeroing on function exit for base and BORE kernels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unset CONFIG_ZERO_CALL_USED_REGS to disable the kernel hardening feature, allowing for older NVIDIA drivers to build successfully against the new kernel. Signed-off-by: Krzysztof WilczyƄski --- pkgbuilds/linux-omarchy-bore/PKGBUILD | 2 +- pkgbuilds/linux-omarchy-bore/config.x86_64 | 2 +- pkgbuilds/linux-omarchy/PKGBUILD | 2 +- pkgbuilds/linux-omarchy/config.x86_64 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgbuilds/linux-omarchy-bore/PKGBUILD b/pkgbuilds/linux-omarchy-bore/PKGBUILD index c957e63..a8c9126 100644 --- a/pkgbuilds/linux-omarchy-bore/PKGBUILD +++ b/pkgbuilds/linux-omarchy-bore/PKGBUILD @@ -342,7 +342,7 @@ b2sums=('48551bee71cd02815136fb8abe7da4464c2e17c89ef35cb0c0530c8b969fe12127ca97a 'SKIP' 'b69cf36cc5633e507866e67f59557646dda7d6ea436b145f3f3356c4b12e1300c94977a7d1214835f2476c94a30dd672076241b920d96d744fbc199539df506f' 'SKIP') -b2sums_x86_64=('5abfe289c4487fd774890fbbe3989bb87e6b8d67e146c401ac6821b71be85a17816520b18eb874ff83e43ddece236273b2ac155943d2fdfabb1a444ba7162291') +b2sums_x86_64=('f69a306213a769710e3429817239746406e115af29f34f37514119eb49f973c86953379b68d3df89700bef7f86e3ec43eb91d5f5821f2a8eae7f28dba589d265') # https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc sha256sums=('55ddf0df8325d9dad96fcff7bd93977d22e3f50af06527572af59b77c7632b78' diff --git a/pkgbuilds/linux-omarchy-bore/config.x86_64 b/pkgbuilds/linux-omarchy-bore/config.x86_64 index 4d90b02..27b8b44 100644 --- a/pkgbuilds/linux-omarchy-bore/config.x86_64 +++ b/pkgbuilds/linux-omarchy-bore/config.x86_64 @@ -11873,7 +11873,7 @@ CONFIG_INIT_STACK_ALL_ZERO=y CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y -CONFIG_ZERO_CALL_USED_REGS=y +# CONFIG_ZERO_CALL_USED_REGS is not set # end of Memory initialization # diff --git a/pkgbuilds/linux-omarchy/PKGBUILD b/pkgbuilds/linux-omarchy/PKGBUILD index b02c163..6ae400c 100644 --- a/pkgbuilds/linux-omarchy/PKGBUILD +++ b/pkgbuilds/linux-omarchy/PKGBUILD @@ -339,7 +339,7 @@ b2sums=('48551bee71cd02815136fb8abe7da4464c2e17c89ef35cb0c0530c8b969fe12127ca97a 'SKIP' 'b69cf36cc5633e507866e67f59557646dda7d6ea436b145f3f3356c4b12e1300c94977a7d1214835f2476c94a30dd672076241b920d96d744fbc199539df506f' 'SKIP') -b2sums_x86_64=('459be66f895e5c75cadc2074965baa6261ba342b175eeb352157972be1940f1c6092001e8c0ab3cfbc92a35ee216ffb486f417b94df1a46ed217144257e3c7f2') +b2sums_x86_64=('5cbc3cba5e3abe4c77a54aeb2015b04e39dc80351accaa7c268da3e67577c0ad47109b8693bf2dee8d5366d0a0df3e6439c32d18fcf5ea07345bfcf517e5036d') # https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc sha256sums=('55ddf0df8325d9dad96fcff7bd93977d22e3f50af06527572af59b77c7632b78' diff --git a/pkgbuilds/linux-omarchy/config.x86_64 b/pkgbuilds/linux-omarchy/config.x86_64 index 847db90..283d023 100644 --- a/pkgbuilds/linux-omarchy/config.x86_64 +++ b/pkgbuilds/linux-omarchy/config.x86_64 @@ -11870,7 +11870,7 @@ CONFIG_INIT_STACK_ALL_ZERO=y CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y -CONFIG_ZERO_CALL_USED_REGS=y +# CONFIG_ZERO_CALL_USED_REGS is not set # end of Memory initialization #