forked from CachyOS/kernel-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ Signed-off-by: Peter Jung <[email protected]> | |
.../admin-guide/kernel-parameters.txt | 12 + | ||
Documentation/gpu/amdgpu/thermal.rst | 12 + | ||
Makefile | 8 + | ||
arch/x86/Kconfig.cpu | 359 +- | ||
arch/x86/Makefile | 87 +- | ||
arch/x86/Kconfig.cpu | 367 +- | ||
arch/x86/Makefile | 89 +- | ||
arch/x86/include/asm/pci.h | 6 + | ||
arch/x86/include/asm/vermagic.h | 70 + | ||
arch/x86/include/asm/vermagic.h | 72 + | ||
arch/x86/pci/common.c | 7 +- | ||
drivers/Makefile | 13 +- | ||
drivers/ata/ahci.c | 23 +- | ||
|
@@ -68,7 +68,7 @@ Signed-off-by: Peter Jung <[email protected]> | |
mm/vmpressure.c | 4 + | ||
mm/vmscan.c | 8 + | ||
net/ipv4/inet_connection_sock.c | 2 +- | ||
63 files changed, 6591 insertions(+), 67 deletions(-) | ||
63 files changed, 6603 insertions(+), 67 deletions(-) | ||
create mode 100644 drivers/media/v4l2-core/v4l2loopback.c | ||
create mode 100644 drivers/media/v4l2-core/v4l2loopback.h | ||
create mode 100644 drivers/media/v4l2-core/v4l2loopback_formats.h | ||
|
@@ -313,7 +313,7 @@ index 2a7279d80460..f5849153b385 100644 | |
help | ||
|
||
Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and | ||
@@ -278,14 +388,191 @@ config MCORE2 | ||
@@ -278,14 +388,199 @@ config MCORE2 | ||
family in /proc/cpuinfo. Newer ones have 6 and older ones 15 | ||
(not a typo) | ||
|
||
|
@@ -425,12 +425,12 @@ index 2a7279d80460..f5849153b385 100644 | |
+ bool "Intel Ice Lake" | ||
+ help | ||
+ | ||
+ Select this for 10th Gen Core client processors in the Ice Lake family. | ||
+ Select this for 10th Gen Core processors in the Ice Lake family. | ||
+ | ||
+ Enables -march=icelake-client | ||
+ | ||
+config MICELAKE_SERVER | ||
+ bool "Intel Ice Lake Server" | ||
+ bool "Intel Ice Lake server" | ||
+ help | ||
+ | ||
+ Select this for 10th Gen Core server processors in the Ice Lake family. | ||
|
@@ -519,7 +519,7 @@ index 2a7279d80460..f5849153b385 100644 | |
|
||
config GENERIC_CPU | ||
bool "Generic-x86-64" | ||
@@ -294,6 +581,26 @@ config GENERIC_CPU | ||
@@ -294,6 +589,26 @@ config GENERIC_CPU | ||
Generic x86-64 CPU. | ||
Run equally well on all x86-64 CPUs. | ||
|
||
|
@@ -546,7 +546,7 @@ index 2a7279d80460..f5849153b385 100644 | |
endchoice | ||
|
||
config X86_GENERIC | ||
@@ -308,6 +615,30 @@ config X86_GENERIC | ||
@@ -308,6 +623,30 @@ config X86_GENERIC | ||
This is really intended for distributors who need more | ||
generic optimizations. | ||
|
||
|
@@ -577,34 +577,34 @@ index 2a7279d80460..f5849153b385 100644 | |
# | ||
# Define implied options from the CPU selection here | ||
config X86_INTERNODE_CACHE_SHIFT | ||
@@ -318,7 +649,7 @@ config X86_INTERNODE_CACHE_SHIFT | ||
@@ -318,7 +657,7 @@ config X86_INTERNODE_CACHE_SHIFT | ||
config X86_L1_CACHE_SHIFT | ||
int | ||
default "7" if MPENTIUM4 || MPSC | ||
- default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU | ||
+ default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MJAGUAR || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MZEN2 || MZEN3 || MZEN4 || MZEN5 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_SERVER || MICELAKE_CLIENT || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL || MNATIVE_AMD | ||
+ default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MJAGUAR || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MZEN2 || MZEN3 || MZEN4 || MZEN5 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_CLIENT || MICELAKE_SERVER || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL || MNATIVE_AMD | ||
default "4" if MELAN || M486SX || M486 || MGEODEGX1 | ||
default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX | ||
|
||
@@ -336,11 +667,11 @@ config X86_ALIGNMENT_16 | ||
@@ -336,11 +675,11 @@ config X86_ALIGNMENT_16 | ||
|
||
config X86_INTEL_USERCOPY | ||
def_bool y | ||
- depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2 | ||
+ depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_SERVER || MICELAKE_CLIENT || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL | ||
+ depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_CLIENT || MICELAKE_SERVER || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL | ||
|
||
config X86_USE_PPRO_CHECKSUM | ||
def_bool y | ||
- depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM | ||
+ depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MJAGUAR || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MZEN2 || MZEN3 || MZEN4 || MZEN5 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_SERVER || MICELAKE_CLIENT || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL || MNATIVE_AMD | ||
+ depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MJAGUAR || MBULLDOZER || MPILEDRIVER || MSTEAMROLLER || MEXCAVATOR || MZEN || MZEN2 || MZEN3 || MZEN4 || MZEN5 || MNEHALEM || MWESTMERE || MSILVERMONT || MGOLDMONT || MGOLDMONTPLUS || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MSKYLAKE || MSKYLAKEX || MCANNONLAKE || MICELAKE_CLIENT || MICELAKE_SERVER || MCASCADELAKE || MCOOPERLAKE || MTIGERLAKE || MSAPPHIRERAPIDS || MROCKETLAKE || MALDERLAKE || MRAPTORLAKE || MMETEORLAKE || MEMERALDRAPIDS || MNATIVE_INTEL || MNATIVE_AMD | ||
|
||
# | ||
# P6_NOPs are a relatively minor optimization that require a family >= | ||
diff --git a/arch/x86/Makefile b/arch/x86/Makefile | ||
index 5b773b34768d..74e94c9ba198 100644 | ||
--- a/arch/x86/Makefile | ||
+++ b/arch/x86/Makefile | ||
@@ -182,15 +182,96 @@ else | ||
@@ -182,15 +182,98 @@ else | ||
cflags-$(CONFIG_MK8) += -march=k8 | ||
cflags-$(CONFIG_MPSC) += -march=nocona | ||
cflags-$(CONFIG_MCORE2) += -march=core2 | ||
|
@@ -646,8 +646,8 @@ index 5b773b34768d..74e94c9ba198 100644 | |
+ cflags-$(CONFIG_MSKYLAKE) += -march=skylake | ||
+ cflags-$(CONFIG_MSKYLAKEX) += -march=skylake-avx512 | ||
+ cflags-$(CONFIG_MCANNONLAKE) += -march=cannonlake | ||
+ cflags-$(CONFIG_MICELAKE_SERVER) += -march=icelake-server | ||
+ cflags-$(CONFIG_MICELAKE_CLIENT) += -march=icelake-client | ||
+ cflags-$(CONFIG_MICELAKE_SERVER) += -march=icelake-server | ||
+ cflags-$(CONFIG_MCASCADELAKE) += -march=cascadelake | ||
+ cflags-$(CONFIG_MCOOPERLAKE) += -march=cooperlake | ||
+ cflags-$(CONFIG_MTIGERLAKE) += -march=tigerlake | ||
|
@@ -734,7 +734,7 @@ diff --git a/arch/x86/include/asm/vermagic.h b/arch/x86/include/asm/vermagic.h | |
index 75884d2cdec3..f4e29563473d 100644 | ||
--- a/arch/x86/include/asm/vermagic.h | ||
+++ b/arch/x86/include/asm/vermagic.h | ||
@@ -17,6 +17,54 @@ | ||
@@ -17,6 +17,56 @@ | ||
#define MODULE_PROC_FAMILY "586MMX " | ||
#elif defined CONFIG_MCORE2 | ||
#define MODULE_PROC_FAMILY "CORE2 " | ||
|
@@ -791,7 +791,7 @@ index 75884d2cdec3..f4e29563473d 100644 | |
#elif defined CONFIG_MATOM | ||
#define MODULE_PROC_FAMILY "ATOM " | ||
#elif defined CONFIG_M686 | ||
@@ -35,6 +83,28 @@ | ||
@@ -35,6 +85,28 @@ | ||
#define MODULE_PROC_FAMILY "K7 " | ||
#elif defined CONFIG_MK8 | ||
#define MODULE_PROC_FAMILY "K8 " | ||
|
@@ -7846,5 +7846,5 @@ index 2b698f8419fe..fd039c41d1c8 100644 | |
release_sock(sk); | ||
if (reqsk_queue_empty(&icsk->icsk_accept_queue)) | ||
-- | ||
2.47.0 | ||
2.47.1 | ||
|