[pve-devel] [PATCH pve-kernel] cherry-pick additional fix for AMD Epyc genua systems

Stoiko Ivanov s.ivanov at proxmox.com
Mon Apr 14 16:57:05 CEST 2025


reports in our community forum say, that some systems still run into a
boot-loop with the latest proxmox-kernel-6.14 (6.14.0-2):
https://forum.proxmox.com/threads/164497/post-762978
Pulling in this patch here (or preventing the module from being loaded) fixes
the issue for them.

As our test-system boots fine with this patch and without it (based on
my tests for including the 2 patches, that are also cherry-picked for
kernel.org stable 6.14.2) I think adding this additionally should not
pose much potential for regression.

Fixes: 4a6063d2f956 ("cherry-pick fixes for AMD Epyc genua systems")
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 ...ine-ae4dma-Remove-deprecated-PCI-IDs.patch | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 patches/kernel/0016-dmaengine-ae4dma-Remove-deprecated-PCI-IDs.patch

diff --git a/patches/kernel/0016-dmaengine-ae4dma-Remove-deprecated-PCI-IDs.patch b/patches/kernel/0016-dmaengine-ae4dma-Remove-deprecated-PCI-IDs.patch
new file mode 100644
index 000000000000..43557b79d6bf
--- /dev/null
+++ b/patches/kernel/0016-dmaengine-ae4dma-Remove-deprecated-PCI-IDs.patch
@@ -0,0 +1,31 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
+Date: Mon, 3 Feb 2025 21:55:09 +0530
+Subject: [PATCH] dmaengine: ae4dma: Remove deprecated PCI IDs
+
+Two previously used PCI IDs are deprecated and should not be used for
+AE4DMA. Hence, remove as they are unsupported for AE4DMA.
+
+Fixes: 90a30e268d9b ("dmaengine: ae4dma: Add AMD ae4dma controller driver")
+Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
+Link: https://lore.kernel.org/r/20250203162511.911946-2-Basavaraj.Natikar@amd.com
+Signed-off-by: Vinod Koul <vkoul at kernel.org>
+(cherry picked from commit b87c29c007e80f4737a056b3c5c21b5b5106b7f7)
+Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
+---
+ drivers/dma/amd/ae4dma/ae4dma-pci.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/dma/amd/ae4dma/ae4dma-pci.c b/drivers/dma/amd/ae4dma/ae4dma-pci.c
+index 587c5a10c1a8b2dbb925c31af86b1d0b23438b45..2c63907db22825e260653c6e9654e2b9eaa10d43 100644
+--- a/drivers/dma/amd/ae4dma/ae4dma-pci.c
++++ b/drivers/dma/amd/ae4dma/ae4dma-pci.c
+@@ -137,8 +137,6 @@ static void ae4_pci_remove(struct pci_dev *pdev)
+ }
+ 
+ static const struct pci_device_id ae4_pci_table[] = {
+-	{ PCI_VDEVICE(AMD, 0x14C8), },
+-	{ PCI_VDEVICE(AMD, 0x14DC), },
+ 	{ PCI_VDEVICE(AMD, 0x149B), },
+ 	/* Last entry must be zero */
+ 	{ 0, }
-- 
2.39.5





More information about the pve-devel mailing list