[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 20bfdd395abdeb66604fa2dfa14eaf8a0e3d508c Author: Mike Pagano gentoo org> AuthorDate: Thu Aug 27 13:19:09 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Aug 27 13:19:09 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=20bfdd39 Linux patch 5.7.19 Signed-off-by: Mike Pagano gentoo.org> _README | 4 + 1018_linux-5.7.19.patch | 382 2 files changed, 386 insertions(+) diff --git a/_README b/_README index 1ab468f..11a3e8d 100644 --- a/_README +++ b/_README @@ -115,6 +115,10 @@ Patch: 1017_linux-5.7.18.patch From: http://www.kernel.org Desc: Linux 5.7.18 +Patch: 1018_linux-5.7.19.patch +From: http://www.kernel.org +Desc: Linux 5.7.19 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1018_linux-5.7.19.patch b/1018_linux-5.7.19.patch new file mode 100644 index 000..005c31b --- /dev/null +++ b/1018_linux-5.7.19.patch @@ -0,0 +1,382 @@ +diff --git a/Makefile b/Makefile +index b56456c45c97f..b60ba59cfb196 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 18 ++SUBLEVEL = 19 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/powerpc/kernel/cpu_setup_power.S b/arch/powerpc/kernel/cpu_setup_power.S +index a460298c7ddb4..f91ecb10d0ae7 100644 +--- a/arch/powerpc/kernel/cpu_setup_power.S b/arch/powerpc/kernel/cpu_setup_power.S +@@ -184,7 +184,7 @@ __init_LPCR_ISA300: + + __init_FSCR: + mfspr r3,SPRN_FSCR +- ori r3,r3,FSCR_TAR|FSCR_DSCR|FSCR_EBB ++ ori r3,r3,FSCR_TAR|FSCR_EBB + mtspr SPRN_FSCR,r3 + blr + +diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c +index c501a4edc34d6..51b9b49a295e9 100644 +--- a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c +@@ -3594,7 +3594,7 @@ static int check_missing_comp_in_tx_queue(struct ena_adapter *adapter, + } + + u64_stats_update_begin(_ring->syncp); +- tx_ring->tx_stats.missed_tx = missed_tx; ++ tx_ring->tx_stats.missed_tx += missed_tx; + u64_stats_update_end(_ring->syncp); + + return rc; +@@ -4519,6 +4519,9 @@ static void ena_keep_alive_wd(void *adapter_data, + rx_drops = ((u64)desc->rx_drops_high << 32) | desc->rx_drops_low; + + u64_stats_update_begin(>syncp); ++ /* These stats are accumulated by the device, so the counters indicate ++ * all drops since last reset. ++ */ + adapter->dev_stats.rx_drops = rx_drops; + u64_stats_update_end(>syncp); + } +diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c +index 831a2b25ba79f..196f9f64d075c 100644 +--- a/fs/binfmt_flat.c b/fs/binfmt_flat.c +@@ -571,7 +571,7 @@ static int load_flat_file(struct linux_binprm *bprm, + goto err; + } + +- len = data_len + extra; ++ len = data_len + extra + MAX_SHARED_LIBS * sizeof(unsigned long); + len = PAGE_ALIGN(len); + realdatastart = vm_mmap(NULL, 0, len, + PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 0); +@@ -585,7 +585,9 @@ static int load_flat_file(struct linux_binprm *bprm, + vm_munmap(textpos, text_len); + goto err; + } +- datapos = ALIGN(realdatastart, FLAT_DATA_ALIGN); ++ datapos = ALIGN(realdatastart + ++ MAX_SHARED_LIBS * sizeof(unsigned long), ++ FLAT_DATA_ALIGN); + + pr_debug("Allocated data+bss+stack (%u bytes): %lx\n", +data_len + bss_len + stack_len, datapos); +@@ -615,7 +617,7 @@ static int load_flat_file(struct linux_binprm *bprm, + memp_size = len; + } else { + +- len = text_len + data_len + extra; ++ len = text_len + data_len + extra + MAX_SHARED_LIBS * sizeof(u32); + len = PAGE_ALIGN(len); + textpos = vm_mmap(NULL, 0, len, + PROT_READ | PROT_EXEC | PROT_WRITE, MAP_PRIVATE, 0); +@@ -630,7 +632,9 @@ static int load_flat_file(struct linux_binprm *bprm, + } + + realdatastart = textpos + ntohl(hdr->data_start); +- datapos = ALIGN(realdatastart, FLAT_DATA_ALIGN); ++ datapos = ALIGN(realdatastart + ++ MAX_SHARED_LIBS * sizeof(u32), ++ FLAT_DATA_ALIGN); + + reloc = (__be32 __user *) + (datapos + (ntohl(hdr->reloc_start) - text_len)); +@@ -647,9 +651,8 @@ static int load_flat_file(struct linux_binprm *bprm, +
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: b450d96181ba92bf82a87234f78c4273df4d711b Author: Mike Pagano gentoo org> AuthorDate: Wed Aug 26 11:17:12 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Aug 26 11:17:12 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=b450d961 Linux patch 5.7.18 Signed-off-by: Mike Pagano gentoo.org> _README |4 + 1017_linux-5.7.18.patch | 4218 +++ 2 files changed, 4222 insertions(+) diff --git a/_README b/_README index 18ff2b2..1ab468f 100644 --- a/_README +++ b/_README @@ -111,6 +111,10 @@ Patch: 1016_linux-5.7.17.patch From: http://www.kernel.org Desc: Linux 5.7.17 +Patch: 1017_linux-5.7.18.patch +From: http://www.kernel.org +Desc: Linux 5.7.18 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1017_linux-5.7.18.patch b/1017_linux-5.7.18.patch new file mode 100644 index 000..8256bbf --- /dev/null +++ b/1017_linux-5.7.18.patch @@ -0,0 +1,4218 @@ +diff --git a/Makefile b/Makefile +index c0d34d03ab5f1..b56456c45c97f 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 17 ++SUBLEVEL = 18 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h +index e6225cf40de57..b09dd6bc98a12 100644 +--- a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h +@@ -490,10 +490,10 @@ extern inline void writeq(u64 b, volatile void __iomem *addr) + } + #endif + +-#define ioread16be(p) be16_to_cpu(ioread16(p)) +-#define ioread32be(p) be32_to_cpu(ioread32(p)) +-#define iowrite16be(v,p) iowrite16(cpu_to_be16(v), (p)) +-#define iowrite32be(v,p) iowrite32(cpu_to_be32(v), (p)) ++#define ioread16be(p) swab16(ioread16(p)) ++#define ioread32be(p) swab32(ioread32(p)) ++#define iowrite16be(v,p) iowrite16(swab16(v), (p)) ++#define iowrite32be(v,p) iowrite32(swab32(v), (p)) + + #define inb_p inb + #define inw_p inw +diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile +index 85e4149cc5d5c..d3c7ffa72902d 100644 +--- a/arch/arm64/Makefile b/arch/arm64/Makefile +@@ -156,6 +156,7 @@ zinstall install: + PHONY += vdso_install + vdso_install: + $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso $@ ++ $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso32 $@ + + # We use MRPROPER_FILES and CLEAN_FILES now + archclean: +diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h +index 26fca93cd6972..397e20a359752 100644 +--- a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h +@@ -440,7 +440,7 @@ int __kvm_arm_vcpu_set_events(struct kvm_vcpu *vcpu, + + #define KVM_ARCH_WANT_MMU_NOTIFIER + int kvm_unmap_hva_range(struct kvm *kvm, +- unsigned long start, unsigned long end); ++ unsigned long start, unsigned long end, unsigned flags); + int kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); + int kvm_age_hva(struct kvm *kvm, unsigned long start, unsigned long end); + int kvm_test_age_hva(struct kvm *kvm, unsigned long hva); +diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile +index 0433bb58ce52c..601c075f1f476 100644 +--- a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile +@@ -201,7 +201,7 @@ quiet_cmd_vdsosym = VDSOSYM $@ + cmd_vdsosym = $(NM) $< | $(gen-vdsosym) | LC_ALL=C sort > $@ + + # Install commands for the unstripped file +-quiet_cmd_vdso_install = INSTALL $@ ++quiet_cmd_vdso_install = INSTALL32 $@ + cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/vdso32.so + + vdso.so: $(obj)/vdso.so.dbg +diff --git a/arch/m68k/include/asm/m53xxacr.h b/arch/m68k/include/asm/m53xxacr.h +index 9138a624c5c81..692f90e7fecc1 100644 +--- a/arch/m68k/include/asm/m53xxacr.h b/arch/m68k/include/asm/m53xxacr.h +@@ -89,9 +89,9 @@ + * coherency though in all cases. And for copyback caches we will need + * to push cached data as well. + */ +-#define CACHE_INIT CACR_CINVA +-#define CACHE_INVALIDATE CACR_CINVA +-#define CACHE_INVALIDATED CACR_CINVA ++#define CACHE_INIT(CACHE_MODE + CACR_CINVA - CACR_EC) ++#define CACHE_INVALIDATE (CACHE_MODE + CACR_CINVA) ++#define CACHE_INVALIDATED (CACHE_MODE + CACR_CINVA) + + #define ACR0_MODE ((CONFIG_RAMBASE & 0xff00) + \ +(0x000f) + \ +diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h +index caa2b936125cc..8861e9d4eb1f9 100644 +--- a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h +@@ -939,7 +939,7 @@ enum kvm_mips_fault_result kvm_trap_emul_gva_fault(struct kvm_vcpu *vcpu, + + #define KVM_ARCH_WANT_MMU_NOTIFIER + int kvm_unmap_hva_range(struct kvm *kvm, +- unsigned long
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 6a863c711c1ead870c516cb00e0e69e7a4a9f7b1 Author: Mike Pagano gentoo org> AuthorDate: Wed Aug 19 14:55:19 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Aug 19 14:55:19 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=6a863c71 Remove redundant patch. See bug #738002 Signed-off-by: Mike Pagano gentoo.org> _README| 4 2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch | 10 -- 2 files changed, 14 deletions(-) diff --git a/_README b/_README index 66f0380..1bfc2e2 100644 --- a/_README +++ b/_README @@ -127,10 +127,6 @@ Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch From: https://bugs.gentoo.org/710790 Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino -Patch: 2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch -From: https://bugs.gentoo.org/721096 -Desc: VIDEO_TVP5150 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #721096. Thanks to Max Steel - Patch: 2920_sign-file-patch-for-libressl.patch From: https://bugs.gentoo.org/717166 Desc: sign-file: full functionality with modern LibreSSL diff --git a/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch b/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch deleted file mode 100644 index 1bc058e..000 --- a/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch +++ /dev/null @@ -1,10 +0,0 @@ a/drivers/media/i2c/Kconfig2020-05-13 12:38:05.102903309 -0400 -+++ b/drivers/media/i2c/Kconfig2020-05-13 12:38:51.283171977 -0400 -@@ -378,6 +378,7 @@ config VIDEO_TVP514X - config VIDEO_TVP5150 - tristate "Texas Instruments TVP5150 video decoder" - depends on VIDEO_V4L2 && I2C -+ select REGMAP_I2C - select V4L2_FWNODE - help - Support for the Texas Instruments TVP5150 video decoder.
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: b87ca498ee3e5898428a247b44e2ab5629ce4a79 Author: Alice Ferrazzi gentoo org> AuthorDate: Wed Aug 12 23:32:06 2020 + Commit: Alice Ferrazzi gentoo org> CommitDate: Wed Aug 12 23:32:13 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=b87ca498 Linux patch 5.7.15 Signed-off-by: Alice Ferrazzi gentoo.org> _README |4 + 1014_linux-5.7.15.patch | 2993 +++ 2 files changed, 2997 insertions(+) diff --git a/_README b/_README index ff8860b..dc0ff9b 100644 --- a/_README +++ b/_README @@ -99,6 +99,10 @@ Patch: 1013_linux-5.7.14.patch From: http://www.kernel.org Desc: Linux 5.7.14 +Patch: 1014_linux-5.7.15.patch +From: http://www.kernel.org +Desc: Linux 5.7.15 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1014_linux-5.7.15.patch b/1014_linux-5.7.15.patch new file mode 100644 index 000..56dcf52 --- /dev/null +++ b/1014_linux-5.7.15.patch @@ -0,0 +1,2993 @@ +diff --git a/Makefile b/Makefile +index 70942a6541d8..a2fbdb4c952d 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 14 ++SUBLEVEL = 15 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +index e2101440c314..b892670293a9 100644 +--- a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +@@ -84,6 +84,7 @@ u64 __init kaslr_early_init(u64 dt_phys) + void *fdt; + u64 seed, offset, mask, module_range; + const u8 *cmdline, *str; ++ unsigned long raw; + int size; + + /* +@@ -122,15 +123,12 @@ u64 __init kaslr_early_init(u64 dt_phys) + } + + /* +- * Mix in any entropy obtainable architecturally, open coded +- * since this runs extremely early. ++ * Mix in any entropy obtainable architecturally if enabled ++ * and supported. +*/ +- if (__early_cpu_has_rndr()) { +- unsigned long raw; + +- if (__arm64_rndr()) +- seed ^= raw; +- } ++ if (arch_get_random_seed_long_early()) ++ seed ^= raw; + + if (!seed) { + kaslr_status = KASLR_DISABLED_NO_SEED; +diff --git a/arch/powerpc/include/asm/kasan.h b/arch/powerpc/include/asm/kasan.h +index 4769bbf7173a..fc900937f653 100644 +--- a/arch/powerpc/include/asm/kasan.h b/arch/powerpc/include/asm/kasan.h +@@ -27,10 +27,12 @@ + + #ifdef CONFIG_KASAN + void kasan_early_init(void); ++void kasan_mmu_init(void); + void kasan_init(void); + void kasan_late_init(void); + #else + static inline void kasan_init(void) { } ++static inline void kasan_mmu_init(void) { } + static inline void kasan_late_init(void) { } + #endif + +diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c +index a6991ef8727d..872df48ae41b 100644 +--- a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c +@@ -170,6 +170,8 @@ void __init MMU_init(void) + btext_unmap(); + #endif + ++ kasan_mmu_init(); ++ + setup_kup(); + + /* Shortly after that, the entire linear mapping will be available */ +diff --git a/arch/powerpc/mm/kasan/kasan_init_32.c b/arch/powerpc/mm/kasan/kasan_init_32.c +index b7c287adfd59..8b15fe09b967 100644 +--- a/arch/powerpc/mm/kasan/kasan_init_32.c b/arch/powerpc/mm/kasan/kasan_init_32.c +@@ -131,7 +131,7 @@ static void __init kasan_unmap_early_shadow_vmalloc(void) + flush_tlb_kernel_range(k_start, k_end); + } + +-static void __init kasan_mmu_init(void) ++void __init kasan_mmu_init(void) + { + int ret; + struct memblock_region *reg; +@@ -159,8 +159,6 @@ static void __init kasan_mmu_init(void) + + void __init kasan_init(void) + { +- kasan_mmu_init(); +- + kasan_remap_early_shadow_ro(); + + clear_page(kasan_early_shadow_page); +diff --git a/drivers/android/binder.c b/drivers/android/binder.c +index f50c5f182bb5..5b310eea9e52 100644 +--- a/drivers/android/binder.c b/drivers/android/binder.c +@@ -2982,6 +2982,12 @@ static void binder_transaction(struct binder_proc *proc, + goto err_dead_binder; + } + e->to_node = target_node->debug_id; ++ if (WARN_ON(proc == target_proc)) { ++ return_error = BR_FAILED_REPLY; ++ return_error_param = -EINVAL; ++ return_error_line = __LINE__; ++ goto err_invalid_target_handle; ++ } + if (security_binder_transaction(proc->tsk, + target_proc->tsk) < 0) { + return_error = BR_FAILED_REPLY; +@@ -3635,10 +3641,17 @@ static int binder_thread_write(struct binder_proc *proc, +
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 56c5495f139f487a3030babb821d312d91a71475 Author: Alice Ferrazzi gentoo org> AuthorDate: Fri Aug 7 12:12:33 2020 + Commit: Alice Ferrazzi gentoo org> CommitDate: Fri Aug 7 12:12:50 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=56c5495f Linux patch 5.7.14 Signed-off-by: Alice Ferrazzi gentoo.org> _README | 4 + 1013_linux-5.7.14.patch | 294 2 files changed, 298 insertions(+) diff --git a/_README b/_README index a388fef..ff8860b 100644 --- a/_README +++ b/_README @@ -95,6 +95,10 @@ Patch: 1012_linux-5.7.13.patch From: http://www.kernel.org Desc: Linux 5.7.13 +Patch: 1013_linux-5.7.14.patch +From: http://www.kernel.org +Desc: Linux 5.7.14 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1013_linux-5.7.14.patch b/1013_linux-5.7.14.patch new file mode 100644 index 000..92e5caa --- /dev/null +++ b/1013_linux-5.7.14.patch @@ -0,0 +1,294 @@ +diff --git a/Makefile b/Makefile +index b77b4332a41a..70942a6541d8 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 13 ++SUBLEVEL = 14 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/arm/include/asm/percpu.h b/arch/arm/include/asm/percpu.h +index f44f448537f2..1a3eedbac4a2 100644 +--- a/arch/arm/include/asm/percpu.h b/arch/arm/include/asm/percpu.h +@@ -5,6 +5,8 @@ + #ifndef _ASM_ARM_PERCPU_H_ + #define _ASM_ARM_PERCPU_H_ + ++#include ++ + /* + * Same as asm-generic/percpu.h, except that we store the per cpu offset + * in the TPIDRPRW. TPIDRPRW only exists on V6K and V7 +diff --git a/arch/arm64/include/asm/archrandom.h b/arch/arm64/include/asm/archrandom.h +index fc1594a0710e..44209f6146aa 100644 +--- a/arch/arm64/include/asm/archrandom.h b/arch/arm64/include/asm/archrandom.h +@@ -6,7 +6,6 @@ + + #include + #include +-#include + #include + + static inline bool __arm64_rndr(unsigned long *v) +diff --git a/arch/arm64/include/asm/pointer_auth.h b/arch/arm64/include/asm/pointer_auth.h +index c6b4f0603024..be7f853738e6 100644 +--- a/arch/arm64/include/asm/pointer_auth.h b/arch/arm64/include/asm/pointer_auth.h +@@ -3,7 +3,6 @@ + #define __ASM_POINTER_AUTH_H + + #include +-#include + + #include + #include +@@ -34,6 +33,13 @@ struct ptrauth_keys_kernel { + struct ptrauth_key apia; + }; + ++/* ++ * Only include random.h once ptrauth_keys_* structures are defined ++ * to avoid yet another circular include hell (random.h * ends up ++ * including asm/smp.h, which requires ptrauth_keys_kernel). ++ */ ++#include ++ + static inline void ptrauth_keys_init_user(struct ptrauth_keys_user *keys) + { + if (system_supports_address_auth()) { +diff --git a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +index 91a83104c6e8..e2101440c314 100644 +--- a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +@@ -10,8 +10,8 @@ + #include + #include + #include ++#include + +-#include + #include + #include + #include +diff --git a/drivers/char/random.c b/drivers/char/random.c +index 0d10e31fd342..344a57ebb35e 100644 +--- a/drivers/char/random.c b/drivers/char/random.c +@@ -1277,6 +1277,7 @@ void add_interrupt_randomness(int irq, int irq_flags) + + fast_mix(fast_pool); + add_interrupt_bench(cycles); ++ this_cpu_add(net_rand_state.s1, fast_pool->pool[cycles & 3]); + + if (unlikely(crng_init == 0)) { + if ((fast_pool->count >= 64) && +diff --git a/include/linux/prandom.h b/include/linux/prandom.h +new file mode 100644 +index ..aa16e6468f91 +--- /dev/null b/include/linux/prandom.h +@@ -0,0 +1,78 @@ ++/* SPDX-License-Identifier: GPL-2.0 */ ++/* ++ * include/linux/prandom.h ++ * ++ * Include file for the fast pseudo-random 32-bit ++ * generation. ++ */ ++#ifndef _LINUX_PRANDOM_H ++#define _LINUX_PRANDOM_H ++ ++#include ++#include ++ ++u32 prandom_u32(void); ++void prandom_bytes(void *buf, size_t nbytes); ++void prandom_seed(u32 seed); ++void prandom_reseed_late(void); ++ ++struct rnd_state { ++ __u32 s1, s2, s3, s4; ++}; ++ ++DECLARE_PER_CPU(struct rnd_state, net_rand_state); ++ ++u32 prandom_u32_state(struct rnd_state *state); ++void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); ++void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state); ++ ++#define prandom_init_once(pcpu_state) \ ++ DO_ONCE(prandom_seed_full_state, (pcpu_state)) ++ ++/** ++ * prandom_u32_max - returns a pseudo-random number in interval [0, ep_ro) ++ * @ep_ro: right open interval endpoint ++ * ++ * Returns a pseudo-random number that is in interval [0, ep_ro). Note ++ * that the result depends on PRNG being well distributed in [0, ~0U] ++ * u32 space. Here we use
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 89d0e8ab4377428b936f4a21b215d245e94131a3 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Aug 5 14:33:53 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Aug 5 14:35:38 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=89d0e8ab Linux patch 5.7.13 Signed-off-by: Thomas Deutschmann gentoo.org> _README |4 + 1012_linux-5.7.13.patch | 3752 +++ 2 files changed, 3756 insertions(+) diff --git a/_README b/_README index 21eff3a..a388fef 100644 --- a/_README +++ b/_README @@ -91,6 +91,10 @@ Patch: 1011_linux-5.7.12.patch From: http://www.kernel.org Desc: Linux 5.7.12 +Patch: 1012_linux-5.7.13.patch +From: http://www.kernel.org +Desc: Linux 5.7.13 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1012_linux-5.7.13.patch b/1012_linux-5.7.13.patch new file mode 100644 index 000..f28c06a --- /dev/null +++ b/1012_linux-5.7.13.patch @@ -0,0 +1,3752 @@ +diff --git a/Makefile b/Makefile +index 401d58b35e61..b77b4332a41a 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 12 ++SUBLEVEL = 13 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi +index e038abc0c6b4..420ae26e846b 100644 +--- a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi +@@ -344,7 +344,8 @@ + + comphy: phy@18300 { + compatible = "marvell,armada-380-comphy"; +- reg = <0x18300 0x100>; ++ reg-names = "comphy", "conf"; ++ reg = <0x18300 0x100>, <0x18460 4>; + #address-cells = <1>; + #size-cells = <0>; + +diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi +index 756f3a9f1b4f..12997dae35d9 100644 +--- a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi +@@ -397,7 +397,7 @@ + + pinctrl_usbotg: usbotggrp { + fsl,pins = < +- MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 ++ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 + >; + }; + +@@ -409,6 +409,7 @@ + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17070 + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17070 + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17070 ++ MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x1b0b0 + >; + }; + +diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts +index 825924448ab4..14fd1de52a68 100644 +--- a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts +@@ -99,7 +99,7 @@ + { + pinctrl-names = "default"; + pinctrl-0 = <_enet2>; +- phy-mode = "rgmii"; ++ phy-mode = "rgmii-id"; + phy-handle = <>; + fsl,magic-packet; + status = "okay"; +diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi +index 3e5fb72f21fc..c99aa273c296 100644 +--- a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi +@@ -213,7 +213,7 @@ + { + pinctrl-names = "default"; + pinctrl-0 = <_enet2>; +- phy-mode = "rgmii"; ++ phy-mode = "rgmii-id"; + phy-handle = <>; + status = "okay"; + }; +diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi +index bf531efc0610..0f95a6ef8543 100644 +--- a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi +@@ -198,7 +198,7 @@ + default-pool { + compatible = "shared-dma-pool"; + size = <0x600>; +- alloc-ranges = <0x4a00 0x600>; ++ alloc-ranges = <0x4000 0x1000>; + reusable; + linux,cma-default; + }; +diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi +index e6b036734a64..c2b4fbf552a3 100644 +--- a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi +@@ -117,7 +117,7 @@ + default-pool { + compatible = "shared-dma-pool"; + size = <0x600>; +- alloc-ranges = <0x4a00 0x600>; ++ alloc-ranges = <0x4000 0x1000>; + reusable; + linux,cma-default; + }; +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index ffe1d10a1a84..6d6a37940db2 100644 +---
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 3019bd9ccad7fa58df721cc1831b0444e4fb1d3b Author: Mike Pagano gentoo org> AuthorDate: Fri Jul 31 18:07:39 2020 + Commit: Mike Pagano gentoo org> CommitDate: Fri Jul 31 18:07:39 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=3019bd9c Linux patch 5.7.12 Signed-off-by: Mike Pagano gentoo.org> _README | 4 + 1011_linux-5.7.12.patch | 784 2 files changed, 788 insertions(+) diff --git a/_README b/_README index 6409a51..21eff3a 100644 --- a/_README +++ b/_README @@ -87,6 +87,10 @@ Patch: 1010_linux-5.7.11.patch From: http://www.kernel.org Desc: Linux 5.7.11 +Patch: 1011_linux-5.7.12.patch +From: http://www.kernel.org +Desc: Linux 5.7.12 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1011_linux-5.7.12.patch b/1011_linux-5.7.12.patch new file mode 100644 index 000..bd95a59 --- /dev/null +++ b/1011_linux-5.7.12.patch @@ -0,0 +1,784 @@ +diff --git a/Makefile b/Makefile +index 12777a95833f..401d58b35e61 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 11 ++SUBLEVEL = 12 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c +index e16afa27700d..f58baff2be0a 100644 +--- a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c +@@ -227,6 +227,9 @@ static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, + if (*ppos < 0 || !count) + return -EINVAL; + ++ if (count > (PAGE_SIZE << (MAX_ORDER - 1))) ++ count = PAGE_SIZE << (MAX_ORDER - 1); ++ + buf = kmalloc(count, GFP_KERNEL); + if (!buf) + return -ENOMEM; +@@ -371,6 +374,9 @@ static ssize_t regmap_reg_ranges_read_file(struct file *file, + if (*ppos < 0 || !count) + return -EINVAL; + ++ if (count > (PAGE_SIZE << (MAX_ORDER - 1))) ++ count = PAGE_SIZE << (MAX_ORDER - 1); ++ + buf = kmalloc(count, GFP_KERNEL); + if (!buf) + return -ENOMEM; +diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c +index 69773d228ec1..84640a0c13f3 100644 +--- a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c +@@ -183,7 +183,7 @@ static inline void x25_asy_unlock(struct x25_asy *sl) + netif_wake_queue(sl->dev); + } + +-/* Send one completely decapsulated IP datagram to the IP layer. */ ++/* Send an LAPB frame to the LAPB module to process. */ + + static void x25_asy_bump(struct x25_asy *sl) + { +@@ -195,13 +195,12 @@ static void x25_asy_bump(struct x25_asy *sl) + count = sl->rcount; + dev->stats.rx_bytes += count; + +- skb = dev_alloc_skb(count+1); ++ skb = dev_alloc_skb(count); + if (skb == NULL) { + netdev_warn(sl->dev, "memory squeeze, dropping packet\n"); + dev->stats.rx_dropped++; + return; + } +- skb_push(skb, 1); /* LAPB internal control */ + skb_put_data(skb, sl->rbuff, count); + skb->protocol = x25_type_trans(skb, sl->dev); + err = lapb_data_received(skb->dev, skb); +@@ -209,7 +208,6 @@ static void x25_asy_bump(struct x25_asy *sl) + kfree_skb(skb); + printk(KERN_DEBUG "x25_asy: data received err - %d\n", err); + } else { +- netif_rx(skb); + dev->stats.rx_packets++; + } + } +@@ -356,12 +354,21 @@ static netdev_tx_t x25_asy_xmit(struct sk_buff *skb, + */ + + /* +- *Called when I frame data arrives. We did the work above - throw it +- *at the net layer. ++ *Called when I frame data arrive. We add a pseudo header for upper ++ *layers and pass it to upper layers. + */ + + static int x25_asy_data_indication(struct net_device *dev, struct sk_buff *skb) + { ++ if (skb_cow(skb, 1)) { ++ kfree_skb(skb); ++ return NET_RX_DROP; ++ } ++ skb_push(skb, 1); ++ skb->data[0] = X25_IFACE_DATA; ++ ++ skb->protocol = x25_type_trans(skb, dev); ++ + return netif_rx(skb); + } + +@@ -657,7 +664,7 @@ static void x25_asy_unesc(struct x25_asy *sl, unsigned char s) + switch (s) { + case X25_END: + if (!test_and_clear_bit(SLF_ERROR, >flags) && +- sl->rcount > 2) ++ sl->rcount >= 2) + x25_asy_bump(sl); + clear_bit(SLF_ESCAPE, >flags); + sl->rcount = 0; +diff --git a/fs/io_uring.c b/fs/io_uring.c +index 51be3a20ade1..d0d3efaaa4d4 100644 +--- a/fs/io_uring.c b/fs/io_uring.c +@@ -581,6 +581,7 @@ enum { + + struct async_poll { + struct io_poll_iocb poll; ++ struct io_poll_iocb
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 73182aa4280c7a5906ee99d67cb3104e799d5b97 Author: Mike Pagano gentoo org> AuthorDate: Mon Jun 29 17:36:48 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Jun 29 17:36:48 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=73182aa4 Kernel patch enables gcc = v10.1+ optimizations for additional CPUs Signed-off-by: Mike Pagano gentoo.org> _README | 4 + 5013_enable-cpu-optimizations-for-gcc10.patch | 671 ++ 2 files changed, 675 insertions(+) diff --git a/_README b/_README index 1d59c5b..916b8cc 100644 --- a/_README +++ b/_README @@ -134,3 +134,7 @@ Desc: .gitignore: add ZSTD-compressed files Patch: 5012_enable-cpu-optimizations-for-gcc91.patch From: https://github.com/graysky2/kernel_gcc_patch/ Desc: Kernel patch enables gcc >= v9.1 optimizations for additional CPUs. + +Patch: 5013_enable-cpu-optimizations-for-gcc10.patch +From: https://github.com/graysky2/kernel_gcc_patch/ +Desc: Kernel patch enables gcc = v10.1+ optimizations for additional CPUs. diff --git a/5013_enable-cpu-optimizations-for-gcc10.patch b/5013_enable-cpu-optimizations-for-gcc10.patch new file mode 100644 index 000..13c251b --- /dev/null +++ b/5013_enable-cpu-optimizations-for-gcc10.patch @@ -0,0 +1,671 @@ +WARNING +This patch works with gcc versions 10.1+ and with kernel version 5.7+ and should +NOT be applied when compiling on older versions of gcc due to key name changes +of the march flags introduced with the version 4.9 release of gcc.[1] + +Use the older version of this patch hosted on the same github for older +versions of gcc. + +FEATURES +This patch adds additional CPU options to the Linux kernel accessible under: + Processor type and features ---> + Processor family ---> + +The expanded microarchitectures include: +* AMD Improved K8-family +* AMD K10-family +* AMD Family 10h (Barcelona) +* AMD Family 14h (Bobcat) +* AMD Family 16h (Jaguar) +* AMD Family 15h (Bulldozer) +* AMD Family 15h (Piledriver) +* AMD Family 15h (Steamroller) +* AMD Family 15h (Excavator) +* AMD Family 17h (Zen) +* AMD Family 17h (Zen 2) +* Intel Silvermont low-power processors +* Intel Goldmont low-power processors (Apollo Lake and Denverton) +* Intel Goldmont Plus low-power processors (Gemini Lake) +* Intel 1st Gen Core i3/i5/i7 (Nehalem) +* Intel 1.5 Gen Core i3/i5/i7 (Westmere) +* Intel 2nd Gen Core i3/i5/i7 (Sandybridge) +* Intel 3rd Gen Core i3/i5/i7 (Ivybridge) +* Intel 4th Gen Core i3/i5/i7 (Haswell) +* Intel 5th Gen Core i3/i5/i7 (Broadwell) +* Intel 6th Gen Core i3/i5/i7 (Skylake) +* Intel 6th Gen Core i7/i9 (Skylake X) +* Intel 8th Gen Core i3/i5/i7 (Cannon Lake) +* Intel 10th Gen Core i7/i9 (Ice Lake) +* Intel Xeon (Cascade Lake) +* Intel Xeon (Cooper Lake) +* Intel 3rd Gen 10nm++ i3/i5/i7/i9-family (Tiger Lake) + +It also offers to compile passing the 'native' option which, "selects the CPU +to generate code for at compilation time by determining the processor type of +the compiling machine. Using -march=native enables all instruction subsets +supported by the local machine and will produce code optimized for the local +machine under the constraints of the selected instruction set."[2] + +Do NOT try using the 'native' option on AMD Piledriver, Steamroller, or +Excavator CPUs (-march=bdver{2,3,4} flag). The build will error out due the +kernel's objtool issue with these.[3a,b] + +MINOR NOTES +This patch also changes 'atom' to 'bonnell' in accordance with the gcc v4.9 +changes. Note that upstream is using the deprecated 'match=atom' flags when I +believe it should use the newer 'march=bonnell' flag for atom processors.[4] + +It is not recommended to compile on Atom-CPUs with the 'native' option.[5] The +recommendation is to use the 'atom' option instead. + +BENEFITS +Small but real speed increases are measurable using a make endpoint comparing +a generic kernel to one built with one of the respective microarchs. + +See the following experimental evidence supporting this statement: +https://github.com/graysky2/kernel_gcc_patch + +REQUIREMENTS +linux version >=5.7 +gcc version >=10.1 + +ACKNOWLEDGMENTS +This patch builds on the seminal work by Jeroen.[6] + +REFERENCES +1. https://gcc.gnu.org/gcc-4.9/changes.html +2. https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html +3a. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95671#c11 +3b. https://github.com/graysky2/kernel_gcc_patch/issues/55 +4. https://bugzilla.kernel.org/show_bug.cgi?id=77461 +5. https://github.com/graysky2/kernel_gcc_patch/issues/15 +6. http://www.linuxforge.net/docs/linux/linux-gcc.php + +--- a/arch/x86/include/asm/vermagic.h 2020-06-10 14:21:45.0 -0400 b/arch/x86/include/asm/vermagic.h 2020-06-15 10:12:15.577746073 -0400 +@@ -17,6 +17,40 @@ + #define MODULE_PROC_FAMILY "586MMX " + #elif defined CONFIG_MCORE2 + #define MODULE_PROC_FAMILY "CORE2 " ++#elif defined CONFIG_MNATIVE ++#define
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: d4662d3ac3d6470f051a0923b24deeced928878a Author: Mike Pagano gentoo org> AuthorDate: Mon Jun 29 17:31:54 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Jun 29 17:31:54 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d4662d3a Update CPU optimization patch for gcc 9.1+ Signed-off-by: Mike Pagano gentoo.org> 5012_enable-cpu-optimizations-for-gcc91.patch | 51 --- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/5012_enable-cpu-optimizations-for-gcc91.patch b/5012_enable-cpu-optimizations-for-gcc91.patch index 049ec12..2f16153 100644 --- a/5012_enable-cpu-optimizations-for-gcc91.patch +++ b/5012_enable-cpu-optimizations-for-gcc91.patch @@ -42,14 +42,18 @@ It also offers to compile passing the 'native' option which, "selects the CPU to generate code for at compilation time by determining the processor type of the compiling machine. Using -march=native enables all instruction subsets supported by the local machine and will produce code optimized for the local -machine under the constraints of the selected instruction set."[3] +machine under the constraints of the selected instruction set."[2] + +Do NOT try using the 'native' option on AMD Piledriver, Steamroller, or +Excavator CPUs (-march=bdver{2,3,4} flag). The build will error out due the +kernel's objtool issue with these.[3a,b] MINOR NOTES This patch also changes 'atom' to 'bonnell' in accordance with the gcc v4.9 changes. Note that upstream is using the deprecated 'match=atom' flags when I -believe it should use the newer 'march=bonnell' flag for atom processors.[2] +believe it should use the newer 'march=bonnell' flag for atom processors.[4] -It is not recommended to compile on Atom-CPUs with the 'native' option.[4] The +It is not recommended to compile on Atom-CPUs with the 'native' option.[5] The recommendation is to use the 'atom' option instead. BENEFITS @@ -61,21 +65,23 @@ https://github.com/graysky2/kernel_gcc_patch REQUIREMENTS linux version >=5.7 -gcc version >=9.1 +gcc version >=9.1 and <10 ACKNOWLEDGMENTS -This patch builds on the seminal work by Jeroen.[5] +This patch builds on the seminal work by Jeroen.[6] REFERENCES -1. https://gcc.gnu.org/gcc-4.9/changes.html -2. https://bugzilla.kernel.org/show_bug.cgi?id=77461 -3. https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html -4. https://github.com/graysky2/kernel_gcc_patch/issues/15 -5. http://www.linuxforge.net/docs/linux/linux-gcc.php +1. https://gcc.gnu.org/gcc-4.9/changes.html +2. https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html +3a. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95671#c11 +3b. https://github.com/graysky2/kernel_gcc_patch/issues/55 +4. https://bugzilla.kernel.org/show_bug.cgi?id=77461 +5. https://github.com/graysky2/kernel_gcc_patch/issues/15 +6. http://www.linuxforge.net/docs/linux/linux-gcc.php a/arch/x86/include/asm/vermagic.h 2019-12-15 18:16:08.0 -0500 -+++ b/arch/x86/include/asm/vermagic.h 2019-12-17 14:03:55.968871551 -0500 -@@ -27,6 +27,36 @@ struct mod_arch_specific { +--- a/arch/x86/include/asm/vermagic.h 2020-06-10 14:21:45.0 -0400 b/arch/x86/include/asm/vermagic.h 2020-06-15 10:44:10.437477053 -0400 +@@ -17,6 +17,36 @@ #define MODULE_PROC_FAMILY "586MMX " #elif defined CONFIG_MCORE2 #define MODULE_PROC_FAMILY "CORE2 " @@ -112,7 +118,7 @@ REFERENCES #elif defined CONFIG_MATOM #define MODULE_PROC_FAMILY "ATOM " #elif defined CONFIG_M686 -@@ -45,6 +75,28 @@ struct mod_arch_specific { +@@ -35,6 +65,28 @@ #define MODULE_PROC_FAMILY "K7 " #elif defined CONFIG_MK8 #define MODULE_PROC_FAMILY "K8 " @@ -141,8 +147,8 @@ REFERENCES #elif defined CONFIG_MELAN #define MODULE_PROC_FAMILY "ELAN " #elif defined CONFIG_MCRUSOE a/arch/x86/Kconfig.cpu 2019-12-15 18:16:08.0 -0500 -+++ b/arch/x86/Kconfig.cpu 2019-12-17 14:09:03.805642284 -0500 +--- a/arch/x86/Kconfig.cpu 2020-06-10 14:21:45.0 -0400 b/arch/x86/Kconfig.cpu 2020-06-15 10:44:10.437477053 -0400 @@ -123,6 +123,7 @@ config MPENTIUMM config MPENTIUM4 bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon" @@ -524,9 +530,9 @@ REFERENCES config X86_MINIMUM_CPU_FAMILY int a/arch/x86/Makefile2019-12-15 18:16:08.0 -0500 -+++ b/arch/x86/Makefile2019-12-17 14:03:55.972204960 -0500 -@@ -119,13 +119,53 @@ else +--- a/arch/x86/Makefile2020-06-10 14:21:45.0 -0400 b/arch/x86/Makefile2020-06-15 10:44:35.608035680 -0400 +@@ -119,13 +119,56 @@ else KBUILD_CFLAGS += $(call cc-option,-mskip-rax-setup) # FIXME - should be integrated in Makefile.cpu (Makefile_32.cpu) @@ -539,8 +545,11 @@ REFERENCES +cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2) +cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1) +cflags-$(CONFIG_MPILEDRIVER) += $(call
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 28de17ab0edba34c093a469ad76bb3b51af116da Author: Mike Pagano gentoo org> AuthorDate: Thu Jun 18 17:33:16 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Jun 18 17:33:16 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=28de17ab Linux patch 5.7.4 Signed-off-by: Mike Pagano gentoo.org> _README| 4 1003_linux-5.7.4.patch | 49 + 2 files changed, 53 insertions(+) diff --git a/_README b/_README index f77851e..0cde4ba 100644 --- a/_README +++ b/_README @@ -55,6 +55,10 @@ Patch: 1002_linux-5.7.3.patch From: http://www.kernel.org Desc: Linux 5.7.3 +Patch: 1003_linux-5.7.4.patch +From: http://www.kernel.org +Desc: Linux 5.7.4 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1003_linux-5.7.4.patch b/1003_linux-5.7.4.patch new file mode 100644 index 000..915786e --- /dev/null +++ b/1003_linux-5.7.4.patch @@ -0,0 +1,49 @@ +diff --git a/Makefile b/Makefile +index a2ce556f4347..64da771d4ac5 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 3 ++SUBLEVEL = 4 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c +index a2909af4b924..3bb82a6cc5aa 100644 +--- a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c +@@ -38,6 +38,13 @@ static inline bool vdso_clocksource_ok(const struct vdso_data *vd) + } + #endif + ++#ifndef vdso_cycles_ok ++static inline bool vdso_cycles_ok(u64 cycles) ++{ ++ return true; ++} ++#endif ++ + #ifdef CONFIG_TIME_NS + static int do_hres_timens(const struct vdso_data *vdns, clockid_t clk, + struct __kernel_timespec *ts) +@@ -62,6 +69,8 @@ static int do_hres_timens(const struct vdso_data *vdns, clockid_t clk, + return -1; + + cycles = __arch_get_hw_counter(vd->clock_mode); ++ if (unlikely(!vdso_cycles_ok(cycles))) ++ return -1; + ns = vdso_ts->nsec; + last = vd->cycle_last; + ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); +@@ -130,6 +139,8 @@ static __always_inline int do_hres(const struct vdso_data *vd, clockid_t clk, + return -1; + + cycles = __arch_get_hw_counter(vd->clock_mode); ++ if (unlikely(!vdso_cycles_ok(cycles))) ++ return -1; + ns = vdso_ts->nsec; + last = vd->cycle_last; + ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult);
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 43d4f67830ec3ca200452eb7207772b0cef4d981 Author: Mike Pagano gentoo org> AuthorDate: Wed Jun 10 19:41:44 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Jun 10 19:41:44 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=43d4f678 Linux patch 5.7.2 Signed-off-by: Mike Pagano gentoo.org> _README|4 + 1001_linux-5.7.2.patch | 1336 2 files changed, 1340 insertions(+) diff --git a/_README b/_README index a2b7036..f0fc6ef 100644 --- a/_README +++ b/_README @@ -47,6 +47,10 @@ Patch: 1000_linux-5.7.1.patch From: http://www.kernel.org Desc: Linux 5.7.1 +Patch: 1001_linux-5.7.2.patch +From: http://www.kernel.org +Desc: Linux 5.7.2 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1001_linux-5.7.2.patch b/1001_linux-5.7.2.patch new file mode 100644 index 000..ff7e6ad --- /dev/null +++ b/1001_linux-5.7.2.patch @@ -0,0 +1,1336 @@ +diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu +index 2e0e3b45d02a..b39531a3c5bc 100644 +--- a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu +@@ -492,6 +492,7 @@ What: /sys/devices/system/cpu/vulnerabilities + /sys/devices/system/cpu/vulnerabilities/spec_store_bypass + /sys/devices/system/cpu/vulnerabilities/l1tf + /sys/devices/system/cpu/vulnerabilities/mds ++ /sys/devices/system/cpu/vulnerabilities/srbds + /sys/devices/system/cpu/vulnerabilities/tsx_async_abort + /sys/devices/system/cpu/vulnerabilities/itlb_multihit + Date: January 2018 +diff --git a/Documentation/admin-guide/hw-vuln/index.rst b/Documentation/admin-guide/hw-vuln/index.rst +index 0795e3c2643f..ca4dbdd9016d 100644 +--- a/Documentation/admin-guide/hw-vuln/index.rst b/Documentation/admin-guide/hw-vuln/index.rst +@@ -14,3 +14,4 @@ are configurable at compile, boot or run time. +mds +tsx_async_abort +multihit.rst ++ special-register-buffer-data-sampling.rst +diff --git a/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst b/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst +new file mode 100644 +index ..47b1b3afac99 +--- /dev/null b/Documentation/admin-guide/hw-vuln/special-register-buffer-data-sampling.rst +@@ -0,0 +1,149 @@ ++.. SPDX-License-Identifier: GPL-2.0 ++ ++SRBDS - Special Register Buffer Data Sampling ++= ++ ++SRBDS is a hardware vulnerability that allows MDS :doc:`mds` techniques to ++infer values returned from special register accesses. Special register ++accesses are accesses to off core registers. According to Intel's evaluation, ++the special register reads that have a security expectation of privacy are ++RDRAND, RDSEED and SGX EGETKEY. ++ ++When RDRAND, RDSEED and EGETKEY instructions are used, the data is moved ++to the core through the special register mechanism that is susceptible ++to MDS attacks. ++ ++Affected processors ++ ++Core models (desktop, mobile, Xeon-E3) that implement RDRAND and/or RDSEED may ++be affected. ++ ++A processor is affected by SRBDS if its Family_Model and stepping is ++in the following list, with the exception of the listed processors ++exporting MDS_NO while Intel TSX is available yet not enabled. The ++latter class of processors are only affected when Intel TSX is enabled ++by software using TSX_CTRL_MSR otherwise they are not affected. ++ ++ = ++ common nameFamily_Model Stepping ++ = ++ IvyBridge 06_3AHAll ++ ++ Haswell06_3CHAll ++ Haswell_L 06_45HAll ++ Haswell_G 06_46HAll ++ ++ Broadwell_G06_47HAll ++ Broadwell 06_3DHAll ++ ++ Skylake_L 06_4EHAll ++ Skylake06_5EHAll ++ ++ Kabylake_L 06_8EH<= 0xC ++ Kabylake 06_9EH<= 0xD ++ = ++ ++Related CVEs ++ ++ ++The following CVE entry is related to this SRBDS issue: ++ ++== = = ++CVE-2020-0543 SRBDS Special Register Buffer Data Sampling ++== = = ++ ++Attack scenarios ++ ++An unprivileged user can extract values returned from RDRAND and RDSEED ++executed on another core or sibling thread using MDS techniques. ++ ++ ++Mitigation mechanism ++--- ++Intel will release microcode updates that modify the RDRAND, RDSEED, and ++EGETKEY instructions to
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: ef39c3e7bf550a0089be6fe30fafbca9a6d3f174 Author: Mike Pagano gentoo org> AuthorDate: Sun Jun 7 21:57:12 2020 + Commit: Mike Pagano gentoo org> CommitDate: Sun Jun 7 21:57:12 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=ef39c3e7 Linux patch 5.7.1 Signed-off-by: Mike Pagano gentoo.org> _README| 4 + 1000_linux-5.7.1.patch | 416 + 2 files changed, 420 insertions(+) diff --git a/_README b/_README index b0aed76..a2b7036 100644 --- a/_README +++ b/_README @@ -43,6 +43,10 @@ EXPERIMENTAL Individual Patch Descriptions: -- +Patch: 1000_linux-5.7.1.patch +From: http://www.kernel.org +Desc: Linux 5.7.1 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1000_linux-5.7.1.patch b/1000_linux-5.7.1.patch new file mode 100644 index 000..e323c49 --- /dev/null +++ b/1000_linux-5.7.1.patch @@ -0,0 +1,416 @@ +diff --git a/Makefile b/Makefile +index b668725a2a62..2dd4f37c9f10 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 7 +-SUBLEVEL = 0 ++SUBLEVEL = 1 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h +index 4d02e64af1b3..19cdeebfbde6 100644 +--- a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h +@@ -257,6 +257,7 @@ static inline int pmd_large(pmd_t pte) + } + + #ifdef CONFIG_TRANSPARENT_HUGEPAGE ++/* NOTE: when predicate huge page, consider also pmd_devmap, or use pmd_large */ + static inline int pmd_trans_huge(pmd_t pmd) + { + return (pmd_val(pmd) & (_PAGE_PSE|_PAGE_DEVMAP)) == _PAGE_PSE; +diff --git a/crypto/algapi.c b/crypto/algapi.c +index 69605e21af92..f8b4dc161c02 100644 +--- a/crypto/algapi.c b/crypto/algapi.c +@@ -716,17 +716,27 @@ EXPORT_SYMBOL_GPL(crypto_drop_spawn); + + static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn) + { +- struct crypto_alg *alg; ++ struct crypto_alg *alg = ERR_PTR(-EAGAIN); ++ struct crypto_alg *target; ++ bool shoot = false; + + down_read(_alg_sem); +- alg = spawn->alg; +- if (!spawn->dead && !crypto_mod_get(alg)) { +- alg->cra_flags |= CRYPTO_ALG_DYING; +- alg = NULL; ++ if (!spawn->dead) { ++ alg = spawn->alg; ++ if (!crypto_mod_get(alg)) { ++ target = crypto_alg_get(alg); ++ shoot = true; ++ alg = ERR_PTR(-EAGAIN); ++ } + } + up_read(_alg_sem); + +- return alg ?: ERR_PTR(-EAGAIN); ++ if (shoot) { ++ crypto_shoot_alg(target); ++ crypto_alg_put(target); ++ } ++ ++ return alg; + } + + struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, +diff --git a/crypto/api.c b/crypto/api.c +index 7d71a9b10e5f..edcf690800d4 100644 +--- a/crypto/api.c b/crypto/api.c +@@ -333,12 +333,13 @@ static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) + return len; + } + +-static void crypto_shoot_alg(struct crypto_alg *alg) ++void crypto_shoot_alg(struct crypto_alg *alg) + { + down_write(_alg_sem); + alg->cra_flags |= CRYPTO_ALG_DYING; + up_write(_alg_sem); + } ++EXPORT_SYMBOL_GPL(crypto_shoot_alg); + + struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, + u32 mask) +diff --git a/crypto/internal.h b/crypto/internal.h +index d5ebc60c5143..ff06a3bd1ca1 100644 +--- a/crypto/internal.h b/crypto/internal.h +@@ -65,6 +65,7 @@ void crypto_alg_tested(const char *name, int err); + void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, + struct crypto_alg *nalg); + void crypto_remove_final(struct list_head *list); ++void crypto_shoot_alg(struct crypto_alg *alg); + struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, + u32 mask); + void *crypto_create_tfm(struct crypto_alg *alg, +diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c +index 03c720b47306..39e4da7468e1 100644 +--- a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c +@@ -69,6 +69,7 @@ MODULE_LICENSE("GPL"); + #define MT_QUIRK_ASUS_CUSTOM_UP BIT(17) + #define MT_QUIRK_WIN8_PTP_BUTTONS BIT(18) + #define MT_QUIRK_SEPARATE_APP_REPORT BIT(19) ++#define MT_QUIRK_FORCE_MULTI_INPUTBIT(20) + + #define MT_INPUTMODE_TOUCHSCREEN 0x02 + #define MT_INPUTMODE_TOUCHPAD 0x03 +@@ -189,6 +190,7 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app); + #define MT_CLS_WIN_8
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: ec9ddda7922e72d5f53c5b45262d3b24f67d1b18 Author: Mike Pagano gentoo org> AuthorDate: Tue May 26 17:58:36 2020 + Commit: Mike Pagano gentoo org> CommitDate: Tue May 26 17:58:36 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=ec9ddda7 Added two fixes to genpatches VIDEO_TVP5150 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #721096. Thanks to Max Steel sign-file: full functionality with modern LibreSSL Signed-off-by: Mike Pagano gentoo.org> _README | 8 ...TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch | 10 ++ 2920_sign-file-patch-for-libressl.patch | 16 3 files changed, 34 insertions(+) diff --git a/_README b/_README index 639ad9e..b0aed76 100644 --- a/_README +++ b/_README @@ -63,6 +63,14 @@ Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch From: https://bugs.gentoo.org/710790 Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino +Patch: 2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch +From: https://bugs.gentoo.org/721096 +Desc: VIDEO_TVP5150 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #721096. Thanks to Max Steel + +Patch: 2920_sign-file-patch-for-libressl.patch +From: https://bugs.gentoo.org/717166 +Desc: sign-file: full functionality with modern LibreSSL + Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman Desc: Add Gentoo Linux support config settings and defaults. diff --git a/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch b/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch new file mode 100644 index 000..1bc058e --- /dev/null +++ b/2910_TVP5150-Fix-build-issue-by-selecting-REGMAP-I2C.patch @@ -0,0 +1,10 @@ +--- a/drivers/media/i2c/Kconfig2020-05-13 12:38:05.102903309 -0400 b/drivers/media/i2c/Kconfig2020-05-13 12:38:51.283171977 -0400 +@@ -378,6 +378,7 @@ config VIDEO_TVP514X + config VIDEO_TVP5150 + tristate "Texas Instruments TVP5150 video decoder" + depends on VIDEO_V4L2 && I2C ++ select REGMAP_I2C + select V4L2_FWNODE + help + Support for the Texas Instruments TVP5150 video decoder. diff --git a/2920_sign-file-patch-for-libressl.patch b/2920_sign-file-patch-for-libressl.patch new file mode 100644 index 000..e6ec017 --- /dev/null +++ b/2920_sign-file-patch-for-libressl.patch @@ -0,0 +1,16 @@ +--- a/scripts/sign-file.c 2020-05-20 18:47:21.282820662 -0400 b/scripts/sign-file.c 2020-05-20 18:48:37.991081899 -0400 +@@ -41,9 +41,10 @@ + * signing with anything other than SHA1 - so we're stuck with that if such is + * the case. + */ +-#if defined(LIBRESSL_VERSION_NUMBER) || \ +- OPENSSL_VERSION_NUMBER < 0x1000L || \ +- defined(OPENSSL_NO_CMS) ++#if defined(OPENSSL_NO_CMS) || \ ++ ( defined(LIBRESSL_VERSION_NUMBER) \ ++ && (LIBRESSL_VERSION_NUMBER < 0x301fL) ) || \ ++ OPENSSL_VERSION_NUMBER < 0x1000L + #define USE_PKCS7 + #endif + #ifndef USE_PKCS7
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 833474bac40c498315a937c946ae6fdfe4f7e99d Author: Mike Pagano gentoo org> AuthorDate: Wed May 13 11:55:40 2020 + Commit: Mike Pagano gentoo org> CommitDate: Tue May 26 17:48:57 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=833474ba Add UTS_NS to GENTOO_LINUX_PORTAGE as required by portage since 2.3.99 Bug: https://bugs.gentoo.org/722772 Signed-off-by: Mike Pagano gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index 581cb20..cb2eaa6 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -6,9 +6,9 @@ source "Documentation/Kconfig" + +source "distro/Kconfig" /dev/null 2020-04-15 02:49:37.900191585 -0400 -+++ b/distro/Kconfig 2020-04-15 11:07:10.952929540 -0400 -@@ -0,0 +1,156 @@ +--- /dev/null 2020-05-13 03:13:57.920193259 -0400 b/distro/Kconfig 2020-05-13 07:51:36.841663359 -0400 +@@ -0,0 +1,157 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -65,6 +65,7 @@ + select NET_NS + select PID_NS + select SYSVIPC ++ select UTS_NS + + help + This enables options required by various Portage FEATURES.
[gentoo-commits] proj/linux-patches:5.7 commit in: /
commit: 6664485fa485389a7dc56f27dc52dff43bfb6bbd Author: Mike Pagano gentoo org> AuthorDate: Mon May 4 20:58:59 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon May 4 20:58:59 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=6664485f Adding genpatches. Detail in full log Support for namespace user.pax.* on tmpfs. Enable link security restrictions by default. Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758.This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902.Add Gentoo Linux support config settings and defaults. Kernel patch enables gcc >= v9.1 optimizations for additional CPUs. Patch to tmp513 to require REGMAP_I2C for building. Add support for ZSTD-compressed kernel and initramfs (use=experimental) Signed-off-by: Mike Pagano gentoo.org> _README| 56 ++ 1500_XATTR_USER_PREFIX.patch | 67 +++ ...ble-link-security-restrictions-by-default.patch | 20 + ...zes-only-if-Secure-Simple-Pairing-enabled.patch | 37 ++ 2600_enable-key-swapping-for-apple-mac.patch | 114 ...3-Fix-build-issue-by-selecting-CONFIG_REG.patch | 30 + ..._ZSTD-v5-1-8-prepare-zstd-for-preboot-env.patch | 82 +++ ...STD-v5-2-8-prepare-xxhash-for-preboot-env.patch | 94 +++ ...STD-v5-3-8-add-zstd-support-to-decompress.patch | 422 ++ ...-v5-4-8-add-support-for-zstd-compres-kern.patch | 65 +++ ...add-support-for-zstd-compressed-initramfs.patch | 50 ++ ..._ZSTD-v5-6-8-bump-ZO-z-extra-bytes-margin.patch | 20 + ...v5-7-8-support-for-ZSTD-compressed-kernel.patch | 92 +++ ...5-8-8-gitignore-add-ZSTD-compressed-files.patch | 12 + 5012_enable-cpu-optimizations-for-gcc91.patch | 632 + 15 files changed, 1793 insertions(+) diff --git a/_README b/_README index 9018993..639ad9e 100644 --- a/_README +++ b/_README @@ -43,6 +43,62 @@ EXPERIMENTAL Individual Patch Descriptions: -- +Patch: 1500_XATTR_USER_PREFIX.patch +From: https://bugs.gentoo.org/show_bug.cgi?id=470644 +Desc: Support for namespace user.pax.* on tmpfs. + +Patch: 1510_fs-enable-link-security-restrictions-by-default.patch +From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/ +Desc: Enable link security restrictions by default. + +Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch +From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-mar...@holtmann.org/raw +Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 + +Patch: 2600_enable-key-swapping-for-apple-mac.patch +From: https://github.com/free5lot/hid-apple-patched +Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 + +Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch +From: https://bugs.gentoo.org/710790 +Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino + Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman Desc: Add Gentoo Linux support config settings and defaults. + +Patch: 5000_ZSTD-v5-1-8-prepare-zstd-for-preboot-env.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: lib: prepare zstd for preboot environment + +Patch: 5001_ZSTD-v5-2-8-prepare-xxhash-for-preboot-env.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: lib: prepare xxhash for preboot environment + +Patch: 5002_ZSTD-v5-3-8-add-zstd-support-to-decompress.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: lib: add zstd support to decompress + +Patch: 5003_ZSTD-v5-4-8-add-support-for-zstd-compres-kern.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: init: add support for zstd compressed kernel + +Patch: 5004_ZSTD-v5-5-8-add-support-for-zstd-compressed-initramfs.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: usr: add support for zstd compressed initramfs + +Patch: 5005_ZSTD-v5-6-8-bump-ZO-z-extra-bytes-margin.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: x86: bump ZO_z_extra_bytes margin for zstd + +Patch: 5006_ZSTD-v5-7-8-support-for-ZSTD-compressed-kernel.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: x86: Add support for ZSTD compressed kernel + +Patch: 5007_ZSTD-v5-8-8-gitignore-add-ZSTD-compressed-files.patch +From: https://lkml.org/lkml/2020/4/1/29 +Desc: .gitignore: add ZSTD-compressed files + +Patch: 5012_enable-cpu-optimizations-for-gcc91.patch +From: https://github.com/graysky2/kernel_gcc_patch/ +Desc: Kernel patch enables gcc >= v9.1 optimizations for additional CPUs. diff --git a/1500_XATTR_USER_PREFIX.patch