[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 2e94a538736e0df7e53bd421bf26abe9f50aef6a Author: Mike Pagano gentoo org> AuthorDate: Sat Oct 17 10:19:31 2020 + Commit: Mike Pagano gentoo org> CommitDate: Sat Oct 17 10:19:31 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=2e94a538 Linux patch 5.8.16 Signed-off-by: Mike Pagano gentoo.org> _README | 4 + 1015_linux-5.8.16.patch | 534 2 files changed, 538 insertions(+) diff --git a/_README b/_README index 3400494..e29fc26 100644 --- a/_README +++ b/_README @@ -103,6 +103,10 @@ Patch: 1014_linux-5.8.15.patch From: http://www.kernel.org Desc: Linux 5.8.15 +Patch: 1015_linux-5.8.16.patch +From: http://www.kernel.org +Desc: Linux 5.8.16 + 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/1015_linux-5.8.16.patch b/1015_linux-5.8.16.patch new file mode 100644 index 000..38ab50b --- /dev/null +++ b/1015_linux-5.8.16.patch @@ -0,0 +1,534 @@ +diff --git a/Makefile b/Makefile +index 6c787cd1cb514..a4622ef65436e 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 15 ++SUBLEVEL = 16 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/crypto/bcm/cipher.c b/drivers/crypto/bcm/cipher.c +index a353217a0d33e..530c7d9437dd6 100644 +--- a/drivers/crypto/bcm/cipher.c b/drivers/crypto/bcm/cipher.c +@@ -2930,7 +2930,6 @@ static int aead_gcm_ccm_setkey(struct crypto_aead *cipher, + + ctx->enckeylen = keylen; + ctx->authkeylen = 0; +- memcpy(ctx->enckey, key, ctx->enckeylen); + + switch (ctx->enckeylen) { + case AES_KEYSIZE_128: +@@ -2946,6 +2945,8 @@ static int aead_gcm_ccm_setkey(struct crypto_aead *cipher, + goto badkey; + } + ++ memcpy(ctx->enckey, key, ctx->enckeylen); ++ + flow_log(" enckeylen:%u authkeylen:%u\n", ctx->enckeylen, +ctx->authkeylen); + flow_dump(" enc: ", ctx->enckey, ctx->enckeylen); +@@ -3000,6 +3001,10 @@ static int aead_gcm_esp_setkey(struct crypto_aead *cipher, + struct iproc_ctx_s *ctx = crypto_aead_ctx(cipher); + + flow_log("%s\n", __func__); ++ ++ if (keylen < GCM_ESP_SALT_SIZE) ++ return -EINVAL; ++ + ctx->salt_len = GCM_ESP_SALT_SIZE; + ctx->salt_offset = GCM_ESP_SALT_OFFSET; + memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); +@@ -3028,6 +3033,10 @@ static int rfc4543_gcm_esp_setkey(struct crypto_aead *cipher, + struct iproc_ctx_s *ctx = crypto_aead_ctx(cipher); + + flow_log("%s\n", __func__); ++ ++ if (keylen < GCM_ESP_SALT_SIZE) ++ return -EINVAL; ++ + ctx->salt_len = GCM_ESP_SALT_SIZE; + ctx->salt_offset = GCM_ESP_SALT_OFFSET; + memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); +@@ -3057,6 +3066,10 @@ static int aead_ccm_esp_setkey(struct crypto_aead *cipher, + struct iproc_ctx_s *ctx = crypto_aead_ctx(cipher); + + flow_log("%s\n", __func__); ++ ++ if (keylen < CCM_ESP_SALT_SIZE) ++ return -EINVAL; ++ + ctx->salt_len = CCM_ESP_SALT_SIZE; + ctx->salt_offset = CCM_ESP_SALT_OFFSET; + memcpy(ctx->salt, key + keylen - CCM_ESP_SALT_SIZE, CCM_ESP_SALT_SIZE); +diff --git a/drivers/crypto/qat/qat_common/qat_algs.c b/drivers/crypto/qat/qat_common/qat_algs.c +index 1b050391c0c90..02dadcb8852fe 100644 +--- a/drivers/crypto/qat/qat_common/qat_algs.c b/drivers/crypto/qat/qat_common/qat_algs.c +@@ -871,6 +871,11 @@ static int qat_alg_aead_dec(struct aead_request *areq) + struct icp_qat_fw_la_bulk_req *msg; + int digst_size = crypto_aead_authsize(aead_tfm); + int ret, ctr = 0; ++ u32 cipher_len; ++ ++ cipher_len = areq->cryptlen - digst_size; ++ if (cipher_len % AES_BLOCK_SIZE != 0) ++ return -EINVAL; + + ret = qat_alg_sgl_to_bufl(ctx->inst, areq->src, areq->dst, qat_req); + if (unlikely(ret)) +@@ -885,7 +890,7 @@ static int qat_alg_aead_dec(struct aead_request *areq) + qat_req->req.comn_mid.src_data_addr = qat_req->buf.blp; + qat_req->req.comn_mid.dest_data_addr = qat_req->buf.bloutp; + cipher_param = (void *)&qat_req->req.serv_specif_rqpars; +- cipher_param->cipher_length = areq->cryptlen - digst_size; ++ cipher_param->cipher_length = cipher_len; + cipher_param->cipher_offset = areq->assoclen; + memcpy(cipher_param->u.cipher_IV_array, areq->iv, AES_BLOCK_SIZE); + auth_param = (void *)((uint8_t *)cipher_param + sizeof(*cipher_param)); +@@ -914,6 +919,9 @@ static int qat_alg_aead_enc(struct aead_request *areq) + uint8_t *iv = areq->iv; + int ret, ctr = 0; + ++ if (areq->cryptlen % AES_BLOCK_SIZE != 0) ++ return
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 0183b5b10995269f4f30116a291631085336b482 Author: Mike Pagano gentoo org> AuthorDate: Wed Oct 7 12:47:24 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Oct 7 12:47:24 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=0183b5b1 Linux patch 5.8.14 Signed-off-by: Mike Pagano gentoo.org> _README |4 + 1013_linux-5.8.14.patch | 3103 +++ 2 files changed, 3107 insertions(+) diff --git a/_README b/_README index 0944db1..6e16f1d 100644 --- a/_README +++ b/_README @@ -95,6 +95,10 @@ Patch: 1012_linux-5.8.13.patch From: http://www.kernel.org Desc: Linux 5.8.13 +Patch: 1013_linux-5.8.14.patch +From: http://www.kernel.org +Desc: Linux 5.8.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.8.14.patch b/1013_linux-5.8.14.patch new file mode 100644 index 000..fe7cc03 --- /dev/null +++ b/1013_linux-5.8.14.patch @@ -0,0 +1,3103 @@ +diff --git a/Documentation/devicetree/bindings/gpio/sgpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/sgpio-aspeed.txt +index d4d83916c09dd..be329ea4794f8 100644 +--- a/Documentation/devicetree/bindings/gpio/sgpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/sgpio-aspeed.txt +@@ -20,8 +20,9 @@ Required properties: + - gpio-controller : Marks the device node as a GPIO controller + - interrupts : Interrupt specifier, see interrupt-controller/interrupts.txt + - interrupt-controller : Mark the GPIO controller as an interrupt-controller +-- ngpios : number of GPIO lines, see gpio.txt +- (should be multiple of 8, up to 80 pins) ++- ngpios : number of *hardware* GPIO lines, see gpio.txt. This will expose ++ 2 software GPIOs per hardware GPIO: one for hardware input, one for hardware ++ output. Up to 80 pins, must be a multiple of 8. + - clocks : A phandle to the APB clock for SGPM clock division + - bus-frequency : SGPM CLK frequency + +diff --git a/Makefile b/Makefile +index 0d81d8cba48b6..33ceda527e5ef 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 13 ++SUBLEVEL = 14 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/block/blk-mq.c b/block/blk-mq.c +index a366726094a89..8e623e0282757 100644 +--- a/block/blk-mq.c b/block/blk-mq.c +@@ -1304,6 +1304,11 @@ bool blk_mq_dispatch_rq_list(struct request_queue *q, struct list_head *list, + + hctx->dispatched[queued_to_index(queued)]++; + ++ /* If we didn't flush the entire list, we could have told the driver ++ * there was more coming, but that turned out to be a lie. ++ */ ++ if ((!list_empty(list) || errors) && q->mq_ops->commit_rqs && queued) ++ q->mq_ops->commit_rqs(hctx); + /* +* Any items that need requeuing? Stuff them into hctx->dispatch, +* that is where we will continue on next queue run. +@@ -1311,14 +1316,6 @@ bool blk_mq_dispatch_rq_list(struct request_queue *q, struct list_head *list, + if (!list_empty(list)) { + bool needs_restart; + +- /* +- * If we didn't flush the entire list, we could have told +- * the driver there was more coming, but that turned out to +- * be a lie. +- */ +- if (q->mq_ops->commit_rqs && queued) +- q->mq_ops->commit_rqs(hctx); +- + spin_lock(&hctx->lock); + list_splice_tail_init(list, &hctx->dispatch); + spin_unlock(&hctx->lock); +@@ -1971,6 +1968,7 @@ void blk_mq_try_issue_list_directly(struct blk_mq_hw_ctx *hctx, + struct list_head *list) + { + int queued = 0; ++ int errors = 0; + + while (!list_empty(list)) { + blk_status_t ret; +@@ -1987,6 +1985,7 @@ void blk_mq_try_issue_list_directly(struct blk_mq_hw_ctx *hctx, + break; + } + blk_mq_end_request(rq, ret); ++ errors++; + } else + queued++; + } +@@ -1996,7 +1995,8 @@ void blk_mq_try_issue_list_directly(struct blk_mq_hw_ctx *hctx, +* the driver there was more coming, but that turned out to +* be a lie. +*/ +- if (!list_empty(list) && hctx->queue->mq_ops->commit_rqs && queued) ++ if ((!list_empty(list) || errors) && ++ hctx->queue->mq_ops->commit_rqs && queued) + hctx->queue->mq_ops->commit_rqs(hctx); + } + +diff --git a/block/blk-settings.c b/block/blk-settings.c +index 9a2c23cd97007..525bdb699deb8 100644 +--- a/block/blk-settings.c b/block/blk-settings.c +@@ -832,6 +832,52 @@ bool blk_queue_can_use_dma_map_merging(struct request_queue *q, + } + EXPORT_SYMBOL_GPL(blk_qu
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 763eb4b84c25bff950fbac603a2248bb551b4f23 Author: Mike Pagano gentoo org> AuthorDate: Thu Oct 1 19:00:19 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Oct 1 19:00:19 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=763eb4b8 Linux patch 5.8.13 Signed-off-by: Mike Pagano gentoo.org> _README |4 + 1012_linux-5.8.13.patch | 3615 +++ 2 files changed, 3619 insertions(+) diff --git a/_README b/_README index 51cee27..0944db1 100644 --- a/_README +++ b/_README @@ -91,6 +91,10 @@ Patch: 1011_linux-5.8.12.patch From: http://www.kernel.org Desc: Linux 5.8.12 +Patch: 1012_linux-5.8.13.patch +From: http://www.kernel.org +Desc: Linux 5.8.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.8.13.patch b/1012_linux-5.8.13.patch new file mode 100644 index 000..10424ba --- /dev/null +++ b/1012_linux-5.8.13.patch @@ -0,0 +1,3615 @@ +diff --git a/Makefile b/Makefile +index d0d40c628dc34..0d81d8cba48b6 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 12 ++SUBLEVEL = 13 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/arm64/include/asm/kvm_emulate.h b/arch/arm64/include/asm/kvm_emulate.h +index 4d0f8ea600ba4..e1254e55835bb 100644 +--- a/arch/arm64/include/asm/kvm_emulate.h b/arch/arm64/include/asm/kvm_emulate.h +@@ -319,7 +319,7 @@ static __always_inline int kvm_vcpu_dabt_get_rd(const struct kvm_vcpu *vcpu) + return (kvm_vcpu_get_hsr(vcpu) & ESR_ELx_SRT_MASK) >> ESR_ELx_SRT_SHIFT; + } + +-static __always_inline bool kvm_vcpu_dabt_iss1tw(const struct kvm_vcpu *vcpu) ++static __always_inline bool kvm_vcpu_abt_iss1tw(const struct kvm_vcpu *vcpu) + { + return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_S1PTW); + } +@@ -327,7 +327,7 @@ static __always_inline bool kvm_vcpu_dabt_iss1tw(const struct kvm_vcpu *vcpu) + static __always_inline bool kvm_vcpu_dabt_iswrite(const struct kvm_vcpu *vcpu) + { + return !!(kvm_vcpu_get_hsr(vcpu) & ESR_ELx_WNR) || +- kvm_vcpu_dabt_iss1tw(vcpu); /* AF/DBM update */ ++ kvm_vcpu_abt_iss1tw(vcpu); /* AF/DBM update */ + } + + static inline bool kvm_vcpu_dabt_is_cm(const struct kvm_vcpu *vcpu) +@@ -356,6 +356,11 @@ static inline bool kvm_vcpu_trap_is_iabt(const struct kvm_vcpu *vcpu) + return kvm_vcpu_trap_get_class(vcpu) == ESR_ELx_EC_IABT_LOW; + } + ++static inline bool kvm_vcpu_trap_is_exec_fault(const struct kvm_vcpu *vcpu) ++{ ++ return kvm_vcpu_trap_is_iabt(vcpu) && !kvm_vcpu_abt_iss1tw(vcpu); ++} ++ + static __always_inline u8 kvm_vcpu_trap_get_fault(const struct kvm_vcpu *vcpu) + { + return kvm_vcpu_get_hsr(vcpu) & ESR_ELx_FSC; +@@ -393,6 +398,9 @@ static __always_inline int kvm_vcpu_sys_get_rt(struct kvm_vcpu *vcpu) + + static inline bool kvm_is_write_fault(struct kvm_vcpu *vcpu) + { ++ if (kvm_vcpu_abt_iss1tw(vcpu)) ++ return true; ++ + if (kvm_vcpu_trap_is_iabt(vcpu)) + return false; + +diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c +index ba225e09aaf15..8564742948d31 100644 +--- a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c +@@ -599,7 +599,7 @@ static bool __hyp_text fixup_guest_exit(struct kvm_vcpu *vcpu, u64 *exit_code) + kvm_vcpu_trap_get_fault_type(vcpu) == FSC_FAULT && + kvm_vcpu_dabt_isvalid(vcpu) && + !kvm_vcpu_dabt_isextabt(vcpu) && +- !kvm_vcpu_dabt_iss1tw(vcpu); ++ !kvm_vcpu_abt_iss1tw(vcpu); + + if (valid) { + int ret = __vgic_v2_perform_cpuif_access(vcpu); +diff --git a/arch/arm64/kvm/mmio.c b/arch/arm64/kvm/mmio.c +index 4e0366759726d..07e9b6eab59e4 100644 +--- a/arch/arm64/kvm/mmio.c b/arch/arm64/kvm/mmio.c +@@ -146,7 +146,7 @@ int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run, + } + + /* Page table accesses IO mem: tell guest to fix its TTBR */ +- if (kvm_vcpu_dabt_iss1tw(vcpu)) { ++ if (kvm_vcpu_abt_iss1tw(vcpu)) { + kvm_inject_dabt(vcpu, kvm_vcpu_get_hfar(vcpu)); + return 1; + } +diff --git a/arch/arm64/kvm/mmu.c b/arch/arm64/kvm/mmu.c +index d906350d543dd..1677107b74de2 100644 +--- a/arch/arm64/kvm/mmu.c b/arch/arm64/kvm/mmu.c +@@ -1845,7 +1845,7 @@ static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, + unsigned long vma_pagesize, flags = 0; + + write_fault = kvm_is_write_fault(vcpu); +- exec_fault = kvm_vcpu_trap_is_iabt(vcpu); ++ exec_fault = kvm_vcpu_trap_is_exec_fault(vcpu); + VM_BUG_ON(write_fault && exec_fault); + + if (fault_status == FSC_PERM &&
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 63e318c66258ba6be277fb558bc364ef2f2c126f Author: Mike Pagano gentoo org> AuthorDate: Sat Sep 26 21:50:07 2020 + Commit: Mike Pagano gentoo org> CommitDate: Sat Sep 26 21:50:07 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=63e318c6 Linux patch 5.8.12 Signed-off-by: Mike Pagano gentoo.org> _README |4 + 1011_linux-5.8.12.patch | 2440 +++ 2 files changed, 2444 insertions(+) diff --git a/_README b/_README index d438f0f..51cee27 100644 --- a/_README +++ b/_README @@ -87,6 +87,10 @@ Patch: 1010_linux-5.8.11.patch From: http://www.kernel.org Desc: Linux 5.8.11 +Patch: 1011_linux-5.8.12.patch +From: http://www.kernel.org +Desc: Linux 5.8.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.8.12.patch b/1011_linux-5.8.12.patch new file mode 100644 index 000..ac579a3 --- /dev/null +++ b/1011_linux-5.8.12.patch @@ -0,0 +1,2440 @@ +diff --git a/Makefile b/Makefile +index 0b025b3a56401..d0d40c628dc34 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 11 ++SUBLEVEL = 12 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c +index 7c17b0f705ec3..87db588bcdd6b 100644 +--- a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c +@@ -1269,7 +1269,7 @@ static int ksz8795_switch_init(struct ksz_device *dev) + } + + /* set the real number of ports */ +- dev->ds->num_ports = dev->port_cnt; ++ dev->ds->num_ports = dev->port_cnt + 1; + + return 0; + } +diff --git a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366.c +index 1368816abaed1..99cdb2f18fa2f 100644 +--- a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366.c +@@ -452,13 +452,19 @@ int rtl8366_vlan_del(struct dsa_switch *ds, int port, + return ret; + + if (vid == vlanmc.vid) { +- /* clear VLAN member configurations */ +- vlanmc.vid = 0; +- vlanmc.priority = 0; +- vlanmc.member = 0; +- vlanmc.untag = 0; +- vlanmc.fid = 0; +- ++ /* Remove this port from the VLAN */ ++ vlanmc.member &= ~BIT(port); ++ vlanmc.untag &= ~BIT(port); ++ /* ++ * If no ports are members of this VLAN ++ * anymore then clear the whole member ++ * config so it can be reused. ++ */ ++ if (!vlanmc.member && vlanmc.untag) { ++ vlanmc.vid = 0; ++ vlanmc.priority = 0; ++ vlanmc.fid = 0; ++ } + ret = smi->ops->set_vlan_mc(smi, i, &vlanmc); + if (ret) { + dev_err(smi->dev, +diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c +index cd5c7a1412c6d..dd07db656a5c3 100644 +--- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c +@@ -4198,7 +4198,7 @@ static int bnxt_hwrm_do_send_msg(struct bnxt *bp, void *msg, u32 msg_len, + u32 bar_offset = BNXT_GRCPF_REG_CHIMP_COMM; + u16 dst = BNXT_HWRM_CHNL_CHIMP; + +- if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state)) ++ if (BNXT_NO_FW_ACCESS(bp)) + return -EBUSY; + + if (msg_len > BNXT_HWRM_MAX_REQ_LEN) { +@@ -5530,7 +5530,7 @@ static int hwrm_ring_free_send_msg(struct bnxt *bp, + struct hwrm_ring_free_output *resp = bp->hwrm_cmd_resp_addr; + u16 error_code; + +- if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state)) ++ if (BNXT_NO_FW_ACCESS(bp)) + return 0; + + bnxt_hwrm_cmd_hdr_init(bp, &req, HWRM_RING_FREE, cmpl_ring_id, -1); +@@ -7502,7 +7502,7 @@ static int bnxt_set_tpa(struct bnxt *bp, bool set_tpa) + + if (set_tpa) + tpa_flags = bp->flags & BNXT_FLAG_TPA; +- else if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state)) ++ else if (BNXT_NO_FW_ACCESS(bp)) + return 0; + for (i = 0; i < bp->nr_vnics; i++) { + rc = bnxt_hwrm_vnic_set_tpa(bp, i, tpa_flags); +@@ -8993,18 +8993,16 @@ static ssize_t bnxt_show_temp(struct device *dev, + struct hwrm_temp_monitor_query_output *resp; + struct bnxt *bp =
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: d5d07e58d36bfeb1e16443daa4a523de73c22f5d Author: Mike Pagano gentoo org> AuthorDate: Thu Sep 24 15:17:35 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Sep 24 15:36:53 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d5d07e58 Fix formatting Signed-off-by: Mike Pagano gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index ebcd606..3e09969 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -145,7 +145,7 @@ + select TIMERFD + select TMPFS_POSIX_ACL + select TMPFS_XATTR -+ select USER_NS ++ select USER_NS + + select ANON_INODES + select BLOCK
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: ab859e1b8a49672ca2e6df740fa2dcf90db9f44c Author: Mike Pagano gentoo org> AuthorDate: Thu Sep 24 15:34:05 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Sep 24 15:36:53 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=ab859e1b Add missing endmenu Signed-off-by: Mike Pagano gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index 3e09969..e754a3e 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -7,8 +7,8 @@ + +source "distro/Kconfig" --- /dev/null 2020-09-24 03:06:47.59000 -0400 -+++ b/distro/Kconfig 2020-09-24 11:09:36.442549224 -0400 -@@ -0,0 +1,157 @@ b/distro/Kconfig 2020-09-24 11:31:29.403150624 -0400 +@@ -0,0 +1,158 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -166,3 +166,4 @@ + +endmenu + ++endmenu
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: f10a4ecaf95815d30fb7ec85a5f5c720698fe4de Author: Mike Pagano gentoo org> AuthorDate: Thu Sep 24 15:12:00 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Sep 24 15:36:53 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=f10a4eca Add CONFIG_USER_NS to GENTOO_LINUX_INIT_SYSTEMD Required for PrivateUsers= in service units Signed-off-by: Mike Pagano gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index cb2eaa6..ebcd606 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -6,8 +6,8 @@ source "Documentation/Kconfig" + +source "distro/Kconfig" /dev/null 2020-05-13 03:13:57.920193259 -0400 -+++ b/distro/Kconfig 2020-05-13 07:51:36.841663359 -0400 +--- /dev/null 2020-09-24 03:06:47.59000 -0400 b/distro/Kconfig 2020-09-24 11:09:36.442549224 -0400 @@ -0,0 +1,157 @@ +menu "Gentoo Linux" + @@ -145,6 +145,7 @@ + select TIMERFD + select TMPFS_POSIX_ACL + select TMPFS_XATTR ++ select USER_NS + + select ANON_INODES + select BLOCK @@ -165,4 +166,3 @@ + +endmenu + -+endmenu
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: b7b7344597998be6b6b69f5d9fd42a0b1f1dbf01 Author: Mike Pagano gentoo org> AuthorDate: Wed Sep 23 13:05:42 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Sep 23 13:05:42 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=b7b73445 Remove incompatible ZSTD patches. Will carry for 5.9 if necessary Signed-off-by: Mike Pagano gentoo.org> _README| 32 -- ...ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch | 65 ...TD-v10-2-8-prepare-xxhash-for-preboot-env.patch | 425 - ...TD-v10-3-8-add-zstd-support-to-decompress.patch | 93 - ...v10-4-8-add-support-for-zstd-compres-kern.patch | 50 --- ...add-support-for-zstd-compressed-initramfs.patch | 20 - ...ZSTD-v10-6-8-bump-ZO-z-extra-bytes-margin.patch | 123 -- ...10-7-8-support-for-ZSTD-compressed-kernel.patch | 12 - ...0-8-8-gitignore-add-ZSTD-compressed-files.patch | 12 - 9 files changed, 832 deletions(-) diff --git a/_README b/_README index e5b0bab..d438f0f 100644 --- a/_README +++ b/_README @@ -111,38 +111,6 @@ Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman Desc: Add Gentoo Linux support config settings and defaults. -Patch: 5000_ZSTD-v10-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-v10-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-v10-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-v10-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-v10-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-v10-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-v10-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-v10-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 >= gcc < v10 optimizations for additional CPUs. diff --git a/5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch b/5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch deleted file mode 100644 index c13b091..000 --- a/5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff --git a/lib/zstd/fse_decompress.c b/lib/zstd/fse_decompress.c -index a84300e5a013..0b353530fb3f 100644 a/lib/zstd/fse_decompress.c -+++ b/lib/zstd/fse_decompress.c -@@ -47,6 +47,7 @@ - / - #include "bitstream.h" - #include "fse.h" -+#include "zstd_internal.h" - #include - #include - #include /* memcpy, memset */ -@@ -60,14 +61,6 @@ - enum { FSE_static_assert = 1 / (int)(!!(c)) }; \ - } /* use only *after* variable declarations */ - --/* check and forward error code */ --#define CHECK_F(f) \ -- { \ -- size_t const e = f; \ -- if (FSE_isError(e)) \ -- return e; \ -- } -- - /* ** - * Templates - / -diff --git a/lib/zstd/zstd_internal.h b/lib/zstd/zstd_internal.h -index 1a79fab9e13a..dac753397f86 100644 a/lib/zstd/zstd_internal.h -+++ b/lib/zstd/zstd_internal.h -@@ -127,7 +127,14 @@ static const U32 OF_defaultNormLog = OF_DEFAULTNORMLOG; - * Shared functions to include for inlining - */ - ZSTD_STATIC void ZSTD_copy8(void *dst, const void *src) { -- memcpy(dst, src, 8); -+ /* -+ * zstd relies heavily on gcc being able to analyze and inline this -+ * memcpy() call, since it is called in a tight loop. Preboot mode -+ * is compiled in freestanding mode, which stops gcc from analyzing -+ * memcpy(). Use __builtin_memcpy() to tell gcc to analyze this as a -+ * regular memcpy(). -+ */ -+ __builtin_memcpy(dst, src, 8); - } - /*! ZSTD_wildcopy() : - * custom version of memcpy(), can copy up to 7 bytes too many (8 bytes if length==0) */ -@@ -137,13 +144,16 @@ ZSTD_STATIC void ZSTD_wildcopy(void *dst, const void *s
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: d90887db45c919719e541d2b025a26f8f23958c3 Author: Mike Pagano gentoo org> AuthorDate: Wed Sep 23 12:14:03 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Sep 23 12:14:03 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d90887db Linux patch 5.8.11 Signed-off-by: Mike Pagano gentoo.org> _README |4 + 1010_linux-5.8.11.patch | 3917 +++ 2 files changed, 3921 insertions(+) diff --git a/_README b/_README index f2e8a67..e5b0bab 100644 --- a/_README +++ b/_README @@ -83,6 +83,10 @@ Patch: 1009_linux-5.8.10.patch From: http://www.kernel.org Desc: Linux 5.8.10 +Patch: 1010_linux-5.8.11.patch +From: http://www.kernel.org +Desc: Linux 5.8.11 + 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/1010_linux-5.8.11.patch b/1010_linux-5.8.11.patch new file mode 100644 index 000..2bc9a4f --- /dev/null +++ b/1010_linux-5.8.11.patch @@ -0,0 +1,3917 @@ +diff --git a/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml b/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml +index 64b2c64ca8065..a1e2be737eec9 100644 +--- a/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml b/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml +@@ -9,6 +9,14 @@ title: PCIe RC controller on Intel Gateway SoCs + maintainers: + - Dilip Kota + ++select: ++ properties: ++compatible: ++ contains: ++const: intel,lgm-pcie ++ required: ++- compatible ++ + properties: + compatible: + items: +diff --git a/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt b/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt +index f5e518d099f2c..62d4ed2d7fd79 100644 +--- a/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt b/Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt +@@ -23,8 +23,8 @@ Required properties: + + - compatible: + Must be one of : +-"brcm,spi-bcm-qspi", "brcm,spi-brcmstb-qspi" : MSPI+BSPI on BRCMSTB SoCs +-"brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI ++"brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi" : MSPI+BSPI on BRCMSTB SoCs ++"brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi" : Second Instance of MSPI + BRCMSTB SoCs + "brcm,spi-bcm7425-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI + BRCMSTB SoCs +@@ -36,8 +36,8 @@ Required properties: + BRCMSTB SoCs + "brcm,spi-bcm7278-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI + BRCMSTB SoCs +-"brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi" : MSPI+BSPI on Cygnus, NSP +-"brcm,spi-bcm-qspi", "brcm,spi-ns2-qspi" : NS2 SoCs ++"brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi" : MSPI+BSPI on Cygnus, NSP ++"brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi" : NS2 SoCs + + - reg: + Define the bases and ranges of the associated I/O address spaces. +@@ -86,7 +86,7 @@ BRCMSTB SoC Example: + spi@f03e3400 { + #address-cells = <0x1>; + #size-cells = <0x0>; +- compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-brcmstb-qspi"; ++ compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi"; + reg = <0xf03e0920 0x4 0xf03e3400 0x188 0xf03e3200 0x50>; + reg-names = "cs_reg", "mspi", "bspi"; + interrupts = <0x6 0x5 0x4 0x3 0x2 0x1 0x0>; +@@ -149,7 +149,7 @@ BRCMSTB SoC Example: + #address-cells = <1>; + #size-cells = <0>; + clocks = <&upg_fixed>; +- compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-brcmstb-mspi"; ++ compatible = "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi"; + reg = <0xf0416000 0x180>; + reg-names = "mspi"; + interrupts = <0x14>; +@@ -160,7 +160,7 @@ BRCMSTB SoC Example: + iProc SoC Example: + + qspi: spi@18027200 { +- compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi"; ++ compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; + reg = <0x18027200 0x184>, + <0x18027000 0x124>, + <0x1811c408 0x004>, +@@ -191,7 +191,7 @@ iProc SoC Example: + NS2 SoC Example: + + qspi: spi@66470200 { +- compatible = "brcm,spi-bcm-qspi", "brcm,spi-ns2-qspi"; ++ compatible = "brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi"; + reg = <0x66470200 0x184>, +<0x6647 0x124>, +<0x67017408 0x004>, +diff --git a/M
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 5846980492f891a80511f1ed36d666ef8a073e1a Author: Mike Pagano gentoo org> AuthorDate: Mon Sep 14 17:35:23 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Sep 14 17:35:23 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=58469804 Update cpu opt patch for v9.1 >= gcc < v10.X. See bug #742533 Reported by Balint SZENTE Signed-off-by: Mike Pagano gentoo.org> _README | 4 + 5012_enable-cpu-optimizations-for-gcc91.patch | 641 ++ 2 files changed, 645 insertions(+) diff --git a/_README b/_README index 96ae239..8c02383 100644 --- a/_README +++ b/_README @@ -135,6 +135,10 @@ Patch: 5007_ZSTD-v10-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 >= gcc < v10 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/5012_enable-cpu-optimizations-for-gcc91.patch b/5012_enable-cpu-optimizations-for-gcc91.patch new file mode 100644 index 000..564eede --- /dev/null +++ b/5012_enable-cpu-optimizations-for-gcc91.patch @@ -0,0 +1,641 @@ +WARNING +This patch works with gcc versions 9.1+ and with kernel version 5.8+ 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) + +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.8 +gcc version >=9.1 and <10 + +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:44:10.437477053 -0400 +@@ -17,6 +17,36 @@ + #define MODULE_PROC_FAMILY "586MMX " + #elif defined CONFIG_MCORE2 + #define MOD
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: ccb74324f775c901be1e1ddef5b15982a7d649e0 Author: Mike Pagano gentoo org> AuthorDate: Sat Sep 12 18:14:03 2020 + Commit: Mike Pagano gentoo org> CommitDate: Sat Sep 12 18:14:03 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=ccb74324 Linux patch 5.8.9 Signed-off-by: Mike Pagano gentoo.org> _README| 4 + 1008_linux-5.8.9.patch | 952 + 2 files changed, 956 insertions(+) diff --git a/_README b/_README index 93860e0..96ae239 100644 --- a/_README +++ b/_README @@ -75,6 +75,10 @@ Patch: 1007_linux-5.8.8.patch From: http://www.kernel.org Desc: Linux 5.8.8 +Patch: 1008_linux-5.8.9.patch +From: http://www.kernel.org +Desc: Linux 5.8.9 + 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/1008_linux-5.8.9.patch b/1008_linux-5.8.9.patch new file mode 100644 index 000..55b6aa0 --- /dev/null +++ b/1008_linux-5.8.9.patch @@ -0,0 +1,952 @@ +diff --git a/Makefile b/Makefile +index dba4d8f2f7862..36eab48d1d4a6 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 8 ++SUBLEVEL = 9 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c +index c30cf5307ce3e..26de0dab60bbb 100644 +--- a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c +@@ -428,19 +428,6 @@ static int cma_comp_exch(struct rdma_id_private *id_priv, + return ret; + } + +-static enum rdma_cm_state cma_exch(struct rdma_id_private *id_priv, +- enum rdma_cm_state exch) +-{ +- unsigned long flags; +- enum rdma_cm_state old; +- +- spin_lock_irqsave(&id_priv->lock, flags); +- old = id_priv->state; +- id_priv->state = exch; +- spin_unlock_irqrestore(&id_priv->lock, flags); +- return old; +-} +- + static inline u8 cma_get_ip_ver(const struct cma_hdr *hdr) + { + return hdr->ip_version >> 4; +@@ -1829,23 +1816,11 @@ static void cma_leave_mc_groups(struct rdma_id_private *id_priv) + } + } + +-void rdma_destroy_id(struct rdma_cm_id *id) ++static void _destroy_id(struct rdma_id_private *id_priv, ++ enum rdma_cm_state state) + { +- struct rdma_id_private *id_priv; +- enum rdma_cm_state state; +- +- id_priv = container_of(id, struct rdma_id_private, id); +- trace_cm_id_destroy(id_priv); +- state = cma_exch(id_priv, RDMA_CM_DESTROYING); + cma_cancel_operation(id_priv, state); + +- /* +- * Wait for any active callback to finish. New callbacks will find +- * the id_priv state set to destroying and abort. +- */ +- mutex_lock(&id_priv->handler_mutex); +- mutex_unlock(&id_priv->handler_mutex); +- + rdma_restrack_del(&id_priv->res); + if (id_priv->cma_dev) { + if (rdma_cap_ib_cm(id_priv->id.device, 1)) { +@@ -1874,6 +1849,42 @@ void rdma_destroy_id(struct rdma_cm_id *id) + put_net(id_priv->id.route.addr.dev_addr.net); + kfree(id_priv); + } ++ ++/* ++ * destroy an ID from within the handler_mutex. This ensures that no other ++ * handlers can start running concurrently. ++ */ ++static void destroy_id_handler_unlock(struct rdma_id_private *id_priv) ++ __releases(&idprv->handler_mutex) ++{ ++ enum rdma_cm_state state; ++ unsigned long flags; ++ ++ trace_cm_id_destroy(id_priv); ++ ++ /* ++ * Setting the state to destroyed under the handler mutex provides a ++ * fence against calling handler callbacks. If this is invoked due to ++ * the failure of a handler callback then it guarentees that no future ++ * handlers will be called. ++ */ ++ lockdep_assert_held(&id_priv->handler_mutex); ++ spin_lock_irqsave(&id_priv->lock, flags); ++ state = id_priv->state; ++ id_priv->state = RDMA_CM_DESTROYING; ++ spin_unlock_irqrestore(&id_priv->lock, flags); ++ mutex_unlock(&id_priv->handler_mutex); ++ _destroy_id(id_priv, state); ++} ++ ++void rdma_destroy_id(struct rdma_cm_id *id) ++{ ++ struct rdma_id_private *id_priv = ++ container_of(id, struct rdma_id_private, id); ++ ++ mutex_lock(&id_priv->handler_mutex); ++ destroy_id_handler_unlock(id_priv); ++} + EXPORT_SYMBOL(rdma_destroy_id); + + static int cma_rep_recv(struct rdma_id_private *id_priv) +@@ -1925,6 +1936,8 @@ static int cma_cm_event_handler(struct rdma_id_private *id_priv, + { + int ret; + ++ lockdep_assert_held(&id_priv->handler_mutex); ++ + trace_cm_event_handler(id_priv, event); + ret = id_priv->id.event_handler(&id_priv->id, event); + trace_cm_event_done(id_priv, event, ret); +@@ -1936,7 +1949,7 @@ static int cma_ib_handler(struct ib_cm_id *cm_id
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 1dd46bf348e30b3b618337b4d4cdc91feebf1b9a Author: Mike Pagano gentoo org> AuthorDate: Sat Sep 5 10:48:26 2020 + Commit: Mike Pagano gentoo org> CommitDate: Sat Sep 5 10:48:26 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=1dd46bf3 Linux patch 5.8.7 Signed-off-by: Mike Pagano gentoo.org> _README| 4 + 1006_linux-5.8.7.patch | 939 + 2 files changed, 943 insertions(+) diff --git a/_README b/_README index ba2f389..62e43d7 100644 --- a/_README +++ b/_README @@ -67,6 +67,10 @@ Patch: 1005_linux-5.8.6.patch From: http://www.kernel.org Desc: Linux 5.8.6 +Patch: 1006_linux-5.8.7.patch +From: http://www.kernel.org +Desc: Linux 5.8.7 + 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/1006_linux-5.8.7.patch b/1006_linux-5.8.7.patch new file mode 100644 index 000..d773b7c --- /dev/null +++ b/1006_linux-5.8.7.patch @@ -0,0 +1,939 @@ +diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +index 2cf3affa1be70..96c0b1440c9c5 100644 +--- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +@@ -15,8 +15,15 @@ Required properties: + - "nvidia,tegra210-sdhci": for Tegra210 + - "nvidia,tegra186-sdhci": for Tegra186 + - "nvidia,tegra194-sdhci": for Tegra194 +-- clocks : Must contain one entry, for the module clock. +- See ../clocks/clock-bindings.txt for details. ++- clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries. ++One for the module clock and one for the timeout clock. ++For all other Tegra devices, must contain a single entry for ++the module clock. See ../clocks/clock-bindings.txt for details. ++- clock-names: For Tegra210, Tegra186 and Tegra194 must contain the ++ strings 'sdhci' and 'tmclk' to represent the module and ++ the timeout clocks, respectively. ++ For all other Tegra devices must contain the string 'sdhci' ++ to represent the module clock. + - resets : Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. + - reset-names : Must include the following entries: +@@ -99,7 +106,7 @@ Optional properties for Tegra210, Tegra186 and Tegra194: + + Example: + sdhci@700b { +- compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci"; ++ compatible = "nvidia,tegra124-sdhci"; + reg = <0x0 0x700b 0x0 0x200>; + interrupts = ; + clocks = <&tegra_car TEGRA210_CLK_SDMMC1>; +@@ -115,3 +122,22 @@ sdhci@700b { + nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>; + status = "disabled"; + }; ++ ++sdhci@700b { ++ compatible = "nvidia,tegra210-sdhci"; ++ reg = <0x0 0x700b 0x0 0x200>; ++ interrupts = ; ++ clocks = <&tegra_car TEGRA210_CLK_SDMMC1>, ++ <&tegra_car TEGRA210_CLK_SDMMC_LEGACY>; ++ clock-names = "sdhci", "tmclk"; ++ resets = <&tegra_car 14>; ++ reset-names = "sdhci"; ++ pinctrl-names = "sdmmc-3v3", "sdmmc-1v8"; ++ pinctrl-0 = <&sdmmc1_3v3>; ++ pinctrl-1 = <&sdmmc1_1v8>; ++ nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>; ++ nvidia,pad-autocal-pull-down-offset-3v3 = <0x7d>; ++ nvidia,pad-autocal-pull-up-offset-1v8 = <0x7b>; ++ nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>; ++ status = "disabled"; ++}; +diff --git a/Makefile b/Makefile +index 5cf35650373b1..5081bd85af29f 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 6 ++SUBLEVEL = 7 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi +index 58100fb9cd8b5..93236febd327f 100644 +--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi +@@ -331,8 +331,9 @@ + compatible = "nvidia,tegra186-sdhci"; + reg = <0x0 0x0340 0x0 0x1>; + interrupts = ; +- clocks = <&bpmp TEGRA186_CLK_SDMMC1>; +- clock-names = "sdhci"; ++ clocks = <&bpmp TEGRA186_CLK_SDMMC1>, ++ <&bpmp TEGRA186_CLK_SDMMC_LEGACY_TM>; ++ clock-names = "sdhci", "tmclk"; + resets = <&bpmp TEGRA186_RESET_SDMMC1>; + reset-names = "sdhci"; + iommus = <&smmu TEGRA186_SID_SDMMC1>; +@@ -357,8 +358,9 @@ + compatible = "nvidia,tegra186-sdhci"; + reg = <0x0 0x0342 0x0 0x1>; + interrupts = ; +- clocks = <&bpmp TEGRA186_CLK_SDMMC2>; +- clock-names =
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 1d996290ed3f1ffdc4ea2d9b4c4d2cf19ccc77d3 Author: Mike Pagano gentoo org> AuthorDate: Thu Aug 27 13:22:06 2020 + Commit: Mike Pagano gentoo org> CommitDate: Thu Aug 27 13:22:06 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=1d996290 Linux patch 5.8.5 Signed-off-by: Mike Pagano gentoo.org> _README| 4 + 1004_linux-5.8.5.patch | 397 + 2 files changed, 401 insertions(+) diff --git a/_README b/_README index 17d6b16..4ed3bb4 100644 --- a/_README +++ b/_README @@ -59,6 +59,10 @@ Patch: 1003_linux-5.8.4.patch From: http://www.kernel.org Desc: Linux 5.8.4 +Patch: 1004_linux-5.8.5.patch +From: http://www.kernel.org +Desc: Linux 5.8.5 + 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/1004_linux-5.8.5.patch b/1004_linux-5.8.5.patch new file mode 100644 index 000..68d90ad --- /dev/null +++ b/1004_linux-5.8.5.patch @@ -0,0 +1,397 @@ +diff --git a/Makefile b/Makefile +index 9a7a416f2d84e..f47073a3b4740 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 4 ++SUBLEVEL = 5 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c +index 000f57198352d..9f2c697ba0ac8 100644 +--- a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c +@@ -3609,7 +3609,7 @@ static int check_missing_comp_in_tx_queue(struct ena_adapter *adapter, + } + + u64_stats_update_begin(&tx_ring->syncp); +- tx_ring->tx_stats.missed_tx = missed_tx; ++ tx_ring->tx_stats.missed_tx += missed_tx; + u64_stats_update_end(&tx_ring->syncp); + + return rc; +@@ -4537,6 +4537,9 @@ static void ena_keep_alive_wd(void *adapter_data, + tx_drops = ((u64)desc->tx_drops_high << 32) | desc->tx_drops_low; + + u64_stats_update_begin(&adapter->syncp); ++ /* These stats are accumulated by the device, so the counters indicate ++ * all drops since last reset. ++ */ + adapter->dev_stats.rx_drops = rx_drops; + adapter->dev_stats.tx_drops = tx_drops; + u64_stats_update_end(&adapter->syncp); +diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c +index f2f9086ebe983..b9c658e0548eb 100644 +--- a/fs/binfmt_flat.c b/fs/binfmt_flat.c +@@ -576,7 +576,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); +@@ -590,7 +590,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); +@@ -620,7 +622,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); +@@ -635,7 +637,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)); +@@ -652,9 +656,8 @@ static int load_flat_file(struct linux_binprm *bprm, +(text_len + full_data + - sizeof(struct flat_hdr)), +0); +- if (datapos != realdatastart) +- memmove((void *)datapos, (void *)realdatastart, +- full_data); ++ memmove((void *) datapos, (void *)
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 5566efea02bca361490723df10d8044143364ba6 Author: Mike Pagano gentoo org> AuthorDate: Wed Aug 19 14:57:48 2020 + Commit: Mike Pagano gentoo org> CommitDate: Wed Aug 19 14:57:48 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5566efea 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 2409f92..6e28c94 100644 --- a/_README +++ b/_README @@ -67,10 +67,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.8 commit in: /
commit: 0bd0ee5b1603e02c51c443038b26805987228a4a Author: Alice Ferrazzi gentoo org> AuthorDate: Thu Aug 13 11:54:28 2020 + Commit: Alice Ferrazzi gentoo org> CommitDate: Thu Aug 13 11:54:44 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=0bd0ee5b Linux patch 5.8.1 Signed-off-by: Alice Ferrazzi gentoo.org> _README|4 + 1000_linux-5.8.1.patch | 1623 2 files changed, 1627 insertions(+) diff --git a/_README b/_README index 27a700b..8e9f53b 100644 --- a/_README +++ b/_README @@ -43,6 +43,10 @@ EXPERIMENTAL Individual Patch Descriptions: -- +Patch: 1000_linux-5.8.1.patch +From: http://www.kernel.org +Desc: Linux 5.8.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.8.1.patch b/1000_linux-5.8.1.patch new file mode 100644 index 000..dc3e0ca --- /dev/null +++ b/1000_linux-5.8.1.patch @@ -0,0 +1,1623 @@ +diff --git a/Makefile b/Makefile +index 24a4c1b97bb0..7932464518f1 100644 +--- a/Makefile b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 8 +-SUBLEVEL = 0 ++SUBLEVEL = 1 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +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/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +index 07c4c8cc4a67..b181e0544b79 100644 +--- a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c +@@ -11,8 +11,8 @@ + #include + #include + #include ++#include + +-#include + #include + #include + #include +@@ -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(&raw)) +- seed ^= raw; +- } ++ if (arch_get_random_seed_long_early(&raw)) ++ 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 be85c7005fb1..d635b96c7ea6 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 5a5469eb3174..bf1717f8d5f4 100644 +--- a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c +@@ -171,6 +171,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 0760e1e754e4..019b0c0bbbf3 100644 +--- a/arch/powerpc/mm/kasan/kasan_init_32.c b/arch/powerpc/mm/kasan/kasan_init_32.c +@@ -117,14 +117,27 @@ static void __init kasan_unmap_early_shadow_vmalloc(void) + kasan_update_early_region(k_start, k_end, __pte(0)); + } + +-static void __init kasan_mmu_init(void) ++void __init kasan_mmu_init(void) + { + int ret; ++ ++ if (early_mmu_has_feature(MMU_FTR_HPTE_TABLE) || ++ IS_ENABLED(CONFIG_KASAN_VMALLOC)) { ++ ret = kasan_init_shadow_page_tables(KASAN_SHADOW_START, KASAN_SHADOW_END); ++ ++ if (ret) ++ panic("kasan: kasan_init_shadow_page_tables() failed"); ++ } ++} ++ ++void __init kasan_init(void) ++{ + struct memblock_region *reg; + + for_each_memblock(memory, reg) { + phys_addr_t base = reg->base; + phys_addr_t top = min(base + reg->size, total_lowmem); ++ int ret; + + if (base >= top) + continue; +@@ -134,20 +147,6 @@ static void __init kasan_mmu_i
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 1ca9312bc86801564378e2465414c6ba223d5bd3 Author: Mike Pagano gentoo org> AuthorDate: Mon Aug 3 14:42:01 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Aug 3 14:42:01 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=1ca9312b Remove broken patch (gcc opts for gcc 9.1.X) Signed-off-by: Mike Pagano gentoo.org> _README | 4 - 5012_enable-cpu-optimizations-for-gcc91.patch | 641 -- 2 files changed, 645 deletions(-) diff --git a/_README b/_README index 6e07572..27a700b 100644 --- a/_README +++ b/_README @@ -103,10 +103,6 @@ Patch: 5007_ZSTD-v10-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. - 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/5012_enable-cpu-optimizations-for-gcc91.patch b/5012_enable-cpu-optimizations-for-gcc91.patch deleted file mode 100644 index 2f16153..000 --- a/5012_enable-cpu-optimizations-for-gcc91.patch +++ /dev/null @@ -1,641 +0,0 @@ -WARNING -This patch works with gcc versions 9.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) - -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 >=9.1 and <10 - -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:44:10.437477053 -0400 -@@ -17,6 +17,36 @@ - #define MODULE_PROC_FAMILY "586MMX " - #elif defined CONFIG_MCORE2 - #define MODULE_PROC_FAMILY "CORE2 " -+#elif defined CONFIG_MNATIVE
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: a44f851975ac335d3c7565abb15f31cca1b38c6c Author: Mike Pagano gentoo org> AuthorDate: Mon Aug 3 11:35:05 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Aug 3 11:35:05 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=a44f8519 Update ZSTD Patch Signed-off-by: Mike Pagano gentoo.org> _README| 16 ++-- ...ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch | 17 ...TD-v10-2-8-prepare-xxhash-for-preboot-env.patch | 29 --- ...STD-v5-2-8-prepare-xxhash-for-preboot-env.patch | 94 -- ...TD-v10-3-8-add-zstd-support-to-decompress.patch | 50 +--- ...v10-4-8-add-support-for-zstd-compres-kern.patch | 0 ...add-support-for-zstd-compressed-initramfs.patch | 0 ...ZSTD-v10-6-8-bump-ZO-z-extra-bytes-margin.patch | 49 --- ...10-7-8-support-for-ZSTD-compressed-kernel.patch | 2 +- ...0-8-8-gitignore-add-ZSTD-compressed-files.patch | 12 +++ 10 files changed, 116 insertions(+), 153 deletions(-) diff --git a/_README b/_README index b9ce21a..6e07572 100644 --- a/_README +++ b/_README @@ -71,35 +71,35 @@ 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 +Patch: 5000_ZSTD-v10-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 +Patch: 5001_ZSTD-v10-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 +Patch: 5002_ZSTD-v10-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 +Patch: 5003_ZSTD-v10-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 +Patch: 5004_ZSTD-v10-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 +Patch: 5005_ZSTD-v10-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 +Patch: 5006_ZSTD-v10-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 +Patch: 5007_ZSTD-v10-8-8-gitignore-add-ZSTD-compressed-files.patch From: https://lkml.org/lkml/2020/4/1/29 Desc: .gitignore: add ZSTD-compressed files diff --git a/5000_ZSTD-v5-1-8-prepare-zstd-for-preboot-env.patch b/5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch similarity index 82% rename from 5000_ZSTD-v5-1-8-prepare-zstd-for-preboot-env.patch rename to 5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch index 297a8d4..c13b091 100644 --- a/5000_ZSTD-v5-1-8-prepare-zstd-for-preboot-env.patch +++ b/5000_ZSTD-v10-1-8-prepare-zstd-for-preboot-env.patch @@ -1,20 +1,3 @@ -diff --git a/lib/zstd/decompress.c b/lib/zstd/decompress.c -index 269ee9a796c1..73ded63278cf 100644 a/lib/zstd/decompress.c -+++ b/lib/zstd/decompress.c -@@ -2490,6 +2490,7 @@ size_t ZSTD_decompressStream(ZSTD_DStream *zds, ZSTD_outBuffer *output, ZSTD_inB - } - } - -+#ifndef ZSTD_PREBOOT - EXPORT_SYMBOL(ZSTD_DCtxWorkspaceBound); - EXPORT_SYMBOL(ZSTD_initDCtx); - EXPORT_SYMBOL(ZSTD_decompressDCtx); -@@ -2529,3 +2530,4 @@ EXPORT_SYMBOL(ZSTD_insertBlock); - - MODULE_LICENSE("Dual BSD/GPL"); - MODULE_DESCRIPTION("Zstd Decompressor"); -+#endif diff --git a/lib/zstd/fse_decompress.c b/lib/zstd/fse_decompress.c index a84300e5a013..0b353530fb3f 100644 --- a/lib/zstd/fse_decompress.c diff --git a/5002_ZSTD-v5-3-8-add-zstd-support-to-decompress.patch b/5001_ZSTD-v10-2-8-prepare-xxhash-for-preboot-env.patch similarity index 94% rename from 5002_ZSTD-v5-3-8-add-zstd-support-to-decompress.patch rename to 5001_ZSTD-v10-2-8-prepare-xxhash-for-preboot-env.patch index 1c22fa3..b18164c 100644 --- a/5002_ZSTD-v5-3-8-add-zstd-support-to-decompress.patch +++ b/5001_ZSTD-v10-2-8-prepare-xxhash-for-preboot-env.patch @@ -16,10 +16,10 @@ index ..56d539ae880f + void (*error_fn)(char *x)); +#endif diff --git a/lib/Kconfig b/lib/Kconfig -index 5d53f9609c25..e883aecb9279 100644 +index df3f3da95990..a5d6f23c4cab 100644 --- a/lib/Kconfig +++ b/lib/Kconfig -@@ -336,6 +336,10 @@ c
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: cc4e39b1cd2307d4bd50e1b6147cf22b351f5db3 Author: Mike Pagano gentoo org> AuthorDate: Mon Jun 29 17:33:41 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Jun 29 17:33:41 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=cc4e39b1 Kernel patch enables gcc = v9.1+ optimizations for additional CPUs. Signed-off-by: Mike Pagano gentoo.org> _README | 6 +- 5012_enable-cpu-optimizations-for-gcc91.patch | 641 ++ 2 files changed, 646 insertions(+), 1 deletion(-) diff --git a/_README b/_README index f93b340..b9ce21a 100644 --- a/_README +++ b/_README @@ -103,6 +103,10 @@ 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. + 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. +Desc: Kernel patch enables gcc = v10.1+ optimizations for additional CPUs. diff --git a/5012_enable-cpu-optimizations-for-gcc91.patch b/5012_enable-cpu-optimizations-for-gcc91.patch new file mode 100644 index 000..2f16153 --- /dev/null +++ b/5012_enable-cpu-optimizations-for-gcc91.patch @@ -0,0 +1,641 @@ +WARNING +This patch works with gcc versions 9.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) + +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 >=9.1 and <10 + +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:44:10.437477053 -0400 +@@ -17,6 +17,36 @@ + #define MODULE_PROC_FAM
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: d26a417699e150bcd84755beeb7969a29b512526 Author: Mike Pagano gentoo org> AuthorDate: Mon Jun 29 17:24:59 2020 + Commit: Mike Pagano gentoo org> CommitDate: Mon Jun 29 17:24:59 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d26a4176 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 8373b37..f93b340 100644 --- a/_README +++ b/_README @@ -102,3 +102,7 @@ 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: 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..01cbaa7 --- /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.8+ 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.8 +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-14 15:45:04.0 -0400 b/arch/x86/include/asm/vermagic.h 2020-06-15 09:28:19.867840705 -0400 +@@ -17,6 +17,40 @@ + #define MODULE_PROC_FAMILY "586MMX " + #elif defined CONFIG_MCORE2 + #define MODULE_PROC_FAMILY "CORE2 " ++#elif defined CONFIG_MNATIVE ++#define MODULE_PROC_FAMILY "NATIVE "
[gentoo-commits] proj/linux-patches:5.8 commit in: /
commit: 88a265090e58371f7c1081152ef04d991c59cd9b Author: Mike Pagano gentoo org> AuthorDate: Tue Jun 16 18:21:22 2020 + Commit: Mike Pagano gentoo org> CommitDate: Tue Jun 16 18:21:22 2020 + URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=88a26509 Genpatches initial commit: 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 tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino 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 Add Gentoo Linux support config settings and defaults. Support for ZSTD compressed kernel 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 ++ ...3-Fix-build-issue-by-selecting-CONFIG_REG.patch | 30 ++ ...0-Fix-build-issue-by-selecting-REGMAP-I2C.patch | 10 + 2920_sign-file-patch-for-libressl.patch| 16 + ..._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 + 15 files changed, 1073 insertions(+) diff --git a/_README b/_README index 9018993..8373b37 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: 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. + +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 diff --git a/1500_XATTR_USER_PREFIX.patch b/1500_XATTR_USER_PREFIX.patch new file mode 100644 index 000..245dcc2 --- /dev/nul