From 3246964009b28e58043f0af5fcb14322757f3114 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 13 Aug 2020 12:42:05 +0200 Subject: [PATCH 1/8] Add Linux 5.8.1 This change updates the kernel to Linux 5.8.1 based on Ubuntu 5.8.0-14.15 --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 466e6b2..fa2d638 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=0 +KERNEL_PATCHLEVEL=1 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index 23f3a0a..61a1eec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.1-1) edge; urgency=medium + + * update to Linux 5.8.1 based on Ubuntu 5.8.0-14.15 + + -- Fabian Mastenbroek Thu, 13 Aug 2020 12:41:00 +0200 + pve-edge-kernel (5.8.0-1) edge; urgency=medium * update to Linux 5.8 based on Ubuntu 5.8.0-12.13 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 2fbac55..902a316 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 2fbac55619813a5702ce040a3f84e194fb5d7bd8 +Subproject commit 902a3162e5ad64446c1076a609fb17ba41e7d09e From 1e3a67863d9181a238abe29534acedb70713e95c Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 24 Aug 2020 20:10:34 +0200 Subject: [PATCH 2/8] Add Linux 5.8.3 This change updates the kernel to Linux 5.8.3 based on Ubuntu 5.8.0-16.17. --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fa2d638..5dfb730 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=1 +KERNEL_PATCHLEVEL=3 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index 61a1eec..1398be6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.3-1) edge; urgency=medium + + * update to Linux 5.8.3 based on Ubuntu 5.8.0-16.17 + + -- Fabian Mastenbroek Mon, 24 Aug 2020 20:09:00 +0200 + pve-edge-kernel (5.8.1-1) edge; urgency=medium * update to Linux 5.8.1 based on Ubuntu 5.8.0-14.15 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 902a316..40827af 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 902a3162e5ad64446c1076a609fb17ba41e7d09e +Subproject commit 40827af4a71b571f8eff66ad3ac47543574ca886 From df61bfafc34e972da472d7bc01c412260962609b Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 31 Aug 2020 13:05:38 +0200 Subject: [PATCH 3/8] Add Linux 5.8.5 This change updates the kernel to Linux 5.8.5 based on Ubuntu-5.8.0-18.19. --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5dfb730..9f4173e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=3 +KERNEL_PATCHLEVEL=5 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index 1398be6..ee5eb3c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.5-1) edge; urgency=medium + + * update to Linux 5.8.5 based on Ubuntu-5.8.0-18.19 + + -- Fabian Mastenbroek Mon, 31 Aug 2020 13:05:00 +0200 + pve-edge-kernel (5.8.3-1) edge; urgency=medium * update to Linux 5.8.3 based on Ubuntu 5.8.0-16.17 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 40827af..44e1068 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 40827af4a71b571f8eff66ad3ac47543574ca886 +Subproject commit 44e10680a7a7c740e657bc7c6e56218cb5c28d75 From 5c11233640a7f032b3fcdf265d6654740369c7c2 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 6 Sep 2020 21:32:13 +0200 Subject: [PATCH 4/8] Add Linux 5.8.7 This change updates the kernel to Linux 5.8.7 based on Ubuntu-5.8.0-18.19. --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9f4173e..c84a2e6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=5 +KERNEL_PATCHLEVEL=7 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index ee5eb3c..cdd2477 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.7-1) edge; urgency=medium + + * update to Linux 5.8.7 based on Ubuntu-5.8.0-18.19 + + -- Fabian Mastenbroek Sun, 6 Sep 2020 21:32:00 +0200 + pve-edge-kernel (5.8.5-1) edge; urgency=medium * update to Linux 5.8.5 based on Ubuntu-5.8.0-18.19 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 44e1068..0238e16 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 44e10680a7a7c740e657bc7c6e56218cb5c28d75 +Subproject commit 0238e166ff56ef2bc651877ef15cf8b59f76a1f9 From 572baeba8ea80cf0ffbd520dcd9dccce70d44f49 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 16 Sep 2020 00:23:26 +0200 Subject: [PATCH 5/8] Add Linux 5.8.9 This change updates the kernel to Linux 5.8.9 based on Ubuntu 5.8.0-19.20. --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c84a2e6..c178299 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=7 +KERNEL_PATCHLEVEL=9 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index cdd2477..8ef991e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.9-1) edge; urgency=medium + + * update to Linux 5.8.9 based on Ubuntu-5.8.0-19.20 + + -- Fabian Mastenbroek Sun, 16 Sep 2020 00:25:00 +0200 + pve-edge-kernel (5.8.7-1) edge; urgency=medium * update to Linux 5.8.7 based on Ubuntu-5.8.0-18.19 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 0238e16..04ff5c3 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 0238e166ff56ef2bc651877ef15cf8b59f76a1f9 +Subproject commit 04ff5c365bef0b896eb9a2b291dab667a33a433e From d22faa64d982997308348958f5405477cede268e Mon Sep 17 00:00:00 2001 From: "pve-edge-bot[bot]" <71494583+pve-edge-bot[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2020 17:08:36 +0200 Subject: [PATCH 6/8] Add Linux 5.8.11 (#17) This change updates the kernel to Linux 5.8.11 based on Ubuntu 5.8.0-20.21. Co-authored-by: fabianishere --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6cd1260..faeb878 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=9 +KERNEL_PATCHLEVEL=11 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index 8ef991e..ea481c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.11-1) edge; urgency=medium + + * Update to Linux 5.8.11 based on Ubuntu 5.8.0-20.21. + + -- Fabian Mastenbroek Wed, 23 Sep 2020 19:45:18 +0000 + pve-edge-kernel (5.8.9-1) edge; urgency=medium * update to Linux 5.8.9 based on Ubuntu-5.8.0-19.20 diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 04ff5c3..48b2c96 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 04ff5c365bef0b896eb9a2b291dab667a33a433e +Subproject commit 48b2c96f75dfe0cd51c78b21aef34ccd8426bd6a From 19d9550fbc067761cf6d0dd0eb927000df3cc964 Mon Sep 17 00:00:00 2001 From: "pve-edge-bot[bot]" <71494583+pve-edge-bot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:07:48 +0200 Subject: [PATCH 7/8] Add Linux 5.8.13 (#18) This change updates the kernel to Linux 5.8.13 based on Ubuntu . Co-authored-by: fabianishere --- Makefile | 2 +- debian/changelog | 6 + ...-Fix-broken-Credit-Recovery-after-dr.patch | 129 ------------------ submodules/ubuntu-mainline | 2 +- 4 files changed, 8 insertions(+), 131 deletions(-) delete mode 100644 patches/pve/0006-Revert-scsi-lpfc-Fix-broken-Credit-Recovery-after-dr.patch diff --git a/Makefile b/Makefile index faeb878..33fe345 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=11 +KERNEL_PATCHLEVEL=13 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index ea481c7..956d899 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.13-1) edge; urgency=medium + + * Update to Linux 5.8.13 based on Ubuntu 5.8.0-20.21. + + -- Fabian Mastenbroek Mon, 05 Oct 2020 10:04:03 +0000 + pve-edge-kernel (5.8.11-1) edge; urgency=medium * Update to Linux 5.8.11 based on Ubuntu 5.8.0-20.21. diff --git a/patches/pve/0006-Revert-scsi-lpfc-Fix-broken-Credit-Recovery-after-dr.patch b/patches/pve/0006-Revert-scsi-lpfc-Fix-broken-Credit-Recovery-after-dr.patch deleted file mode 100644 index dbc0186..0000000 --- a/patches/pve/0006-Revert-scsi-lpfc-Fix-broken-Credit-Recovery-after-dr.patch +++ /dev/null @@ -1,129 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Thomas Lamprecht -Date: Fri, 15 May 2020 14:43:37 +0200 -Subject: [PATCH] Revert "scsi: lpfc: Fix broken Credit Recovery after driver - load" - -This reverts commit 77d5805eafdb5c42bdfe78f058ad9c40ee1278b4. -We got some reports that this causes some lpfcs to report FLOGI -errors[0][1] and while the real fix is naturally something else, it -is nonexistent for now, so workaround with this revert. - -[0]: https://forum.proxmox.com/threads/proxmox-6-2-lpfc-error-port-type-wrong.69680/#post-312491 -[1]: https://lore.kernel.org/linux-scsi/20200512212855.36q2ut2io2cdtagn@zeha.at/ ---- - drivers/scsi/lpfc/lpfc.h | 1 - - drivers/scsi/lpfc/lpfc_hbadisc.c | 59 +++++++++++--------------------- - 2 files changed, 20 insertions(+), 40 deletions(-) - -diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h -index 357fdec06bae..cd5525f28556 100644 ---- a/drivers/scsi/lpfc/lpfc.h -+++ b/drivers/scsi/lpfc/lpfc.h -@@ -748,7 +748,6 @@ struct lpfc_hba { - * capability - */ - #define HBA_FLOGI_ISSUED 0x100000 /* FLOGI was issued */ --#define HBA_DEFER_FLOGI 0x800000 /* Defer FLOGI till read_sparm cmpl */ - - uint32_t fcp_ring_in_use; /* When polling test if intr-hndlr active*/ - struct lpfc_dmabuf slim2p; -diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c -index 789eecbf32eb..95566e382b48 100644 ---- a/drivers/scsi/lpfc/lpfc_hbadisc.c -+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c -@@ -1163,16 +1163,13 @@ lpfc_mbx_cmpl_local_config_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) - } - - /* Start discovery by sending a FLOGI. port_state is identically -- * LPFC_FLOGI while waiting for FLOGI cmpl. Check if sending -- * the FLOGI is being deferred till after MBX_READ_SPARAM completes. -+ * LPFC_FLOGI while waiting for FLOGI cmpl - */ -- if (vport->port_state != LPFC_FLOGI) { -- if (!(phba->hba_flag & HBA_DEFER_FLOGI)) -- lpfc_initial_flogi(vport); -- } else { -- if (vport->fc_flag & FC_PT2PT) -- lpfc_disc_start(vport); -- } -+ if (vport->port_state != LPFC_FLOGI) -+ lpfc_initial_flogi(vport); -+ else if (vport->fc_flag & FC_PT2PT) -+ lpfc_disc_start(vport); -+ - return; - - out: -@@ -3097,14 +3094,6 @@ lpfc_mbx_cmpl_read_sparam(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) - lpfc_mbuf_free(phba, mp->virt, mp->phys); - kfree(mp); - mempool_free(pmb, phba->mbox_mem_pool); -- -- /* Check if sending the FLOGI is being deferred to after we get -- * up to date CSPs from MBX_READ_SPARAM. -- */ -- if (phba->hba_flag & HBA_DEFER_FLOGI) { -- lpfc_initial_flogi(vport); -- phba->hba_flag &= ~HBA_DEFER_FLOGI; -- } - return; - - out: -@@ -3235,23 +3224,6 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, struct lpfc_mbx_read_top *la) - } - - lpfc_linkup(phba); -- sparam_mbox = NULL; -- -- if (!(phba->hba_flag & HBA_FCOE_MODE)) { -- cfglink_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); -- if (!cfglink_mbox) -- goto out; -- vport->port_state = LPFC_LOCAL_CFG_LINK; -- lpfc_config_link(phba, cfglink_mbox); -- cfglink_mbox->vport = vport; -- cfglink_mbox->mbox_cmpl = lpfc_mbx_cmpl_local_config_link; -- rc = lpfc_sli_issue_mbox(phba, cfglink_mbox, MBX_NOWAIT); -- if (rc == MBX_NOT_FINISHED) { -- mempool_free(cfglink_mbox, phba->mbox_mem_pool); -- goto out; -- } -- } -- - sparam_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); - if (!sparam_mbox) - goto out; -@@ -3272,7 +3244,20 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, struct lpfc_mbx_read_top *la) - goto out; - } - -- if (phba->hba_flag & HBA_FCOE_MODE) { -+ if (!(phba->hba_flag & HBA_FCOE_MODE)) { -+ cfglink_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); -+ if (!cfglink_mbox) -+ goto out; -+ vport->port_state = LPFC_LOCAL_CFG_LINK; -+ lpfc_config_link(phba, cfglink_mbox); -+ cfglink_mbox->vport = vport; -+ cfglink_mbox->mbox_cmpl = lpfc_mbx_cmpl_local_config_link; -+ rc = lpfc_sli_issue_mbox(phba, cfglink_mbox, MBX_NOWAIT); -+ if (rc == MBX_NOT_FINISHED) { -+ mempool_free(cfglink_mbox, phba->mbox_mem_pool); -+ goto out; -+ } -+ } else { - vport->port_state = LPFC_VPORT_UNKNOWN; - /* - * Add the driver's default FCF record at FCF index 0 now. This -@@ -3329,10 +3314,6 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, struct lpfc_mbx_read_top *la) - } - /* Reset FCF roundrobin bmask for new discovery */ - lpfc_sli4_clear_fcf_rr_bmask(phba); -- } else { -- if (phba->bbcredit_support && phba->cfg_enable_bbcr && -- !(phba->link_flag & LS_LOOPBACK_MODE)) -- phba->hba_flag |= HBA_DEFER_FLOGI; - } - - /* Prepare for LINK up registrations */ diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index 48b2c96..d2b7275 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit 48b2c96f75dfe0cd51c78b21aef34ccd8426bd6a +Subproject commit d2b72751ca3b1dd71642c2edc212d922af73703a From 083cde4e4266ec80fbc896b4e6356e2a791b6da0 Mon Sep 17 00:00:00 2001 From: "pve-edge-bot[bot]" <71494583+pve-edge-bot[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2020 15:51:55 +0100 Subject: [PATCH 8/8] Add Linux 5.8.18 (#19) This change updates the kernel to Linux 5.8.18 based on Ubuntu 5.8.0-26.27. Co-authored-by: fabianishere --- Makefile | 2 +- debian/changelog | 6 ++++++ submodules/ubuntu-mainline | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 33fe345..47e2645 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change KERNEL_MAJ=5 KERNEL_MIN=8 -KERNEL_PATCHLEVEL=13 +KERNEL_PATCHLEVEL=18 # increment KREL if the ABI changes (abicheck target in debian/rules) # rebuild packages with new KREL and run 'make abiupdate' KREL=1 diff --git a/debian/changelog b/debian/changelog index 956d899..8da063f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-edge-kernel (5.8.18-1) edge; urgency=medium + + * Update to Linux 5.8.18 based on Ubuntu 5.8.0-26.27. + + -- Fabian Mastenbroek Thu, 12 Nov 2020 14:23:26 +0000 + pve-edge-kernel (5.8.13-1) edge; urgency=medium * Update to Linux 5.8.13 based on Ubuntu 5.8.0-20.21. diff --git a/submodules/ubuntu-mainline b/submodules/ubuntu-mainline index d2b7275..36d00f0 160000 --- a/submodules/ubuntu-mainline +++ b/submodules/ubuntu-mainline @@ -1 +1 @@ -Subproject commit d2b72751ca3b1dd71642c2edc212d922af73703a +Subproject commit 36d00f093e196bd3202d82752355ea6f4f64ef65