summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorptr13372021-04-16 19:05:26 +0200
committerptr13372021-04-16 19:05:26 +0200
commita21b5f259c4bd45ce64a19123649a9c31a08db62 (patch)
tree9748d65c15919bd38eec691694c5de43a656d966
parent667494b38278a0ebf451fd20a8e8b4bfcdbca236 (diff)
downloadaur-a21b5f259c4bd45ce64a19123649a9c31a08db62.tar.gz
fsync,wineesync patches added, config updated
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
-rw-r--r--cacule_config5
-rw-r--r--config14
-rw-r--r--cpu_arch312
5 files changed, 35 insertions, 324 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a30a95bcc224..d9cb1ea56306 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule-rdb
pkgdesc = Linux-CacULE-RDB Kernel by Hamad Marri and with some other patchsets
pkgver = 5.11.15
- pkgrel = 3
+ pkgrel = 4
url = http://www.kernel.org/
arch = x86_64
license = GPL2
@@ -21,13 +21,15 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/misc/0005-Disable-CPU_FREQ_GOV_SCHEDUTIL.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/zen-patches/0002-ZEN-intel-pstate-Implement-enable-parameter.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/futex-patches/0001-futex2-resync-from-gitlab.collabora.com.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/wine-patches/0007-v5.11-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/futex-patches/0007-v5.11-fsync.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/misc/0002-init-Kconfig-enable-O3-for-all-arches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/bbr2-patches/0001-bbr2-5.11-introduce-BBRv2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/btrfs-patches/0001-btrfs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/zswap-patches/0001-zswap-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/main/5.11/zstd-patches/0001-zstd-patches.patch
sha256sums = d6a7845357cf56b695e50b4c60e09a8832b651ac701062a76145550a8e77c44a
- sha256sums = 2622b27dc89e90688aa4b01bef7d9b4f93f3433085200fda08ae9f38a852b45d
+ sha256sums = 2e3b1f1b6ceb958a3e4b2a4740c77953287a2cdb156234af8c9bf9ddad9268e3
sha256sums = c539655de9eef5084b6349389b1a2fac3aaab274149c9b95667cca93570166ea
sha256sums = cf00507d6881b737a9814d152e27b1db02f45a4d8a8ba3f4c9f542f0964ac697
sha256sums = b74526f681f3eafa12f74764e79792949cb949fe1c8424118746c48fe16a09a8
@@ -35,6 +37,8 @@ pkgbase = linux-cacule-rdb
sha256sums = 39a36b356e2452aa244f80700524c73884f995bd29ccabd3bdb760480f37ce8e
sha256sums = 0d9179a3dac476d832c50027f62480cfa7d462bf35acc0fcf3b863e9fac01edf
sha256sums = 05cebcd1dbab8d5f8d26b5351ba0237d36b8e848c830dad7a4f7d1c58cc7824c
+ sha256sums = d220593436059b76c975ceee061fd124dec37fff774db45a4419c2ce1839c351
+ sha256sums = b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456
sha256sums = 15524321f6e532747be4145341dd6d426a4240bf190e85160bdf06ae6ea0ff20
sha256sums = 68dcadab17c405335633e0ded03d13a78ee524311bc927df2a0f0fc1a1463caf
sha256sums = 4e25daa2c11d9f24af8d34b7621689ab3beeb5af185b1178cdec7f610283b5be
diff --git a/PKGBUILD b/PKGBUILD
index 43029eeb720a..e85299992307 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,15 +25,15 @@ if [ -z ${use_tracers+x} ]; then
fi
-if [ -z ${_fsync+x} ]; then
- _fsync=y
+if [ -z ${fsync+x} ]; then
+ fsync=y
fi
-if [ -z ${_futex2+x} ]; then
- _futex2=y
+if [ -z ${futex2+x} ]; then
+ futex2=y
fi
-if [ -z ${_winesync+x} ]; then
- _winesync=y
+if [ -z ${winesync+x} ]; then
+ winesync=y
fi
@@ -42,7 +42,7 @@ fi
pkgbase=linux-cacule-rdb
pkgver=5.11.15
-pkgrel=3
+pkgrel=4
pkgdesc='Linux-CacULE-RDB Kernel by Hamad Marri and with some other patchsets'
url="http://www.kernel.org/"
arch=(x86_64)
@@ -61,6 +61,8 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar.xz"
"${_patchsource}/misc/0005-Disable-CPU_FREQ_GOV_SCHEDUTIL.patch"
"${_patchsource}/zen-patches/0002-ZEN-intel-pstate-Implement-enable-parameter.patch"
"${_patchsource}/futex-patches/0001-futex2-resync-from-gitlab.collabora.com.patch"
+ "${_patchsource}/wine-patches/0007-v5.11-winesync.patch"
+ "${_patchsource}/futex-patches/0007-v5.11-fsync.patch"
"${_patchsource}/misc/0002-init-Kconfig-enable-O3-for-all-arches.patch"
"${_patchsource}/bbr2-patches/0001-bbr2-5.11-introduce-BBRv2.patch"
"${_patchsource}/btrfs-patches/0001-btrfs-patches.patch"
@@ -68,7 +70,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar.xz"
"${_patchsource}/zstd-patches/0001-zstd-patches.patch")
sha256sums=('d6a7845357cf56b695e50b4c60e09a8832b651ac701062a76145550a8e77c44a'
- '2622b27dc89e90688aa4b01bef7d9b4f93f3433085200fda08ae9f38a852b45d'
+ '2e3b1f1b6ceb958a3e4b2a4740c77953287a2cdb156234af8c9bf9ddad9268e3'
'c539655de9eef5084b6349389b1a2fac3aaab274149c9b95667cca93570166ea'
'cf00507d6881b737a9814d152e27b1db02f45a4d8a8ba3f4c9f542f0964ac697'
'b74526f681f3eafa12f74764e79792949cb949fe1c8424118746c48fe16a09a8'
@@ -76,6 +78,8 @@ sha256sums=('d6a7845357cf56b695e50b4c60e09a8832b651ac701062a76145550a8e77c44a'
'39a36b356e2452aa244f80700524c73884f995bd29ccabd3bdb760480f37ce8e'
'0d9179a3dac476d832c50027f62480cfa7d462bf35acc0fcf3b863e9fac01edf'
'05cebcd1dbab8d5f8d26b5351ba0237d36b8e848c830dad7a4f7d1c58cc7824c'
+ 'd220593436059b76c975ceee061fd124dec37fff774db45a4419c2ce1839c351'
+ 'b302ba6c5bbe8ed19b20207505d513208fae1e678cf4d8e7ac0b154e5fe3f456'
'15524321f6e532747be4145341dd6d426a4240bf190e85160bdf06ae6ea0ff20'
'68dcadab17c405335633e0ded03d13a78ee524311bc927df2a0f0fc1a1463caf'
'4e25daa2c11d9f24af8d34b7621689ab3beeb5af185b1178cdec7f610283b5be'
diff --git a/cacule_config b/cacule_config
index 58250ba99733..8f28cf14db29 100644
--- a/cacule_config
+++ b/cacule_config
@@ -38,6 +38,11 @@ scripts/config --enable CONFIG_MODULE_COMPRESS
scripts/config --disable CONFIG_MODULE_COMPRESS_GZIP
scripts/config --disable CONFIG_MODULE_COMPRESS_XZ
scripts/config --enable CONFIG_MODULE_COMPRESS_ZSTD
+echo "Enable CONFIG_STACK_VALIDATION"
+scripts/config --enable CONFIG_STACK_VALIDATION
+echo "Enable IKCONFIG"
+scripts/config --enable CONFIG_IKCONFIG
+scripts/config --enable CONFIG_IKCONFIG_PROC
}
cpu_arch(){
plain ""
diff --git a/config b/config
index d313e6045d57..796b1095c8d6 100644
--- a/config
+++ b/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.11.13-arch1 Kernel Configuration
+# Linux/x86 5.11.15-arch1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
@@ -9628,8 +9628,17 @@ CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
-# CONFIG_INTEGRITY is not set
+CONFIG_INTEGRITY=y
+CONFIG_INTEGRITY_SIGNATURE=y
+CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
+CONFIG_INTEGRITY_TRUSTED_KEYRING=y
+CONFIG_INTEGRITY_PLATFORM_KEYRING=y
+CONFIG_LOAD_UEFI_KEYS=y
+CONFIG_INTEGRITY_AUDIT=y
+# CONFIG_IMA is not set
+# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set
+# CONFIG_EVM is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
@@ -10034,6 +10043,7 @@ CONFIG_LRU_CACHE=m
CONFIG_CLZ_TAB=y
CONFIG_IRQ_POLL=y
CONFIG_MPILIB=y
+CONFIG_SIGNATURE=y
CONFIG_DIMLIB=y
CONFIG_OID_REGISTRY=y
CONFIG_UCS2_STRING=y
diff --git a/cpu_arch b/cpu_arch
deleted file mode 100644
index 025e12ddbe4f..000000000000
--- a/cpu_arch
+++ /dev/null
@@ -1,312 +0,0 @@
-#!/usr/bin/bash
-
-configure() {
-echo "Enable CacULE CPU scheduler..."
-scripts/config --enable CONFIG_CACULE_SCHED
-scripts/config --enable CONFIG_CACULE_RDB
-echo "Disable CFS"
-scripts/config --disable CONFIG_FAIR_GROUP_SCHED
-scripts/config --disable CONFIG_CFS_BANDWIDTH
-echo "Processor type and features Cacule"
-scripts/config --disable CONFIG_RETPOLINE
-scripts/config --disable CONFIG_X86_5LEVEL
-scripts/config --disable CONFIG_KEXEC
-scripts/config --disable CONFIG_KEXEC_FILE
-scripts/config --disable CONFIG_CRASH_DUMP
-scripts/config --disable CONFIG_EXPERT
-scripts/config --disable CONFIG_SCHED_AUTOGROUP
-scripts/config --disable CONFIG_CGROUP_SCHED
-echo "Enable PREEMPT"
-scripts/config --disable CONFIG_PREEMPT_NONE
-scripts/config --disable CONFIG_PREEMPT_VOLUNTARY
-scripts/config --enable CONFIG_PREEMPT
-scripts/config --enable CONFIG_PREEMPT_COUNT
-scripts/config --enable CONFIG_PREEMPTION
-msg2 "Set CPU DEVFREQ GOV CONFIG_DEVFREQ_GOV for performance"
-scripts/config --disable CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
-scripts/config --undefine CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
-scripts/config --disable CONFIG_DEVFREQ_GOV_POWERSAVE
-scripts/config --disable CONFIG_DEVFREQ_GOV_USERSPACE
-scripts/config --disable CONFIG_DEVFREQ_GOV_PASSIVE
-scripts/config --enable CONFIG_DEVFREQ_GOV_PERFORMANCE
-echo "Set PCIEASPM DRIVER to performance"
-scripts/config --enable CONFIG_PCIEASPM
-scripts/config --enable CONFIG_PCIEASPM_PERFORMANCE
-echo "Set CONFIG_PCIE_BUS for performance"
-scripts/config --enable CONFIG_PCIE_BUS_PERFORMANCE
-echo "Enable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3"
-scripts/config --disable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
-scripts/config --disable CONFIG_CC_OPTIMIZE_FOR_SIZE
-scripts/config --enable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3
-echo "Set module compression to ZSTD"
-scripts/config --enable CONFIG_MODULE_COMPRESS
-scripts/config --disable CONFIG_MODULE_COMPRESS_GZIP
-scripts/config --disable CONFIG_MODULE_COMPRESS_XZ
-scripts/config --enable CONFIG_MODULE_COMPRESS_ZSTD
-echo "Enable CONFIG_STACK_VALIDATION"
-scripts/config --enable CONFIG_STACK_VALIDATION
-echo "Enable IKCONFIG"
-scripts/config --enable CONFIG_IKCONFIG
-scripts/config --enable CONFIG_IKCONFIG_PROC
-}
-cpu_arch(){
- plain ""
- plain "#########################################"
- plain "Set cpu microarchitecture optimization in GCC"
- read -rp "`echo $' > 1) M486SX : Select this for an 486-class CPU without an FPU such as AMD/Cyrix/IBM/Intel SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5S.\n \
- > 2) M486 : Select this for an 486-class CPU such as AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 and UMC U5D.\n \
- > 3) M586 : Select this for an 586 or 686 series processor such as the AMD K5,the Cyrix 5x86, 6x86 and 6x86MX. This choice does not assume the RDTSC (Read Time Stamp Counter) instruction.\n \
- > 4) M586TSC : Select this for a Pentium Classic processor with the RDTSC (Read Time Stamp Counter) instruction for benchmarking.\n \
- > 5) M586MMX : Select this for a Pentium with the MMX graphics/multimedia extended instructions.\n \
- > 6) M686 : Select this for Intel Pentium Pro chips.\n \
- > 7) MPENTIUMII : Select this for Intel chips based on the Pentium-II and pre-Coppermine Celeron core.\n \
- > 8) MPENTIUMIII : Select this for Intel chips based on the Pentium-III and Celeron-Coppermine core.\n \
- > 9) MPENTIUMM : Select this for Intel Pentium M (not Pentium-4 M) notebook chips.\n \
- > 10) MPENTIUM4 : Select this for Intel Pentium 4 chips.\n \
- > 11) MK6 : Select this for an AMD K6-family processor.\n \
- > 12) MK7 : Select this for an AMD Athlon K7-family processor.\n \
- > 13) MK8 : Select this for an AMD Opteron or Athlon64 Hammer-family processor.\n \
- > 14) MK8SSE3 : Select this for improved AMD Opteron or Athlon64 Hammer-family processors.\n \
- > 15) MK10 : Select this for an AMD 61xx Eight-Core Magny-Cours, Athlon X2 7x50,Phenom X3/X4/II, Athlon II X2/X3/X4, or Turion II-family processor.\n \
- > 16) MBARCELONA : Select this for AMD Family 10h Barcelona processors.\n \
- > 17) MBOBCAT : Select this for AMD Family 14h Bobcat processors.\n \
- > 18) MJAGUAR : Select this for AMD Family 16h Jaguar processors.\n \
- > 19) MBULLDOZER : Select this for AMD Family 15h Bulldozer processors.\n \
- > 20) MPILEDRIVER : Select this for AMD Family 15h Piledriver processors.\n \
- > 21) MSTEAMROLLER : Select this for AMD Family 15h Steamroller processors.\n \
- > 22) MEXCAVATOR : Select this for AMD Family 15h Excavator processors.\n \
- > 23) MZEN : Select this for AMD Family 17h Zen processors.\n \
- > 24) MZEN2 : Select this for AMD Family 17h Zen 2 processors.\n \
- > 25) MZEN3 : Select this for AMD Family 19h Zen 3 processors. - GCC 10.3 required\n \
- > 26) MCRUSOE : Select this for a Transmeta Crusoe processor.\n \
- > 27) MEFFICEON : Select this for a Transmeta Efficeon processor.\n \
- > 28) MWINCHIPC6 : Select this for an IDT Winchip C6 chip.\n \
- > 29) MWINCHIP3D : Select this for an IDT Winchip-2, 2A or 3.\n \
- > 30) MELAN : Select this for an AMD Elan processor.\n \
- > 31) MGEODEGX1 : Select this for a Geode GX1 (Cyrix MediaGX) chip.\n \
- > 32) MGEODE_LX Select this for AMD Geode GX and LX processors.\n \
- > 33) MCYRIXIII : Select this for a Cyrix III or C3 chip.\n \
- > 34) MVIAC3_2 : Select this for a VIA C3 "Nehemiah".\n \
- > 35) MVIAC7 : Select this for a VIA C7.\n \
- > 36) MPSC : Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey Xeon CPUs with Intel 64bit which is compatible with x86-64.\n \
- > 37) MATOM : Select this for the Intel Atom platform.\n \
- > 38) MCORE2 : Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and 53xx) CPUs.\n \
- > 39) MNEHALEM : Select this for 1st Gen Core processors in the Nehalem family.\n \
- > 40) MWESTMERE : Select this for the Intel Westmere formerly Nehalem-C family.\n \
- > 41) MSILVERMONT Select this for the Intel Silvermont platform.\n \
- > 42) MGOLDMONT : Select this for the Intel Goldmont platform including Apollo Lake and Denverton.\n \
- > 43) MGOLDMONTPLUS : Select this for the Intel Goldmont Plus platform including Gemini Lake.\n \
- > 44) MSANDYBRIDGE : Select this for 2nd Gen Core processors in the Sandy Bridge family.\n \
- > 45) MIVYBRIDGE : Select this for 3rd Gen Core processors in the Ivy Bridge family.\n \
- > 46) MHASWELL : Select this for 4th Gen Core processors in the Haswell family.\n \
- > 47) MBROADWELL : Select this for 5th Gen Core processors in the Broadwell family.\n \
- > 48) MSKYLAKE : Select this for 6th Gen Core processors in the Skylake family.\n \
- > 49) MSKYLAKEX : Select this for 6th Gen Core processors in the Skylake X family.\n \
- > 50) MCANNONLAKE : Select this for 8th Gen Core processors.\n \
- > 51) MICELAKE : Select this for 10th Gen Core processors in the Ice Lake family.\n \
- > 52) MCASCADELAKE : Select this for Xeon processors in the Cascade Lake family.\n \
- > 53) MCOOPERLAKE : Select this for Xeon processors in the Cooper Lake family. - GCC 10.1 required\n \
- > 54) MTIGERLAKE : Select this for third-generation 10 nm process processors in the Tiger Lake family. - GCC 10.1 required\n \
- > 55) MSAPPHIRERAPIDS : Select this for third-generation 10 nm process processors in the Sapphire Rapids family. - GCC 11 required\n \
- > 56) MALDERLAKE : Select this for twelfth-generation processors in the Alder Lake family.- GCC 11 required\n \
- > 57) GENERIC_CPU : Generic x86-64 CPU. Run equally well on all x86-64 CPUs.\n \
- > 58) GENERIC_CPU2 : Run equally well on all x86-64 CPUs with min support of x86-64-v2. - GCC 11 required\n \
- > 59) GENERIC_CPU3 : Generic x86-64-v3 CPU with v3 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v3. - GCC 11 required\n \
- > 60) GENERIC_CPU4 : Generic x86-64 CPU with v4 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v4. - GCC 11 required\n \
- > 61) MNATIVE_INTEL : Intel-Native optimizations autodetected by GCC.\n \
- > 62) MNATIVE_AMD : AMD-Native optimizations autodetected by GCC.\n \
- > Default (57 : Gneric CPU)\nchoice[0-56]: '`" _microarchitecture
-
- if [[ "$_microarchitecture" = "1" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M486
- elif [[ "$_microarchitecture" = "2" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M486
- elif [[ "$_microarchitecture" = "3" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M586
- elif [[ "$_microarchitecture" = "4" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M586TSC
- elif [[ "$_microarchitecture" = "5" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M586MMX
- elif [[ "$_microarchitecture" = "6" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_M686
- elif [[ "$_microarchitecture" = "7" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPENTIUMII
- elif [[ "$_microarchitecture" = "8" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPENTIUMIII
- elif [[ "$_microarchitecture" = "9" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPENTIUMM
- elif [[ "$_microarchitecture" = "10" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPENTIUM4
- elif [[ "$_microarchitecture" = "11" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MK6
- elif [[ "$_microarchitecture" = "12" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MK7
- elif [[ "$_microarchitecture" = "13" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MK8
- elif [[ "$_microarchitecture" = "14" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MK8SSE3
- elif [[ "$_microarchitecture" = "15" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MK10
- elif [[ "$_microarchitecture" = "16" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MBARCELONA
- elif [[ "$_microarchitecture" = "17" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MBOBCAT
- elif [[ "$_microarchitecture" = "18" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MJAGUAR
- elif [[ "$_microarchitecture" = "19" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MBULLDOZER
- elif [[ "$_microarchitecture" = "20" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPILEDRIVER
- elif [[ "$_microarchitecture" = "21" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSTEAMROLLER
- elif [[ "$_microarchitecture" = "22" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MEXCAVATOR
- elif [[ "$_microarchitecture" = "23" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MZEN
- elif [[ "$_microarchitecture" = "24" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MZEN2
- elif [[ "$_microarchitecture" = "25" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MZEN3
- elif [[ "$_microarchitecture" = "26" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCRUSOE
- elif [[ "$_microarchitecture" = "27" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MEFFICEON
- elif [[ "$_microarchitecture" = "28" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MWINCHIPC6
- elif [[ "$_microarchitecture" = "29" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MWINCHIP3D
- elif [[ "$_microarchitecture" = "30" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MELAN
- elif [[ "$_microarchitecture" = "31" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MGEODEGX1
- elif [[ "$_microarchitecture" = "32" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MGEODE_LX
- elif [[ "$_microarchitecture" = "33" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCYRIXIII
- elif [[ "$_microarchitecture" = "34" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MVIAC3_2
- elif [[ "$_microarchitecture" = "35" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MVIAC7
- elif [[ "$_microarchitecture" = "36" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MPSC
- elif [[ "$_microarchitecture" = "37" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MATOM
- elif [[ "$_microarchitecture" = "38" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCORE2
- elif [[ "$_microarchitecture" = "39" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MNEHALEM
- elif [[ "$_microarchitecture" = "40" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MWESTMERE
- elif [[ "$_microarchitecture" = "41" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSILVERMONT
- elif [[ "$_microarchitecture" = "42" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MGOLDMONT
- elif [[ "$_microarchitecture" = "43" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MGOLDMONTPLUS
- elif [[ "$_microarchitecture" = "44" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSANDYBRIDGE
- elif [[ "$_microarchitecture" = "45" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MIVYBRIDGE
- elif [[ "$_microarchitecture" = "46" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MHASWELL
- elif [[ "$_microarchitecture" = "47" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MBROADWELL
- elif [[ "$_microarchitecture" = "48" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSKYLAKE
- elif [[ "$_microarchitecture" = "49" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSKYLAKEX
- elif [[ "$_microarchitecture" = "50" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCANNONLAKE
- elif [[ "$_microarchitecture" = "51" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MICELAKE
- elif [[ "$_microarchitecture" = "52" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCASCADELAKE
- elif [[ "$_microarchitecture" = "53" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MCOOPERLAKE
- elif [[ "$_microarchitecture" = "54" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MTIGERLAKE
- elif [[ "$_microarchitecture" = "55" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MSAPPHIRERAPIDS
- elif [[ "$_microarchitecture" = "56" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MALDERLAKE
- elif [[ "$_microarchitecture" = "57" ]]; then
- scripts/config --enable CONFIG_GENERIC_CPU
- elif [[ "$_microarchitecture" = "58" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_GENERIC_CPU2
- elif [[ "$_microarchitecture" = "59" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_GENERIC_CPU3
- elif [[ "$_microarchitecture" = "60" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_GENERIC_CPU4
- elif [[ "$_microarchitecture" = "61" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MNATIVE_INTEL
- elif [[ "$_microarchitecture" = "62" ]]; then
- scripts/config --disable CONFIG_GENERIC_CPU
- scripts/config --enable CONFIG_MNATIVE_AMD
- else
- scripts/config --enable CONFIG_GENERIC_CPU
- fi
-
- plain ""
-
- sleep 2
-}