]> git.proxmox.com Git - pve-kernel.git/log
pve-kernel.git
12 days agoupdate ABI file for 6.8.12-2-pve master
Thomas Lamprecht [Thu, 5 Sep 2024 12:42:37 +0000 (14:42 +0200)]
update ABI file for 6.8.12-2-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
12 days agobump version to 6.8.12-2
Thomas Lamprecht [Thu, 5 Sep 2024 10:03:24 +0000 (12:03 +0200)]
bump version to 6.8.12-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
12 days agoupdate ZFS submodule to 2.2.6
Thomas Lamprecht [Thu, 5 Sep 2024 10:03:05 +0000 (12:03 +0200)]
update ZFS submodule to 2.2.6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
13 days agocherry-pick "PCI: pciehp: Retain Power Indicator bits for userspace indicators"
Thomas Lamprecht [Thu, 5 Sep 2024 07:26:59 +0000 (09:26 +0200)]
cherry-pick "PCI: pciehp: Retain Power Indicator bits for userspace indicators"

cherry-picked from Linux kernel.org upstream commit
5560a612c20d3daacbf5da7913deefa5c31742f4

The issue was reported in the enterprise support. The customer
contacted the ledmon maintainer, who found that it is not an issue
with ledmon, bisected the kernel and came up with this fix

Originally-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
13 days agoupdate kernel submodule to Ubuntu-6.8.0-45.45
Thomas Lamprecht [Thu, 5 Sep 2024 06:58:23 +0000 (08:58 +0200)]
update kernel submodule to Ubuntu-6.8.0-45.45

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agoupdate ABI file for 6.8.12-1-pve
Thomas Lamprecht [Mon, 5 Aug 2024 16:43:52 +0000 (18:43 +0200)]
update ABI file for 6.8.12-1-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agoupdate firmware list
Thomas Lamprecht [Mon, 5 Aug 2024 16:40:34 +0000 (18:40 +0200)]
update firmware list

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agobump version to 6.8.12-1
Thomas Lamprecht [Mon, 5 Aug 2024 16:17:47 +0000 (18:17 +0200)]
bump version to 6.8.12-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agorebase patches on top of Ubuntu-6.8.0-43.43
Thomas Lamprecht [Mon, 5 Aug 2024 16:16:10 +0000 (18:16 +0200)]
rebase patches on top of Ubuntu-6.8.0-43.43

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agoupdate sources to Ubuntu-6.8.0-43.43
Thomas Lamprecht [Mon, 5 Aug 2024 16:16:10 +0000 (18:16 +0200)]
update sources to Ubuntu-6.8.0-43.43

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 weeks agocherry-pick fix for bnxt_re driver
Fiona Ebner [Mon, 5 Aug 2024 10:31:20 +0000 (12:31 +0200)]
cherry-pick fix for bnxt_re driver

Reported in the community forum:
https://forum.proxmox.com/threads/144557/post-689148

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
6 weeks agocherry-pick fix for NULL pointer dereference in apparmorfs
Fiona Ebner [Mon, 5 Aug 2024 10:31:19 +0000 (12:31 +0200)]
cherry-pick fix for NULL pointer dereference in apparmorfs

Reported in the community forum:
https://forum.proxmox.com/threads/145760/post-690328

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
7 weeks agoupdate ABI file for 6.8.8-4-pve
Fabian Grünbichler [Fri, 26 Jul 2024 12:02:39 +0000 (14:02 +0200)]
update ABI file for 6.8.8-4-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 weeks agobump version to 6.8.8-4-pve
Fabian Grünbichler [Fri, 26 Jul 2024 11:16:46 +0000 (13:16 +0200)]
bump version to 6.8.8-4-pve

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 weeks agobackport fixes for missing verification for short frames in network tap/tun devices
Fiona Ebner [Fri, 26 Jul 2024 11:10:44 +0000 (13:10 +0200)]
backport fixes for missing verification for short frames in network tap/tun devices

A malicious guest with virtio-net device could apparently crash the
host [0]. Fixes CVE-2024-41090 and CVE-2024-41091. Reported in the
community forum [1].

[0]: https://seclists.org/oss-sec/2024/q3/110
[1]: https://forum.proxmox.com/threads/151813/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2 months agoupdate ABI file for 6.8.8-3-pve
Thomas Lamprecht [Wed, 17 Jul 2024 05:56:13 +0000 (07:56 +0200)]
update ABI file for 6.8.8-3-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agobump version to 6.8.8-3
Thomas Lamprecht [Tue, 16 Jul 2024 16:16:27 +0000 (18:16 +0200)]
bump version to 6.8.8-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agofix #5558: cherry-pick NFSv4 fix
Fabian Grünbichler [Thu, 11 Jul 2024 08:22:57 +0000 (10:22 +0200)]
fix #5558: cherry-pick NFSv4 fix

picked from v6.9.8, the bug can cause lost NFS connections according to
upstream, and possibly corrupt backups according to our user report.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agocherry-pick potential fix for NULL pointer deref with AMD Arcturus GPU during boot
Fiona Ebner [Wed, 10 Jul 2024 11:37:09 +0000 (13:37 +0200)]
cherry-pick potential fix for NULL pointer deref with AMD Arcturus GPU during boot

The issue was reported in the enterprise support and is handled by
Alexander Zeidler. It has the following trace [0] and causes an issue
with the networking down the line, because 'udevadm settle' would time
out. The customer reported that mainline kernel 6.9.3 booted fine.
Looking at the new commits, this one stood out, as it heavily modifies
the arcturus_get_power_limit() function. While not tagged for stable,
it seems straightforward enough and has a good chance to fix the
issue.

[0]:

> Jul 09 07:34:59 proxmox kernel: BUG: kernel NULL pointer dereference, address: 000000000000000f
> Jul 09 07:34:59 proxmox kernel: #PF: supervisor read access in kernel mode
> Jul 09 07:34:59 proxmox kernel: #PF: error_code(0x0000) - not-present page
> Jul 09 07:34:59 proxmox kernel: PGD 0 P4D 0
> Jul 09 07:34:59 proxmox kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
> Jul 09 07:34:59 proxmox kernel: CPU: 0 PID: 9 Comm: kworker/0:1 Tainted: P           O       6.8.8-2-pve #1
> Jul 09 07:34:59 proxmox kernel: Hardware name: Supermicro AS -4124GS-TNR-03-EB004/H12DSG-O-CPU, BIOS 2.7 09/21/2023
> Jul 09 07:34:59 proxmox kernel: Workqueue: events work_for_cpu_fn
> Jul 09 07:34:59 proxmox kernel: RIP: 0010:arcturus_get_power_limit+0xb5/0x1b0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel: Code: 24 48 85 d2 74 05 8b 45 cc 89 02 4d 85 ff 74 38 44 0f b6 a3 b8 06 00 00 41 80 fc 01 0f 87 81 d7 3d 00 48 8b 45 b0 41 83 e4 01 <0f> b6 40 0f 75 10 84 c0 74 14 45 8b bf 86 01 00 00 45 31 e4 eb 0e
> Jul 09 07:34:59 proxmox kernel: RSP: 0018:ffffaa42c029fc38 EFLAGS: 00010246
> Jul 09 07:34:59 proxmox kernel: RAX: 0000000000000000 RBX: ffff8d803362b000 RCX: 0000000000000000
> Jul 09 07:34:59 proxmox kernel: RDX: ffff8d803362b6c0 RSI: 0000000000000000 RDI: 0000000000000000
> Jul 09 07:34:59 proxmox kernel: RBP: ffffaa42c029fc88 R08: 0000000000000000 R09: ffffffffc177e1f0
> Jul 09 07:34:59 proxmox kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
> Jul 09 07:34:59 proxmox kernel: R13: ffff8d803362b6c8 R14: ffff8d803362b6c4 R15: ffff8d80424a1014
> Jul 09 07:34:59 proxmox kernel: FS:  0000000000000000(0000) GS:ffff8e7f0ae00000(0000) knlGS:0000000000000000
> Jul 09 07:34:59 proxmox kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> Jul 09 07:34:59 proxmox kernel: CR2: 000000000000000f CR3: 0000006b24a36003 CR4: 0000000000f70ef0
> Jul 09 07:34:59 proxmox kernel: PKRU: 55555554
> Jul 09 07:34:59 proxmox kernel: Call Trace:
> Jul 09 07:34:59 proxmox kernel:  <TASK>
> Jul 09 07:34:59 proxmox kernel:  ? show_regs+0x6d/0x80
> Jul 09 07:34:59 proxmox kernel:  ? __die+0x24/0x80
> Jul 09 07:34:59 proxmox kernel:  ? page_fault_oops+0x176/0x500
> Jul 09 07:34:59 proxmox kernel:  ? do_user_addr_fault+0x2f9/0x6b0
> Jul 09 07:34:59 proxmox kernel:  ? exc_page_fault+0x83/0x1b0
> Jul 09 07:34:59 proxmox kernel:  ? asm_exc_page_fault+0x27/0x30
> Jul 09 07:34:59 proxmox kernel:  ? __pfx_arcturus_get_power_limit+0x10/0x10 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  ? arcturus_get_power_limit+0xb5/0x1b0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  ? arcturus_get_power_limit+0x62/0x1b0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  smu_late_init+0x16f/0x4d0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  amdgpu_device_ip_late_init+0x68/0x2a0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  amdgpu_device_init+0x242d/0x26e0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
> Jul 09 07:34:59 proxmox kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  amdgpu_pci_probe+0x195/0x520 [amdgpu]
> Jul 09 07:34:59 proxmox kernel:  local_pci_probe+0x47/0xb0
> Jul 09 07:34:59 proxmox kernel:  work_for_cpu_fn+0x1a/0x30
> Jul 09 07:34:59 proxmox kernel:  process_one_work+0x16d/0x350
> Jul 09 07:34:59 proxmox kernel:  worker_thread+0x306/0x440
> Jul 09 07:34:59 proxmox kernel:  ? __pfx_worker_thread+0x10/0x10
> Jul 09 07:34:59 proxmox kernel:  kthread+0xf2/0x120
> Jul 09 07:34:59 proxmox kernel:  ? __pfx_kthread+0x10/0x10
> Jul 09 07:34:59 proxmox kernel:  ret_from_fork+0x47/0x70
> Jul 09 07:34:59 proxmox kernel:  ? __pfx_kthread+0x10/0x10
> Jul 09 07:34:59 proxmox kernel:  ret_from_fork_asm+0x1b/0x30
> Jul 09 07:34:59 proxmox kernel:  </TASK>

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2 months agoadd fix for CIFS client memory leak
Fiona Ebner [Wed, 10 Jul 2024 11:37:08 +0000 (13:37 +0200)]
add fix for CIFS client memory leak

As reported in the community forum [0], there currently is a memory
leak in the CIFS client code. Reproduced by running a backup with CIFS
target storage:

> while true; do vzdump 101 --storage cifs --prune-backups keep-last=1; echo 3 > /proc/sys/vm/drop_caches; done

A fix was found on the kernel mailing list tagged for stable v6.6+
and it does solve the issue, but is not yet included in any (stable)
kernels.

[0]: https://forum.proxmox.com/threads/147603/post-682388

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2 months agoupdate ABI file for 6.8.8-2-pve
Thomas Lamprecht [Mon, 24 Jun 2024 14:21:27 +0000 (16:21 +0200)]
update ABI file for 6.8.8-2-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agobump version to 6.8.8-2
Thomas Lamprecht [Mon, 24 Jun 2024 09:00:52 +0000 (11:00 +0200)]
bump version to 6.8.8-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agocherry-pick "virtio-pci: Check if is_avq is NULL"
Thomas Lamprecht [Mon, 24 Jun 2024 08:59:07 +0000 (10:59 +0200)]
cherry-pick "virtio-pci: Check if is_avq is NULL"

It's in master-next of current ubuntu noble kernel git tree and a null
check cannot really hurt.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agofix #5554: improve e1000e stability on cable reconnection
Thomas Lamprecht [Mon, 24 Jun 2024 08:22:14 +0000 (10:22 +0200)]
fix #5554: improve e1000e stability on cable reconnection

Closes: https://bugzilla.proxmox.com/show_bug.cgi?id=5554
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agofix #5448: support SCSI contollers with bad VDP page length encoding again
Thomas Lamprecht [Thu, 20 Jun 2024 08:54:47 +0000 (10:54 +0200)]
fix #5448: support SCSI contollers with bad VDP page length encoding again

The reporter has an Adaptec 5805 controller (using the aacraid
driver), which reports a byteswapped page length for VPD page 0. It
reports "02 00" as page length instead of "00 02".

This stopped working with kernel 6.8.4 due to commit b5fc07a5fb56
("scsi: core: Consult supported VPD page list prior to fetching page")

To address that issue limit the page search scope to the size of our
VPD buffer to guard against devices returning a larger page count than
requested.

Reported-by: Peter Schneider <pschneider1968@googlemail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate ABI file for 6.8.8-1-pve
Thomas Lamprecht [Mon, 10 Jun 2024 13:14:56 +0000 (15:14 +0200)]
update ABI file for 6.8.8-1-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate fwlist for 6.8.8-1
Thomas Lamprecht [Mon, 10 Jun 2024 12:42:25 +0000 (14:42 +0200)]
update fwlist for 6.8.8-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobump version to 6.8.8-1
Thomas Lamprecht [Mon, 10 Jun 2024 11:42:25 +0000 (13:42 +0200)]
bump version to 6.8.8-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate fix for managing block flush queue list
Thomas Lamprecht [Mon, 10 Jun 2024 11:34:38 +0000 (13:34 +0200)]
update fix for managing block flush queue list

The patch from commit e5731f4 ("backport fix for managing block flush
queue list") caused some fallout when used with LVM on root, as that
uses some rather odd (but previously working fine) PREFLUSH
| POSTFLUSH format that was now causing the list to be used without
being initialized, resulting in freezes.

Link: https://lore.kernel.org/all/20240608143115.972486-1-chengming.zhou@linux.dev/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agorebase patches on top of Ubuntu-6.8.0-38.38
Thomas Lamprecht [Mon, 10 Jun 2024 09:10:14 +0000 (11:10 +0200)]
rebase patches on top of Ubuntu-6.8.0-38.38

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate sources to Ubuntu-6.8.0-38.38
Thomas Lamprecht [Mon, 10 Jun 2024 09:10:14 +0000 (11:10 +0200)]
update sources to Ubuntu-6.8.0-38.38

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate ABI file for 6.8.4-4-pve
Thomas Lamprecht [Tue, 4 Jun 2024 15:36:47 +0000 (17:36 +0200)]
update ABI file for 6.8.4-4-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobump version to 6.8.4-4
Thomas Lamprecht [Tue, 4 Jun 2024 10:37:24 +0000 (12:37 +0200)]
bump version to 6.8.4-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agobackport fix for managing block flush queue list
Thomas Lamprecht [Tue, 4 Jun 2024 10:34:31 +0000 (12:34 +0200)]
backport fix for managing block flush queue list

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 months agoupdate ZFS to 2.2.4
Thomas Lamprecht [Tue, 4 Jun 2024 09:12:33 +0000 (11:12 +0200)]
update ZFS to 2.2.4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agobackport fix for NFS memory leak
Fiona Ebner [Thu, 16 May 2024 09:06:30 +0000 (11:06 +0200)]
backport fix for NFS memory leak

Reported in the community forum [0] and easy to reproduce by doing
e.g.
> while true; do mount -t nfs 192.168.20.148:/rpool/data /mnt/test; done
from another node for a share that does not exist or for which the
client has no permissions.

[0]: https://forum.proxmox.com/threads/146649

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
4 months agoupdate ABI file for 6.8.4-3-pve
Thomas Lamprecht [Fri, 3 May 2024 13:44:01 +0000 (15:44 +0200)]
update ABI file for 6.8.4-3-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agobump version to 6.8.4-3
Thomas Lamprecht [Thu, 2 May 2024 11:56:00 +0000 (13:56 +0200)]
bump version to 6.8.4-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 months agoupdate sources and patches to Ubuntu-6.8.0-32.32
Thomas Lamprecht [Thu, 2 May 2024 11:51:01 +0000 (13:51 +0200)]
update sources and patches to Ubuntu-6.8.0-32.32

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agocherry-pick improved erratum 1386 workaround
Folke Gleumes [Mon, 15 Apr 2024 12:56:49 +0000 (14:56 +0200)]
cherry-pick improved erratum 1386 workaround

The original fix disabled the xsaves feature for zen1/2. The issue has
since been fixed in the cpus microcode and this patch keeps the feature enabled
if the microcode version is recent enough to contain the fix.

Signed-off-by: Folke Gleumes <f.gleumes@proxmox.com>
5 months agoconfig: disable CONFIG_N_GSM
Fabian Grünbichler [Wed, 17 Apr 2024 08:52:11 +0000 (10:52 +0200)]
config: disable CONFIG_N_GSM

rather exotic driver with frequent security issues over the past months, see
- CVE-2023-6546
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=67c37756898a
- https://lore.kernel.org/all/DB9PR10MB5881D2170678C169FB42A423E0082@DB9PR10MB5881.EURPRD10.PROD.OUTLOOK.COM/

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 months agofix #5373: cherry-pick USB ethernet naming fix
Fabian Grünbichler [Fri, 12 Apr 2024 13:25:02 +0000 (15:25 +0200)]
fix #5373: cherry-pick USB ethernet naming fix

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 months agoupdate ABI file for 6.8.4-2-pve
Thomas Lamprecht [Thu, 11 Apr 2024 05:05:41 +0000 (07:05 +0200)]
update ABI file for 6.8.4-2-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agobump version to 6.8.4-2
Thomas Lamprecht [Wed, 10 Apr 2024 17:36:53 +0000 (19:36 +0200)]
bump version to 6.8.4-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoadd apparmor patch to fix recvmsg returning EINVAL
Wolfgang Bumiller [Wed, 10 Apr 2024 12:17:05 +0000 (14:17 +0200)]
add apparmor patch to fix recvmsg returning EINVAL

With apparmor 4, when recvmsg() calls are checked by the apparmor LSM
they will always return EINVAL.
This causes very weird issues when apparmor profiles are in use, and a
lot of networking issues in containers (which are always using
apparmor).

When coming from sys_recvmsg, msg->msg_namelen is explicitly set to
zero early on. (see ____sys_recvmsg in net/socket.c)
We still end up in 'map_addr' where the assumption is that addr !=
NULL means addrlen has a valid size.

This is likely not a final fix, it was suggested by jjohansen on irc
to get things going until this is resolved properly.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 months agoupdate ABI file for 6.8.4-1-pve
Thomas Lamprecht [Mon, 8 Apr 2024 16:43:31 +0000 (18:43 +0200)]
update ABI file for 6.8.4-1-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agobump version to 6.8.4-1
Thomas Lamprecht [Mon, 8 Apr 2024 15:49:28 +0000 (17:49 +0200)]
bump version to 6.8.4-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agorebase patches on top of Ubuntu-6.8.0-23.23
Thomas Lamprecht [Mon, 8 Apr 2024 15:47:21 +0000 (17:47 +0200)]
rebase patches on top of Ubuntu-6.8.0-23.23

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate sources to Ubuntu-6.8.0-23.23
Thomas Lamprecht [Mon, 8 Apr 2024 15:47:21 +0000 (17:47 +0200)]
update sources to Ubuntu-6.8.0-23.23

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate ZFS submodule to 2.2.3-pve2
Thomas Lamprecht [Mon, 8 Apr 2024 15:46:25 +0000 (17:46 +0200)]
update ZFS submodule to 2.2.3-pve2

no real semantic change for the kernel module since the last update

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate ABI file for 6.8.1-1-pve
Thomas Lamprecht [Wed, 3 Apr 2024 07:40:16 +0000 (09:40 +0200)]
update ABI file for 6.8.1-1-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate fwlist for 6.8.1-1
Thomas Lamprecht [Wed, 3 Apr 2024 07:40:13 +0000 (09:40 +0200)]
update fwlist for 6.8.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agobump version to 6.8.1-1
Thomas Lamprecht [Tue, 2 Apr 2024 16:19:29 +0000 (18:19 +0200)]
bump version to 6.8.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate ZFS to 2.2.4 staging for better 6.8 compat
Thomas Lamprecht [Wed, 3 Apr 2024 08:19:38 +0000 (10:19 +0200)]
update ZFS to 2.2.4 staging for better 6.8 compat

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate submodule and patches for 24.04 Noble based kernel
Thomas Lamprecht [Tue, 2 Apr 2024 16:14:21 +0000 (18:14 +0200)]
update submodule and patches for 24.04 Noble based kernel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate ABI file for 6.5.13-4-pve
Thomas Lamprecht [Fri, 29 Mar 2024 15:18:13 +0000 (16:18 +0100)]
update ABI file for 6.5.13-4-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agobump version to 6.5.13-4
Thomas Lamprecht [Fri, 29 Mar 2024 14:29:14 +0000 (15:29 +0100)]
bump version to 6.5.13-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agorebase patches on top of Ubuntu-6.5.0-32.32
Thomas Lamprecht [Fri, 29 Mar 2024 14:27:40 +0000 (15:27 +0100)]
rebase patches on top of Ubuntu-6.5.0-32.32

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate sources to Ubuntu-6.5.0-32.32
Thomas Lamprecht [Fri, 29 Mar 2024 14:27:40 +0000 (15:27 +0100)]
update sources to Ubuntu-6.5.0-32.32

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agobump version to 6.5.13-3
Thomas Lamprecht [Wed, 20 Mar 2024 10:45:14 +0000 (11:45 +0100)]
bump version to 6.5.13-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 months agoupdate sources to Ubuntu-6.5.0-27.28
Thomas Lamprecht [Wed, 20 Mar 2024 10:43:47 +0000 (11:43 +0100)]
update sources to Ubuntu-6.5.0-27.28

to fix some tracing bug

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agoupdate ABI file for 6.5.13-2-pve
Thomas Lamprecht [Mon, 11 Mar 2024 14:21:12 +0000 (15:21 +0100)]
update ABI file for 6.5.13-2-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agobump version to 6.5.13-2
Thomas Lamprecht [Mon, 11 Mar 2024 13:36:33 +0000 (14:36 +0100)]
bump version to 6.5.13-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agoRevert "cherry-pick scheduler fix to avoid temporary VM freezes on NUMA hosts"
Thomas Lamprecht [Mon, 11 Mar 2024 13:19:45 +0000 (14:19 +0100)]
Revert "cherry-pick scheduler fix to avoid temporary VM freezes on NUMA hosts"

This reverts commit 29cb6fcbb78e0d2b0b585783031402cc8d4ca148, user
feedback was showing any positive impact of this patch, and upstream
still hasn't a fix for older stable releases (but for 6.8), so for now
rather revert this and wait for either a better (well, actual) fix or
updating to 6.8 or newer.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agoupdate ZFS to 2.2.3
Thomas Lamprecht [Mon, 11 Mar 2024 12:48:35 +0000 (13:48 +0100)]
update ZFS to 2.2.3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agorebase patches on top of Ubuntu-6.5.0-27.27
Thomas Lamprecht [Mon, 11 Mar 2024 12:38:05 +0000 (13:38 +0100)]
rebase patches on top of Ubuntu-6.5.0-27.27

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agoupdate sources to Ubuntu-6.5.0-27.27
Thomas Lamprecht [Mon, 11 Mar 2024 12:38:05 +0000 (13:38 +0100)]
update sources to Ubuntu-6.5.0-27.27

(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agoupdate ABI file for 6.5.13-1-pve
Thomas Lamprecht [Wed, 14 Feb 2024 11:02:47 +0000 (12:02 +0100)]
update ABI file for 6.5.13-1-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agoupdate fwlist for 6.5.13-1
Thomas Lamprecht [Mon, 5 Feb 2024 14:49:36 +0000 (15:49 +0100)]
update fwlist for 6.5.13-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agobump version to 6.5.13-1
Thomas Lamprecht [Mon, 5 Feb 2024 13:51:04 +0000 (14:51 +0100)]
bump version to 6.5.13-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agocherry-pick scheduler fix to avoid temporary VM freezes on NUMA hosts
Friedrich Weber [Wed, 17 Jan 2024 14:45:21 +0000 (15:45 +0100)]
cherry-pick scheduler fix to avoid temporary VM freezes on NUMA hosts

Users have been reporting [1] that VMs occasionally become
unresponsive with high CPU usage for some time (varying between ~1 and
more than 60 seconds). After that time, the guests come back and
continue running. Windows VMs seem most affected (not responding to
pings during the hang, RDP sessions time out), but we also got reports
about Linux VMs (reporting soft lockups). The issue was not present on
host kernel 5.15 and was first reported with kernel 6.2. Users
reported that the issue becomes easier to trigger the more memory is
assigned to the guests. Setting mitigations=off was reported to
alleviate (but not eliminate) the issue. For most users the issue
seems to disappear after (also) disabling KSM [2], but some users
reported freezes even with KSM disabled [3].

It turned out the reports concerned NUMA hosts only, and that the
freezes correlated with runs of the NUMA balancer [4]. Users reported
that disabling the NUMA balancer resolves the issue (even with KSM
enabled).

We put together a Linux VM reproducer, ran a git-bisect on the kernel
to find the commit introducing the issue and asked upstream for help
[5]. As it turned out, an upstream bugreport was recently opened [6]
and a preliminary fix to the KVM TDP MMU was proposed [7]. With that
patch [7] on top of kernel 6.7, the reproducer does not trigger
freezes anymore. As of now, the patch (or its v2 [8]) is not yet
merged in the mainline kernel, and backporting it may be difficult due
to dependencies on other KVM changes [9].

However, the bugreport [6] also prompted an upstream developer to
propose a patch to the kernel scheduler logic that decides whether a
contended spinlock/rwlock should be dropped [10]. Without the patch,
PREEMPT_DYNAMIC kernels (such as ours) would always drop contended
locks. With the patch, the kernel only drops contended locks if the
kernel is currently set to preempt=full. As noted in the commit
message [10], this can (counter-intuitively) improve KVM performance.
Our kernel defaults to preempt=voluntary (according to
/sys/kernel/debug/sched/preempt), so with the patch it does not drop
contended locks anymore, and the reproducer does not trigger freezes
anymore. Hence, backport [10] to our kernel.

[1] https://forum.proxmox.com/threads/130727/
[2] https://forum.proxmox.com/threads/130727/page-4#post-575886
[3] https://forum.proxmox.com/threads/130727/page-8#post-617587
[4] https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#numa-balancing
[5] https://lore.kernel.org/kvm/832697b9-3652-422d-a019-8c0574a188ac@proxmox.com/
[6] https://bugzilla.kernel.org/show_bug.cgi?id=218259
[7] https://lore.kernel.org/all/20230825020733.2849862-1-seanjc@google.com/
[8] https://lore.kernel.org/all/20240110012045.505046-1-seanjc@google.com/
[9] https://lore.kernel.org/kvm/Zaa654hwFKba_7pf@google.com/
[10] https://lore.kernel.org/all/20240110214723.695930-1-seanjc@google.com/

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
7 months agoupdate kernel and patches for Ubuntu-6.5.0-20.20
Thomas Lamprecht [Mon, 5 Feb 2024 12:08:43 +0000 (13:08 +0100)]
update kernel and patches for Ubuntu-6.5.0-20.20

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agofix malformed lintian overrides
Fabian Grünbichler [Tue, 30 Jan 2024 13:59:51 +0000 (14:59 +0100)]
fix malformed lintian overrides

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 months agoupdate ABI file for 6.5.11-8-pve
Fabian Grünbichler [Tue, 30 Jan 2024 13:38:48 +0000 (14:38 +0100)]
update ABI file for 6.5.11-8-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 months agobump version to 6.5.11-8
Fabian Grünbichler [Tue, 30 Jan 2024 12:28:01 +0000 (13:28 +0100)]
bump version to 6.5.11-8

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 months agofix #5158: cherry-pick ext4 fix for high-CPU flush
Fabian Grünbichler [Tue, 30 Jan 2024 12:26:35 +0000 (13:26 +0100)]
fix #5158: cherry-pick ext4 fix for high-CPU flush

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 months agofix #5077: cherry-pick revert for aacraid resets
Fabian Grünbichler [Tue, 30 Jan 2024 12:24:16 +0000 (13:24 +0100)]
fix #5077: cherry-pick revert for aacraid resets

reported both in our bug tracker and upstream to fix the affected hardware.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobump version to 6.5.11-7
Thomas Lamprecht [Tue, 5 Dec 2023 09:44:17 +0000 (10:44 +0100)]
bump version to 6.5.11-7

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate ZFS to 2.2.2
Thomas Lamprecht [Tue, 5 Dec 2023 09:42:09 +0000 (10:42 +0100)]
update ZFS to 2.2.2

There shouldn't be any changes for us w.r.t. data integrity and the
recent uncovered dnode dirtiness, as we backported those patches
already.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate ABI file for 6.5.11-6-pve
Fabian Grünbichler [Wed, 29 Nov 2023 09:28:15 +0000 (10:28 +0100)]
update ABI file for 6.5.11-6-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobump version to 6.5.11-6
Fabian Grünbichler [Wed, 29 Nov 2023 08:33:09 +0000 (09:33 +0100)]
bump version to 6.5.11-6

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agoupdate zfs to 2.2.0-pve4
Fabian Grünbichler [Wed, 29 Nov 2023 08:31:50 +0000 (09:31 +0100)]
update zfs to 2.2.0-pve4

which contains the fix for https://github.com/openzfs/zfs/issues/15526

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agoupdate ABI file for 6.5.11-5-pve
Fabian Grünbichler [Mon, 27 Nov 2023 20:37:46 +0000 (21:37 +0100)]
update ABI file for 6.5.11-5-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobump version to 6.5.11-5
Fabian Grünbichler [Mon, 27 Nov 2023 19:54:07 +0000 (20:54 +0100)]
bump version to 6.5.11-5

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agocherry-pick fix for RCU stall issue after VM live migration
Fiona Ebner [Mon, 27 Nov 2023 17:39:48 +0000 (18:39 +0100)]
cherry-pick fix for RCU stall issue after VM live migration

caused by a lapic timer interrupt getting lost.

Already queued for 6.5.13:
https://lore.kernel.org/stable/20231124172031.920738810@linuxfoundation.org/

Reported in the community forum:
https://forum.proxmox.com/threads/136992/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
9 months agod/rules: VFIO_VIRQFD config is a boolean
Thomas Lamprecht [Sat, 25 Nov 2023 13:12:39 +0000 (14:12 +0100)]
d/rules: VFIO_VIRQFD config is a boolean

since e2d55709398e ("vfio: Fold vfio_virqfd.ko into vfio.ko") this
config isn't a tristate anymore but a bool, so adapt to that.

Luckily the kconfig script did the right thing and set (or at least
kept) this to yes anyway

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate ABI file for 6.5.11-4-pve
Fabian Grünbichler [Mon, 20 Nov 2023 14:01:02 +0000 (15:01 +0100)]
update ABI file for 6.5.11-4-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobuild: add signed-template to DEBS
Fabian Grünbichler [Mon, 20 Nov 2023 14:00:38 +0000 (15:00 +0100)]
build: add signed-template to DEBS

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobump version to 6.5.11-4
Fabian Grünbichler [Mon, 20 Nov 2023 10:20:12 +0000 (11:20 +0100)]
bump version to 6.5.11-4

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agometa package: prefer signed kernel package
Fabian Grünbichler [Mon, 20 Nov 2023 11:59:13 +0000 (12:59 +0100)]
meta package: prefer signed kernel package

to ensure future versions are properly pulled in.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agod/control: add missing python3-dev
Fabian Grünbichler [Mon, 20 Nov 2023 10:38:07 +0000 (11:38 +0100)]
d/control: add missing python3-dev

required by perf's Makefile

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agobuild: add proxmox-kernel-X.Y-pve-signed-template
Fabian Grünbichler [Thu, 16 Mar 2023 09:40:02 +0000 (10:40 +0100)]
build: add proxmox-kernel-X.Y-pve-signed-template

the signed template together with the binary package(s) containing the unsigned
files form the input to our secure boot signing service.

the signed template consists of
- files.json (specifying which files are signed how and by which key)
- packaging template used to build the signed package(s)

the signing service
- extracts and checks the signed-template binary package
- extracts the unsigned package(s)
- signs the needed files
- packs up the signatures + the template contained in the signed-template
  package into the signed source package

the signed source package can then be built in the regular fashion (in case of
the kernel packages, it will copy the kernel image, modules and some helper
files from the unsigned package, attach the signature created by the signing
service, and re-pack the result as signed-kernel package).

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agoadd Proxmox UEFI certificates
Fabian Grünbichler [Thu, 2 Mar 2023 08:34:36 +0000 (09:34 +0100)]
add Proxmox UEFI certificates

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 months agoupdate ABI file for 6.5.11-3-pve
Thomas Lamprecht [Fri, 17 Nov 2023 17:09:41 +0000 (18:09 +0100)]
update ABI file for 6.5.11-3-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 6.5.11-3
Thomas Lamprecht [Fri, 17 Nov 2023 16:34:46 +0000 (17:34 +0100)]
bump version to 6.5.11-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoupdate ZFS to include important fixes staged for 2.2.1
Thomas Lamprecht [Fri, 17 Nov 2023 16:33:36 +0000 (17:33 +0100)]
update ZFS to include important fixes staged for 2.2.1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoupdate ABI file for 6.5.11-2-pve
Thomas Lamprecht [Thu, 16 Nov 2023 14:05:41 +0000 (15:05 +0100)]
update ABI file for 6.5.11-2-pve

(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 6.5.11-2
Thomas Lamprecht [Wed, 15 Nov 2023 16:22:24 +0000 (17:22 +0100)]
bump version to 6.5.11-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoupdate submodule to Ubuntu-6.5.0-14.14
Thomas Lamprecht [Thu, 16 Nov 2023 12:26:52 +0000 (13:26 +0100)]
update submodule to Ubuntu-6.5.0-14.14

still with 6.5.3 to 6.5.10 cherry-picked

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agod/rules: temporarily disable UBSAN bound checks again
Thomas Lamprecht [Thu, 16 Nov 2023 12:25:01 +0000 (13:25 +0100)]
d/rules: temporarily disable UBSAN bound checks again

it's really not just ZFS and AMDGPU modules, but way more and
generating scary looking messages for these "issues" is just noise
that drown real issues. Disable this for now, maybe in another few
years.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>