summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD18
-rw-r--r--config.x86_647
-rw-r--r--graysky_bdver2-hotfix.patch6
3 files changed, 14 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c74a104..530b301 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,15 +16,15 @@
pkgbase=linux
_majver=5.2
-_minver=1
+_minver=2
if [ "$_minver" == "0" ]; then
pkgver=${_majver}
else
pkgver=${_majver}.${_minver}
fi
-_gcc_more_v='20180509'
+_gccpatchver='20190714'
_srcname=linux-${pkgver}
-pkgrel=2
+pkgrel=1
url='https://kernel.org'
arch=('x86_64')
license=('GPL2')
@@ -40,7 +40,7 @@ source=(
0002-ZEN-Add-CONFIG-for-unprivileged_userns_clone.patch
0003-iwlwifi-mvm-disable-TX-AMSDU-on-older-NICs.patch
graysky_bdver2-hotfix.patch
- enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz
+ kernel_gcc_patch-${_gccpatchver}.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/${_gccpatchver}.tar.gz
ath9k-regdom-hack.patch
raid6-default-algo.patch
config.x86_64 # the main kernel config files
@@ -48,13 +48,13 @@ source=(
90-linux.hook # pacman hook for initramfs regeneration
linux.preset # standard config files for mkinitcpio ramdisk
)
-sha256sums=('3581e84e9d63298a14c147f925cd496ebb25c5a08cf065ba63c54cdee6d86506'
+sha256sums=('e5d91382699391e228efae87903ffeeac39b9e694ee3cf32970c87d28e516d9c'
'SKIP'
'91fafa76bf9cb32159ac7f22191b3589278b91e65bc4505cf2fc6013b8037bf3'
'63e4378e69e2f23ed87af32a4951477a6d82d4ac0de2295db46502c8120da9d9'
'8449de698dfc8f95ff03dbfd98b6abdd71dbc4238896256690cb856fe366aac3'
- '229e063a578db0a278108f37b24da20c2a2a18d825e98a67e426cb0f4b492e4a'
- '226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d'
+ '621deb423479c1f707cd9eece196692d80fbf190b36f65067490b79bfe378ddf'
+ '2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
'0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'
'20a16b9cc2e4e591e06ddcf55a729d2cb9b988dc5d9416a96dc2f838b296076a'
@@ -86,11 +86,11 @@ prepare() {
# graysky gcc hotfixes
msg2 "Applying graysky gcc patch hotfixes"
- patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch"
+ patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch"
# graysky gcc patch
msg2 "Applying graysky cpu patch"
- patch -p1 -i ../kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
+ patch -p1 -i ../kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
# Ignore ath9k eeprom patch
diff --git a/config.x86_64 b/config.x86_64
index 6fbe344..4a215e3 100644
--- a/config.x86_64
+++ b/config.x86_64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.2.0 Kernel Configuration
+# Linux/x86 5.2.2 Kernel Configuration
#
#
@@ -9725,10 +9725,7 @@ CONFIG_GCC_PLUGIN_STRUCTLEAK=y
# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set
CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set
-CONFIG_GCC_PLUGIN_STACKLEAK=y
-CONFIG_STACKLEAK_TRACK_MIN_SIZE=100
-CONFIG_STACKLEAK_METRICS=y
-CONFIG_STACKLEAK_RUNTIME_DISABLE=y
+# CONFIG_GCC_PLUGIN_STACKLEAK is not set
# end of Memory initialization
# end of Kernel hardening options
# end of Security options
diff --git a/graysky_bdver2-hotfix.patch b/graysky_bdver2-hotfix.patch
index 5cd9dbc..3e2b4f4 100644
--- a/graysky_bdver2-hotfix.patch
+++ b/graysky_bdver2-hotfix.patch
@@ -1,6 +1,6 @@
---- a/kernel_gcc_patch-20180509/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
-+++ b/kernel_gcc_patch-20180509/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
-@@ -492,7 +492,7 @@ + cflags-$(CONFIG_MBARCELONA) += $(call cc-option,-march=barcelona)
+--- a/kernel_gcc_patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
++++ b/kernel_gcc_patch-20190714/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch
+@@ -492,7 +492,7 @@
+ cflags-$(CONFIG_MBOBCAT) += $(call cc-option,-march=btver1)
+ cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2)
+ cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1)