Compare commits

...

16 Commits

Author SHA1 Message Date
Thomas Lamprecht
cef69db4b4 Merge remote-tracking branch 'origin/pve-kernel-5.11' into buster-pve-kernel-5.11 2021-09-28 10:31:57 +02:00
Thomas Lamprecht
56260ce2ab update ABI file for 5.11.22-5-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 08:58:42 +02:00
Thomas Lamprecht
77dbf42d61 bump version to 5.11.22-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 08:16:03 +02:00
Thomas Lamprecht
ab1510cecd fix #3558: backport "bnx2x: Fix enabling network interfaces without VFs"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 08:12:46 +02:00
Thomas Lamprecht
2c642cdcaa rebase patches on top of Ubuntu-5.11.0-38.42
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 07:45:04 +02:00
Thomas Lamprecht
4795bf0326 update sources to Ubuntu-5.11.0-38.42
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 07:45:04 +02:00
Thomas Lamprecht
b2dd9d61df update ZFS to 2.0.6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 07:41:36 +02:00
Thomas Lamprecht
13aaebfc6c buildsys: switch upload dist back to buster for bpo branch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 14:13:00 +02:00
Thomas Lamprecht
76a76a7551 bump version to 5.11.22-8~bpo10+1
re-bump to clarify that the ZFS submodule update is included in this
version

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 12:52:38 +02:00
Thomas Lamprecht
a553b0721c zfs: update for cherry-pick "Revert Consolidate arc_buf allocation checks"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 12:52:04 +02:00
Thomas Lamprecht
6a4ab85881 Merge remote-tracking branch 'origin/master' into buster-pve-kernel-5.11 2021-09-09 10:55:08 +02:00
Thomas Lamprecht
fbda4e96ee Merge remote-tracking branch 'origin/master' into buster-pve-kernel-5.11 2021-07-21 17:54:12 +02:00
Thomas Lamprecht
1f7d10e6e1 bump version to 5.11.21-1~bpo10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-02 11:34:49 +02:00
Thomas Lamprecht
07e60a18c8 Merge remote-tracking branch 'origin/master' into buster-pve-kernel-5.11 2021-06-02 11:32:31 +02:00
Thomas Lamprecht
09e82a8f66 Merge remote-tracking branch 'origin/master' into buster-pve-kernel-5.11 2021-05-12 17:40:08 +02:00
Thomas Lamprecht
c28374a20c bump version to 5.11.7-1~bpo10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 16:17:44 +01:00
17 changed files with 25586 additions and 25525 deletions

View File

@ -4,9 +4,9 @@ KERNEL_MIN=11
KERNEL_PATCHLEVEL=22
# increment KREL if the ABI changes (abicheck target in debian/rules)
# rebuild packages with new KREL and run 'make abiupdate'
KREL=4
KREL=5
PKGREL=9
PKGREL=10~bpo10+1
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
@ -104,7 +104,7 @@ ${ZFSDIR}.prepared: ${ZFSONLINUX_SUBMODULE}
.PHONY: upload
upload: ${DEBS}
tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye --arch ${ARCH}
tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster --arch ${ARCH}
.PHONY: distclean
distclean: clean

File diff suppressed because it is too large Load Diff

25488
abi-prev-5.11.22-5-pve Normal file

File diff suppressed because it is too large Load Diff

48
debian/changelog vendored
View File

@ -1,3 +1,21 @@
pve-kernel (5.11.22-10~bpo10+1) buster-backports; urgency=medium
* Rebuild for Debian Buster based releases
-- Proxmox Support Team <support@proxmox.com> Tue, 28 Sep 2021 10:30:51 +0200
pve-kernel (5.11.22-10) bullseye; urgency=medium
* update sources to Ubuntu-5.11.0-38.42
* update ZFS to 2.0.6
* bump ABI to 5.11.22-5
* fix #3558: backport "bnx2x: Fix enabling network interfaces without VFs"
-- Proxmox Support Team <support@proxmox.com> Tue, 28 Sep 2021 08:15:41 +0200
pve-kernel (5.11.22-9) bullseye; urgency=medium
* backport "blk-mq: fix kernel panic during iterating over flush
@ -8,6 +26,12 @@ pve-kernel (5.11.22-9) bullseye; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Wed, 22 Sep 2021 10:11:11 +0200
pve-kernel (5.11.22-8~bpo10+1) buster-backports; urgency=medium
* Rebuild for buster-backports.
-- Proxmox Support Team <support@proxmox.com> Thu, 09 Sep 2021 12:52:26 +0200
pve-kernel (5.11.22-8) bullseye; urgency=medium
* update to Ubuntu-5.11.0-34.36
@ -41,6 +65,12 @@ pve-kernel (5.11.22-5) bullseye; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Wed, 21 Jul 2021 18:25:44 +0200
pve-kernel (5.11.22-4~bpo10) bullseye; urgency=medium
* backport to Debian Buster based releases
-- Proxmox Support Team <support@proxmox.com> Wed, 21 Jul 2021 17:53:37 +0200
pve-kernel (5.11.22-4) bullseye; urgency=medium
* fix CVE-2021-33909: seq_file: disallow extremely large seq buffer
@ -79,12 +109,24 @@ pve-kernel (5.11.22-1) bullseye; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Wed, 23 Jun 2021 08:53:17 +0200
pve-kernel (5.11.21-1~bpo10) buster; urgency=medium
* backport to Debian Buster based releases
-- Proxmox Support Team <support@proxmox.com> Wed, 02 Jun 2021 11:34:45 +0200
pve-kernel (5.11.21-1) bullseye; urgency=medium
* update sources to stable release 5.11.21 with Ubuntu-5.11.0-19.20
-- Proxmox Support Team <support@proxmox.com> Tue, 01 Jun 2021 16:38:57 +0200
pve-kernel (5.11.17-1~bpo10) buster; urgency=medium
* backport to Debian Buster based releases
-- Proxmox Support Team <support@proxmox.com> Wed, 12 May 2021 12:45:37 +0200
pve-kernel (5.11.17-1) bullseye; urgency=medium
* update sources to stable release 5.11.17 with Ubuntu-5.11.0-18.19
@ -97,6 +139,12 @@ pve-kernel (5.11.12-1) bullseye; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Fri, 09 Apr 2021 10:31:19 +0200
pve-kernel (5.11.7-1~bpo10) pve pmg; urgency=medium
* backport to Debian Buster based releases
-- Proxmox Support Team <support@proxmox.com> Thu, 18 Mar 2021 16:17:24 +0100
pve-kernel (5.11.7-1) pve pmg; urgency=medium
* update sources to Ubuntu-5.11.0-12.13

View File

@ -21,7 +21,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 4ae735039daf..5a1abe7b4169 100755
index a72b154de7b0..4dd111086466 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -24,10 +24,14 @@ else

View File

@ -75,10 +75,10 @@ index ee85be64b680..a38a8e44422e 100644
Safety option to keep boot IRQs enabled. This
should never be necessary.
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index f32e521ade1e..4f3558d0c00a 100644
index 6e9f3c366298..cc0e3a76168e 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -192,6 +192,106 @@ static int __init pci_apply_final_quirks(void)
@@ -193,6 +193,106 @@ static int __init pci_apply_final_quirks(void)
}
fs_initcall_sync(pci_apply_final_quirks);
@ -185,7 +185,7 @@ index f32e521ade1e..4f3558d0c00a 100644
/*
* Decoding should be disabled for a PCI device during BAR sizing to avoid
* conflict. But doing so may cause problems on host bridge and perhaps other
@@ -4857,6 +4957,8 @@ static const struct pci_dev_acs_enabled {
@@ -4869,6 +4969,8 @@ static const struct pci_dev_acs_enabled {
{ PCI_VENDOR_ID_CAVIUM, PCI_ANY_ID, pci_quirk_cavium_acs },
/* APM X-Gene */
{ PCI_VENDOR_ID_AMCC, 0xE004, pci_quirk_xgene_acs },

View File

@ -13,7 +13,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 14e6c73a6031..c191c9e50735 100644
index 16c777d45eb9..8c5341f9a271 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -77,7 +77,7 @@ module_param(halt_poll_ns, uint, 0644);

View File

@ -10,10 +10,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index b91b76890cbc..cb7ffc3e848b 100644
index 5cc9226f8e67..7dd94b012533 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -10365,7 +10365,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
@@ -10392,7 +10392,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
refcnt = netdev_refcnt_read(dev);
if (refcnt && time_after(jiffies, warning_time + 10 * HZ)) {

View File

@ -27,10 +27,10 @@ Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
1 file changed, 7 insertions(+)
diff --git a/fs/io_uring.c b/fs/io_uring.c
index a0d42aea3aa1..ce5cf51a5667 100644
index d24eb8e53c4c..b5192f2f8178 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -2731,6 +2731,13 @@ static bool io_rw_reissue(struct io_kiocb *req, long res)
@@ -2743,6 +2743,13 @@ static bool io_rw_reissue(struct io_kiocb *req, long res)
if (percpu_ref_is_dying(&req->ctx->refs))
return false;

View File

@ -1,68 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
Date: Fri, 2 Jul 2021 14:07:36 +0200
Subject: [PATCH] net: bridge: sync fdb to new unicast-filtering ports
Since commit 2796d0c648c9 ("bridge: Automatically manage
port promiscuous mode.")
bridges with `vlan_filtering 1` and only 1 auto-port don't
set IFF_PROMISC for unicast-filtering-capable ports.
Normally on port changes `br_manage_promisc` is called to
update the promisc flags and unicast filters if necessary,
but it cannot distinguish between *new* ports and ones
losing their promisc flag, and new ports end up not
receiving the MAC address list.
Fix this by calling `br_fdb_sync_static` in `br_add_if`
after the port promisc flags are updated and the unicast
filter was supposed to have been filled.
Fixes: 2796d0c648c9 ("bridge: Automatically manage port promiscuous mode.")
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
---
net/bridge/br_if.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index f7d2f472ae24..6e4a32354a13 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -562,7 +562,7 @@ int br_add_if(struct net_bridge *br, struct net_device *dev,
struct net_bridge_port *p;
int err = 0;
unsigned br_hr, dev_hr;
- bool changed_addr;
+ bool changed_addr, fdb_synced = false;
/* Don't allow bridging non-ethernet like devices. */
if ((dev->flags & IFF_LOOPBACK) ||
@@ -652,6 +652,19 @@ int br_add_if(struct net_bridge *br, struct net_device *dev,
list_add_rcu(&p->list, &br->port_list);
nbp_update_port_count(br);
+ if (!br_promisc_port(p) && (p->dev->priv_flags & IFF_UNICAST_FLT)) {
+ /* When updating the port count we also update all ports'
+ * promiscuous mode.
+ * A port leaving promiscuous mode normally gets the bridge's
+ * fdb synced to the unicast filter (if supported), however,
+ * `br_port_clear_promisc` does not distinguish between
+ * non-promiscuous ports and *new* ports, so we need to
+ * sync explicitly here.
+ */
+ fdb_synced = br_fdb_sync_static(br, p) == 0;
+ if (!fdb_synced)
+ netdev_err(dev, "failed to sync bridge static fdb addresses to this port\n");
+ }
netdev_update_features(br->dev);
@@ -701,6 +714,8 @@ int br_add_if(struct net_bridge *br, struct net_device *dev,
return 0;
err7:
+ if (fdb_synced)
+ br_fdb_unsync_static(br, p);
list_del_rcu(&p->list);
br_fdb_delete_by_port(br, p, 0, 1);
nbp_update_port_count(br);

View File

@ -43,7 +43,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/block/blk-core.c b/block/blk-core.c
index 7663a9b94b80..debdf9b0bf30 100644
index ce3b75f8b56d..9658caafddc2 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -121,7 +121,6 @@ void blk_rq_init(struct request_queue *q, struct request *rq)

View File

@ -60,7 +60,7 @@ index 8b11ab3b3762..705ee6c99020 100644
* blk_kick_flush - consider issuing flush request
* @q: request_queue being kicked
diff --git a/block/blk-mq.c b/block/blk-mq.c
index cb619ec8aaf2..601e40204d06 100644
index 82db8595bdaa..7dd1b6973c79 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -937,7 +937,7 @@ static bool blk_mq_req_expired(struct request *rq, unsigned long *next)

View File

@ -0,0 +1,34 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 12 Sep 2021 22:05:23 +0300
Subject: [PATCH] bnx2x: Fix enabling network interfaces without VFs
This function is called to enable SR-IOV when available,
not enabling interfaces without VFs was a regression.
Fixes: 65161c35554f ("bnx2x: Fix missing error code in bnx2x_iov_init_one()")
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reported-by: YunQiang Su <wzssyqa@gmail.com>
Tested-by: YunQiang Su <wzssyqa@gmail.com>
Cc: stable@vger.kernel.org
Acked-by: Shai Malin <smalin@marvell.com>
Link: https://lore.kernel.org/r/20210912190523.27991-1-bunk@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
index f255fd0b16db..6fbf735fca31 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
@@ -1224,7 +1224,7 @@ int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param,
/* SR-IOV capability was enabled but there are no VFs*/
if (iov->total == 0) {
- err = -EINVAL;
+ err = 0;
goto failed;
}

@ -1 +1 @@
Subproject commit 9fb3242fa6a38d072949cbaa9183f65d56675231
Subproject commit 7d7783039af74cad199b3a39673ae012077bfd11

@ -1 +1 @@
Subproject commit e697cc599230680f1be8bd0c2353ce090f3c3b8e
Subproject commit b7ce537d241e315db3907160482fd7ffc1989194